Configuring Exim to recognise [email protected] is local
I'm setting up Exim and can't work out how to make it recognise my gmail account is local to the machine, rather than sending it to Google, but still allowing it to treat all other gmail accounts as non-local?
How can I tell Exim that all mail addressed to "[email protected]" is local, but mail to any other gmail.com address is non-local?
Signature · 4 lines
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? Code & Projects - http://www.piku.org.uk Photos - http://www.piku.co.uk
Quoted 6 lines · James
I'm setting up Exim and can't work out how to make it recognise my gmail account is local to the machine, rather than sending it to Google, but still allowing it to treat all other gmail accounts as non-local?
How can I tell Exim that all mail addressed to "[email protected]" is local, but mail to any other gmail.com address is non-local?
For exim to treat gmail.com as local it would need to be in local_domain list under the main configuration.
something like:
domainlist local_domains = /path/to/local/domains/file
I am sure this would be a bad practise and you'd be better off doing using some other technique such as relay_from. Perhaps a mail to the exim users list would get you a better answer though.
Good luck.
Dp.