On Thursday 21 February 2002 12:00 pm, Tim Wunder wrote:
> Thanks for the response Bruce. Question below.
>
> Bruce Marshall wrote:
> > On Thursday 21 February 2002 11:29 am, Tim Wunder wrote:
> >>I am in need of some enlightenment. What is the purpose of procmail and
> >>how does it relate to sendmail?
> >
> > Procmail is a deliverer of mail....  It takes an email from sendmail and
> > does the final delivery of it on the local host  (or what other processes
> > you might want to do with that mail such as forward it)
> >
> > In your /etc/sendmail.cf   you will find (most likely) and  Mlocal entry
> > that specifies procmail as the delivery agent.
>
> OK, my sendmail.cf file appears to be using /usr/sbin/mail.local to
> deliver mail, at least that's how I understand this line:
> Mlocal, P=/usr/sbin/mail/local, F=<gobbldygook>:/<gobbldygook2>,
> SEnvFromL/HdrFromL, R=EnvToL/HdrToL, T=DNS/RFC822/SMTP
>
> So I should change this somehow to get it to use Procmail. How?
>
> (I'll hunt for an answer on my own, but...)
>
> According to http://ccat.sas.upenn.edu/~ksm/SASC/WKS_Procmail/page03.html,
> I need to do this first:
> Using the sendmail 8.8 auto-configuration, procmail support can be
> easily integrated into the sendmail.cf file by adding the following to
> the sendmail macro file:
>
> FEATURE(local_procmail, `/pkg/bin/procmail')
>         define(`PROCMAIL_PATH', /pkg/bin/procmail)
>         MAILER(procmail)dnl
>
> Is that right?
>
> Regards,
> Tim

My Mlocal statement is below...   For an experiment, I would save your 
current sendmail.cf and make the change to the below.  The FEATURE business 
above is really the correct way to do it but it involves recreating the 
entire sendmail.cf using various incantations.  I can come up with those if 
you want.

(I think the FEATURE statement above might need some changes for your setup)

Mlocal,         P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn09, 
S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,
                T=DNS/RFC822/X-Unix,
                A=procmail -a $h -d $u

Also, on the external access to port 110, are you going to be doing a lot of 
access?  Such as all day at work?   Because another option is to install a 
web based email setup such as neomail.   Clean and secure but not a speed 
demon.




>
> _______________________________________________
> Linux-users mailing list -
> http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe
> info, Archives,and Digests are located at the above URL.

-- 
+----------------------------------------------------------------------------+
+ Bruce S. Marshall  [EMAIL PROTECTED]  Bellaire, MI         02/21/02 12:09  +
+----------------------------------------------------------------------------+
"Man is an infant, with the toys of a child, and delusions of adulthood."
  - A. Cygni, Philosopher
_______________________________________________
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.

Reply via email to