postfix/error

Discussion in 'Server Operation' started by bobpit, Jan 12, 2014.

  1. bobpit

    bobpit Member

    What are these errors?

    These are the last lines of my /var/log/syslog file. Maybe it is ISPConfig that tries sometjing, and I have not installed a module, so that it fails? I do not have mail installed

    Code:
    Jan 12 22:05:25 server1 postfix/error[18769]: 2D4B09DF337: to=<[email protected]>, orig_to=<root>, relay=none, delay=143123, delays=143123/0.05/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jan 12 22:05:25 server1 postfix/error[18755]: 286429DF2B5: to=<[email protected]>, orig_to=<root>, relay=none, delay=180923, delays=180923/0.05/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jan 12 22:05:25 server1 postfix/error[18760]: 8DB4C9DF2A7: to=<[email protected]>, orig_to=<root>, relay=none, delay=185124, delays=185124/0.05/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jan 12 22:05:25 server1 postfix/error[18767]: 89B749DF0BE: to=<[email protected]>, orig_to=<root>, relay=none, delay=197724, delays=197724/0.05/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jan 12 22:05:25 server1 postfix/error[18765]: 8019A9DF454: to=<[email protected]>, orig_to=<root>, relay=none, delay=59120, delays=59120/0.05/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jan 12 22:05:25 server1 postfix/error[18776]: 210609DF49B: to=<[email protected]>, orig_to=<root>, relay=none, delay=38123, delays=38123/0.05/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jan 12 22:05:25 server1 postfix/error[18733]: 28CCF9DF3B6: to=<[email protected]>, orig_to=<root>, relay=none, delay=105322, delays=105322/0.05/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jan 12 22:05:25 server1 postfix/error[18754]: 804A39DF3C4: to=<[email protected]>, orig_to=<root>, relay=none, delay=101123, delays=101123/0.05/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jan 12 22:05:25 server1 postfix/error[18762]: 8C6339DF2ED: to=<[email protected]>, orig_to=<root>, relay=none, delay=164124, delays=164124/0.05/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jan 12 22:05:25 server1 postfix/error[18756]: 882309DF2DF: to=<[email protected]>, orig_to=<root>, relay=none, delay=168324, delays=168324/0.05/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jan 12 22:05:25 server1 postfix/error[18769]: 8013D9DF509: to=<[email protected]>, orig_to=<root>, relay=none, delay=8784, delays=8784/0.05/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jan 12 22:06:01 server1 CRON[18788]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
     
  2. florian030

    florian030 Well-Known Member HowtoForge Supporter

    Check that amavis and postfix are running and listen to the right ports.

    netstat -tap

    amavis should listen on 10024, postfix on 25 and 10025
     
  3. bobpit

    bobpit Member

    As I said previously, I do not use email and I have already removed clamav. My only concern is that when I install munin and monit, I want to be notified by the server by email/sms and I hope the programs I remove will not be needed.

    Now, to answer your questions.

    When I run "netstat -tap", I could not find postfix or amavis.

    Code:
    root@server1:~# postfix start
    /usr/sbin/postconf: warning: /etc/postfix/master.cf: unused parameter: smtpd_bind_address=127.0.0.1
    postfix/postfix-script: fatal: the Postfix mail system is already running
    So I guess postfix was running.

    Code:
    root@server1:~# /etc/init.d/amavis stop
    Stopping amavisd: (not running).
    So I guess amavis was not running.

    After I checked those, I followed this guide to further dissable mail/av/spam filters: http://www.digitalfaq.com/forum/guides-ispconfig/3261-how-optimize-ispconfig.html

    I rebooted and after several minutes these are the last lines in my /var/log/syslog file:

    Code:
    Jan 14 00:42:07 server1 postfix/error[1379]: 036AB9DF621: to=<[email protected]>, orig_to=<root>, relay=none, delay=34024, delays=34024/0.1/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jan 14 00:42:07 server1 postfix/error[1391]: 27EDF9DF58D: to=<[email protected]>, orig_to=<root>, relay=none, delay=71825, delays=71825/0.11/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jan 14 00:42:07 server1 postfix/error[1363]: 29C499DF2EA: to=<[email protected]>, orig_to=<root>, relay=none, delay=260825, delays=260825/0.1/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jan 14 00:42:07 server1 postfix/error[1365]: 849289DF37B: to=<[email protected]>, orig_to=<root>, relay=none, delay=218826, delays=218826/0.11/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jan 14 00:42:07 server1 postfix/error[1355]: 2D8059DEFA9: to=<[email protected]>, orig_to=<root>, relay=none, delay=374225, delays=374225/0.11/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jan 14 00:42:07 server1 postfix/error[1361]: 2A1819DF5BE: to=<[email protected]>, orig_to=<root>, relay=none, delay=59225, delays=59225/0.1/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jan 14 00:42:07 server1 postfix/error[1358]: 254069DF3DD: to=<[email protected]>, orig_to=<root>, relay=none, delay=189425, delays=189425/0.11/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jan 14 00:42:07 server1 postfix/error[1356]: 883C29DF547: to=<[email protected]>, orig_to=<root>, relay=none, delay=88625, delays=88625/0.1/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jan 14 00:42:07 server1 postfix/error[1395]: 86E499DEFEF: to=<[email protected]>, orig_to=<root>, relay=none, delay=353226, delays=353226/0.1/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jan 14 00:42:07 server1 postfix/error[1373]: 2A2E69DEFC5: to=<[email protected]>, orig_to=<root>, relay=none, delay=365825, delays=365825/0.11/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jan 14 00:42:07 server1 postfix/error[1384]: 846A99DF516: to=<[email protected]>, orig_to=<root>, relay=none, delay=101226, delays=101226/0.1/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jan 14 00:42:07 server1 postfix/error[1370]: 884229DEF64: to=<[email protected]>, orig_to=<root>, relay=none, delay=394926, delays=394926/0.1/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jan 14 00:42:07 server1 postfix/error[1379]: 82CD19DF57C: to=<[email protected]>, orig_to=<root>, relay=none, delay=76026, delays=76026/0.1/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Jan 14 00:43:01 server1 CRON[1409]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    So what are these errors?
     
    Last edited: Jan 14, 2014
  4. florian030

    florian030 Well-Known Member HowtoForge Supporter

    Postfix tries to send the mail to something listening on port 10024.

    Check main.cf for content_filter and master.cf for 127.0.0.1:1002?

    You can´t stop using amavis without changing the (default) postfix-settings.
     
  5. bobpit

    bobpit Member

    I will install munin and monit. I want them along with ispconfig3 to send me messages if the server has a problem.

    question: Do I need postfix and other mail functions for this? Because then I would need to install/activate them, instead of removing them.

    Please let me install munin and monit and then we can see at the error messages again.
     
  6. bobpit

    bobpit Member

Share This Page