> The preceding section probably looks like this:
>
> > IOError: failure delivering message to command "/usr/local/bin/procmail -p
>/usr/local/etc/ procmailrc $USER" ([Errno 32] Broken pipe)
>
> The error message means that TMDA tried to pipe the message to
> procmail but procmail exited early, before completely reading the
> message. At a guess, it probably exited before reading it at all
> because something in the initialization failed.
>
> In the error text above, either your mailer did something weird or
> your DELIVERY variable has a space between '/usr/local/etc' and
> 'procmailrc', which is probably not what you want. Also, I don't
That's correct. There is no space between '/usr/local/etc' and
'procmailrc'.
> understand what '$USER' does on the procmail command-line, since
> according to the manual all arguments are treated as rcfiles and
> latter ones are only read if the earlier ones don't exist or have a
> "not matching HOST-directive".
I'm not sure about this, I think you are correct and I should remove that
$USER. I copied it from postfix/master.cf without thinking I guess. Here's
my DELIVERY statement:
DELIVERY = "| /usr/local/bin/procmail -p /usr/local/etc/procmailrc $USER"
I should modify that, but I'm not sure how to pass the USER var to
procmail so it would know which mailbox it is suppose to be delivering to.
According to postfix/master.cf, it uses:
procmail unix - n n - 50 pipe
flags=Ru user=cyrus argv=/usr/local/bin/procmail -p
/usr/local/etc/procmailrc USER=${user} EXTENSION=${extension}
(The above should be on two lines only.)
I'll try taking out the $USER from DELIVERY and see if that changes
anything.
Thanks for the replies!
> So... can you post your DELIVERY setting and, if I'm missing something
> about the $USER on the command-line, please enlighten me.
>
>
> Tim
> _____________________________________________
> tmda-users mailing list ([EMAIL PROTECTED])
> http://tmda.net/lists/listinfo/tmda-users
>
>
>
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users