[Pkg-exim4-users] Smarthost stopped working

Matthew Roberts robermat at uwplatt.edu
Mon Dec 11 03:31:10 CET 2006


Hi,

I've been using Debian and exim for several years now.  I've got a dial-up system and have used the exim smarthost option with no problems.  This summer, the campus email server started requiring authentication so I duly added entries to /etc/exim4/passwd.client and continued using exim.

A few weeks ago, I started getting error messages like this:

550 <username at domain.org>: Recipient address rejected: No such domain at this location (username at domain.org)

It lasted for a few days and then my mail started working again.  About a week ago, the problem started again and continues to this day.

I talked with one of the IT folks and he mentioned that the campus email is being handled by a "barracuda" system.

I've attached debug output from a delivery attempt.

Any help is greatly appreciated.

Thanks,

Matt

-------------- next part --------------
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Considering: username at domain.org
unique = username at domain.org
dbfn_read: key=R:domain.org
dbfn_read: key=R:username at domain.org
no domain retry record
no address retry record
username at domain.org: queued for routing
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
routing username at domain.org
--------> hubbed_hosts router <--------
local_part=username domain=domain.org
checking domains
expansion of "${if exists{/etc/exim4/hubbed_hosts}{partial-lsearch;/etc/exim4/hubbed_hosts}fail}" forced failure: assume not in this list
hubbed_hosts router skipped: domains mismatch
--------> smarthost router <--------
local_part=username domain=domain.org
checking domains
domain.org in "@:localhost:localhost"? no (end of list)
domain.org in "! +local_domains"? yes (end of list)
R: smarthost for username at domain.org
calling smarthost router
smarthost router called for username at domain.org
  domain = domain.org
route_item = * smtp.campus.edu byname
domain.org in "*"? yes (matched "*")
original list of hosts = "smtp.campus.edu" options = byname
expanded list of hosts = "smtp.campus.edu" options = byname
set transport remote_smtp_smarthost
finding IP address for smtp.campus.edu
calling host_find_byname
set_process_info:  4726 running queue: waiting for 1GstB5-000182-3H (4731)
gethostbyname2(af=inet6) returned 4 (NO_DATA)
fully qualified name = smtp.campus.edu
gethostbyname2 looked up these IP addresses:
  name=smtp.campus.edu address=XXX.XXX.XXX.XX
  name=smtp.campus.edu address=XXX.XXX.XXX.XX
queued for remote_smtp_smarthost transport: local_part = username
domain = domain.org
  errors_to=NULL
  domain_data=NULL localpart_data=NULL
routed by smarthost router
  envelope to: username at domain.org
  transport: remote_smtp_smarthost
  host smtp.campus.edu [XXX.XXX.XXX.XX]
  host smtp.campus.edu [XXX.XXX.XXX.XX]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
After routing:
  Local deliveries:
  Remote deliveries:
    username at domain.org
  Failed addresses:
  Deferred addresses:
search_tidyup called
>>>>>>>>>>>>>>>> Remote deliveries >>>>>>>>>>>>>>>>
--------> username at domain.org <--------
search_tidyup called
changed uid/gid: remote delivery to username at domain.org with transport=remote_smtp_smarthost
  uid=102 gid=102 pid=4732
  auxiliary group list: <none>
set_process_info:  4732 delivering 1GstB5-000182-3H using remote_smtp_smarthost
T: remote_smtp_smarthost for username at domain.org
remote_smtp_smarthost transport entered
  username at domain.org
checking status of smtp.campus.edu
locking /var/spool/exim4/db/retry.lockfile
locked /var/spool/exim4/db/retry.lockfile
opened hints database /var/spool/exim4/db/retry: flags=0
dbfn_read: key=T:smtp.campus.edu:XXX.XXX.XXX.XX
dbfn_read: key=T:smtp.campus.edu:XXX.XXX.XXX.XX:1GstB5-000182-3H
no host retry record
no message retry record
smtp.campus.edu [XXX.XXX.XXX.XX] status = usable
XXX.XXX.XXX.XX in serialize_hosts? no (option unset)
delivering 1GstB5-000182-3H to smtp.campus.edu [XXX.XXX.XXX.XX] (username at domain.org)
set_process_info:  4732 delivering 1GstB5-000182-3H to smtp.campus.edu [XXX.XXX.XXX.XX] (username at domain.org)
set_process_info:  4731 delivering 1GstB5-000182-3H: waiting for a remote delivery subprocess to finish
selecting on subprocess pipes
Connecting to smtp.campus.edu [XXX.XXX.XXX.XX]:25 ... connected
waiting for data on socket
read response data: size=69
  SMTP<< 220 quarantine.uwplatt.edu ESMTP (b27a200d4bdfbe3df866f722a641f1ac)
