This is an interesting problem...I am trying to make procmail my LDA with
sendmail. I make the changes to the sendmail.cf file (via m4 FEATURE(
local_procmail ) ) and all looks well. I restart the sendmail daemon and
all of a sudden, anybody that uses the local delivery agent can no longer
recieve mail. Anybody that has procmail in their $HOME/.forward it works
fine for. ( I am guessing that is so because with a .forward file you no
longer use the LDA). As for right now, I am not using an /etc/procmailrc
file (I do have an /etc/mail/procmailrc which doesn't work now but it
shouldn't be looking at it),
Can someone tell me, given the configuration listed below, why mail is not
receiving correctly when I try to incorporate procmail into
sendmail...Everything looks right with the configuration...
Thanks,
Scott
First here is a diff of the original sendmail.cf and the new sendmail.cf
(the new one uses procmail....).
[root(_at_)postal1 mail]$ diff config.cf.procmail sendmail.cf
35,38d34
<
< ##### $Id: local_procmail.m4,v 8.21 1999/11/18 05:06:23 ca Exp $ #####
<
<
1334c1330
< Mlocal, P=/usr/local/bin/procmail , F=lsDFMAw5:/|@qSPfhn9,
S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,
---
Mlocal, P=/usr/lib/mail.local, F=lsDFMAw5:/|@qfSmn9,
S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,
1336c1332
< A=procmail -Y -a $h -d $u
---
A=mail.local -d $u
Now here are the permissions of /usr/local/bin/procmail
/usr/lib/mail.local and /usr/bin/lockfile
[root(_at_)postal1 mail]$ ls -l /usr/local/bin/procmail /usr/lib/mail.local
/usr/local/bin/lockfile
-r-sr-xr-x 1 root bin 41756 Nov 19 1999 /usr/lib/mail.local
-rwxr-sr-x 1 root mail 11304 Jul 18 1997 /usr/local/bin/lockfile
-rwsr-sr-x 1 root mail 68584 Jul 18 1997 /usr/local/bin/procmail
and now the permissions on /var/mail
[root(_at_)postal1 mail]$ ls -ld /var/spool/mail
lrwxrwxrwx 1 root other 9 Aug 3 1999 /var/spool/mail ->
/var/mail
[root(_at_)postal1 mail]$ ls -ld /var/mail
drwxrwsrwx 4 root mail 7168 Dec 2 18:30 /var/mail
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail