Hi,
Firstly thank-you to Philip and everyone else maintaining or
contributing to exim, I have found configuring and working with exim to
be a pleasure. Not bad for Cambridge :-)
I had two oustanding issues, but while taking the time to compose this
email asking for help I was forced to think them both through and solved
one of them. I'd like them to go in the web digest anyway, so it's
below. The second:
How do I limit a router so that only applies to messages exim is relaing
(in relay_from_hosts).
eg. sender= +relay_from_hosts ?
Provides [EMAIL PROTECTED] => usera,userb,[EMAIL PROTECTED]
------------------------------
# All user aliases at a given domain except the catch-all handler
MYSQL_Q_EVERY_USR=SELECT concat( local_part, '@', domain ) FROM `aliases`
WHERE local_part != '*' AND domain='${quote_mysql:$domain}'
domainlist local_domains = mysql;MYSQL_Q_LDOMAIN
<...relays...>
# domain-wide '[EMAIL PROTECTED]' forwarding
virtual_everyone:
driver = redirect
domains = +local_domains
local_parts = everyone
data = ${lookup mysql {MYSQL_Q_EVERY_USR}{$value}}
allow_fail
allow_defer
--------------------------
Many thanks,
Chris Shucksmith
--
=========================================
Christopher Shucksmith
[w] www.shucksmith.com [m]07905016603
[EMAIL PROTECTED]
=========================================
DNS troubles
When a host from within relay_from_hosts hands messages off to exim,
they are not delivered (host lookup timout)
2005-05-24 13:46:08 1DaZjU-0000Vz-Fx <= [EMAIL PROTECTED]
H=([192.168.13.122]) [192.168.13.122] P=esmtp S=630
[EMAIL PROTECTED]
2005-05-24 13:46:28 1DaZjU-0000Vz-Fx == [EMAIL PROTECTED]
R=dnslookup defer (-1): host lookup did not complete
2005-05-24 13:48:38 1DaZlu-0000WE-Se <= [EMAIL PROTECTED]
H=([192.168.13.122]) [192.168.13.122] P=esmtp S=611
[EMAIL PROTECTED]
2005-05-24 13:48:58 1DaZlu-0000WE-Se == [EMAIL PROTECTED] R=dnslookup
defer (-1): host lookup did not complete
2005-05-24 14:18:39 1DaaEx-0000au-2b <= [EMAIL PROTECTED]
H=([192.168.13.122]) [192.168.13.122] P=esmtp S=563
[EMAIL PROTECTED]
2005-05-24 14:18:59 1DaaEx-0000au-2b == [EMAIL PROTECTED] R=dnslookup defer
(-1): host lookup did not complete
When I try and resolve MX records manually:
merlot chris # hostx gmail.com
gmail.com A 216.239.57.107
gmail.com A 64.233.171.107
gmail.com A 64.233.161.107
merlot chris # hostx -t MX gmail.com
Nameserver not responding
gmail.com MX record not found, try again
merlot chris # cat /etc/resolv.conf
nameserver 192.168.0.1
It's just struck me that perhaps the Netgear ADSL Router (192.168.0.1)
is perhaps a broken DNS relay. This would also explain why I had to
disable sender verification. Better jump straight to the ISP's machines.
Fixed.
merlot net-misc # hostx -t MX gmail.com
gmail.com MX 10 gsmtp171.google.com
gmail.com MX 10 gsmtp171-2.google.com
gmail.com MX 10 gsmtp185.google.com
gmail.com MX 10 gsmtp185-2.google.com
gmail.com MX 5 gmail-smtp-in.l.google.com
--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/