CentOS6 - Postfix_MailScanner - Messages remaining until postfix restart

Dobril Dobrilov dobril at stanga.net
Sat Jun 6 17:10:55 UTC 2015


Jun  6 20:05:26 snowthunder postfix_host/postfix-script[22051]: starting the
Postfix mail system

Jun  6 20:05:26 snowthunder postfix_host/master[22053]: daemon started --
version 2.11.1, configuration /etc/postfix

Jun  6 20:05:27 snowthunder MailScanner[22077]: MailScanner E-Mail Virus
Scanner version 4.85.2 starting...

Jun  6 20:05:27 snowthunder MailScanner[22077]: Reading configuration file
/etc/MailScanner/MailScanner.conf

Jun  6 20:05:27 snowthunder MailScanner[22077]: Connected to Processing
Attempts Database

Jun  6 20:05:27 snowthunder MailScanner[22077]: Found 0 messages in the
Processing Attempts Database

Jun  6 20:05:27 snowthunder MailScanner[22077]: Using locktype = flock

Jun  6 20:05:32 snowthunder MailScanner[22080]: MailScanner E-Mail Virus
Scanner version 4.85.2 starting...

Jun  6 20:05:32 snowthunder MailScanner[22080]: Reading configuration file
/etc/MailScanner/MailScanner.conf

Jun  6 20:05:32 snowthunder MailScanner[22080]: Connected to Processing
Attempts Database

Jun  6 20:05:32 snowthunder MailScanner[22080]: Found 0 messages in the
Processing Attempts Database

Jun  6 20:05:32 snowthunder MailScanner[22080]: Using locktype = flock

Jun  6 20:05:37 snowthunder MailScanner[22081]: MailScanner E-Mail Virus
Scanner version 4.85.2 starting...

Jun  6 20:05:37 snowthunder MailScanner[22081]: Reading configuration file
/etc/MailScanner/MailScanner.conf

Jun  6 20:05:37 snowthunder MailScanner[22081]: Connected to Processing
Attempts Database

Jun  6 20:05:37 snowthunder MailScanner[22081]: Found 0 messages in the
Processing Attempts Database

Jun  6 20:05:37 snowthunder MailScanner[22081]: Using locktype = flock

Jun  6 20:05:42 snowthunder MailScanner[22082]: MailScanner E-Mail Virus
Scanner version 4.85.2 starting...

Jun  6 20:05:42 snowthunder MailScanner[22082]: Reading configuration file
/etc/MailScanner/MailScanner.conf

Jun  6 20:05:42 snowthunder MailScanner[22082]: Connected to Processing
Attempts Database

Jun  6 20:05:42 snowthunder MailScanner[22082]: Found 0 messages in the
Processing Attempts Database

Jun  6 20:05:42 snowthunder MailScanner[22082]: Using locktype = flock

Jun  6 20:06:00 snowthunder postfix_host/pickup[22055]: 8D7F542C55: uid=0
from=<root>

Jun  6 20:06:00 snowthunder postfix_host/cleanup[22087]: 8D7F542C55: hold:
header Received: by mail.snowthunder.org (Postfix, from userid 0)??id
8D7F542C55; Sat,  6 Jun 2015 20:06:00 +0300 (EEST) from local;
from=<root at mail.snowthunder.org> to=<dobril at snowthunder.org>

Jun  6 20:06:00 snowthunder postfix_host/cleanup[22087]: 8D7F542C55:
message-id=<20150606170600.8D7F542C55 at mail.snowthunder.org>

Jun  6 20:06:01 snowthunder MailScanner[22081]: New Batch: Scanning 1
messages, 667 bytes

Jun  6 20:06:01 snowthunder MailScanner[22081]: Saved archive copies of
8D7F542C55.AD92B

Jun  6 20:06:01 snowthunder MailScanner[22081]: Filename Checks: Allowing
8D7F542C55.AD92B msg-22081-1.txt

Jun  6 20:06:01 snowthunder MailScanner[22081]: Virus and Content Scanning:
Starting

