procmail
[Top] [All Lists]

problem when using the '-p' flag

2003-01-04 03:54:48
i'm using procmail (3.22) with postfix (1.11) and TMDA. TMDA requires that the SENDER env variable be set. i'm using procmail as the local delivery agent for postfix, calling it as 'procmail -t -p'.

unfortunately, all users for whom procmail does the final delivery have a problem when the '-p' arg is given, mail is delivered to $MAILDIR/msg.<two letter code> rather than INBOX. for users where TMDA does the final delivery all works properly. when the '-p' arg is removed the situation reverses, TMDA fails because SENDER is not set in the environment and non-TMDA users have no problems.


my /etc/procmailrc:
DROPPRIVS = yes
VERBOSE   = off
SENDMAIL  = /usr/lib/sendmail
PATH      = /usr/bin:/usr/ucb:/local/bin:/usr/local/bin
MDA       = /local/bin/dmail
MAILDIR   = $HOME/.Mail
PMDIR     = $HOME/.procmail
LOGFILE   = $PMDIR/log

:0 Wh: $MAILDIR/msgid.lock
| formail -D 8192 $MAILDIR/msgid.cache



any help would be appreciated.



_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>
  • problem when using the '-p' flag, Bob Smith <=