On Thu, Oct 06, 2005 at 07:56:48AM -0700, saravanan ganapathy wrote:
Now I have to test with maildir format.Since each mail
has its own filename , I don't know how to copy the
file ( where the mail is just delivered) to multiple
servers.
Any help?
Again, its name is stored in $LASTFOLDER, and it is
accessible to you via the TRAP setting, among other ways.
Another way would be to make the delivery a cloning recipe,
so we can now manipulate $LASTFOLDER in a subsequent recipe.
:0 c
$DEFAULT # assume maildir format
:0 A w
| cp -p "$LASTFOLDER" "/wherever"
:0 e
{ LOG = ERROR }
Or something.
Dallman
____________________________________________________________
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