Hi all.
Installed amavisd-2.5.1 [cent0S 4.4 / Dell PE] today on a perimeter
mail server - I noticed what may be normal behavior, but I wanted
someone to confirm it:
When I telnet to localhost - on 25 & 10025 I get the expected ESMTP responses.
But from 10024 there's nothing. Is that normal? I have 3 others
running and they all show the correct ESMTP responses. If not, what
debug output would I be looking for from amavis at log lever 4?
*also - perhaps it's relevant: in my /warnings/ log I see:
---------------------------------------------------------------------
warning: qmgr_active_corrupt: save corrupt file queue active id
AB7C313CDAB: No such file or directory
I thought that it was memory (RAID5 and fs checks reported no errors)
so I ran memtest86 for 4 passes, extended tests, no errors. I can
recreate this error by reloading postfix and amavisd too quickly, or
perhaps it's the order... anyway...
I mean, it's processing the messages - a little(?) slowly 1.5-2.5
minutes per message [quad proc xeon w/ 4GB ram].
mail.log <snip>
...
Jun 14 14:44:28 sabik amavis[19770]: (19770-02) TIMING [total 72538
ms] - SMTP greeting: 21 (0%)0, SMTP EHLO: 11 (0%)0, SMTP pre-MAIL: 10
(0%)0, mkdir tempdir: 4 (0%)0, create email.txt: 3 (0%)0, SMTP
pre-DATA-flush: 36 (0%)0, SMTP DATA: 4 (0%)0, check_init: 8 (0%)0,
digest_hdr: 6 (0%)0, digest_body: 4 (0%)0, gen_mail_id: 8 (0%)0, mkdir
parts: 5 (0%)0, mime_decode: 71 (0%)0, get-file-type1: 211 (0%)1,
decompose_part: 16 (0%)1, parts_decode: 0 (0%)1, check_header: 11
(0%)1, AV-scan-1: 37 (0%)1, spam-wb-list: 22 (0%)1, SA msg read: 6
(0%)1, SA parse: 24 (0%)1, SA check: 71563 (99%)99, update_cache: 33
(0%)99, decide_mail_destiny: 11 (0%)99, fwd-connect: 83 (0%)100,
fwd-mail-pip: 78 (0%)100, fwd-rcpt-pip: 2 (0%)100, fwd-data-chkpnt: 1
(0%)100, write-header: 4 (0%)100, fwd-data-contents: 0 (0%)100,
fwd-end-chkpnt: 133 (0%)100, prepare-dsn: 6 (0%)100, main_log_entry:
82 (0%)100, update_snmp: 10 (0%)100, SMTP pre-response: 2 (0%)100,
SMTP response: 3 (0%)100, unlink-1-files: 4 (0%)100, rundown: 3
(0%)100
...
Best regards;
-Peter
============================
[EMAIL PROTECTED] ~]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 sabik.scarceskills.com ESMTP Postfix
EHLO local
250-sabik.scarceskills.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250 8BITMIME
QUIT
221 Bye
Connection closed by foreign host.
[EMAIL PROTECTED] ~]# telnet localhost 10024
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
^]
telnet> QUIT
Connection closed.
[EMAIL PROTECTED] ~]# telnet localhost 10025
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 post-amavis-sabik.scarceskills.com ESMTP Postfix
EHLO local
250-post-amavis-sabik.scarceskills.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250 8BITMIME
QUIT
221 Bye
Connection closed by foreign host.
=============================
[EMAIL PROTECTED] ~]# more /etc/postfix/main.cf
# INTERNET HOST AND DOMAIN NAMES
myhostname = sabik.scarceskills.com
mydomain = scarceskills.com
inet_interfaces = all
# SENDING MAIL
myorigin = $mydomain
strict_rfc821_envelopes = yes
# TRUST AND RELAY CONTROL
mynetworks = 192.168.0.0/16, 127.0.0.0/8
# ADDRESS REDIRECTION (VIRTUAL DOMAIN)
virtual_maps = hash:/etc/postfix/virtual
alias_maps = hash:/etc/aliases
# DEBUGGING
soft_bounce = yes
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
# PATHS
mailbox_transport = cyrus
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.2.10/samples
readme_directory = /usr/share/doc/postfix-2.2.10/README_FILES
# virus scan all emails
content_filter = smtp-amavis:[127.0.0.1]:10024
============================
master.cf
...
smtp-amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
-o max_use=20
127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o myhostname=post-amavis-sabik.scarceskills.com
-o mynetworks=127.0.0.0/8
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
...
=============================
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/