procmail
[Top] [All Lists]

Re: include custom scripts

2005-10-05 05:15:00
-- Dallman Ross <dman(_at_)nomotek(_dot_)com> wrote:

On Wed, Oct 05, 2005 at 03:26:44AM -0700, saravanan
ganapathy
wrote:

I configured procmail as MDA for sendmail.

[snip]

I want to call the script after the mail delivery.
Please help me what to change in .procmail.rc
file.

Perhaps run it via the TRAP command.

You set that in the .procmailrc, and it runs after
all
is finished.

  TRAP = 'myscript $LASTFOLDER'

Dallman

Yah It works. Thx

I need one more help. Is there any possibility that
procmail can say 'error in mail delivery' if any error
occurs in the script which I included? 



                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>