Mail configuration problems centos 6.3+courier+postfix

Discussion in 'Installation/Configuration' started by ciberfox87, Jul 19, 2012.

  1. ciberfox87

    ciberfox87 New Member

    Hello, I recently installed on a dedicated server with ispconfig3 and centos 6.3 x64 for configuration I followed the guide on this site.
    Unfortunately the server does not receive the email and sends it.
    I also bought the guide configurezione on the panel from the reference site but have not found good solutions.
    The server manages about 90 different domains and email accounts for each domain. This situation limits me not a little in the configuration.
    Thanks in advance.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the exact error messages that you get in the maillog.
     
  3. ciberfox87

    ciberfox87 New Member

    then my maillog is empty. the only mistake I have read and sending of mail
    impossible to run the command "/ usr / sbin / sendmail-t-i-f (domainemail)"

    Courier and postfix are running and no error messages
     
  4. Sir Henry

    Sir Henry Member

    You have to pick an example or else we can't solve your problem. Send a test mail to one of your accounts and see whether it was sent successfully.

    What do you mean? Your server does not receive a mail that you send? What do you mean with "and sends it"? Who sends what?

    It is nearly impossible that your server mail log is empty. Perhaps you are looking at the wrong location? If the receiver's domain is registered for your server, there must be an incoming mail in your logs. Please check again.

    You have to be more specific or else it will be very difficult to help.
     
    Last edited: Jul 19, 2012
  5. ciberfox87

    ciberfox87 New Member

    I know it's a difficult issue, but at present my mailog are empty
    This is a print / var / log
    [img=http://s12.postimage.org/4re0w49rt/varlog.jpg]
    If I try to send e-mail to a domain server is not rejected but is not even delivered. it is a different hand to send email from the server to the outside, this is a problem that worries me less.
     
  6. Sir Henry

    Sir Henry Member

    You have a directory /var/log/mail. What is in there?
     
  7. ciberfox87

    ciberfox87 New Member

    one file "statistics" is also empty
     
  8. Sir Henry

    Sir Henry Member

    Is your syslog daemon running at all?

    Also check /var/log/messages.

    And one more:
    1. Who told you to *run* the command?
    2. What is the error message?
     
    Last edited: Jul 19, 2012
  9. ciberfox87

    ciberfox87 New Member

    This error is generated by squirrelmail that as an error code 127
    in the messages file there are errors regarding courrier, postfix getmail or only some warning about fail2ban.
    rsyslog was not configuarto to handle mail so I added the directive mail. * -/var/log/maillog
    by sending a new message I got this:

    Code:
    Jul 20 01:39:27 95 postfix[1240]: warning: valid_hostname: numeric hostname: (ipadress)
    Jul 20 01:39:27 95 postfix[1240]: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: (ipadress)
    Jul 20 01:40:03 95 pop3d: Connection, ip=[::ffff:127.0.0.1]
    Jul 20 01:40:03 95 imapd: Connection, ip=[::ffff:127.0.0.1]
    Jul 20 01:40:03 95 pop3d: Disconnected, ip=[::ffff:127.0.0.1]
    Jul 20 01:40:03 95 imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
    
    The problem for postfix is ‚Äč‚Äčeasy to solve but it seems that the incoming mail server to respond only on localhost

    Thanks a lot
     
  10. Sir Henry

    Sir Henry Member

    Ok, so you fixed this problem with postfix. If you need more help then:
     
  11. ciberfox87

    ciberfox87 New Member

    I uninstalled ispconfig and courier, dovecot and reinstalled the server with ispconfig getting these errors in the maillog

    Code:
    Jul 20 09:49:12 95 postfix/smtpd[26126]: warning: database /etc/aliases.db is older than source file /etc/aliases
    Jul 20 09:49:12 95 postfix/smtpd[26126]: connect from mail-pb0-f54.google.com[209.85.160.54]
    Jul 20 09:49:12 95 postfix/smtpd[26126]: warning: SASL: Connect to private/auth failed: No such file or directory
    Jul 20 09:49:12 95 postfix/smtpd[26126]: fatal: no SASL authentication mechanisms
    Jul 20 09:49:13 95 postfix/master[16651]: warning: process /usr/libexec/postfix/smtpd pid 26126 exit status 1
    Jul 20 09:49:13 95 postfix/master[16651]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    Jul 20 09:50:02 95 dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Jul 20 09:50:02 95 dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Jul 20 09:50:13 95 postfix/smtpd[26183]: warning: database /etc/aliases.db is older than source file /etc/aliases
    Jul 20 09:50:13 95 postfix/smtpd[26183]: warning: numeric hostname: 95.110.233.169
    Jul 20 09:50:13 95 postfix/smtpd[26183]: connect from unknown[127.0.0.1]
    Jul 20 09:50:13 95 postfix/smtpd[26183]: warning: SASL: Connect to private/auth failed: No such file or directory
    Jul 20 09:50:13 95 postfix/smtpd[26183]: fatal: no SASL authentication mechanisms
    Jul 20 09:50:13 95 postfix/smtpd[26185]: warning: database /etc/aliases.db is older than source file /etc/aliases
    Jul 20 09:50:13 95 postfix/smtpd[26185]: connect from dub0-omc3-s27.dub0.hotmail.com[157.55.2.36]
    Jul 20 09:50:13 95 postfix/smtpd[26185]: warning: SASL: Connect to private/auth failed: No such file or directory
    Jul 20 09:50:13 95 postfix/smtpd[26185]: fatal: no SASL authentication mechanisms
    Jul 20 09:50:14 95 postfix/master[16651]: warning: process /usr/libexec/postfix/smtpd pid 26183 exit status 1
    Jul 20 09:50:14 95 postfix/master[16651]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    Jul 20 09:50:14 95 postfix/master[16651]: warning: process /usr/libexec/postfix/smtpd pid 26185 exit status 1
    Jul 20 09:51:15 95 postfix/smtpd[26197]: warning: database /etc/aliases.db is older than source file /etc/aliases
    Jul 20 09:51:15 95 postfix/smtpd[26199]: warning: database /etc/aliases.db is older than source file /etc/aliases
    Jul 20 09:51:15 95 postfix/smtpd[26197]: connect from dub0-omc1-s29.dub0.hotmail.com[157.55.0.228]
    Jul 20 09:51:15 95 postfix/smtpd[26197]: warning: SASL: Connect to private/auth failed: No such file or directory
    Jul 20 09:51:15 95 postfix/smtpd[26197]: fatal: no SASL authentication mechanisms
    Jul 20 09:51:15 95 postfix/smtpd[26199]: connect from dub0-omc3-s18.dub0.hotmail.com[157.55.2.27]
    Jul 20 09:51:15 95 postfix/smtpd[26199]: warning: SASL: Connect to private/auth failed: No such file or directory
    Jul 20 09:51:15 95 postfix/smtpd[26199]: fatal: no SASL authentication mechanisms
    Jul 20 09:51:15 95 postfix/smtpd[26200]: warning: database /etc/aliases.db is older than source file /etc/aliases
    Jul 20 09:51:15 95 postfix/smtpd[26200]: connect from dub0-omc3-s5.dub0.hotmail.com[157.55.2.14]
    Jul 20 09:51:15 95 postfix/smtpd[26200]: warning: SASL: Connect to private/auth failed: No such file or directory
    Jul 20 09:51:15 95 postfix/smtpd[26200]: fatal: no SASL authentication mechanisms
    Jul 20 09:51:16 95 postfix/master[16651]: warning: process /usr/libexec/postfix/smtpd pid 26197 exit status 1
    Jul 20 09:51:16 95 postfix/master[16651]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    Jul 20 09:51:16 95 postfix/master[16651]: warning: process /usr/libexec/postfix/smtpd pid 26199 exit status 1
    Jul 20 09:51:16 95 postfix/master[16651]: warning: process /usr/libexec/postfix/smtpd pid 26200 exit status 1
    Jul 20 09:52:56 95 postfix/anvil[26128]: statistics: max connection rate 1/60s for (smtp:209.85.160.54) at Jul 20 09:49:12
    Jul 20 09:52:56 95 postfix/anvil[26128]: statistics: max connection count 1 for (smtp:209.85.160.54) at Jul 20 09:49:12
    Jul 20 09:52:56 95 postfix/anvil[26128]: statistics: max cache size 3 at Jul 20 09:51:15
    Jul 20 09:54:14 95 postfix/smtpd[26234]: warning: database /etc/aliases.db is older than source file /etc/aliases
    Jul 20 09:54:14 95 postfix/smtpd[26234]: connect from dub0-omc3-s27.dub0.hotmail.com[157.55.2.36]
    Jul 20 09:54:14 95 postfix/smtpd[26234]: warning: SASL: Connect to private/auth failed: No such file or directory
    Jul 20 09:54:14 95 postfix/smtpd[26234]: fatal: no SASL authentication mechanisms
    Jul 20 09:54:15 95 postfix/master[16651]: warning: process /usr/libexec/postfix/smtpd pid 26234 exit status 1
    Jul 20 09:54:15 95 postfix/master[16651]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    Jul 20 09:55:02 95 dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Jul 20 09:55:02 95 dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    In addition dovecot rejects login from webmail and clients
     
  12. falko

    falko Super Moderator ISPConfig Developer

    Run

    Code:
    newaliases
    /etc/init.d/postfix restart

    http://www.howtoforge.com/postfix-d...private-auth-failed-no-such-file-or-directory
     
  13. ciberfox87

    ciberfox87 New Member

    Code:
    [[email protected] install]# newaliases
    bash: newaliases: command not found
    edit:
    solved on centos 6.3 newaliases command, whit postfix is located in /usr/bin/newaliases.postfix
     
    Last edited: Jul 21, 2012

Share This Page