Re: pop won't authenticate my password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2004-01-20 at 18:29, Stuart Sears wrote:
> > It's actually commented on in the sendmail config ( I forget the actual
> > fle name)
> > The instruction is to comment out a line to stop sendmail listening only
> > to the local host.
> > If you have not found it by the time I log on from home tonight I will
> > send somthing more specific unless some kind person has beaten me to it.
> > Regards Roger
> I'm not sure this is a sendmail issue at all.
> If it is it is certainly not solely sendmail which is at fault.
> Allow me to quote:
> ed@xxxxxxxxxxxx
> ... Deferred: Name server: mccorduck.ws.: host name
> lookup failure
> Message could not be delivered for 4 hours
> Message will be deleted from queue
> 
> it seems like a DNS lookup error. Indeed 
> $ host mccorduck.ws
> fails completely.
> $ dig MX mccorduck.ws
> 
> ; <<>> DiG 9.2.2 <<>> MX mccorduck.ws
> ;; global options:  printcmd
> ;; connection timed out; no servers could be reached
> 
> The website doesn't appear to exist either.
> Who hosts your DNS? Can _you_ ping mccorduck.ws? I certainly can't. It is no 
> surprise that your mail is not delivered if the AOL and other mail servers 
> cannot find YOUR mail server on the internet.
> 
> so on which machine are you running sendmail? The same as your pop server?
> (well, actually you'll be running it on any and all RH boxen by default, but 
> as roger states, it will only accept mail for delivery from localhost - this 
> is why you can send mail out, but can't receive it.)
> 
> actually I would read the HOWTO that rodolfo has posted further down this 
> thread, but here's a quick runthrough. do not assume that this is secure - 
> just use it for a five minute test.
> 
> to get sendmail to listen to ANY host (the simplest, but not the most secure, 
> be aware of this. You can further specify what to do with mail from/to 
> different hosts in other config files)
> cd /etc/mail
> vi sendmail.mc (or use pico -w, or some other editor)
> search for the line
> DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
> comment it out thus:
> dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
> note that it isn't a # - this is an M4 macro file
> then:
> a) backup your original sendmail.cf file (the file actually read by sendmail)
> cp /etc/mail/sendmail.cf{,.bak}
> b) generate a new file from your recently edited sendmail.mc file:
> m4 /etc/mail/sendmail.mc > /etc/mail.sendmail.cf
> c) restart your mail server
> service sendmail restart
> 
> Now test your email again:
> in a terminal window:
> tail -f /var/log/maillog
> 
> then try sending an email to yourself from elsewhere and read what the output 
> in the terminal tells you. It will tell you if the mail you sent was accepted 
> for delivery.
> If this was not the problem, put the original setting back.
> 
> Stuart
> Thanks Stuart That's the bit I could nit remember.
Since Ed could post from the localhost and can now pop the mail as
well,I tend to agree that is likely to be the only sendmail problem.
But it look like the other problems need sorting as well.
One other point do we have a static or dynamic IP address in this
equation.
Regards Roger


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux