Postfix error

Discussion in 'ISPConfig 3 Priority Support' started by Md. Mohib Billah, Apr 7, 2015.

  1. Md. Mohib Billah

    Md. Mohib Billah Member HowtoForge Supporter

    Hi till,
    How are you? I am facing postfix error after upgrade my migrate my server . My server Postfix service status --

    systemctl status postfix.service
    postfix.service - Postfix Mail Transport Agent
    Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled)
    Active: active (running) since Tue 2015-04-07 12:03:14 BDT; 4min 36s ago
    Process: 35945 ExecStopPost=/etc/postfix/system/cond_slp deregister (code=exited, stat
    Process: 35934 ExecStop=/usr/sbin/postfix stop (code=exited, status=0/SUCCESS)
    Process: 36042 ExecStartPost=/etc/postfix/system/cond_slp register (code=exited, statu
    Process: 36038 ExecStartPost=/etc/postfix/system/wait_qmgr 60 (code=exited, status=0/S
    Process: 35967 ExecStart=/usr/sbin/postfix start (code=exited, status=0/SUCCESS)
    Process: 35964 ExecStartPre=/etc/postfix/system/update_postmaps (code=exited, status=0
    Process: 35961 ExecStartPre=/etc/postfix/system/update_chroot (code=exited, status=0/S
    Process: 35958 ExecStartPre=/etc/postfix/system/config_postfix (code=exited, status=0/
    Process: 35955 ExecStartPre=/bin/echo Starting mail service (Postfix) (code=exited, st
    Main PID: 36037 (master)
    CGroup: /system.slice/postfix.service
    ├─36037 /usr/lib/postfix/master
    ├─36050 pickup -l -t fifo -u
    └─36052 qmgr -l -t fifo -u

    Apr 07 12:03:14 mail postfix[35967]: /usr/sbin/postconf: warning: /etc/postfix/main.cf:
    Apr 07 12:03:14 mail postfix[35967]: /usr/sbin/postconf: warning: /etc/postfix/main.cf:
    Apr 07 12:03:14 mail cond_slp[36042]: /usr/sbin/postconf: warning: /etc/postfix/main.cf:
    Apr 07 12:03:14 mail cond_slp[36042]: /usr/sbin/postconf: warning: /etc/postfix/main.cf:
    Apr 07 12:03:14 mail postfix/master[36037]: daemon started -- version 2.9.6, configurati
    Apr 07 12:03:14 mail systemd[1]: Started Postfix Mail Transport Agent.
    Apr 07 12:05:01 mail postfix/smtpd[36294]: warning: No server certs available. TLS won't be enabled

    Apr 07 12:05:01 mail postfix/smtpd[36294]: connect from localhost[::1]
    Apr 07 12:05:01 mail postfix/smtpd[36294]: lost connection after CONNECT from localhost[
    Apr 07 12:05:01 mail postfix/smtpd[36294]: disconnect from localhost[::1]
    Please help me for fix this error .
    Thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Try to run these commands:

    postfix set-permissions
    postfix upgrade-configuration
     
  3. Md. Mohib Billah

    Md. Mohib Billah Member HowtoForge Supporter

    Till bro ,
    I run these command as follow your replay then show me -
    mail:~ # postfix set-permissions
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    mail:~ # postfix upgrade-configuration
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1

    Is it right ? but i can not receive any mail .
    Thanks
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You can remove the line

    maildrop_destination_recipient_limit=1

    from main.cf. But thats not the resan for the mail receive issue. Which errors do you get in the mail log file?
     
  5. Md. Mohib Billah

    Md. Mohib Billah Member HowtoForge Supporter

    Bro,
    more thanks for your replay. I submit my server mail.error
    2014-12-19T12:35:15.487394+06:00 mail clamd[560]: Can't unlink the socket file /var/run/clamav/clamd-socket
    2014-12-19T17:03:29.917387+06:00 mail clamd[644]: LOCAL: Socket file /var/run/clamav/clamd-socket could not be bound: Permission denied
    2014-12-19T17:03:29.917609+06:00 mail clamd[644]: Can't unlink the socket file /var/run/clamav/clamd-socket
    2014-12-19T18:50:03.494053+06:00 mail postfix/master[36436]: fatal: 127.0.0.1:smtps: Servname not supported for ai_socktype
    2014-12-19T18:50:04.526905+06:00 mail postfix/postfix-script[36456]: fatal: the Postfix mail system is not running
    2014-12-19T19:22:30.958611+06:00 mail freshclam[44960]: NotifyClamd: Can't connect to clamd on 127.0.0.1:3310: Connection refused
    2014-12-19T19:30:23.581694+06:00 mail clamd[49190]: Can't save PID in file /var/run/clamav/clamd.pid
    2014-12-19T19:54:30.583318+06:00 mail postfix/master[54955]: fatal: 0.0.0.0:smtps: Servname not supported for ai_socktype
    2014-12-19T19:54:31.612720+06:00 mail postfix/postfix-script[54978]: fatal: the Postfix mail system is not running
    2014-12-19T19:54:39.649974+06:00 mail clamd[55034]: TCP: bind() error when trying to listen on [127.0.0.1]:3310: Address already in use
    2014-12-19T19:54:39.653429+06:00 mail clamd[55038]: Not listening on any interfaces
    2014-12-20T09:38:07.908894+06:00 mail postfix/master[47922]: fatal: 0.0.0.0:smtps: Servname not supported for ai_socktype
    2014-12-20T09:38:08.940159+06:00 mail postfix/postfix-script[47943]: fatal: the Postfix mail system is not running
    2014-12-20T09:39:01.606131+06:00 mail postfix/master[48071]: fatal: 0.0.0.0:smtps: Servname not supported for ai_socktype
    2014-12-20T09:39:02.636639+06:00 mail postfix/postfix-script[48091]: fatal: the Postfix mail system is not running
    2014-12-20T15:12:17.921221+06:00 mail clamd[1720]: Can't save PID in file /var/run/clamav/clamd.pid
    2014-12-26T12:34:58.577689+06:00 mail clamd[1690]: Can't save PID in file /var/run/clamav/clamd.pid
    2014-12-28T13:19:25.475370+06:00 mail clamd[1004]: Can't save PID in file /var/run/clamav/clamd.pid
    2014-12-28T13:25:00.566456+06:00 mail clamd[1720]: Can't save PID in file /var/run/clamav/clamd.pid
    2014-12-28T13:30:31.354886+06:00 mail clamd[6450]: TCP: Cannot bind to [127.0.0.1]:3310: Address already in use
    2014-12-28T13:30:31.363263+06:00 mail clamd[6552]: Not listening on any interfaces
    2014-12-28T13:31:23.366013+06:00 mail clamd[2429]: Can't save PID in file /var/run/clamav/clamd.pid
    2014-12-28T15:28:11.926112+06:00 mail clamd[1742]: Can't save PID in file /var/run/clamav/clamd.pid
    2014-12-29T14:58:41.860842+06:00 mail clamd[1693]: Can't save PID in file /var/run/clamav/clamd.pid
    2015-04-06T10:57:18.507700+06:00 mail clamd[992]: Can't save PID in file /var/run/clamav/clamd.pid
    2015-04-07T11:42:11.411812+06:00 mail clamd[1675]: Can't save PID in file /var/run/clamav/clamd.pid
    2015-04-07T15:35:27.996334+06:00 mail clamd[1685]: Can't save PID in file /var/run/clamav/clamd.pid
    2015-04-07T15:50:17.804530+06:00 mail clamd[7655]: TCP: Cannot bind to [127.0.0.1]:3310: Address already in use
    2015-04-07T15:50:17.825760+06:00 mail clamd[7659]: Not listening on any interfaces
    Please help me
    Thanks again.
     

Share This Page