Jun  6 20:06:01 snowthunder MailScanner[22081]: Virus Scanning completed at
51055 bytes per second

Jun  6 20:06:01 snowthunder MailScanner[22081]: Spam Checks: Starting

Jun  6 20:06:01 snowthunder MailScanner[22081]: Delivery of nonspam: message
8D7F542C55.AD92B from root at mail.snowthunder.org to dobril at snowthunder.org
with subject

Jun  6 20:06:01 snowthunder MailScanner[22081]: Spam Checks completed at
474089 bytes per second

Jun  6 20:06:01 snowthunder MailScanner[22081]: Requeue: 8D7F542C55.AD92B to
73EC242C59

Jun  6 20:06:01 snowthunder MailScanner[22081]: Uninfected: Delivered 1
messages

Jun  6 20:06:01 snowthunder MailScanner[22081]: Virus Processing completed
at 143621 bytes per second

Jun  6 20:06:01 snowthunder MailScanner[22081]: Deleted 1 messages from
processing-database

Jun  6 20:06:01 snowthunder MailScanner[22081]: Batch completed at 25539
bytes per second (667 / 0)

Jun  6 20:06:01 snowthunder MailScanner[22081]: Batch (1 message) processed
in 0.03 seconds

 

From: MailScanner [mailto:mailscanner-bounces at lists.mailscanner.info] On
Behalf Of Jeremy McSpadden
Sent: Saturday, June 6, 2015 8:09 PM
To: MailScanner Discussion
Subject: Re: CentOS6 - Postfix_MailScanner - Messages remaining until
postfix restart

 

Output new log. 

--
Jeremy McSpadden | Flux Labs
Local - 850-250-5590x501 <tel:850-250-5590;501>  | Mobile - 850-890-2543
<tel:850-890-2543>  
Fax - 850-254-2955 <tel:850-254-2955>  | Toll Free - 877-699-FLUX
<tel:877-699-FLUX> 
Web - http://www.fluxlabs.net <http://www.fluxlabs.net/> 

 


On Jun 6, 2015, at 1:08 PM, Dobril Dobrilov <dobril at stanga.net
<mailto:dobril at stanga.net> > wrote:

I fix it , but the problem with delivery still persists

 

From: MailScanner [mailto:mailscanner-bounces at lists.mailscanner.info] On
Behalf Of Jeremy McSpadden
Sent: Saturday, June 6, 2015 7:57 PM
To: MailScanner Discussion
Subject: Re: CentOS6 - Postfix_MailScanner - Messages remaining until
postfix restart

 

Fix your Conf files

 


Jun  6 19:39:37 snowthunder MailScanner[21598]: Looked up unknown string
nonpasswordedarchive in language translation file
/etc/MailScanner/reports/en/languages.conf

--
Jeremy McSpadden | Flux Labs
Local - 850-250-5590x501 <tel:850-250-5590;501>  | Mobile - 850-890-2543
<tel:850-890-2543>  
Fax - 850-254-2955 <tel:850-254-2955>  | Toll Free - 877-699-FLUX
<tel:877-699-FLUX> 
Web - http://www.fluxlabs.net <http://www.fluxlabs.net/> 

 


On Jun 6, 2015, at 12:53 PM, Dobril Dobrilov <dobril at stanga.net
<mailto:dobril at stanga.net> > wrote:

Hello,

 

All messages stucks in /var/spool/postfix/incoming

 

I just need MailScanner to check messages attachement for bad attachments
(exe ,bat..) , no Antivirus , no Spam checks

 

This is what happening when I try to send or receive email 

 

 

Jun  6 19:39:35 snowthunder postfix_host/pickup[21567]: 04A9D42C4C: uid=0
from=<root>

Jun  6 19:39:35 snowthunder postfix_host/cleanup[21603]: 04A9D42C4C: hold:
header Received: by mail.snowthunder.org <http://mail.snowthunder.org>
(Postfix, from userid 0)??id 04A9D42C4C; Sat,  6 Jun 2015 19:39:34 +0300
(EEST) from local; from=<root at mail.snowthunder.org
<mailto:root at mail.snowthunder.org> > to=<dobril at snowthunder.org
<mailto:dobril at snowthunder.org> >

