On 07/10/12 22:31, Chris Davies wrote:
Alan Chandler<alan@chandlerfamily.org.uk> wrote:I am using Debian Squeeze on a virtual machine that I lease. It has exim4 (light) version as its mail server. - its name is avalon.hartley-consultants.com However, it looks to me like its trying to send a failure e-mail to me locally somehow. 2012-10-05 07:42:09 1TK1bf-0000Mx-0C<= root@avalon.hartley-consultants.com U=root P=local S=389 2012-10-05 07:42:09 1TK1bf-0000Mx-0C ** info@mynewdomain.com R=dnslookup T=remote_smtp: retry time not reached for any host after a long failure period 2012-10-05 07:42:09 1TK1bt-0000N0-DT remote host address is the local host: avalon.hartley-consultants.comIt's difficult to tell without knowing the precise setup on the machine, but this looks like you've aliased root to the offsite address info@mynewdomain.com, but then you've got an entry somewhere that tells avalon that it *is* mynewdomain.com. This could be an entry in /etc/hosts, an MX or A record in DNS, or some fancy aliasing somewhere associated with exim itself. Avalon accordingly tries to deliver to info, locally, and finds that this does not exist. Because it's already trying to deliver a bounce message it simply discards the bouncing bounce and aborts. Unfortunately, without knowing what mynewdomain.com really is, I can't run any non-local diagnostics for you. Unless mynewdomain.com really is yours, in which case you've got a configuration problem there because it's not accepting mail. Chris
I'll try and be more specificThe domain in question is virginiaparkinson.com and I am having particular difficulty with the domain name hosting company to get e-mail forwarding working with them.
The virtual machine is a standard squeeze setup with my update-exim4.conf.conf
dc_eximconfig_configtype='internet' dc_other_hostnames='' dc_local_interfaces='' dc_readhost='' dc_relay_domains='' dc_minimaldns='false' dc_relay_nets='127.0.0.1;77.96.120.60' dc_smarthost='' CFILEMODE='644' dc_use_split_config='true' dc_hide_mailname='' dc_mailname_in_oh='true' dc_localdelivery='mail_spool'(77.96.120.60 is my home ip address where my main mail server sits - because this is effectively a dynamic ip address I have to route all outgoing mail through a remote smtp server. Normally I use my ISPs mail server, but occassionally it becomes slow, or is blacklisted - and this allows me to rapidly switch to this machine to route outgoing mail through)
/etc/aliases has root: alan.chandler@hartley-consultants.com in it the virtual machines ip address is 80.68.94.252and both hartley-consultants.com and virginiaparkinson.com have this domain referencing 80.68.94.252 BUT their MX records both point else where. In fact hartley-consultants MX record points to 77.96.120.60, whereas virginiaparkinson.com mx records point somewhere completely different (at first trial at what seems a non existant mail server that was refusing connections) I am trying to fix that now.
-- Alan Chandler http://www.chandlerfamily.org.uk