Prev: Why is sendmail accepting unresolvable domains? [accept_unresolvable_domainsv. require_rdns]
Next: How to setup a 2nd email server
From: Andrzej Adam Filip on 7 Feb 2010 03:29 Ohmster <root(a)dev.nul.invalid> wrote: > Andrzej Adam Filip <anfi(a)onet.eu> wrote in news:ypgw6kxsz7-A26 > @stuart.huge.strangled.net: > >> Ohmster <root(a)dev.nul.invalid> wrote: >>> Andrzej Adam Filip <anfi(a)onet.eu> wrote: > [..] > > I have been trying to work on the auth problem and think I pretty much > have everything right but some service is not running or started and I > will be dammed if I know what it is. Look at this maillog entry and the > acompanying email I got from the system: > > Feb 6 19:04:03 ohmster sendmail[6789]: o17042qf006786: to= > <theohmster(a)comcast.net>, ctladdr=<ohmster(a)ohmster.com> (500/500), delay= > 00:00:01, xdelay=00:00:00, mailer=relay, pri=120639, relay=[76.96.62.117] > [76.96.62.117], dsn=5.0.0, stat=Service unavailable > Feb 6 19:04:03 ohmster sendmail[6789]: o17042qf006786: o17043qf006789: > DSN: Service unavailable > Feb 6 19:04:04 ohmster sendmail[6789]: o17043qf006789: to= > <ohmster(a)ohmster.com>, delay=00:00:01, xdelay=00:00:01, mailer=local, > pri=31861, dsn=2.0.0, stat=Sent > > The original message was received at Sat, 6 Feb 2010 19:04:02 -0500 > from localhost [127.0.0.1] > > ----- The following addresses had permanent fatal errors ----- > <theohmster(a)comcast.net> > (reason: 550 5.1.0 Authentication required) > > ----- Transcript of session follows ----- > ... while talking to [76.96.62.117]: >>>> MAIL From:<ohmster(a)ohmster.com> SIZE=837 > <<< 550 5.1.0 Authentication required > 554 5.0.0 Service unavailable > > What service is unavailable? "550 5.1.0 Authentication required" is important. To debug outgoing SMTP AUTH try the following test command sendmail -v -d60.5 -qI_queue-id_ -d60.5 will show you authinfo table lookups. The most common problems are: a) lookup in authiinfo table for "something else than expected" b) lack of support by your sendmail of AUTH methods offered c) "security block" - quite often sendmail is configured to refuse "plain text" password authentication over unencrypted links d) broken ehlo response after STARTTLS - lack of AUTH method lists [I have been hit by it once ] -- [pl>en Andrew] Andrzej Adam Filip : anfi(a)onet.eu : Andrzej.Filip(a)gmail.com The English instinctively admire any man who has no talent and is modest about it. -- James Agate, British film and drama critic
From: John Nemeth on 7 Feb 2010 15:34 Ohmster (root(a)dev.nul.invalid) wrote: : Andrzej Adam Filip <anfi(a)onet.eu> wrote in : news:h1i18rxv2a-A26(a)jennifer.huge.strangled.net: : > Have you defined the smart host as [76.96.62.117]? : > ( IP address in square brackets ) : Uh no. Trying again like this now: : define(`SMART_HOST',`[76.96.62.117]')dnl : [...] : So far as AUTH goes, I thought I had that covered with this in my : sendmail config: : FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl : [root(a)ohmster mail]# cd auth : [root(a)ohmster auth]# ls -la : total 20 : drwx------ 2 root root 4096 2010-02-03 21:35 . : drwxr-xr-x 4 root root 4096 2010-02-06 12:30 .. : -rw------- 1 root root 156 2010-02-03 21:32 client-info : -rw-r----- 1 root root 12288 2010-02-03 21:35 client-info.db : [root(a)ohmster auth]# pwd : /etc/mail/auth : [root(a)ohmster auth]# : [root(a)ohmster auth]# cat client-info : AuthInfo:smtp.comcast.net "U:smmsp" "I:MUNGE" "P:MUNGE" "M:PLAIN" : AuthInfo:smtp.comcast.net:587 "U:smmsp" "I:theohmster" "P:tinymiss22" : "M:PLAIN" : [root(a)ohmster auth]# : I removed my own user/pass and substituted MUNGE for this post, my real : stuff is there in plain text and this is how I have always done it in the Actually, you missed one. The problem is most likely that you are talking to "[76.96.62.117]", not "smtp.comcast.net". Try adding lines for the IP address.
From: Steve Hajducko on 9 Feb 2010 19:42 On Feb 7, 12:34 pm, jnem...(a)vtn1.victoria.tc.ca (John Nemeth) wrote: > Ohmster (r...(a)dev.nul.invalid) wrote: > > : Andrzej Adam Filip <a...(a)onet.eu> wrote in > :news:h1i18rxv2a-A26(a)jennifer.huge.strangled.net: > > : > Have you defined the smart host as [76.96.62.117]? > : > ( IP address in square brackets ) > > : Uh no. Trying again like this now: > : define(`SMART_HOST',`[76.96.62.117]')dnl > > : [...] > > : So far as AUTH goes, I thought I had that covered with this in my > : sendmail config: > > : FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl > > : [root(a)ohmster mail]# cd auth > : [root(a)ohmster auth]# ls -la > : total 20 > : drwx------ 2 root root 4096 2010-02-03 21:35 . > : drwxr-xr-x 4 root root 4096 2010-02-06 12:30 .. > : -rw------- 1 root root 156 2010-02-03 21:32 client-info > : -rw-r----- 1 root root 12288 2010-02-03 21:35 client-info.db > : [root(a)ohmster auth]# pwd > : /etc/mail/auth > : [root(a)ohmster auth]# > > : [root(a)ohmster auth]# cat client-info > : AuthInfo:smtp.comcast.net "U:smmsp" "I:MUNGE" "P:MUNGE" "M:PLAIN" > : AuthInfo:smtp.comcast.net:587 "U:smmsp" "I:theohmster" "P:tinymiss22" > : "M:PLAIN" > : [root(a)ohmster auth]# > > : I removed my own user/pass and substituted MUNGE for this post, my real > : stuff is there in plain text and this is how I have always done it in the > > Actually, you missed one. > > The problem is most likely that you are talking to > "[76.96.62.117]", not "smtp.comcast.net". Try adding lines for the IP > address. You can also just change your smart host to [smtp.comcast.net] The 'hostname lookup failure' results from sendmail trying to perform an MX record lookup on the actual smart host, something that's not likely to be there in some cases. The brackets tell sendmail to ignore doing MX lookups.
From: Ohmster on 10 Feb 2010 10:19
Steve Hajducko <hajducko(a)gmail.com> wrote in news:416db4d0-e950-4e86-a376- aa7ff87c74c3(a)e19g2000prn.googlegroups.com: > You can also just change your smart host to > > [smtp.comcast.net] > > The 'hostname lookup failure' results from sendmail trying to perform > an MX record lookup on the actual smart host, something that's not > likely to be there in some cases. The brackets tell sendmail to > ignore doing MX lookups. Alright, that seemed to work, now I have to work on my auth issue. Thank you very much Steve. Feb 10 10:17:52 ohmster sendmail[2215]: o1AFHpkc002211: to= <theohmster(a)comcast.net>, ctladdr=<ohmster(a)ohmster.com> (500/500), delay= 00:00:01, xdelay=00:00:01, mailer=relay, pri=120639, relay=smtp.g.comcast.net. [76.96.62.117], dsn=5.0.0, stat=Service unavailable Feb 10 10:17:52 ohmster sendmail[2215]: o1AFHpkc002211: o1AFHqkc002215: DSN: Service unavailable Feb 10 10:17:53 ohmster sendmail[2215]: o1AFHqkc002215: to= <ohmster(a)ohmster.com>, delay=00:00:01, xdelay=00:00:00, mailer=local, pri= 31862, dsn=2.0.0, stat=Sent -- ~Ohmster | ohmster59 /a/t/ gmail dot com Put "messageforohmster" in message body (That is Message Body, not Subject!) to pass my spam filter. |