Im having problems with the mail file being produced
when I setup procmail + postfix:
Ive setup global procmail with the following in
my master.cf file:
procmail unix - n n - - pipe
flags=DRX user=jeff argv=/usr/bin/procmail -t -o SENDER=${sender} -m
user=${us...@${domain} DOMAIN=${domain} EXTENSION=${extension}
RECIPIENT=${recipient} /etc/procmailrc
main.cf:
virtual_transport = procmail:
mailbox_transport = procmail:
# be sure to only deliver to procmail 1 user at a time
procmail_destination_recipient_limit = 1
It works, however the mail file that it produces apparently
has the wrong header info and I get:
5 fedora /home/jeff mail -f /var/spool/mail/jeff
Heirloom Mail version 12.4 7/29/08. Type ? for help.
"/var/spool/mail/jeff": 0 messages
&
The mail file exists and my procmail log grows
with each email message. Then:
ls -l /var/spool/mail/jeff
-rw-rw---- 1 jeff mail 1004612 Aug 17 22:42 /var/spool/mail/jeff
If I try from thunderbird, it says:
Sending of password did not succeed. Mail server pop.mydomain.com responded:
Unable to process From lines (envelopes), change recognition modes
or check for corrupted mail drop.
Can someone tell me what Im doing wrong that the
mail file isnt being created correctly?
I tried DORX for pipe flags but that didnt work
at all (no mail file was created at all as I
recall).
Thanks for any help