> 
> I'm having some problems with exim with my setup. Basically I 
> have a VPS running Ubuntu. My mail is being handled via a 
> separate service (fastmail). My MX record is pointing to 
> them. I need the ability to send emails from web scripts 
> which is why I installed exim, unfortunately I have an issue 
> getting exim to look at the MX record for emails to myself
> 
> If I try to send an email from my VPS to a non @mcubedsw.com 
> domain name then is sends fine (eg echo "Hello" | mail -s 
> "Test" f...@bar.com). However, if I send an email to an 
> @mcubedsw.com domain then it doesn't send it. Instead it says 
> that it is an "unrouteable address". For example:
> 
> exim -bt pi...@mcubedsw.com
> R: system_aliases for pi...@mcubedsw.com
> pi...@mcubedsw.com is undeliverable: Unrouteable address
> 
> I've tried to remove every reference to mcubedsw.com from 
> config files and spent hours reading docs and googling 
> solutions to no avail. I'm a bit of a reluctant server admin 
> so I'm not exactly teeming with experience. Does anyone have 
> any advice on how to get exim to send emails to my local 
> domain to the server listed in the MX record for it? 
> 

You probably need a router telling exim how to handle mail sent to mcubedsw.com 
- routers are run in order so stick something in before the dnslookup router - 
probably a manualroute router if your mail is handled by another system:

new_router:
  driver = manualroute
  transport = remote_smtp 
  domains = mcubedsw.com
  route_list = * host.that.accepts.mail.for.your.fastmail.setup

Give that a go. Also you might want to stick a -d in your command line (exim -d 
-bt pi...@mcubedsw.com) - it'll give you a bit more information.

 John
-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to