Andy Smith(flapjack2...@gmail.com)@Wed, Feb 10, 2010 at 11:01:05AM -0600:
> ok i have put that in canonical and when the rewrite occurs i get a
> log that looks like this
> 
> Feb 10 16:52:45 dal1-svc-12 postfix/smtp[13697]: 9E4FA26FB8:
> to=<1234567.prodea_uae1.prodea_uae1.prodea_uae1.prodea_uae1.prodea_uae1.prodea_uae1.prodea_uae1.prodea_uae1.prodea_uae1.prodea_u...@smscountry.net>,
> orig_to=<1234...@smscountry.net>,
> relay=roslife.net.outbound15.mxlogic.net[208.65.144.92]:25, delay=2.2,
> delays=0.56/0.01/0.09/1.5, dsn=2.0.0, status=sent (250 [OUTBOUND]
> b54e27b4.0.89022.00-001.196464.p02c11o141.mxlogic.net QueueSafe)
> 
> 
> my rewrite looks like
> 
> /^(.*)@smscountry\.net$/ $1.prodea_u...@smscountry.net
> 
> am i missing something as prodea_uae1 is being added multiple times.

My guess is that you're hitting this:

The  optional canonical(5) table specifies an address map- ping for local
and non-local  addresses.  The  mapping  is used  by the cleanup(8)
daemon, before mail is stored into the queue.  The address mapping is
recursive.
^^^^^^^^^^

Try something like this:

/^([0-9]+)@smscountry\.net$/  $1.prodea_u...@smscountry.net

-- 
Bill Weiss

Reply via email to