On 17-Jun-2008, at 04:45, Nick Croft wrote:
I'd like these notifications to go to their own folder. PhpBB3 uses
the same
address for To: and From: to send from itself to the nominated admin,
although in the header it uses the mailname of the server in the
From_ field
(i.e "From www-data(_at_)myserver(_dot_)org").
If your mail server supports it, use plus addressing (procmail line in
postfix should be
mailbox_command = /usr/local/bin/procmail -t -a $EXTENSION
to support the extensions)
You will also need
recipient_delimiter = +
but that is the default.
So, have your admin email be n+phpbb3(_at_)linearg(_dot_)org and then use this
procmail recipe:
ARG = $1
:0
* ! ARG ?? ^^^^
$ARG
The nice thing about this is you can put ANYTHING after the + and it
will be sorted into a seperate mailbox (of course, use $ARG/ fo
maildir, etc).
--
Rule #5: Get Kirsten Dunst Wet
____________________________________________________________
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