Not Receiving Mail

Discussion in 'General' started by opnsrcaddict, Aug 21, 2009.

  1. opnsrcaddict

    opnsrcaddict New Member

    Hi,
    I setup ispconfig 2 on centos 5.3 following hte perfect server guide, but I cannot receive emails. Here is the output from the /var/log/maillog file, i was sending from [email protected] and to [email protected].

    Code:
    Aug 21 13:34:15 BTLinux1 postfix/smtpd[11908]: connect from 75-147-241-205-Michigan.hfc.comcastbusiness.net[75.147.241.205]
    Aug 21 13:34:15 BTLinux1 postfix/smtpd[11908]: 6ED9F92802E: client=75-147-241-205-Michigan.hfc.comcastbusiness.net[75.147.241.205]
    Aug 21 13:34:15 BTLinux1 postfix/cleanup[11912]: 6ED9F92802E: message-id=<[email protected]>
    Aug 21 13:34:15 BTLinux1 postfix/qmgr[31749]: 6ED9F92802E: from=<[email protected]>, size=4181, nrcpt=1 (queue active)
    Aug 21 13:34:15 BTLinux1 postfix/smtpd[11908]: disconnect from 75-147-241-205-Michigan.hfc.comcastbusiness.net[75.147.241.205]
    Aug 21 13:34:15 BTLinux1 postfix/local[11913]: 6ED9F92802E: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=0.26, delays=0.22$
    Aug 21 13:34:15 BTLinux1 postfix/qmgr[31749]: 6ED9F92802E: removed
    
    Thanks for any help!
     
  2. falko

    falko Super Moderator ISPConfig Developer

    What's in /etc/postfix/main.cf, /etc/postfix/local-host-names, and /etc/postfix/virtusertable?
     
  3. opnsrcaddict

    opnsrcaddict New Member

    /etc/postfix/main.cf:
    http://pastebin.com/m6d051834

    /etc/postfix/local-host-names:
    http://pastebin.com/m17f262f4

    /etc/postfix/virtusertable (tripped pastebins spam blocker):

    Code:
    ###################################
    #
    # ISPConfig virtusertable Configuration File
    #         Version 1.0
    #
    ###################################
    [email protected]    info
    [email protected]    info
    [email protected]    info
    [email protected]    sales
    [email protected]    sales
    [email protected]    sales
    [email protected]    cs_jimmy
    [email protected]    cs_jimmy
    [email protected]    cs_jimmy
    [email protected]    cs_jimmy
    [email protected]    cs_jimmy
    [email protected]    cs_jimmy
    [email protected]    hf_jimmy
    [email protected]    hf_jimmy
    [email protected]    hf_jimmy
    [email protected]    hf_jimmy
    [email protected]    hippo
    [email protected]    hippo
    [email protected]    bp_jimmy
    [email protected]    bp_jimmy
    [email protected]    bp_jimmy
    [email protected]    bp_jimmy
    [email protected]    sandbox
    [email protected]    sandbox
    [email protected]    sandbox
    [email protected]    sandbox
    #### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
    I did find out that the user [email protected] receives email just fine, but no other accounts. Please note the only domain I have setup is the cyberoam store one. Also if I make a new user, that one can't even log in.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Any errors in /home/admispconfig/ispconfig/ispconfig.log ?
     
  5. opnsrcaddict

    opnsrcaddict New Member

    It doesn't look like anything. I find it odd that the one user name works, what could cause that?
     
  6. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    grep info /etc/passwd
    , and what's in /etc/aliases?
     
  7. opnsrcaddict

    opnsrcaddict New Member

  8. opnsrcaddict

    opnsrcaddict New Member

    I sent one email to the working [email protected] and here is the output of /var/log/maillog.

    Code:
    Aug 24 15:23:18 BTLinux1 postfix/smtpd[485]: connect from 75-147-241-205-Michigan.hfc.comcastbusiness.net[75.147.241.205]
    Aug 24 15:23:19 BTLinux1 postfix/smtpd[485]: 29D1F92802E: client=75-147-241-205-Michigan.hfc.comcastbusiness.net[75.147.241.205]
    Aug 24 15:23:19 BTLinux1 postfix/cleanup[490]: 29D1F92802E: message-id=<[email protected]>
    Aug 24 15:23:19 BTLinux1 postfix/qmgr[31638]: 29D1F92802E: from=<[email protected]>, size=4194, nrcpt=1 (queue active)
    Aug 24 15:23:19 BTLinux1 postfix/smtpd[485]: disconnect from 75-147-241-205-Michigan.hfc.comcastbusiness.net[75.147.241.205]
    Aug 24 15:23:19 BTLinux1 sendmail[521]: n7OJNJ6f000521: from=cs_jimmy, size=113, class=0, nrcpts=1, msgid=<[email protected]>, rela$
    Aug 24 15:23:19 BTLinux1 postfix/smtpd[485]: connect from localhost.localdomain[127.0.0.1]
    Aug 24 15:23:19 BTLinux1 postfix/smtpd[485]: setting up TLS connection from localhost.localdomain[127.0.0.1]
    Aug 24 15:23:19 BTLinux1 postfix/smtpd[485]: TLS connection established from localhost.localdomain[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
    Aug 24 15:23:19 BTLinux1 sendmail[521]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
    Aug 24 15:23:19 BTLinux1 postfix/smtpd[485]: A6963928032: client=localhost.localdomain[127.0.0.1], [email protected]
    Aug 24 15:23:19 BTLinux1 postfix/cleanup[490]: A6963928032: message-id=<[email protected]>
    Aug 24 15:23:19 BTLinux1 postfix/qmgr[31638]: A6963928032: from=<[email protected]>, size=833, nrcpt=1 (queue active)
    Aug 24 15:23:19 BTLinux1 sendmail[521]: n7OJNJ6f000521: [email protected], ctladdr=cs_jimmy (10010/10012), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri$
    Aug 24 15:23:19 BTLinux1 postfix/local[522]: A6963928032: to=<[email protected]>, relay=local, delay=0.12, delays=0.08/0.01/0/0.04, dsn=2.0.0, status=sent (deli$
    Aug 24 15:23:19 BTLinux1 postfix/qmgr[31638]: A6963928032: removed
    Aug 24 15:23:19 BTLinux1 postfix/smtpd[485]: disconnect from localhost.localdomain[127.0.0.1]
    Aug 24 15:23:19 BTLinux1 postfix/local[502]: 29D1F92802E: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=0.73, delays=0$
    Aug 24 15:23:19 BTLinux1 postfix/qmgr[31638]: 29D1F92802E: removed
    
    Here is the output of one sent to a non working one.

    Code:
    Aug 24 15:27:38 BTLinux1 postfix/smtpd[606]: connect from 75-147-241-205-Michigan.hfc.comcastbusiness.net[75.147.241.205]
    Aug 24 15:27:38 BTLinux1 postfix/smtpd[606]: CD89A92802E: client=75-147-241-205-Michigan.hfc.comcastbusiness.net[75.147.241.205]
    Aug 24 15:27:39 BTLinux1 postfix/cleanup[610]: CD89A92802E: message-id=<[email protected]>
    Aug 24 15:27:39 BTLinux1 postfix/qmgr[31638]: CD89A92802E: from=<[email protected]>, size=4171, nrcpt=1 (queue active)
    Aug 24 15:27:39 BTLinux1 postfix/local[611]: CD89A92802E: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=0.45, delays=0.41/0$
    Aug 24 15:27:39 BTLinux1 postfix/qmgr[31638]: CD89A92802E: removed
    Aug 24 15:27:39 BTLinux1 postfix/smtpd[606]: disconnect from 75-147-241-205-Michigan.hfc.comcastbusiness.net[75.147.241.205]
    Does this help at all?
     
  9. falko

    falko Super Moderator ISPConfig Developer

    Please remove the line
    Code:
    info:           postmaster
    from /etc/aliases and run
    Code:
    newaliases
    /etc/init.d/postfix restart
     
  10. opnsrcaddict

    opnsrcaddict New Member

  11. till

    till Super Moderator Staff Member ISPConfig Developer

    No, that has to be removed just once.
     

Share This Page