Hello List
I've got a tricky problem on our Server.
We use the combination Sendmail -> Procmail -> Cyrus.
If an external mail commes into the server there is no problem. All works fine.
But if the cron job with the user nobody or i make a mailx -v then the mailjob
fails.
The problem is that sendmail comes normally with the user cyrus as mailer.
If the local mailer comes, the it sends with the local user and fail.
How can i set procmail to send all the time with the user cyrus.
The F=o option in sendmail is not a good idea. Then will mdom (majordomo) fail.
This is the part of my Sendmail.cf File
Mlocal, P=/usr/bin/procmail, F=lsDFMA5:/|@qnp, S=10/30, R=20/40,
T=DNS/RFC822/X-Unix,
U=cyrus:mail,
A=procmail -p /etc/mail/procmail.common CYUSER=$u
The part of the procmail.common is follow
:0:$CYUSER.lock
| $DELIVERMAIL -e -a $CYUSER $CYUSER
and the wrong user i see with the following part
:0:error.lock
* !^X-Loop: postmaster(_at_)cevi(_dot_)ch
{
......
/usr/bin/whoami; \
I'm absolutely helpless how i can fix the problem. I didn't find anything in
the archive of the list, nor in the hole internet. I am researching for this
problem many ours.
I have the O'Reilly Book but i can't find a solution in sendmail, but i think
the problem is there. (or not?)
Greetings Adrian Senn
--
|p mbox: adrian(_at_)senn(_dot_)ch g mbox:
adrian(_dot_)senn(_at_)oui(_dot_)usz(_dot_)ch |
|www: http://www.senn.ch/; http://www.cevinet.ch/ |
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail