[The Perfect Spamsnake Ubuntu 10.10] - No mail relay, just errors.

Discussion in 'HOWTO-Related Questions' started by itsnedkeren, Feb 19, 2011.

  1. itsnedkeren

    itsnedkeren New Member

    I'm attaching logs, as that makes this easier for all :)

    But, point is, that no mails get through.


    Snip from "mail.err"
    Code:
    Feb 19 12:06:57 mailgw postfix/qmgr[1237]: fatal: watchdog timeout
    Feb 19 12:42:01 mailgw ClamAV-autoupdate[3028]: ClamAV updater /usr/local/bin/freshclam cannot be run
    Feb 19 13:42:01 mailgw ClamAV-autoupdate[6887]: ClamAV updater /usr/local/bin/freshclam cannot be run
    Feb 19 14:21:11 mailgw dccifd[1053]: fopen(/var/run/dcc/dccifd.pid): No such file or directory
    Feb 19 15:58:44 mailgw dccifd[1142]: fopen(/var/run/dcc/dccifd.pid): No such file or directory
    Feb 19 16:42:01 mailgw ClamAV-autoupdate[2907]: ClamAV updater /usr/local/bin/freshclam cannot be run
    Feb 19 17:42:01 mailgw ClamAV-autoupdate[4499]: ClamAV updater /usr/local/bin/freshclam cannot be run
    Feb 19 17:43:58 mailgw postfix/sendmail[5207]: fatal: usage: sendmail [options]
    Feb 19 18:42:01 mailgw ClamAV-autoupdate[7849]: ClamAV updater /usr/local/bin/freshclam cannot be run
    Feb 19 18:58:44 mailgw dccifd[1097]: fopen(/var/run/dcc/dccifd.pid): No such file or directory
    Feb 19 19:42:01 mailgw ClamAV-autoupdate[2090]: ClamAV updater /usr/local/bin/freshclam cannot be run
    Feb 19 20:21:50 mailgw dccifd[1152]: fopen(/var/run/dcc/dccifd.pid): No such file or directory
    Snip from "mail.info"
    Code:
    
    
    Feb 19 19:01:03 mailgw postfix/smtpd[1597]: connect from www.outitgoes.com[79.170.40.67]
    Feb 19 19:01:03 mailgw postfix/smtpd[1597]: warning: connect to private/greyfix: No such file or directory
    Feb 19 19:01:04 mailgw postfix/smtpd[1597]: warning: connect to private/greyfix: No such file or directory
    Feb 19 19:01:04 mailgw postfix/smtpd[1597]: warning: problem talking to server private/greyfix: No such file or directory
    Feb 19 19:01:04 mailgw postfix/smtpd[1597]: NOQUEUE: reject: RCPT from www.outitgoes.com[79.170.40.67]: 451 4.3.5 Server configuration problem; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<webmail2.extendcp.co.uk>
    Feb 19 19:01:04 mailgw postfix/smtpd[1597]: disconnect from www.outitgoes.com[79.170.40.67]
    Feb 19 19:03:02 mailgw postfix/pickup[1292]: 0E21F81EE4: uid=0 from=<root>
    Feb 19 19:03:02 mailgw postfix/cleanup[1776]: 0E21F81EE4: message-id=<[email protected]>
    Feb 19 19:03:02 mailgw postfix/qmgr[1293]: 0E21F81EE4: from=<[email protected]>, size=587, nrcpt=1 (queue active)
    Feb 19 19:03:02 mailgw postfix/smtp[1778]: 0E21F81EE4: to=<[email protected]>, orig_to=<root>, relay=none, delay=0.06, delays=0.05/0.01/0/0, dsn=5.4.6, status=bounced (mail for mailgw.domain.com loops back to myself)
    Feb 19 19:03:02 mailgw postfix/cleanup[1776]: 1C9B781EE7: message-id=<[email protected]>
    Feb 19 19:03:02 mailgw postfix/qmgr[1293]: 1C9B781EE7: from=<>, size=2506, nrcpt=1 (queue active)
    Feb 19 19:03:02 mailgw postfix/bounce[1779]: 0E21F81EE4: sender non-delivery notification: 1C9B781EE7
    Feb 19 19:03:02 mailgw postfix/qmgr[1293]: 0E21F81EE4: removed
    Feb 19 19:03:02 mailgw postfix/smtp[1778]: 1C9B781EE7: to=<[email protected]>, orig_to=<[email protected]>, relay=none, delay=0.01, delays=0.01/0/0/0, dsn=5.4.6, status=bounced (mail for mailgw.domain.com loops back to myself)
    Feb 19 19:03:02 mailgw postfix/qmgr[1293]: 1C9B781EE7: removed
    Feb 19 19:04:24 mailgw postfix/anvil[1664]: statistics: max connection rate 1/60s for (smtp:79.170.40.67) at Feb 19 19:01:03
    Feb 19 19:04:24 mailgw postfix/anvil[1664]: statistics: max connection count 1 for (smtp:79.170.40.67) at Feb 19 19:01:03
    Feb 19 19:04:24 mailgw postfix/anvil[1664]: statistics: max cache size 1 at Feb 19 19:01:03
    Feb 19 19:07:01 mailgw postfix/pickup[1292]: 8302581EE4: uid=0 from=<root>
    Feb 19 19:07:01 mailgw postfix/cleanup[1841]: 8302581EE4: message-id=<[email protected]>
    Feb 19 19:07:01 mailgw postfix/qmgr[1293]: 8302581EE4: from=<[email protected]>, size=1235, nrcpt=1 (queue active)
    Feb 19 19:07:01 mailgw postfix/smtp[1843]: 8302581EE4: to=<[email protected]>, orig_to=<root>, relay=none, delay=0.02, delays=0.01/0/0/0, dsn=5.4.6, status=bounced (mail for mailgw.domain.com loops back to myself)
    Feb 19 19:07:01 mailgw postfix/cleanup[1841]: 8805F81EE7: message-id=<[email protected]>
    Feb 19 19:07:01 mailgw postfix/qmgr[1293]: 8805F81EE7: from=<>, size=3154, nrcpt=1 (queue active)
    Feb 19 19:07:01 mailgw postfix/bounce[1844]: 8302581EE4: sender non-delivery notification: 8805F81EE7
    Feb 19 19:07:01 mailgw postfix/qmgr[1293]: 8302581EE4: removed
    Feb 19 19:07:01 mailgw postfix/smtp[1843]: 8805F81EE7: to=<[email protected]>, orig_to=<[email protected]>, relay=none, delay=0.01, delays=0.01/0/0/0, dsn=5.4.6, status=bounced (mail for mailgw.domain.com loops back to myself)
    Feb 19 19:07:01 mailgw postfix/qmgr[1293]: 8805F81EE7: removed
    Feb 19 19:23:01 mailgw postfix/pickup[1292]: 927F281EE4: uid=0 from=<root>
    Feb 19 19:23:01 mailgw postfix/cleanup[1867]: 927F281EE4: message-id=<[email protected]>
    Feb 19 19:23:01 mailgw postfix/qmgr[1293]: 927F281EE4: from=<[email protected]>, size=587, nrcpt=1 (queue active)
    Feb 19 19:23:01 mailgw postfix/smtp[1869]: 927F281EE4: to=<[email protected]>, orig_to=<root>, relay=none, delay=0.02, delays=0.01/0/0/0, dsn=5.4.6, status=bounced (mail for mailgw.domain.com loops back to myself)
    Feb 19 19:23:01 mailgw postfix/cleanup[1867]: 9893C81EE7: message-id=<[email protected]>
    Feb 19 19:23:01 mailgw postfix/qmgr[1293]: 9893C81EE7: from=<>, size=2506, nrcpt=1 (queue active)
    Feb 19 19:23:01 mailgw postfix/bounce[1870]: 927F281EE4: sender non-delivery notification: 9893C81EE7
    Feb 19 19:23:01 mailgw postfix/qmgr[1293]: 927F281EE4: removed
    Feb 19 19:23:01 mailgw postfix/smtp[1869]: 9893C81EE7: to=<[email protected]>, orig_to=<[email protected]>, relay=none, delay=0.01, delays=0.01/0/0/0, dsn=5.4.6, status=bounced (mail for mailgw.domain.com loops back to myself)
    Feb 19 19:23:01 mailgw postfix/qmgr[1293]: 9893C81EE7: removed
    Feb 19 19:42:01 mailgw update.virus.scanners: Found clamav installed
    Feb 19 19:42:01 mailgw update.virus.scanners: Running autoupdate for clamav
    Feb 19 19:42:01 mailgw ClamAV-autoupdate[2090]: ClamAV updater /usr/local/bin/freshclam cannot be run
    Feb 19 19:42:01 mailgw update.virus.scanners: Found generic installed
    Feb 19 19:42:01 mailgw update.virus.scanners: Running autoupdate for generic
    Feb 19 19:43:01 mailgw postfix/pickup[1292]: 0A2AD81EE4: uid=0 from=<root>
    Feb 19 19:43:01 mailgw postfix/cleanup[2312]: 0A2AD81EE4: message-id=<[email protected]>
    Feb 19 19:43:01 mailgw postfix/qmgr[1293]: 0A2AD81EE4: from=<[email protected]>, size=587, nrcpt=1 (queue active)
    Feb 19 19:43:01 mailgw postfix/smtp[2314]: 0A2AD81EE4: to=<[email protected]>, orig_to=<root>, relay=none, delay=0.02, delays=0.01/0/0/0, dsn=5.4.6, status=bounced (mail for mailgw.domain.com loops back to myself)
    Feb 19 19:43:01 mailgw postfix/cleanup[2312]: 0FE6881EE7: message-id=<[email protected]>
    Feb 19 19:43:01 mailgw postfix/qmgr[1293]: 0FE6881EE7: from=<>, size=2506, nrcpt=1 (queue active)
    Feb 19 19:43:01 mailgw postfix/bounce[2315]: 0A2AD81EE4: sender non-delivery notification: 0FE6881EE7
    Feb 19 19:43:01 mailgw postfix/qmgr[1293]: 0A2AD81EE4: removed
    Feb 19 19:43:01 mailgw postfix/smtp[2314]: 0FE6881EE7: to=<[email protected]>, orig_to=<[email protected]>, relay=none, delay=0.01, delays=0.01/0/0/0, dsn=5.4.6, status=bounced (mail for mailgw.domain.com loops back to myself)
    Feb 19 19:43:37 mailgw postfix/smtpd[2330]: warning: connect to private/greyfix: No such file or directory
    Feb 19 19:43:38 mailgw postfix/smtpd[2330]: warning: connect to private/greyfix: No such file or directory
    Feb 19 19:43:38 mailgw postfix/smtpd[2330]: warning: problem talking to server private/greyfix: No such file or directory
    Feb 19 19:44:26 mailgw postfix/smtpd[2330]: warning: connect to private/greyfix: No such file or directory
    Feb 19 19:44:27 mailgw postfix/smtpd[2330]: warning: connect to private/greyfix: No such file or directory
    Feb 19 19:44:27 mailgw postfix/smtpd[2330]: warning: problem talking to server private/greyfix: No such file or directory
    Feb 19 19:48:02 mailgw postfix/anvil[2331]: statistics: max connection rate 2/60s for (smtp:80.67.194.70) at Feb 19 19:44:26
    Feb 19 19:48:02 mailgw postfix/anvil[2331]: statistics: max connection count 1 for (smtp:80.67.194.70) at Feb 19 19:43:36
    Feb 19 19:48:02 mailgw postfix/anvil[2331]: statistics: max cache size 1 at Feb 19 19:43:36
    Feb 19 20:21:50 mailgw dccifd[1152]: fopen(/var/run/dcc/dccifd.pid): No such file or directory
    Feb 19 20:21:50 mailgw dccifd[1152]: 1.3.130 listening to /var/lib/dcc/dccifd for ASCII protocol
    Feb 19 20:21:50 mailgw MailScanner[1193]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
    Feb 19 20:21:50 mailgw MailScanner[1193]: Reading configuration file /opt/MailScanner/etc/MailScanner.conf
    Feb 19 20:21:50 mailgw MailScanner[1193]: Reading configuration file /opt/MailScanner/etc/conf.d/README
    Feb 19 20:21:50 mailgw MailScanner[1193]: Read 865 hostnames from the phishing whitelist
    Feb 19 20:21:50 mailgw MailScanner[1193]: Read 6971 hostnames from the phishing blacklists
    Feb 19 20:21:50 mailgw MailScanner[1193]: Config: calling custom init function BaruwaLowScore
    Feb 19 20:21:50 mailgw MailScanner[1193]: Baruwa - Populating spam score settings
    Feb 19 20:21:50 mailgw MailScanner[1193]: Read 2 spam score settings
    Feb 19 20:21:50 mailgw MailScanner[1193]: Config: calling custom init function BaruwaBlacklist
    Feb 19 20:21:50 mailgw MailScanner[1193]: Starting Baruwa blacklists
    Feb 19 20:21:50 mailgw MailScanner[1193]: Read 0 blacklist items
    Feb 19 20:21:50 mailgw MailScanner[1193]: Ip blocks blacklisted: 
    Feb 19 20:21:50 mailgw MailScanner[1193]: Config: calling custom init function BaruwaSQL
    Feb 19 20:21:50 mailgw MailScanner[1193]: Starting Baruwa SQL logger
    Feb 19 20:21:50 mailgw MailScanner[1193]: Config: calling custom init function BaruwaHighScore
    Feb 19 20:21:50 mailgw MailScanner[1193]: Baruwa - Populating high spam score settings
    Feb 19 20:21:50 mailgw MailScanner[1193]: Read 2 high spam score settings
    Feb 19 20:21:50 mailgw MailScanner[1193]: Config: calling custom init function BaruwaWhitelist
    Feb 19 20:21:50 mailgw MailScanner[1193]: Starting Baruwa whitelists
    Feb 19 20:21:50 mailgw MailScanner[1193]: Read 0 whitelist items
    Feb 19 20:21:50 mailgw MailScanner[1193]: Ip blocks whitelisted: 
    Feb 19 20:21:50 mailgw MailScanner[1193]: Using SpamAssassin results cache
    Feb 19 20:21:50 mailgw MailScanner[1193]: Connected to SpamAssassin cache database
    Feb 19 20:21:50 mailgw MailScanner[1193]: Enabling SpamAssassin auto-whitelist functionality...
    Feb 19 20:21:50 mailgw postfix/master[1285]: daemon started -- version 2.7.1, configuration /etc/postfix
    Feb 19 20:21:51 mailgw MailScanner[1193]: Connected to Processing Attempts Database
    Feb 19 20:21:51 mailgw MailScanner[1193]: Found 0 messages in the Processing Attempts Database
    Feb 19 20:21:51 mailgw MailScanner[1193]: Using locktype = flock
    Feb 19 20:21:55 mailgw MailScanner[1393]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
    Feb 19 20:21:55 mailgw MailScanner[1393]: Reading configuration file /opt/MailScanner/etc/MailScanner.conf
    Feb 19 20:21:55 mailgw MailScanner[1393]: Reading configuration file /opt/MailScanner/etc/conf.d/README
    Feb 19 20:21:55 mailgw MailScanner[1393]: Read 865 hostnames from the phishing whitelist
    Feb 19 20:21:55 mailgw MailScanner[1393]: Read 6971 hostnames from the phishing blacklists
    Feb 19 20:21:55 mailgw MailScanner[1393]: Config: calling custom init function BaruwaLowScore
    Feb 19 20:21:55 mailgw MailScanner[1393]: Baruwa - Populating spam score settings
    Feb 19 20:21:55 mailgw MailScanner[1393]: Read 2 spam score settings
    Feb 19 20:21:55 mailgw MailScanner[1393]: Config: calling custom init function BaruwaBlacklist
    Feb 19 20:21:55 mailgw MailScanner[1393]: Starting Baruwa blacklists
    Feb 19 20:21:55 mailgw MailScanner[1393]: Read 0 blacklist items
    Feb 19 20:21:55 mailgw MailScanner[1393]: Ip blocks blacklisted: 
    Feb 19 20:21:55 mailgw MailScanner[1393]: Config: calling custom init function BaruwaSQL
    Feb 19 20:21:55 mailgw MailScanner[1393]: Starting Baruwa SQL logger
    Feb 19 20:21:55 mailgw MailScanner[1393]: Config: calling custom init function BaruwaHighScore
    Feb 19 20:21:55 mailgw MailScanner[1393]: Baruwa - Populating high spam score settings
    Feb 19 20:21:55 mailgw MailScanner[1393]: Read 2 high spam score settings
    Feb 19 20:21:55 mailgw MailScanner[1393]: Config: calling custom init function BaruwaWhitelist
    Feb 19 20:21:55 mailgw MailScanner[1393]: Starting Baruwa whitelists
    Feb 19 20:21:55 mailgw MailScanner[1393]: Read 0 whitelist items
    Feb 19 20:21:55 mailgw MailScanner[1393]: Ip blocks whitelisted: 
    Feb 19 20:21:56 mailgw MailScanner[1393]: Using SpamAssassin results cache
    Feb 19 20:21:56 mailgw MailScanner[1393]: Connected to SpamAssassin cache database
    Feb 19 20:21:56 mailgw MailScanner[1393]: Enabling SpamAssassin auto-whitelist functionality...
    Feb 19 20:22:00 mailgw MailScanner[1399]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
    Feb 19 20:22:00 mailgw MailScanner[1393]: Connected to Processing Attempts Database
    Feb 19 20:22:00 mailgw MailScanner[1393]: Found 0 messages in the Processing Attempts Database
    Feb 19 20:22:00 mailgw MailScanner[1393]: Using locktype = flock
    Feb 19 20:22:00 mailgw MailScanner[1399]: Reading configuration file /opt/MailScanner/etc/MailScanner.conf
    Feb 19 20:22:00 mailgw MailScanner[1399]: Reading configuration file /opt/MailScanner/etc/conf.d/README
    Feb 19 20:22:00 mailgw MailScanner[1399]: Read 865 hostnames from the phishing whitelist
    Feb 19 20:22:00 mailgw MailScanner[1399]: Read 6971 hostnames from the phishing blacklists
    Feb 19 20:22:01 mailgw MailScanner[1399]: Config: calling custom init function BaruwaLowScore
    Feb 19 20:22:01 mailgw MailScanner[1399]: Baruwa - Populating spam score settings
    Feb 19 20:22:01 mailgw MailScanner[1399]: Read 2 spam score settings
    Feb 19 20:22:01 mailgw MailScanner[1399]: Config: calling custom init function BaruwaBlacklist
    Feb 19 20:22:01 mailgw MailScanner[1399]: Starting Baruwa blacklists
    Feb 19 20:22:01 mailgw MailScanner[1399]: Read 0 blacklist items
    Feb 19 20:22:01 mailgw MailScanner[1399]: Ip blocks blacklisted: 
    Feb 19 20:22:01 mailgw MailScanner[1399]: Config: calling custom init function BaruwaSQL
    Feb 19 20:22:01 mailgw MailScanner[1399]: Starting Baruwa SQL logger
    Feb 19 20:22:01 mailgw MailScanner[1399]: Config: calling custom init function BaruwaHighScore
    Feb 19 20:22:01 mailgw MailScanner[1399]: Baruwa - Populating high spam score settings
    Feb 19 20:22:01 mailgw MailScanner[1399]: Read 2 high spam score settings
    Feb 19 20:22:01 mailgw MailScanner[1399]: Config: calling custom init function BaruwaWhitelist
    Feb 19 20:22:01 mailgw MailScanner[1399]: Starting Baruwa whitelists
    Feb 19 20:22:01 mailgw MailScanner[1399]: Read 0 whitelist items
    Feb 19 20:22:01 mailgw MailScanner[1399]: Ip blocks whitelisted: 
    Feb 19 20:22:01 mailgw MailScanner[1399]: Using SpamAssassin results cache
    Feb 19 20:22:01 mailgw MailScanner[1399]: Connected to SpamAssassin cache database
    Feb 19 20:22:01 mailgw MailScanner[1399]: Enabling SpamAssassin auto-whitelist functionality...
    Feb 19 20:22:03 mailgw MailScanner[1399]: Connected to Processing Attempts Database
    Feb 19 20:22:03 mailgw MailScanner[1399]: Found 0 messages in the Processing Attempts Database
    Feb 19 20:22:03 mailgw MailScanner[1399]: Using locktype = flock
    Feb 19 20:22:05 mailgw MailScanner[1405]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
    Feb 19 20:22:05 mailgw MailScanner[1405]: Reading configuration file /opt/MailScanner/etc/MailScanner.conf
    Feb 19 20:22:05 mailgw MailScanner[1405]: Reading configuration file /opt/MailScanner/etc/conf.d/README
    Feb 19 20:22:05 mailgw MailScanner[1405]: Read 865 hostnames from the phishing whitelist
    Feb 19 20:22:05 mailgw MailScanner[1405]: Read 6971 hostnames from the phishing blacklists
    Feb 19 20:22:05 mailgw MailScanner[1405]: Config: calling custom init function BaruwaLowScore
    Feb 19 20:22:05 mailgw MailScanner[1405]: Baruwa - Populating spam score settings
    Feb 19 20:22:05 mailgw MailScanner[1405]: Read 2 spam score settings
    Feb 19 20:22:05 mailgw MailScanner[1405]: Config: calling custom init function BaruwaBlacklist
    Feb 19 20:22:05 mailgw MailScanner[1405]: Starting Baruwa blacklists
    Feb 19 20:22:05 mailgw MailScanner[1405]: Read 0 blacklist items
    Feb 19 20:22:05 mailgw MailScanner[1405]: Ip blocks blacklisted: 
    Feb 19 20:22:05 mailgw MailScanner[1405]: Config: calling custom init function BaruwaSQL
    Feb 19 20:22:05 mailgw MailScanner[1405]: Starting Baruwa SQL logger
    Feb 19 20:22:05 mailgw MailScanner[1405]: Config: calling custom init function BaruwaHighScore
    Feb 19 20:22:05 mailgw MailScanner[1405]: Baruwa - Populating high spam score settings
    Feb 19 20:22:05 mailgw MailScanner[1405]: Read 2 high spam score settings
    Feb 19 20:22:05 mailgw MailScanner[1405]: Config: calling custom init function BaruwaWhitelist
    Feb 19 20:22:05 mailgw MailScanner[1405]: Starting Baruwa whitelists
    Feb 19 20:22:05 mailgw MailScanner[1405]: Read 0 whitelist items
    Feb 19 20:22:05 mailgw MailScanner[1405]: Ip blocks whitelisted: 
    Feb 19 20:22:05 mailgw MailScanner[1405]: Using SpamAssassin results cache
    Feb 19 20:22:05 mailgw MailScanner[1405]: Connected to SpamAssassin cache database
    Feb 19 20:22:05 mailgw MailScanner[1405]: Enabling SpamAssassin auto-whitelist functionality...
    Feb 19 20:22:07 mailgw MailScanner[1405]: Connected to Processing Attempts Database
    Feb 19 20:22:07 mailgw MailScanner[1405]: Found 0 messages in the Processing Attempts Database
    Feb 19 20:22:07 mailgw MailScanner[1405]: Using locktype = flock
    Feb 19 20:22:10 mailgw MailScanner[1411]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
    Feb 19 20:22:10 mailgw MailScanner[1411]: Reading configuration file /opt/MailScanner/etc/MailScanner.conf
    Feb 19 20:22:10 mailgw MailScanner[1411]: Reading configuration file /opt/MailScanner/etc/conf.d/README
    Feb 19 20:22:10 mailgw MailScanner[1411]: Read 865 hostnames from the phishing whitelist
    Feb 19 20:22:10 mailgw MailScanner[1411]: Read 6971 hostnames from the phishing blacklists
    Feb 19 20:22:10 mailgw MailScanner[1411]: Config: calling custom init function BaruwaLowScore
    Feb 19 20:22:10 mailgw MailScanner[1411]: Baruwa - Populating spam score settings
    Feb 19 20:22:10 mailgw MailScanner[1411]: Read 2 spam score settings
    Feb 19 20:22:10 mailgw MailScanner[1411]: Config: calling custom init function BaruwaBlacklist
    Feb 19 20:22:10 mailgw MailScanner[1411]: Starting Baruwa blacklists
    Feb 19 20:22:10 mailgw MailScanner[1411]: Read 0 blacklist items
    Feb 19 20:22:10 mailgw MailScanner[1411]: Ip blocks blacklisted: 
    Feb 19 20:22:10 mailgw MailScanner[1411]: Config: calling custom init function BaruwaSQL
    Feb 19 20:22:10 mailgw MailScanner[1411]: Starting Baruwa SQL logger
    Feb 19 20:22:10 mailgw MailScanner[1411]: Config: calling custom init function BaruwaHighScore
    Feb 19 20:22:10 mailgw MailScanner[1411]: Baruwa - Populating high spam score settings
    Feb 19 20:22:10 mailgw MailScanner[1411]: Read 2 high spam score settings
    Feb 19 20:22:10 mailgw MailScanner[1411]: Config: calling custom init function BaruwaWhitelist
    Feb 19 20:22:10 mailgw MailScanner[1411]: Starting Baruwa whitelists
    Feb 19 20:22:10 mailgw MailScanner[1411]: Read 0 whitelist items
    Feb 19 20:22:10 mailgw MailScanner[1411]: Ip blocks whitelisted: 
    Feb 19 20:22:10 mailgw MailScanner[1411]: Using SpamAssassin results cache
    Feb 19 20:22:10 mailgw MailScanner[1411]: Connected to SpamAssassin cache database
    Feb 19 20:22:10 mailgw MailScanner[1411]: Enabling SpamAssassin auto-whitelist functionality...
    Feb 19 20:22:12 mailgw MailScanner[1411]: Connected to Processing Attempts Database
    Feb 19 20:22:12 mailgw MailScanner[1411]: Found 0 messages in the Processing Attempts Database
    Feb 19 20:22:12 mailgw MailScanner[1411]: Using locktype = flock
    Feb 19 20:23:01 mailgw postfix/pickup[1289]: DD70281EE4: uid=0 from=<root>
    Feb 19 20:23:01 mailgw postfix/cleanup[1433]: DD70281EE4: message-id=<[email protected]>
    Feb 19 20:23:01 mailgw postfix/qmgr[1290]: DD70281EE4: from=<[email protected]>, size=587, nrcpt=1 (queue active)
    Feb 19 20:23:02 mailgw postfix/smtp[1435]: DD70281EE4: to=<[email protected]>, orig_to=<root>, relay=none, delay=0.16, delays=0.14/0.02/0/0, dsn=5.4.6, status=bounced (mail for mailgw.domain.com loops back to myself)
    Feb 19 20:23:02 mailgw postfix/cleanup[1433]: 0075681EE7: message-id=<[email protected]>
    Feb 19 20:23:02 mailgw postfix/qmgr[1290]: 0075681EE7: from=<>, size=2506, nrcpt=1 (queue active)
    Feb 19 20:23:02 mailgw postfix/bounce[1436]: DD70281EE4: sender non-delivery notification: 0075681EE7
    Feb 19 20:23:02 mailgw postfix/qmgr[1290]: DD70281EE4: removed
    Feb 19 20:23:02 mailgw postfix/smtp[1435]: 0075681EE7: to=<[email protected]>, orig_to=<[email protected]>, relay=none, delay=0, delays=0/0/0/0, dsn=5.4.6, status=bounced (mail for mailgw.domain.com loops back to myself)
    Feb 19 20:23:02 mailgw postfix/qmgr[1290]: 0075681EE7: removed
    
    Snip from "user.log"

    Code:
    Feb 19 11:34:25 mailgw MailScanner: waiting for children to die: Process did not exit cleanly, returned 0 with signal 15
    Feb 19 11:35:07 mailgw MailScanner: Cannot write pid file /opt/MailScanner/var/MailScanner.pid, Permission denied
    Feb 19 11:35:07 mailgw MailScanner: MailScanner setting GID to www-data (33)
    Feb 19 11:35:07 mailgw MailScanner: MailScanner setting UID to postfix (106)
    Feb 19 11:35:08 mailgw MailScanner: Cannot write pid file /opt/MailScanner/var/MailScanner.pid, Permission denied
    Feb 19 11:36:29 mailgw MailScanner: Process did not exit cleanly, returned 0 with signal 15
    Feb 19 11:36:43 mailgw MailScanner: Cannot write pid file /opt/MailScanner/var/MailScanner.pid, Permission denied
    Feb 19 11:36:43 mailgw MailScanner: MailScanner setting GID to www-data (33)
    Feb 19 11:36:43 mailgw MailScanner: MailScanner setting UID to postfix (106)
    Feb 19 11:36:44 mailgw MailScanner: Cannot write pid file /opt/MailScanner/var/MailScanner.pid, Permission denied
    Feb 19 11:50:17 mailgw MailScanner: Cannot write pid file /opt/MailScanner/var/MailScanner.pid, Permission denied
    Feb 19 11:50:17 mailgw MailScanner: MailScanner setting GID to www-data (33)
    Feb 19 11:50:17 mailgw MailScanner: MailScanner setting UID to postfix (106)
    Feb 19 11:50:17 mailgw MailScanner: Cannot write pid file /opt/MailScanner/var/MailScanner.pid, Permission denied
    Feb 19 14:21:12 mailgw MailScanner: Cannot write pid file /opt/MailScanner/var/MailScanner.pid, Permission denied
    Feb 19 14:21:12 mailgw MailScanner: MailScanner setting GID to www-data (33)
    Feb 19 14:21:12 mailgw MailScanner: MailScanner setting UID to postfix (106)
    Feb 19 14:21:12 mailgw MailScanner: Cannot write pid file /opt/MailScanner/var/MailScanner.pid, Permission denied
    Feb 19 15:58:44 mailgw MailScanner: Cannot write pid file /opt/MailScanner/var/MailScanner.pid, Permission denied
    Feb 19 15:58:44 mailgw MailScanner: MailScanner setting GID to www-data (33)
    Feb 19 15:58:44 mailgw MailScanner: MailScanner setting UID to postfix (106)
    Feb 19 15:58:44 mailgw MailScanner: Cannot write pid file /opt/MailScanner/var/MailScanner.pid, Permission denied
    Feb 19 18:32:16 mailgw MailScanner: Process did not exit cleanly, returned 0 with signal 15
    Feb 19 18:32:38 mailgw MailScanner: Cannot write pid file /opt/MailScanner/var/MailScanner.pid, Permission denied
    Feb 19 18:32:38 mailgw MailScanner: MailScanner setting GID to www-data (33)
    Feb 19 18:32:38 mailgw MailScanner: MailScanner setting UID to postfix (106)
    Feb 19 18:32:39 mailgw MailScanner: Cannot write pid file /opt/MailScanner/var/MailScanner.pid, Permission denied
    Feb 19 18:58:44 mailgw MailScanner: Cannot write pid file /opt/MailScanner/var/MailScanner.pid, Permission denied
    Feb 19 18:58:44 mailgw MailScanner: MailScanner setting GID to www-data (33)
    Feb 19 18:58:44 mailgw MailScanner: MailScanner setting UID to postfix (106)
    Feb 19 18:58:44 mailgw MailScanner: Cannot write pid file /opt/MailScanner/var/MailScanner.pid, Permission denied
    Feb 19 20:21:50 mailgw MailScanner: Cannot write pid file /opt/MailScanner/var/MailScanner.pid, Permission denied
    Feb 19 20:21:50 mailgw MailScanner: MailScanner setting GID to www-data (33)
    Feb 19 20:21:50 mailgw MailScanner: MailScanner setting UID to postfix (106)
    Feb 19 20:21:50 mailgw MailScanner: Cannot write pid file /opt/MailScanner/var/MailScanner.pid, Permission denied
    Clamav.log

    Code:
    Sat Feb 19 11:50:16 2011 -> +++ Started at Sat Feb 19 11:50:16 2011
    Sat Feb 19 11:50:16 2011 -> clamd daemon 0.96.5 (OS: linux-gnu, ARCH: i386, CPU: i686)
    Sat Feb 19 11:50:16 2011 -> Log file size limit disabled.
    Sat Feb 19 11:50:16 2011 -> Reading databases from /var/lib/clamav
    Sat Feb 19 11:50:16 2011 -> Not loading PUA signatures.
    Sat Feb 19 11:50:16 2011 -> Loaded 813879 signatures.
    Sat Feb 19 11:50:17 2011 -> LOCAL: Unix socket file /var/run/clamav/clamd.ctl
    Sat Feb 19 11:50:17 2011 -> LOCAL: Setting connection queue length to 15
    Sat Feb 19 11:50:17 2011 -> Limits: Global size limit set to 104857600 bytes.
    Sat Feb 19 11:50:17 2011 -> Limits: File size limit set to 26214400 bytes.
    Sat Feb 19 11:50:17 2011 -> Limits: Recursion level limit set to 16.
    Sat Feb 19 11:50:17 2011 -> Limits: Files limit set to 10000.
    Sat Feb 19 11:50:17 2011 -> Archive support enabled.
    Sat Feb 19 11:50:17 2011 -> Algorithmic detection enabled.
    Sat Feb 19 11:50:17 2011 -> Portable Executable support enabled.
    Sat Feb 19 11:50:17 2011 -> ELF support enabled.
    Sat Feb 19 11:50:17 2011 -> Mail files support enabled.
    Sat Feb 19 11:50:17 2011 -> OLE2 support enabled.
    Sat Feb 19 11:50:17 2011 -> PDF support enabled.
    Sat Feb 19 11:50:17 2011 -> HTML support enabled.
    Sat Feb 19 11:50:17 2011 -> Self checking every 3600 seconds.
    Sat Feb 19 12:50:17 2011 -> No stats for Database check - forcing reload
    Sat Feb 19 12:50:17 2011 -> Reading databases from /var/lib/clamav
    Sat Feb 19 12:50:20 2011 -> Database correctly reloaded (813879 signatures)
    Sat Feb 19 13:50:20 2011 -> SelfCheck: Database status OK.
    Sat Feb 19 14:20:09 2011 -> Pid file removed.
    Sat Feb 19 14:20:09 2011 -> --- Stopped at Sat Feb 19 14:20:09 2011
    Sat Feb 19 14:20:09 2011 -> Socket file removed.
    Sat Feb 19 14:21:11 2011 -> +++ Started at Sat Feb 19 14:21:11 2011
    Sat Feb 19 14:21:11 2011 -> clamd daemon 0.96.5 (OS: linux-gnu, ARCH: i386, CPU: i686)
    Sat Feb 19 14:21:11 2011 -> Log file size limit disabled.
    Sat Feb 19 14:21:11 2011 -> Reading databases from /var/lib/clamav
    Sat Feb 19 14:21:11 2011 -> Not loading PUA signatures.
    Sat Feb 19 14:21:11 2011 -> Loaded 813879 signatures.
    Sat Feb 19 14:21:11 2011 -> LOCAL: Unix socket file /var/run/clamav/clamd.ctl
    Sat Feb 19 14:21:11 2011 -> LOCAL: Setting connection queue length to 15
    Sat Feb 19 14:21:11 2011 -> Limits: Global size limit set to 104857600 bytes.
    Sat Feb 19 14:21:11 2011 -> Limits: File size limit set to 26214400 bytes.
    Sat Feb 19 14:21:11 2011 -> Limits: Recursion level limit set to 16.
    Sat Feb 19 14:21:11 2011 -> Limits: Files limit set to 10000.
    Sat Feb 19 14:21:11 2011 -> Archive support enabled.
    Sat Feb 19 14:21:11 2011 -> Algorithmic detection enabled.
    Sat Feb 19 14:21:11 2011 -> Portable Executable support enabled.
    Sat Feb 19 14:21:11 2011 -> ELF support enabled.
    Sat Feb 19 14:21:11 2011 -> Mail files support enabled.
    Sat Feb 19 14:21:11 2011 -> OLE2 support enabled.
    Sat Feb 19 14:21:11 2011 -> PDF support enabled.
    Sat Feb 19 14:21:11 2011 -> HTML support enabled.
    Sat Feb 19 14:21:11 2011 -> Self checking every 3600 seconds.
    Sat Feb 19 14:27:27 2011 -> Pid file removed.
    Sat Feb 19 14:27:27 2011 -> --- Stopped at Sat Feb 19 14:27:27 2011
    Sat Feb 19 14:27:27 2011 -> Socket file removed.
    Sat Feb 19 15:58:41 2011 -> +++ Started at Sat Feb 19 15:58:41 2011
    Sat Feb 19 15:58:41 2011 -> clamd daemon 0.96.5 (OS: linux-gnu, ARCH: i386, CPU: i686)
    Sat Feb 19 15:58:41 2011 -> Log file size limit disabled.
    Sat Feb 19 15:58:41 2011 -> Reading databases from /var/lib/clamav
    Sat Feb 19 15:58:41 2011 -> Not loading PUA signatures.
    Sat Feb 19 15:58:44 2011 -> Loaded 813879 signatures.
    Sat Feb 19 15:58:44 2011 -> LOCAL: Unix socket file /var/run/clamav/clamd.ctl
    Sat Feb 19 15:58:44 2011 -> LOCAL: Setting connection queue length to 15
    Sat Feb 19 15:58:44 2011 -> Limits: Global size limit set to 104857600 bytes.
    Sat Feb 19 15:58:44 2011 -> Limits: File size limit set to 26214400 bytes.
    Sat Feb 19 15:58:44 2011 -> Limits: Recursion level limit set to 16.
    Sat Feb 19 15:58:44 2011 -> Limits: Files limit set to 10000.
    Sat Feb 19 15:58:44 2011 -> Archive support enabled.
    Sat Feb 19 15:58:44 2011 -> Algorithmic detection enabled.
    Sat Feb 19 15:58:44 2011 -> Portable Executable support enabled.
    Sat Feb 19 15:58:44 2011 -> ELF support enabled.
    Sat Feb 19 15:58:44 2011 -> Mail files support enabled.
    Sat Feb 19 15:58:44 2011 -> OLE2 support enabled.
    Sat Feb 19 15:58:44 2011 -> PDF support enabled.
    Sat Feb 19 15:58:44 2011 -> HTML support enabled.
    Sat Feb 19 15:58:44 2011 -> Self checking every 3600 seconds.
    Sat Feb 19 16:58:44 2011 -> No stats for Database check - forcing reload
    Sat Feb 19 16:58:44 2011 -> Reading databases from /var/lib/clamav
    Sat Feb 19 16:58:47 2011 -> Database correctly reloaded (813879 signatures)
    Sat Feb 19 17:58:47 2011 -> SelfCheck: Database status OK.
    Sat Feb 19 18:57:48 2011 -> Pid file removed.
    Sat Feb 19 18:57:48 2011 -> --- Stopped at Sat Feb 19 18:57:48 2011
    Sat Feb 19 18:57:48 2011 -> Socket file removed.
    Sat Feb 19 18:58:43 2011 -> +++ Started at Sat Feb 19 18:58:43 2011
    Sat Feb 19 18:58:43 2011 -> clamd daemon 0.96.5 (OS: linux-gnu, ARCH: i386, CPU: i686)
    Sat Feb 19 18:58:43 2011 -> Log file size limit disabled.
    Sat Feb 19 18:58:43 2011 -> Reading databases from /var/lib/clamav
    Sat Feb 19 18:58:43 2011 -> Not loading PUA signatures.
    Sat Feb 19 18:58:43 2011 -> Loaded 813879 signatures.
    Sat Feb 19 18:58:43 2011 -> LOCAL: Unix socket file /var/run/clamav/clamd.ctl
    Sat Feb 19 18:58:43 2011 -> LOCAL: Setting connection queue length to 15
    Sat Feb 19 18:58:43 2011 -> Limits: Global size limit set to 104857600 bytes.
    Sat Feb 19 18:58:43 2011 -> Limits: File size limit set to 26214400 bytes.
    Sat Feb 19 18:58:43 2011 -> Limits: Recursion level limit set to 16.
    Sat Feb 19 18:58:43 2011 -> Limits: Files limit set to 10000.
    Sat Feb 19 18:58:43 2011 -> Archive support enabled.
    Sat Feb 19 18:58:43 2011 -> Algorithmic detection enabled.
    Sat Feb 19 18:58:43 2011 -> Portable Executable support enabled.
    Sat Feb 19 18:58:43 2011 -> ELF support enabled.
    Sat Feb 19 18:58:43 2011 -> Mail files support enabled.
    Sat Feb 19 18:58:43 2011 -> OLE2 support enabled.
    Sat Feb 19 18:58:43 2011 -> PDF support enabled.
    Sat Feb 19 18:58:43 2011 -> HTML support enabled.
    Sat Feb 19 18:58:43 2011 -> Self checking every 3600 seconds.
    Sat Feb 19 19:57:38 2011 -> Pid file removed.
    Sat Feb 19 19:57:38 2011 -> --- Stopped at Sat Feb 19 19:57:38 2011
    Sat Feb 19 19:57:38 2011 -> Socket file removed.
    Sat Feb 19 20:21:50 2011 -> +++ Started at Sat Feb 19 20:21:50 2011
    Sat Feb 19 20:21:50 2011 -> clamd daemon 0.96.5 (OS: linux-gnu, ARCH: i386, CPU: i686)
    Sat Feb 19 20:21:50 2011 -> Log file size limit disabled.
    Sat Feb 19 20:21:50 2011 -> Reading databases from /var/lib/clamav
    Sat Feb 19 20:21:50 2011 -> Not loading PUA signatures.
    Sat Feb 19 20:21:50 2011 -> Loaded 813879 signatures.
    Sat Feb 19 20:21:50 2011 -> LOCAL: Unix socket file /var/run/clamav/clamd.ctl
    Sat Feb 19 20:21:50 2011 -> LOCAL: Setting connection queue length to 15
    Sat Feb 19 20:21:50 2011 -> Limits: Global size limit set to 104857600 bytes.
    Sat Feb 19 20:21:50 2011 -> Limits: File size limit set to 26214400 bytes.
    Sat Feb 19 20:21:50 2011 -> Limits: Recursion level limit set to 16.
    Sat Feb 19 20:21:50 2011 -> Limits: Files limit set to 10000.
    Sat Feb 19 20:21:50 2011 -> Archive support enabled.
    Sat Feb 19 20:21:50 2011 -> Algorithmic detection enabled.
    Sat Feb 19 20:21:50 2011 -> Portable Executable support enabled.
    Sat Feb 19 20:21:50 2011 -> ELF support enabled.
    Sat Feb 19 20:21:50 2011 -> Mail files support enabled.
    Sat Feb 19 20:21:50 2011 -> OLE2 support enabled.
    Sat Feb 19 20:21:50 2011 -> PDF support enabled.
    Sat Feb 19 20:21:50 2011 -> HTML support enabled.
    Sat Feb 19 20:21:50 2011 -> Self checking every 3600 seconds.
    

    I have tried sending to an address with MX pointed to the mailgw, but nothing comes through.

    Hoping someone can assist, thanks.
     
  2. topdog

    topdog New Member HowtoForge Supporter

    Your install is very broken.

    + the greylisting in postfix is not correctly configured
    + dcc is not properly configured
    + clamupdate is pointing to the wrong place
    + mailscanner is not properly configured, the pid file cannot be created.
    + It seems you are trying to run the gateway on the same machine that is your mail server (this will cause a mail loop)
     
  3. itsnedkeren

    itsnedkeren New Member

    Thanks for your reply.

    No, this is a seperate Virtual Machine, completely fresh installed.

    I'll start fresh again I think :)
     

Share This Page