Jun  6 19:39:35 snowthunder postfix_host/cleanup[21603]: 04A9D42C4C:
message-id=<20150606163935.04A9D42C4C at mail.snowthunder.org
<mailto:20150606163935.04A9D42C4C at mail.snowthunder.org> >

Jun  6 19:39:37 snowthunder MailScanner[21598]: New Batch: Scanning 1
messages, 667 bytes

Jun  6 19:39:37 snowthunder MailScanner[21598]: Saved archive copies of
04A9D42C4C.A004F

Jun  6 19:39:37 snowthunder MailScanner[21598]: Looked up unknown string
nonpasswordedarchive in language translation file
/etc/MailScanner/reports/en/languages.conf

Jun  6 19:39:37 snowthunder MailScanner[21598]: Filename Checks: Allowing
04A9D42C4C.A004F msg-21598-1.txt

Jun  6 19:39:37 snowthunder MailScanner[21598]: Virus and Content Scanning:
Starting

Jun  6 19:39:37 snowthunder MailScanner[21598]: Virus Scanning completed at
48372 bytes per second

Jun  6 19:39:37 snowthunder MailScanner[21598]: Spam Checks: Starting

Jun  6 19:39:37 snowthunder MailScanner[21598]: Delivery of nonspam: message
04A9D42C4C.A004F from root at mail.snowthunder.org
<mailto:root at mail.snowthunder.org>  to dobril at snowthunder.org
<mailto:dobril at snowthunder.org>  with subject

Jun  6 19:39:37 snowthunder MailScanner[21598]: Spam Checks completed at
474732 bytes per second

Jun  6 19:39:37 snowthunder MailScanner[21598]: Requeue: 04A9D42C4C.A004F to
C096D42C55

Jun  6 19:39:37 snowthunder MailScanner[21598]: Uninfected: Delivered 1
messages

Jun  6 19:39:37 snowthunder MailScanner[21598]: Virus Processing completed
at 136202 bytes per second

Jun  6 19:39:37 snowthunder MailScanner[21598]: Deleted 1 messages from
processing-database

Jun  6 19:39:37 snowthunder MailScanner[21598]: Batch completed at 23686
bytes per second (667 / 0)

Jun  6 19:39:37 snowthunder MailScanner[21598]: Batch (1 message) processed
in 0.03 seconds

 

# ls -l /var/spool/postfix/incoming/

total 68

drwx------. 2 postfix postfix 4096 Jun  6 19:39 0

drwx------. 2 postfix postfix 4096 Jun  6 19:21 1

drwx------. 2 postfix postfix 4096 Jun  6 18:52 2

drwx------. 2 postfix postfix 4096 Jun  6 19:38 3

drwx------. 2 postfix postfix 4096 Jun  6 18:56 4

drwx------. 2 postfix postfix 4096 Jun  6 19:18 5

drwx------. 2 postfix postfix 4096 Jun  6 19:14 6

drwx------. 2 postfix postfix 4096 Jun  6 19:38 7

drwx------. 2 postfix postfix 4096 Jun  6 19:01 8

drwx------. 2 postfix postfix 4096 Jun  6 18:52 9

drwx------. 2 postfix postfix 4096 Jun  6 19:38 A

drwx------. 2 postfix postfix 4096 Jun  6 18:57 B

drwx------. 2 postfix postfix 4096 Jun  6 19:02 C

-rwx------. 1 postfix postfix  946 Jun  6 19:39 C096D42C55

drwx------. 2 postfix postfix 4096 Jun  6 18:56 D

drwx------. 2 postfix postfix 4096 Jun  6 18:56 E

drwx------. 2 postfix postfix 4096 Jun  6 18:56 F

 

If I restart postfix service, it's process delivery of all message from
/var/spool/postfix/incoming .. but there are something wrong.

 

This is my Postfix configs:

 

main.cf

 

command_directory = /usr/sbin

maximal_queue_lifetime  =       2d

