Hello Michael Scheidell,
>First, did you use the ports version of amavisd/postfix/SA? (looks like you
>did)
Yes.
>Second, you have a non-standard installation, using the master.cf settings
>different than the 'normal' documentation on setting up amavisd/postfix/SA.
>You might start with looking over the documents first, putting amavisd as a
>filter in main.cf (not master.cf), removing anything 'strange'. See if it
>works.
I remove all 'strange'. This is my configuration:
main.cf:
smtpd_sender_restrictions = permit_mynetworks,
permit_sasl_authenticated,
check_sender_access hash:/usr/local/etc/postfix/check_sender,
reject_unknown_sender_domain,
reject_non_fqdn_sender,
reject_unverified_sender
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,
reject_unauth_destination
content_filter=smtp-amavis:[127.0.0.1]:10024
master.cf:
smtp inet n - n - 5 smtpd
smtp-amavis unix - - n - 5 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 - 5 smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_delay_reject=no
-o smtpd_client_restrictions=permit_mynetworks,reject
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks_style=host
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
-o smtpd_client_connection_count_limit=0
-o smtpd_client_connection_rate_limit=0
-o
receive_override_options=no_header_body_checks,no_unknown_recipient_checks
amavisd.conf:
$inet_socket_port = 10024;
$notify_method = 'smtp:[127.0.0.1]:10025';
$forward_method = 'smtp:[127.0.0.1]:10025'; # set to undef with milter!
$policy_bank{'ORIGINATING'} = { # mail supposedly originating from our users
originating => 1, # declare that mail was submitted by our smtp client
allow_disclaimers => 1, # enables disclaimer insertion if available
# notify administrator of locally originating malware
virus_admin_maps => ["virusale...@$mydomain"],
spam_admin_maps => ["virusale...@$mydomain"],
warnbadhsender => 1,
# forward to a smtpd service providing DKIM signing service
forward_method => 'smtp:[127.0.0.1]:10027',
# force MTA conversion to 7-bit (e.g. before DKIM signing)
smtpd_discard_ehlo_keywords => ['8BITMIME'],
bypass_banned_checks_maps => [1], # allow sending any file names and types
terminate_dsn_on_notify_success => 0, # don't remove NOTIFY=SUCCESS option
};
But I have the same error. I put
$log_level = 3;
in amavisd.conf. This is log:
Mar 16 18:04:50 mydomain.ua /usr/local/sbin/amavisd[6575]: (06575-08-3)
(!)rw_loop: leaving rw loop, no progress
Mar 16 18:04:50 mydomain.ua /usr/local/sbin/amavisd[6575]: (06575-08-3) smtp
resp to greeting:
Mar 16 18:04:50 mydomain.ua /usr/local/sbin/amavisd[6575]: (06575-08-3)
mail_via_smtp: session failed: Negative greeting: at (eval 81) line 578.
Mar 16 18:04:50 mydomain.ua /usr/local/sbin/amavisd[6575]: (06575-08-3) (!)FWD
via SMTP: <[email protected]> -> <[email protected]>,<[email protected]>,
451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting:
at (eval 81) line 578.): id=06575-08-3
Mar 16 18:04:50 mydomain.ua /usr/local/sbin/amavisd[6575]: (06575-08-3) DSN:
sender is credible (orig), SA: -11.569, <[email protected]>
Mar 16 18:04:50 mydomain.ua /usr/local/sbin/amavisd[6575]: (06575-08-3) Blocked
MTA-BLOCKED, MYNETS LOCAL [172.16.2.200] [172.16.2.200] <[email protected]> ->
<[email protected]>,<[email protected]>, Message-ID:
<[email protected]>, mail_id: rCjEK3hDJMc6, Hits: -11.569,
size: 3
03668, 30652 ms
Mar 16 18:04:50 mydomain.ua /usr/local/sbin/amavisd[6575]: (06575-08-3) sending
SMTP response: "451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect
(Negative greeting: at (eval 81) line 578.): id=06575-08-3"
Mar 16 18:04:50 mydomain.ua /usr/local/sbin/amavisd[6575]: (06575-08-3) TIMING
[total 30668 ms] - SMTP pre-DATA-flush: 10 (0%)0, SMTP DATA: 211 (1%)1, c
heck_init: 2 (0%)1, digest_hdr: 4 (0%)1, digest_body_dkim: 10 (0%)1,
gen_mail_id: 4 (0%)1, mime_decode: 115 (0%)1, get-file-type2: 45 (0%)1,
parts_decode
: 1 (0%)1, check_header: 6 (0%)1, spam-wb-list: 25 (0%)1, update_cache: 3
(0%)1, decide_mail_destiny: 5 (0%)1, fwd-end-chkpnt: 30181 (98%)100, prepare-ds
n: 3 (0%)100, main_log_entry: 28 (0%)100, update_snmp: 7 (0%)100, SMTP
pre-response: 1 (0%)100, SMTP response: 2 (0%)100, unlink-2-files: 3 (0%)100,
rund
own: 2 (0%)100
Mar 16 18:04:52 mydomain.ua /usr/local/sbin/amavisd[6575]: (06575-08-3) ESMTP:
NOTICE: client broke the connection without a QUIT ()
Mar 16 18:04:52 mydomain.ua /usr/local/sbin/amavisd[6575]: (06575-08-3) smtp
session rundown stale sessions, idle 32.1 s,
--
Best regards,
Doskochynskyi Ivan mailto:[email protected]
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
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/