procmail
[Top] [All Lists]

RE: Filter and Resend Message

2007-05-05 05:23:43

Hi, 


By the way, if you are delivering to folders, such as maildir+ folders,
you don't need separate procmail delivery recipes for each local
folder.  You can put them all on one delivery line.

After you massage MY_TO appropriately to have the various mailfolder
paths in the lines, you would do this:

  MAILDIR = /var/spool/mail  # or wherever the mailspool is
  MY_TO = "$MAILDIR/john/ $MAILDIR/paula/ $MAILDIR/jill/"
 
 :0
  $MY_TO

Dallman

I managed to constrcut the MY_TO to:
procmail: Assigning "MAIL_TO=/var/spool/mail/candy/
/var/spool/mail/paly/"

But the procmail does not delivery the mail to the second person:

procmail: Acquiring kernel-lock
procmail: Match on ! "^^^^"
procmail: Unable to treat as directory "/var/spool/mail/candy"
procmail: Skipped "/var/spool/mail/paly/"
procmail: Assigning "LASTFOLDER=/var/spool/mail/candy"
procmail: Opening "/var/spool/mail/candy"
procmail: Acquiring kernel-lock

If I take the / out, as below:
procmail: Assigning "MAIL_TO=/var/spool/mail/candy /var/spool/mail/paly"
procmail: Acquiring kernel-lock
procmail: Match on ! "^^^^"
procmail: Skipped "/var/spool/mail/paly"
procmail: Assigning "LASTFOLDER=/var/spool/mail/candy"
procmail: Opening "/var/spool/mail/candy"
procmail: Acquiring kernel-lock

This is a neat solution but somehow it does not work on my system just
yet!

Rgds,
Kfl. HK.


____________________________________________________________
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


____________________________________________________________
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>