bounce_queue_lifetime   =       0

myhostname              =       mail.snowthunder.org
<http://mail.snowthunder.org> 

mydomain                =       snowthunder.org <http://snowthunder.org> 

mydestination           =       mail.snowthunder.org
<http://mail.snowthunder.org> 

virtual_alias_domains   =       /etc/postfix/local-host-names,
/etc/postfix/virtual_domains

virtual_alias_maps      =       hash:/etc/postfix/virtual

canonical_maps          =       hash:/etc/postfix/canonical

alias_maps              =

smtp_connection_cache_on_demand         =       no

mail_spool_directory    =       /maildir/

transport_maps = hash:/etc/postfix/transport

smtpd_helo_required     =       yes

disable_vrfy_command    =       yes

inet_interfaces         =       all

mynetworks              =       127.0.0.0/8

 

smtpd_recipient_restrictions    =

                permit_mynetworks,

                permit_sasl_authenticated,

                permit_mx_backup,

                reject_invalid_hostname,

                reject_non_fqdn_sender,

                reject_non_fqdn_recipient,

                reject_unknown_sender_domain,

                reject_unknown_recipient_domain,

                reject_unauth_destination,

                reject_unauth_pipelining,

                reject_non_fqdn_hostname

 

smtpd_sender_restrictions       =

                hash:/etc/postfix/access

 

smtpd_client_restrictions       =

                permit_mynetworks

 

syslog_name                     =       postfix_host

default_process_limit           =       500

fallback_relay                  =       127.0.0.1

hash_queue_names = deferred, defer active bounce flush incoming

unknown_local_recipient_reject_code = 450

message_size_limit              =       20000000

readme_directory = /usr/share/doc/postfix-2.11.1/README_FILES

sample_directory = /usr/share/doc/postfix-2.11.1/samples

sendmail_path = /usr/sbin/sendmail

html_directory = no

setgid_group = postdrop

manpage_directory = /usr/share/man

daemon_directory = /usr/libexec/postfix

newaliases_path = /usr/bin/newaliases

mailq_path = /usr/bin/mailq

mail_owner = postfix

queue_directory = /var/spool/postfix

data_directory = /var/lib/postfix

inet_protocols = ipv4

header_checks = regexp:/etc/postfix/header_checks

 

master.cf

smtp      inet  n       -       n       -       80      smtpd

pickup    fifo  n       -       n       60      1       pickup

cleanup   unix  n       -       n       -       0       cleanup

qmgr      fifo  n       -       n       300     1       qmgr

rewrite   unix  -       -       n       -       -       trivial-rewrite

bounce    unix  -       -       n       -       0       bounce

defer     unix  -       -       n       -       0       bounce

trace     unix  -       -       n       -       0       bounce

verify    unix  -       -       n       -       1       verify

flush     unix  n       -       n       1000?   0       flush

proxymap  unix  -       -       n       -       -       proxymap

smtp      unix  -       -       n       -       -       smtp

relay     unix  -       -       n       -       -       smtp

showq     unix  n       -       n       -       -       showq

error     unix  -       -       n       -       -       error

local     unix  -       n       n       -       -       local

virtual   unix  -       n       n       -       -       virtual

lmtp      unix  -       -       n       -       -       lmtp

anvil     unix  -       -       n       -       1       anvil

scache    unix  -       -       n       -       1       scache

discard   unix  -       -       n       -       -       discard

tlsmgr    unix  -       -       n       1000?   1       tlsmgr

retry     unix  -       -       n       -       -       error

proxywrite unix -       -       n       -       1       proxymap



-- 
MailScanner mailing list
mailscanner at lists.mailscanner.info
<mailto:mailscanner at lists.mailscanner.info> 
http://lists.mailscanner.info/listinfo/mailscanner



-- 
MailScanner mailing list
mailscanner at lists.mailscanner.info
<mailto:mailscanner at lists.mailscanner.info> 
http://lists.mailscanner.info/listinfo/mailscanner

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20150606/b8b965cd/attachment.html>


More information about the MailScanner mailing list