procmail
[Top] [All Lists]

Supress Mailqueueing by procmail

1998-06-29 02:36:33
Hi all,
I thought this question is answered in one of the FAQs, but I wasn't
able to find an answer, so I post this question here.

I connect to my ISP via PPP. Local mail is delivered directly by
sendmail, mail that must be sent via SMTP is queued and is sent with
"sendmail -q" the next time I connect to the my ISP.

The problem is: I want to use procmail primarily to distribute my mail
to various directories (Mailing Lists...). I invoke it with the
following .forward file:

"|exec /usr/bin/procmail" 

as mentioned in the procmail-man-page. (procmail v3.11pre7). Procmail
will put the mail in the Mailqueue instead of deliver them directly to
the Directories.

My sendmail.cf - file contains the following lines concerning procmail:

######################*****##############
###   PROCMAIL Mailer specification   ###
##################*****##################

#####  @(#)procmail.m4  8.6 (Berkeley) 4/30/97  #####

Mprocmail,      P=/usr/bin/procmail, F=DFMSPhnu9, S=11/31, R=21/31,
T=DNS/RFC822/X-Unix,
                A=procmail -Y -m $h $f $u

#####################################
###   SMTP Mailer specification   ###
#####################################

#####  @(#)smtp.m4      8.33 (Berkeley) 7/9/96  #####

Msmtp,          P=[IPC], F=mDFMuX, S=11/31, R=21, E=\r\n, L=990,
                T=DNS/RFC822/SMTP,
                A=IPC $h
Mesmtp,         P=[IPC], F=mDFMuXa, S=11/31, R=21, E=\r\n, L=990,
                T=DNS/RFC822/SMTP,
                A=IPC $h
Msmtp8,         P=[IPC], F=mDFMuX8, S=11/31, R=21, E=\r\n, L=990,
                T=DNS/RFC822/SMTP,
                A=IPC $h
Mrelay,         P=[IPC], F=meDFMuXa8, S=24, R=61, E=\r\n, L=2040,
                T=DNS/RFC822/SMTP,
                A=IPC $h
...
and
...

##################################################
###   Local and Program Mailer specification   ###
##################################################

#####  @(#)local.m4     8.23 (Berkeley) 5/31/96  #####

Mlocal,         P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=10/30, R=20/40,
                T=DNS/RFC822/X-Unix,
                A=procmail -Y -a $h -d $u
Mprog,          P=/bin/sh, F=lsDFMoqeu9, S=10/30, R=20/40, D=$z:/,
                T=X-Unix,
                A=sh -c $u



Where can I tell procmail to send these Mails directly on the local
machine?

Thanks in advance,
Christof

<Prev in Thread] Current Thread [Next in Thread>
  • Supress Mailqueueing by procmail, Christof Klaiber <=