On Wed, Oct 21, 2009 at 06:52:21PM +0500, rihad wrote:
> Geert Hendrickx wrote:
> >In your case (SMS notifications) however, I would keep things simple
> >and not try to integrate it so tightly into the delivery process, but
> >just fork your incoming mails to two transports: "virtual" for actual
> >delivery (handled by Postfix) and your own transport for the SMS
> >notifications.  You can do this with virtual aliases:
> >
> >f...@yourdomain.net  f...@yourdomain.net f...@sms.yourdomain.net
> >b...@yourdomain.net  b...@yourdomain.net b...@sms.yourdomain.net
> >...
> >
> 
> This is so repetitive. All our alias maps are in mysql, and there's
> an app behind them which isn't under my control, so... Can I rewrite
> whole domains? Like this:
> 
> 
> @yourdomain.net               @yourdomain.net @sms.yourdomain.net


That will break recipient validation.  However, with MySQL, you should be
able to put the duplication of addresses in the query or in the result
filter?


        Geert


-- 
Geert Hendrickx  -=-  g...@telenet.be  -=-  PGP: 0xC4BB9E9F
This e-mail was composed using 100% recycled spam messages!

Reply via email to