Postfix not able to send mails

Discussion in 'Installation/Configuration' started by samjack, Jun 20, 2011.

  1. samjack

    samjack New Member

    Hello,
    i have succesfully installed ISPConfig 3 on centos 5.6 (i386)

    when is send a mail with the php mail() function, i read follow message in my panel:

    Jun 20 10:20:01 server postfix/smtpd[27422]: connect from server.ttb-ltd.eu[127.0.0.1]
    Jun 20 10:20:01 server postfix/smtpd[27422]: lost connection after CONNECT from server.ttb-ltd.eu[127.0.0.1]
    Jun 20 10:20:01 server postfix/smtpd[27422]: disconnect from server.ttb-ltd.eu[127.0.0.1]
    Jun 20 10:20:01 server dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Jun 20 10:20:01 server dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Jun 20 10:21:45 server sendmail[27558]: p5K8Lj7t027558: from=apache, size=194, class=0, nrcpts=1, msgid=<[email protected]>, relay=apache@localhost
    Jun 20 10:21:45 server postfix/smtpd[27559]: connect from server.ttb-ltd.eu[127.0.0.1]
    Jun 20 10:21:45 server sendmail[27558]: STARTTLS=client, relay=[127.0.0.1], field=cn_subject, status=failed to extract CN
    Jun 20 10:21:45 server sendmail[27558]: STARTTLS=client, relay=[127.0.0.1], field=cn_issuer, status=failed to extract CN
    Jun 20 10:21:45 server sendmail[27558]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
    Jun 20 10:21:45 server postfix/smtpd[27559]: C4C0727033B: client=server.ttb-ltd.eu[127.0.0.1], sasl_sender=[email protected]
    Jun 20 10:21:45 server postfix/cleanup[27569]: C4C0727033B: message-id=<[email protected]>
    Jun 20 10:21:45 server sendmail[27558]: p5K8Lj7t027558: to=[email protected], ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30194, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as C4C0727033B)
    Jun 20 10:21:45 server postfix/qmgr[27006]: C4C0727033B: from=, size=631, nrcpt=1 (queue active)
    Jun 20 10:21:45 server postfix/smtp[27570]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
    Jun 20 08:21:46 server postfix/smtp[27570]: C4C0727033B: to=, relay=none, delay=0.17, delays=0.16/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
    Jun 20 10:21:46 server postfix/smtpd[27559]: disconnect from server.ttb-ltd.eu[127.0.0.1]
    Jun 20 10:25:01 server dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Jun 20 10:25:01 server dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Jun 20 10:25:01 server postfix/smtpd[27768]: connect from server.ttb-ltd.eu[127.0.0.1]
    Jun 20 10:25:01 server postfix/smtpd[27768]: lost connection after CONNECT from server.ttb-ltd.eu[127.0.0.1]
    Jun 20 10:25:01 server postfix/smtpd[27768]: disconnect from server.ttb-ltd.eu[127.0.0.1]
    Jun 20 10:27:50 server postfix/qmgr[27006]: 31AE9270327: from=, size=37869, nrcpt=1 (queue active)
    Jun 20 10:27:50 server postfix/qmgr[27006]: 30EF5270337: from=, size=631, nrcpt=1 (queue active)
    Jun 20 10:27:50 server postfix/qmgr[27006]: 18517270338: from=, size=631, nrcpt=1 (queue active)
    Jun 20 10:27:50 server postfix/smtp[27876]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
    Jun 20 10:27:50 server postfix/smtp[27877]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
    Jun 20 08:27:50 server postfix/smtp[27876]: 31AE9270327: to=, relay=none, delay=195940, delays=195940/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
    Jun 20 08:27:50 server postfix/smtp[27877]: 30EF5270337: to=, relay=none, delay=1727, delays=1727/0.02/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
    Jun 20 08:27:50 server postfix/smtp[27876]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
    Jun 20 08:27:51 server postfix/smtp[27876]: 18517270338: to=, relay=none, delay=1007, delays=1007/0.09/0.01/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)

    can somebody help me?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Amavisd is not running. Please start amavisd with the start script in /etc/init.d
     
  3. samjack

    samjack New Member

    config file "etc/amavisd/amavisd.conf" does not exist, at /usr/sbin/amavisd line 1795
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please run the command:

    ln -s /etc/amavisd.conf /etc/amavisd/amavisd.conf

    and try to start amavisd again.
     
  5. samjack

    samjack New Member

    file or folder doesnt exist....
     
  6. samjack

    samjack New Member

    i change in /etc/sysconfig/amavisd
    CONFIG_FILE="/etc/amavisd.conf"
    and restart the service, now its started
     

Share This Page