ISPConfig3 Centos 5.4 i386 - Can not send mail in Squirrel

Discussion in 'Installation/Configuration' started by minhphuoc275, Apr 8, 2010.

  1. minhphuoc275

    minhphuoc275 New Member

    Hi all,

    After installing follow this link:
    http://www.howtoforge.com/perfect-server-centos-5.2-ispconfig-3

    I can create site domain, sub-domain, send and receive mail in client
    pops --> 995 and smtp 465 TSL.

    But I got a problem in Squirrel mail, I can receive mail but can not send email internal, for ex:

    [email protected] --> can not send [email protected] and also can not send to itself

    here is log fail sending:

    Apr 8 14:48:42 hostA sendmail[4892]: o387mf7R004892: Authentication-Warning: hostA.domainA.info: apache set sender to [email protected] using -f
    Apr 8 14:48:42 hostA sendmail[4892]: o387mf7R004892: [email protected], size=575, class=0, nrcpts=2, msgid=<[email protected]>, relay=apache@localhost
    Apr 8 14:48:42 hostA postfix/smtpd[4893]: connect from localhost.localdomain[127.0.0.1]
    Apr 8 14:48:42 hostA sendmail[4892]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
    Apr 8 14:48:42 hostA postfix/smtpd[4893]: 496DF328463: client=localhost.localdomain[127.0.0.1]
    Apr 8 14:48:42 hostA postfix/smtpd[4893]: 496DF328463: reject: RCPT from localhost.localdomain[127.0.0.1]: 550 5.1.1 <[email protected]>: Recipient address rejected: User unknown in local recipient table; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<hostA.domainA.info>
    Apr 8 14:48:42 hostA sendmail[4892]: o387mf7R004892: [email protected], delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=60575, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
    Apr 8 14:48:42 hostA postfix/cleanup[4904]: 496DF328463: message-id=<[email protected]>
    Apr 8 14:48:42 hostA postfix/qmgr[2891]: 496DF328463: from=<[email protected]>, size=1057, nrcpt=1 (queue active)
    Apr 8 14:48:42 hostA sendmail[4892]: o387mf7R004892: [email protected], delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=60575, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 496DF328463)
    Apr 8 14:48:42 hostA sendmail[4892]: o387mf7R004892: o387mf7S004892: DSN: User unknown
    Apr 8 14:48:42 hostA postfix/local[4906]: 496DF328463: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=0.14, delays=0.08/0.04/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox)
    Apr 8 14:48:42 hostA postfix/qmgr[2891]: 496DF328463: removed
    Apr 8 14:48:42 hostA postfix/smtpd[4893]: 5E2DD328466: client=localhost.localdomain[127.0.0.1]
    Apr 8 14:48:42 hostA postfix/cleanup[4904]: 5E2DD328466: message-id=<[email protected]>
    Apr 8 14:48:42 hostA postfix/qmgr[2891]: 5E2DD328466: from=<>, size=3090, nrcpt=1 (queue active)
    Apr 8 14:48:42 hostA sendmail[4892]: o387mf7S004892: [email protected], delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31599, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 5E2DD328466)
    Apr 8 14:48:42 hostA postfix/smtpd[4893]: disconnect from localhost.localdomain[127.0.0.1]
    Apr 8 14:48:42 hostA postfix/local[4906]: 5E2DD328466: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=0.09, delays=0.06/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
    Apr 8 14:48:42 hostA postfix/qmgr[2891]: 5E2DD328466: removed


    Kindly to help to resolve this problem,

    thanks,

    cheers,
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Make sure that you created the domain as email domain and not just as website and then create a email mailbox for this domain. Also be aware that you can not create a email domain that is the same then the hostname of the server as postfix does not know how to deliver the email then.
     
  3. minhphuoc275

    minhphuoc275 New Member

    Hi Till,

    Thank for your reply, and yes, I have created domain mail and mailboxes after that, so that i can send mail by pop3 and smtp in mail client, i just got problem when i use squirrel mail to send the email to internal.

    domain mail: swebcom.info
    mailboxes: [email protected] and [email protected]
    hostname: sw-centos-01.swebcom.info

    And I see in log file:

    Apr 8 16:39:50 sw-centos-01 sendmail[10034]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
    --------------------
    Apr 8 16:39:50 sw-centos-01 postfix/smtpd[10035]: NOQUEUE: reject: RCPT from localhost.localdomain[127.0.0.1]: 550 5.1.1 <[email protected]>: Recipient address rejected: User unknown in local recipient table; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<sw-centos-01.swebcom.info>
    ------------------------
    Apr 8 16:39:50 sw-centos-01 sendmail[10034]: o389dodH010034: [email protected], delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30556, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown

    ================
    I don't know why it understand like this:
    from=<[email protected]> to=<[email protected]>

    I think we can fix it some where in local recipient table

    cheers,
    Phuoc Tran
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    No, its not related to that. I guess you have a conflicting Linux system user.

    Please post the output of:

    grep phuoctm /etc/passwd
     
  5. minhphuoc275

    minhphuoc275 New Member

    Hi Till,

    This user create by ISPConfig:

    I get this information in database: table mail_user

    mailuser_id sys_userid sys_groupid sys_perm_user sys_perm_group sys_perm_other server_id email password name uid gid
    1 2 2 riud riud 1 [email protected] password here Tran Minh Phuoc 5000 5000 /var/vmail/swebcom.info/phuoctm 104857600 /var/vmail
    2 2 2 riud riud 1 [email protected] password here Admin 5000 5000 /var/vmail/swebcom.info/www 104857600 /var/vmail

    certainly, grep phuoctm /etc/passwd --> no thing here,

    if you want any information, pls let me know,

    thank so much,
    Phuoc
     

Share This Page