XXX.XXX.XXX.XX in hosts_avoid_esmtp? no (option unset)
  SMTP>> EHLO localhost.localdomain
waiting for data on socket
read response data: size=132
  SMTP<< 250-quarantine.uwplatt.edu
         250-PIPELINING
         250-SIZE 100000000
         250-ETRN
         250-AUTH LOGIN PLAIN
         250-AUTH=LOGIN PLAIN
         250 8BITMIME
XXX.XXX.XXX.XX in hosts_require_tls? no (option unset)
using PIPELINING
XXX.XXX.XXX.XX in hosts_require_auth? no (option unset)
gethostbyname2(af=inet6) returned 4 (NO_DATA)
gethostbyname2 looked up these IP addresses:
  name=smtp.campus.edu address=XXX.XXX.XXX.XX
  name=smtp.campus.edu address=XXX.XXX.XXX.XX
XXX.XXX.XXX.XX in hosts_try_auth? yes (matched "smtp.campus.edu")
scanning authentication mechanisms
plain authenticator yielded 12
login authenticator yielded 12
  SMTP>> MAIL FROM:<> SIZE=110736
  SMTP>> RCPT TO:<username at domain.org>
  SMTP>> DATA
waiting for data on socket
read response data: size=144
  SMTP<< 250 Ok
  SMTP<< 550 <username at domain.org>: Recipient address rejected: No such domain at this location (username at domain.org)
  SMTP<< 554 Error: no valid recipients
SMTP error from remote mailer after pipelined DATA: host smtp.campus.edu [XXX.XXX.XXX.XX]: 554 Error: no valid recipients
error for DATA ignored: pipelining is in use and there were no good recipients
ok=1 send_quit=1 send_rset=1 continue_more=0 yield=0 first_address is NULL
transport_check_waiting entered
  sequence=1 local_max=500 global_max=-1
locking /var/spool/exim4/db/wait-remote_smtp_smarthost.lockfile
locked /var/spool/exim4/db/wait-remote_smtp_smarthost.lockfile
opened hints database /var/spool/exim4/db/wait-remote_smtp_smarthost: flags=2
dbfn_read: key=smtp.campus.edu
no messages waiting for smtp.campus.edu
  SMTP>> QUIT
set_process_info:  4732 delivering 1GstB5-000182-3H: just tried smtp.campus.edu [XXX.XXX.XXX.XX] for username at domain.org: result OK
Leaving remote_smtp_smarthost transport
set_process_info:  4732 delivering 1GstB5-000182-3H (just run remote_smtp_smarthost for username at domain.org in subprocess)
search_tidyup called
reading pipe for subprocess 4732 (not ended)
read() yielded 232
Z0 item read
remote delivery process 4732 ended
set_process_info:  4731 delivering 1GstB5-000182-3H
post-process username at domain.org (2)
LOG: MAIN
  ** username at domain.org R=smarthost T=remote_smtp_smarthost: SMTP error from remote mailer after RCPT TO:<username at domain.org>: host smtp.campus.edu [XXX.XXX.XXX.XX]: 550 <username at domain.org>: Recipient address rejected: No such domain at this location (username at domain.org)
>>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
changed uid/gid: post-delivery tidying
  uid=102 gid=102 pid=4731
  auxiliary group list: <none>
set_process_info:  4731 tidying up after delivering 1GstB5-000182-3H
Processing retry items
Succeeded addresses:
Failed addresses:
Deferred addresses:
username at domain.org: no retry items
end of retry processing
LOG: MAIN
  Frozen (delivery error message)
delivery deferred: update_spool=1 header_rewritten=0
Writing spool header file
Size of headers = 445
end delivery of 1GstB5-000182-3H
search_tidyup called
set_process_info:  4726 running queue: waiting for children of 4731
set_process_info:  4726 running queue
search_tidyup called
set_process_info:  4726 running queue: 1GtaKL-00017m-5H-H
set_process_info:  4733 delivering 1GtaKL-00017m-5H (queue run pid 4726)
reading spool file 1GtaKL-00017m-5H-H
user=Debian-exim uid=102 gid=102 sender=
sender_local=0 ident=Debian-exim
Non-recipients:
Empty Tree
---- End of tree ----
recipients_count=1
body_linecount=25 message_linecount=10
LOG: MAIN
  Unfrozen by forced delivery
set_process_info:  4726 running queue: waiting for 1GtaKL-00017m-5H (4733)
Delivery address list:
  matt at domain.org 
locking /var/spool/exim4/db/retry.lockfile
locked /var/spool/exim4/db/retry.lockfile
opened hints database /var/spool/exim4/db/retry: flags=0


More information about the Pkg-exim4-users mailing list