Re: pop won't authenticate my password

From: Stuart Sears (stuart_at_sjsears.com)
Date: 01/20/04

  • Next message: Michael Schwendt: "Re: Iptables-restore"
    To: redhat-list@redhat.com
    Date: Tue, 20 Jan 2004 18:29:23 +0000
    
    

    > 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@mccorduck.ws
    ... 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

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

  • Next message: Michael Schwendt: "Re: Iptables-restore"

    Relevant Pages

    • Re: Same sendmail.cf files in different machines, cause different RULE EFFECTS
      ... # Copyright 1998-2001 Sendmail, ... names that should be exposed as from this host, ... # use Errors-To: header? ...
      (comp.mail.sendmail)
    • MTU PPP
      ... I would like to set the MTU of my ppp0 above 1500. ... sendmail ... Smart relay host in sendmail ... # checkpoint queue runs after every N successful deliveries ...
      (RedHat)
    • Re: SETUP whole new system (Part 1, the firewall SMTP relay)
      ... I'm new on sendmail in a new position as sysadmin in a branch of the ... Message delivery on the final host ... itself or to the firewall SMTP relay. ... department's network and by the firewall SMTP relay to forward the ...
      (comp.mail.sendmail)
    • Re: pop wont authenticate my password
      ... On Tue, 2004-01-20 at 18:29, Stuart Sears wrote: ... >> to the local host. ... > If it is it is certainly not solely sendmail which is at fault. ... > cannot find YOUR mail server on the internet. ...
      (RedHat)
    • Re: Mail going to wrong server
      ... The firewall needs to be able to send messages, ... sendmail running on the firewall. ... the firewall and not to the mail server. ... Sendmail keeps a list of host names that are considered to be local. ...
      (comp.mail.sendmail)