Home

Sam Varshavchik

The Courier mail transfer agent (MTA) is an integrated mail/groupware server based on open commodity protocols such as ESMTP, IMAP, POP3, LDAP, SSL, and HTTP. Courier provides ESMTP, IMAP, POP3, Webmail, calendaring, and mailing list services.


Project Admins:


Discussion

  • Abdul
    Abdul
    2014-07-02

    Hi Authors,

    I have installed courier-0.66.3-1.x86_64.rpm and courier-authlib-0.63.0-1.x86_64.rpm in RHEL6.4 (64bit) machine.

    authdaemond and courierd service running and able to message from same host
    using the system account.

    Now i tried to send message to different host of system account, the
    following error occured.

    Please help me, how to look up this issue.
    

    In authdemondrc, i am using authpam and authuserdb modules.

    Jul 2 19:22:24 localhost authdaemond: received userid lookup request: mailuser01
    Jul 2 19:22:24 localhost authdaemond: authuserdb: trying this module
    Jul 2 19:22:24 localhost authdaemond: userdb: failed to open /etc/authlib/userdb.dat
    Jul 2 19:22:24 localhost authdaemond: userdb: looking up 'mailuser01'
    Jul 2 19:22:24 localhost authdaemond: authuserdb: REJECT - try next module
    Jul 2 19:22:24 localhost authdaemond: authpam: trying this module
    Jul 2 19:22:24 localhost authdaemond: authpam: username 'mailuser01' not found in password file
    Jul 2 19:22:24 localhost authdaemond: authpam: REJECT - try next module
    Jul 2 19:22:24 localhost authdaemond: FAIL, all modules rejected
    Jul 2 19:22:24 localhost courierd: newmsg,id=00000000001A0954.0000000053B40E98.00006CE6: dns; localhost (localhost [127.0.0.1])
    Jul 2 19:22:24 localhost authdaemond: received userid lookup request: mailuser01
    Jul 2 19:22:24 localhost authdaemond: authuserdb: trying this module
    Jul 2 19:22:24 localhost authdaemond: userdb: failed to open /etc/authlib/userdb.dat
    Jul 2 19:22:24 localhost authdaemond: userdb: looking up 'mailuser01'
    Jul 2 19:22:24 localhost authdaemond: authuserdb: REJECT - try next module
    Jul 2 19:22:24 localhost authdaemond: authpam: trying this module
    Jul 2 19:22:24 localhost authdaemond: authpam: username 'mailuser01' not found in password file
    Jul 2 19:22:24 localhost authdaemond: authpam: REJECT - try next module
    Jul 2 19:22:24 localhost authdaemond: FAIL, all modules rejected
    Jul 2 19:22:24 localhost courierd: id=00000000001A0954.0000000053B40E98.00006CE6,from=root@ramya.com,addr=mailuser01@ramya.com: 550 User <mailuser01> unknown
    Jul 2 19:22:24 localhost courierd: id=00000000001A0954.0000000053B40E98.00006CE6,from=root@ramya.com,addr=mailuser01@ramya.com,status: failure
    Jul 2 19:22:24 localhost courierd: completed,id=00000000001A0954.0000000053B40E98.00006CE6
    Jul 2 19:22:24 localhost courierd: started,id=00000000001A0954.0000000053B40E98.00006CE6,from=<>,module=dsn,host=,addr=root@ramya.com
    Jul 2 19:22:24 localhost courierd: Waiting. shutdown time=none, wakeup time=Wed Jul 2 20:00:09 2014, queuedelivering=3, inprogress=1
    Jul 2 19:22:25 localhost courierd: newmsg,id=00000000001A0B86.0000000053B40E98.00006CE8: dns; localhost (localhost [127.0.0.1])
    Jul 2 19:22:25 localhost authdaemond: received userid lookup request: root
    Jul 2 19:22:25 localhost authdaemond: authuserdb: trying this module
    Jul 2 19:22:25 localhost authdaemond: userdb: failed to open /etc/authlib/userdb.dat
    Jul 2 19:22:25 localhost authdaemond: userdb: looking up 'root'
    Jul 2 19:22:25 localhost authdaemond: authuserdb: REJECT - try next module
    Jul 2 19:22:25 localhost authdaemond: authpam: trying this module
    Jul 2 19:22:25 localhost authdaemond: authpam: sysusername=root, sysuserid=<null>, sysgroupid=0, homedir=/root, address=root, fullname=root, maildir=<null>, quota=<null>, options=<null>
    Jul 2 19:22:25 localhost authdaemond: Authenticated: sysusername=root, sysuserid=<null>, sysgroupid=0, homedir=/root, address=root, fullname=root, maildir=<null>, quota=<null>, options=<null>
    Jul 2 19:22:25 localhost courierd: id=00000000001A0B86.0000000053B40E98.00006CE8,from=<>,addr=root@ramya.com: 550 User <root> unknown
    Jul 2 19:22:25 localhost courierd: id=00000000001A0B86.0000000053B40E98.00006CE8,from=<>,addr=root@ramya.com,status: failure
    Jul 2 19:22:25 localhost courierd: completed,id=00000000001A0B86.0000000053B40E98.00006CE8
    Jul 2 19:22:25 localhost courierd: Waiting. shutdown time=none, wakeup time=Wed Jul 2 20:00:09 2014, queuedelivering=4, inprogress=1
    Jul 2 19:22:25 localhost courierd: started,id=00000000001A0B86.0000000053B40E98.00006CE8,from=<>,module=dsn,host=,addr=<postmaster>
    Jul 2 19:22:25 localhost courierd: completed,id=00000000001A0954.0000000053B40E98.00006CE6
    Jul 2 19:22:25 localhost courierd: Waiting. shutdown time=none, wakeup time=Wed Jul 2 20:00:09 2014, queuedelivering=3, inprogress=1
    Jul 2 19:22:25 localhost courierd: newmsg,id=00000000001A0954.0000000053B40E99.00006CEA: dns; localhost (localhost [127.0.0.1])
    Jul 2 19:22:25 localhost authdaemond: received userid lookup request: postmaster
    Jul 2 19:22:25 localhost authdaemond: authuserdb: trying this module
    Jul 2 19:22:25 localhost authdaemond: userdb: failed to open /etc/authlib/userdb.dat
    Jul 2 19:22:25 localhost authdaemond: userdb: looking up 'postmaster'
    Jul 2 19:22:25 localhost authdaemond: authuserdb: REJECT - try next module
    Jul 2 19:22:25 localhost authdaemond: authpam: trying this module
    Jul 2 19:22:25 localhost authdaemond: authpam: username 'postmaster' not found in password file
    Jul 2 19:22:25 localhost authdaemond: authpam: REJECT - try next module
    Jul 2 19:22:25 localhost authdaemond: FAIL, all modules rejected
    Jul 2 19:22:25 localhost courierd: id=00000000001A0954.0000000053B40E99.00006CEA,from=#@[],addr=postmaster@ramya.com: 550 User <postmaster> unknown
    Jul 2 19:22:25 localhost courierd: id=00000000001A0954.0000000053B40E99.00006CEA,from=#@[],addr=postmaster@ramya.com,status: failure
    Jul 2 19:22:25 localhost courierd: completed,id=00000000001A0954.0000000053B40E99.00006CEA
    Jul 2 19:22:25 localhost courierd: Waiting. shutdown time=none, wakeup time=Wed Jul 2 20:00:09 2014, queuedelivering=3, inprogress=1
    Jul 2 19:22:25 localhost courierd: completed,id=00000000001A0B86.0000000053B40E98.00006CE8
    Jul 2 19:22:25 localhost courierd: Waiting. shutdown time=Wed Jul 2 20:05:43 2014, wakeup time=Wed Jul 2 20:00:09 2014, queuedelivering=2, inprogress=0

    Regards,
    Abdul

     
    • This mail log shows an attempt to send email to the address "mailuser01@ramya.com".

      "ramya.com" appears to be configured as a local, or a locally-hosted domain, however no such mailbox exist, and, as such, the mail gets returned as undeliverable. However, "root@ramya.com" is also undeliverable, so is "postmaster@ramya.com", because none of these mailboxs exist.

      Sounds like a local domain misconfiguration.