CentOS6 - Postfix_MailScanner - Messages remaining until postfix restart
Dobril Dobrilov
dobril at stanga.net
Sat Jun 6 16:53:01 UTC 2015
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 (Postfix, from userid 0)??id
04A9D42C4C; Sat, 6 Jun 2015 19:39:34 +0300 (EEST) from local;
from=<root at mail.snowthunder.org> to=<dobril at snowthunder.org>
Jun 6 19:39:35 snowthunder postfix_host/cleanup[21603]: 04A9D42C4C:
message-id=<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 to 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
mydomain = snowthunder.org
mydestination = 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20150606/5e627e93/attachment.html>
More information about the MailScanner
mailing list