procmail
[Top] [All Lists]

final on procmail automounting home

2000-12-03 16:47:09
I got it!!  It pays to read the man page c-a-r-e-f-u-l-l-y!!!!

There is no need to add extra arguments to the 'A=' line in either the
Mprocmail or Mlocal definition.  Btw, it's the Mlocal definition that really
counts.  Being sendmail and procmail illiterate, I'm not sure what the
Mprocmail line does.  But, it's obvious that Mlocal is it since the log file
says "mailer=local" when the message is "sent" (?, not delivered?)

Ok, the man page says procmail reads /etc/procmailrc before reading
$HOME/.procmailrc.  So, I just stuck the following line in /etc/procmailrc:

HOME=/var/procmail/$LOGNAME

where /var/procmail is a local directory when users' .procmailrc and
.forward files are stored.  The ones in their actual HOME are symlinked to
these.

I'm not sure what other consequences follow from this.  But it works whether
the procmailrc exists or doesnt.  The mail is stored correctly into the
users' spool file.

Finally, I still need the 'define(`confFORWARD_PATH',...)' in my .mc file so
the ForwardPath is also redefined in sendmail.cf.  Else, sendmail will
trigger the automount of home.

Thanks again to those who took the trouble to respond, especially David
Linn, a fellow Vandy graduate!

Kenneth Teh                            Email teh(_at_)anl(_dot_)gov
Physics Division                         Tel 630.252.3073
Argonne National Laboratory              Fax 630.252.2864
9700 S. Cass Ave.
Argonne, IL 60439
USA

_______________________________________________
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>
  • final on procmail automounting home, Ken Teh <=