Hello all,
To begining, i would like to excuse me if my english is bad..
I'm a belgium student and it's not easy to speak english.. (And more
difficult when it's technic)
I have a complet mail solution :
Postfix -> Amavisd -> Spamassassin -> clamav -> Courier-pop and imap ->
courier-auth
All work good, the virtual user was save on mysql.
Smtp work, and Pop/Imap work also
I have seen courier-auth is needed for mysql user ?
It was installed...
Now, my config :
All my user was stored in mysql like this :
id address crypt clear name uid gid home domain maildir imapok
bool1 bool2
1 nu...@domaine.be 123456 "" 500 500 /var/spool/postfix/virtual/ domaine.be
/var/spool/postfix/virtual/domaine.be/num/Maildir/ 1 1 1
I have postfix ok for maildrop :
Mar 23 18:05:44 numberfixe postfix/pipe[29456]: 5CBC749DD24:
to=<nu...@domaine.be>, relay=maildrop, delay=3135, status=bounced (user
unknown. Command output: Invalid user specified.
)
But like you see, Maildrop don't work...
I have install Maildrop with :
./configure make make install ..
Courier-auth was installed because Pop and Imap work with the pass on
Mysql..
Now, i don't know how to say a maildrop where is the maildir for the user..
(Where to add the request for mysql ?)
And to finish, what i need to write in maildroprc ?
____________________________________________________________-
# Set the default mailbox.
DEFAULT="$HOME/Maildir"
# Set the default shell.
SHELL="/bin/ash"
maildirmake=/usr/local/bin/maildirmake
MAILDIR=$DEFAULT
JUNK_FOLDER=.Junk
_JUNK_DEST=$MAILDIR/$JUNK_FOLDER/
#automatically create the Junk folder
`test -d $_JUNK_DEST`
if ($RETURNCODE != 0 )
{
`$maildirmake $_JUNK_DEST`
# auto subscribe. the following works for courier-imap
#`echo INBOX.Junk >> $MAILDIR/courierimapsubscribed`
}
...
if (/^X-Spam-Flag:\s*YES/)
{
exception {
to "$_JUNK_DEST";
}
}
if (/^X-Sender: numb...@hotmail.com/)
{
exception {
to "$MAILDIR/.Trash";
}
}
____________________________________________
it's correct ?
(number_85_ it's only there for test :)
Many thanks and good evening all
_________________________________________________________________
Windows Live Mail : découvrez et testez la version bêta !
http://www.ideas.live.com/