This my first use of exim, so bear with me.
I'm routing all messages (including locals) through their
respective MX servers with the following conf file.
The problem is mail command hangs. When issuing:
net1#exim -bt david@???
david@???
router = dnslookup, transport = remote_smtp
host net1.coolsurf.com [69.94.137.124] MX=10
host net2.coolsurf.com [69.94.137.128] MX=20
This is correct.
The following appears to complete correctly, then hangs forever,
never completing and coming back to the shell prompt.
Two questions:
1) Is the local_interfaces = '' trick the best way to avoid
"lowest numbered MX record points to local host" errors
2) How to have the mail command (SMTP session) really complete
and come back to the shell prompt
Thanks.
________
net1#echo foo | mail -v -s foo david@???
Loading lookup modules from /usr/lib/exim/4.69-5.fc8/lookups
Loaded 0 lookup modules
LOG: MAIN
<= root@??? U=root P=local S=333
Loading lookup modules from /usr/lib/exim/4.69-5.fc8/lookups
Loaded 0 lookup modules
delivering 1K2UhF-0006sz-Gn
Connecting to net1.coolsurf.com [69.94.137.124]:25 ... connected
net1# SMTP<< 220 net1.coolsurf.com ESMTP qpsmtpd 0.43rc1
SMTP>> EHLO coolsurf.com
SMTP<< 250-net1.coolsurf.com Hi net1.coolsurf.com [69.94.137.124]
250-PIPELINING
250 8BITMIME
SMTP>> MAIL FROM:<root@???>
SMTP>> RCPT TO:<david@???>
SMTP>> DATA
SMTP<< 250 <root@???>, sender OK
SMTP<< 250 <david@???>, recipient ok
SMTP<< 354 go ahead
SMTP>> writing message and terminating "."
SMTP<< 250 Queued
SMTP>> QUIT
LOG: MAIN
=> david@??? R=dnslookup T=remote_smtp H=net1.coolsurf.com [69.94.137.124]
LOG: MAIN
Completed
_______
primary_hostname = coolsurf.com
qualify_domain = coolsurf.com
qualify_recipient = coolsurf.com
domainlist local_domains =
domainlist relay_to_domains =
hostlist relay_from_hosts = 127.0.0.1 : 192.168.0.0/16
# seemingly only way to avoid "lowest numbered MX record points to local host"
local_interfaces =
### never_users = root
freeze_tell = postmaster
ignore_bounce_errors_after = 2d
timeout_frozen_after = 7d
### split_spool_directory = true
# order matters, process till address accepted
begin routers
# all messages go to their MX defined server
dnslookup:
driver = dnslookup
transport = remote_smtp
# one transport called per router
begin transports
remote_smtp:
driver = smtpbegin retry
# Address or Domain Error Retries
# ----------------- ----- -------
* * F,2h,15m; G,16h,1h,1.5; F,4d,6h
--
Love feeling your best ever, all day, every day?
Click
http://RadicalHealth.com/join for the easy way.