I have a Debian stable server running cvs and Bugzilla and I'm having issues with exim4 randomly not being able to send out messages and freezing them. I also have another server with almost identical setup (different username/pass) and doesn't have this issue. I believe it might be hardware on the network like a switch/router/isp. Any help or ideas to point me in the right direction would be appreciated.
Below is output of sending a frozen message twice that already failed with 530-5.5.1 Authentication Required. Sometimes it will fail multiple times in a row before it will successfully send.
Code:
~# uname -a
Linux Lustra 2.6.8-2-386 #1 Tue Aug 16 12:46:35 UTC 2005 i686 GNU/Linux
Code:
~# exim4 -v -M 1KE5my-0003bP-Az
delivering 1KE5my-0003bP-Az
LOG: MAIN
Unfrozen by forced delivery
R: smarthost for bugzilla-daemon@lustra
T: remote_smtp_smarthost for bugzilla-daemon@lustra
Connecting to gmail-smtp.l.google.com [64.233.167.111]:587 ... connected
SMTP<< 220 mx.google.com ESMTP a2sm12198077pyi.28
SMTP>> EHLO localhost.localdomain
SMTP<< 250-mx.google.com at your service, [98.243.112.104]
250-SIZE 28311552
250-8BITMIME
250-STARTTLS
250 ENHANCEDSTATUSCODES
SMTP>> STARTTLS
SMTP<< 220 2.0.0 Ready to start TLS
SMTP>> EHLO localhost.localdomain
SMTP<< 250-mx.google.com at your service, [98.243.112.104]
250-SIZE 28311552
250-8BITMIME
250-AUTH LOGIN PLAIN
250 ENHANCEDSTATUSCODES
SMTP>> MAIL FROM:<> SIZE=2838
SMTP<< 530-5.5.1 Authentication Required. Learn more at
530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 a2sm12198077pyi.28
SMTP>> QUIT
LOG: MAIN
** bugzilla-daemon@lustra R=smarthost T=remote_smtp_smarthost: SMTP
error from remote mailer after MAIL FROM:<> SIZE=2838: host gmail-
smtp.l.google.com [64.233.167.111]: 530-5.5.1 Authentication Required.
Learn more at\n530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 a2sm12198077pyi.28
LOG: MAIN
Frozen (delivery error message)
Lustra:~# exim4 -v -M 1KE5my-0003bP-Az
delivering 1KE5my-0003bP-Az
LOG: MAIN
Unfrozen by forced delivery
R: smarthost for bugzilla-daemon@lustra
T: remote_smtp_smarthost for bugzilla-daemon@lustra
Connecting to gmail-smtp.l.google.com [72.14.205.111]:587 ... connected
SMTP<< 220 mx.google.com ESMTP s35sm11631386qbs.13
SMTP>> EHLO localhost.localdomain
SMTP<< 250-mx.google.com at your service, [98.243.112.104]
250-SIZE 28311552
250-8BITMIME
250-STARTTLS
250 ENHANCEDSTATUSCODES
SMTP>> STARTTLS
SMTP<< 220 2.0.0 Ready to start TLS
SMTP>> EHLO localhost.localdomain
SMTP<< 250-mx.google.com at your service, [98.243.112.104]
250-SIZE 28311552
250-8BITMIME
250-AUTH LOGIN PLAIN
250 ENHANCEDSTATUSCODES
SMTP>> AUTH PLAIN ********************************************
SMTP<< 235 2.7.0 Accepted
SMTP>> MAIL FROM:<> SIZE=2838
SMTP<< 250 2.1.0 OK
SMTP>> RCPT TO:<bugzilla-daemon@lustra>
SMTP<< 250 2.1.5 OK
SMTP>> DATA
SMTP<< 354 Go ahead
SMTP>> writing message and terminating "."
SMTP<< 250 2.0.0 OK 1215020241 s35sm11631386qbs.13
SMTP>> QUIT
LOG: MAIN
=> bugzilla-daemon@lustra R=smarthost T=remote_smtp_smarthost
H=gmail-smtp.l.google.com [72.14.205.111]
X=TLS-1.0:RSA_ARCFOUR_MD5:16
LOG: MAIN
Completed
Code:
~# exim4 -d
Exim version 4.63 uid=0 gid=0 pid=15342 D=fbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (September 6, 2005)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
changed uid/gid: forcing real = effective
uid=0 gid=0 pid=15342
auxiliary group list: <none>
seeking password data for user "uucp": cache not available
getpwnam() succeeded uid=10 gid=10
configuration file is /var/lib/exim4/config.autogenerated
log selectors = 00000ffc 00089001
cwd=/root 2 args: exim4 -d
trusted user
admin user
changed uid/gid: privilege not needed
uid=102 gid=102 pid=15342
auxiliary group list: 102
seeking password data for user "mail": cache not available
getpwnam() succeeded uid=8 gid=8
user name "root" extracted from gecos field "root"
originator: uid=0 gid=0 login=root name=root
sender address = root@lustra
Exim is a Mail Transfer Agent. It is normally called by Mail User Agents,
not directly from a shell command line. Options and/or arguments control
what it does when called. For a list of options, see the Exim documentation.