Hello,
I try to set up qmail+fetchmail+prcomail to sort email like
herbert where herbert is the local user.
I install e-smith-3.1-updates-gr1 in my e-smith 3.1.
As i see, Fetchmail keep the emails to the remote mailbox,
but i have this message from qmail
"< | preline /usr/bin/procmail@tyty.fr>:
Sorry, no mailbox here by that name. (#5.1.1)"
procmail can't deliver these to the good local user, so the message goes to the mailbox of the administrator (set via the interface)
My /etc/fetchmail look like this ( i try some custom) :
fetchmail --fetchmailrc - <
set postmaster "postmaster"
set logfile /var/log/fetchmail.log
set no bouncemail
set properties ""
poll 192.168.30.20
protocol POP3
checkalias
localdomains tyty.fr
username ruru password xxxx to * here
smtphost localhost
smtpaddress tyty.fr
fetchall
EOF
all users have the same .qmail :
./Maildir/
| preline /usr/bin/procmail
and I write a good /etc/procmailrc look like:
MAILDIR=/var/spool/mail
LOGFILE=/var/log/procmail.log
DEFAULT=/var/spool/mail/toto
:0
*^(To|Cc):.*(tyty|TYTY)
!tyty
Thanks,
Nicolas