Postfix and user+randomstring@domain.com
ram
ram at netcore.co.in
Thu Apr 10 10:37:35 IST 2008
On Thu, 2008-04-10 at 09:41 +0100, Julian Field wrote:
> If you sent a mail to user+randomstring at domain.com and sendmail picks it
> up, it automatically delivers it to user at domain.com for you. Very useful
> for generating one-time email addresses.
>
> Can Postfix do the same (or a similar) thing? If so, how?
smtp_generic_maps = pcre:/etc/postfix/generic_re
And in this file put
---- generic_re ---
/^(.*)\+.*\@(.*)/ ${1}@${2}
-----
Thanks
Ram
More information about the MailScanner
mailing list