I've just got postfix running :-)
It'll currently accept and deliver mail to anyone@mydomain.co.uk, using luser_relay for unknown local addresses
It'll also accept mail delivered to anyone@anywhere.mydomain.c
o.uk, using the 'accept incoming' option. However it then tries to relay that to the internal machine
e.g. mail sent to joe@machine2.mydomain.co.u
k is accepted, and postfix tries to relay to machine2.mydomain.co.uk, which doesn't exist.
Can I get it to basically ignore the <somethinghere>.mydomain.c
o.uk and either
1) Route email sent to joe@anywhere.somewhere.myd
omain.co.u
k to joe@mydomain.co.uk (i.e. ignore any leading bits..)
and/or
2) Route email sent to anyone@anywhere.mydomain.c
o.uk to go to a catchall catcher@mydomain.co.uk i.e. to spot misdirected emails..
Start Free Trial