LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-02-2008, 01:58 PM   #1
xaos5
Member
 
Registered: Dec 2004
Distribution: debian and slackware
Posts: 217

Rep: Reputation: 31
exim4 530-5.5.1 Authentication Required.


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.
 
Old 07-04-2008, 03:52 AM   #2
emi_ramo
Member
 
Registered: Apr 2007
Location: Barcelona, Spain
Distribution: Debian, KUbuntu
Posts: 213

Rep: Reputation: 36
Are you really sure both systems have the same configuration?
It seems like exim4 is needing some user... root user identified for using SMTP, and you're not identifying when sending.
It's a config issue...

Is Lustra trying to send mails through the other computer or both are able to send mails from themselves?
 
Old 07-07-2008, 03:38 PM   #3
xaos5
Member
 
Registered: Dec 2004
Distribution: debian and slackware
Posts: 217

Original Poster
Rep: Reputation: 31
Lustra is just suppose to send messages out to gmail and google's servers take care of the rest. Lustra is a company machine behind hardware I can't touch, whereas the other machine is a personal server at home using the same service/config type.
 
Old 07-07-2008, 06:31 PM   #4
emi_ramo
Member
 
Registered: Apr 2007
Location: Barcelona, Spain
Distribution: Debian, KUbuntu
Posts: 213

Rep: Reputation: 36
Have you visited http://mail.google.com/support/bin/a...y?answer=14257 ? It's possible that gmail needs some xtra config to let you use their services as you are trying to.
 
Old 07-07-2008, 08:29 PM   #5
xaos5
Member
 
Registered: Dec 2004
Distribution: debian and slackware
Posts: 217

Original Poster
Rep: Reputation: 31
I did visit that site and it doesn't really hint towards anything besides maybe I'm sending email to fast and its rejecting it and giving me a false error. I'm using all default settings and used this guide: http://wiki.debian.org/GmailAndExim4
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Authentication Required hanifn9 Linux - Security 1 03-24-2008 06:15 PM
required Wireless Authentication issinho Linux - Security 2 07-16-2006 03:32 PM
Setting up smtp authentication for exim4 explorer1979 Debian 2 02-21-2006 08:29 AM
exim4 SMTP client authentication: help! Peff Debian 1 08-05-2005 10:43 PM
530 Must perform authentication before identifying USER. talk2me Linux - Networking 1 11-08-2004 04:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration