On Tuesday 08 December 2009 17:12:48 Tony Rogers wrote:
>
> My domain is example.com - the server relays all mail for *...@example.com
> to an exchange server.
>
> I have a requirement where I need to redirect email for u...@example.com
> to u...@bloggs.com.
>
> u...@example.com does not exist on our system.

I've done similar here with a transport map.

transport_maps = hash:/etc/postfix/transport

:transport:
f...@example.com local:
example.com smtp:[nameofsmtpserverforexample.com]

And then used /etc/aliases to redirect "fred" email to whereever I wanted it 
to go - but I know our destination doesn't use SPF, or any "silly" spam 
checks.

Crude but it works for our needs.

> Dec  4 12:22:40 my_server_name postfix/pipe[7162]: A973D9170E:
> to=<u...@bloggs.com>, orig_to=<u...@example.com>, relay=spamassassin,
> delay=3, status=sent (my_server_name)

spamassassin - who is this server?

> However - the person on the receiving end doesn't get the email - it
> appears to end up in some administrator mailbox (not much detail - and I
> haven't been able to get more) - which suggests an over zealous spam
> filter on their side.

I think you are going to have to explain the set up more, or provide the 
normally requested output for this list.

> So my question is:
> ------------------
>
> Have I done this correctly?

It feels wrong to me, how does postfix know what to do with the rest of 
example.com's mail. Or has your obfuscation destroyed the question?

Reply via email to