Discussion:
Good value postfix/amavisd ?
(too old to reply)
Olivier CALVANO
2016-05-31 14:16:40 UTC
Permalink
Hi

they have a good value between Postfix and Amavisd ?:


My config:

/etc/amavisd/amavisd.conf
$max_servers = 10;


/etc/postfix/master.cf
amavisfeed unix - - n - 10 lmtp
-o lmtp_data_done_timeout=1200
-o lmtp_send_xforward_command=yes
-o disable_dns_lookups=yes
-o max_use=10

127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-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 smtpd_data_restrictions=reject_unauth_pipelining
-o smtpd_end_of_data_restrictions=
-o smtpd_restriction_classes=
-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
-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,no_milters,no_address_mappings
-o local_header_rewrite_clients=
-o smtpd_milters=
-o local_recipient_maps=
-o relay_recipient_maps=



my problems, we have all time the queue which overflows:


postqueue -p
-- 90962 Kbytes in 368 Requests.

and i have a big quantity of :

(lost connection with 127.0.0.1[127.0.0.1] while sending end of data --
message may be sent more than once)

(connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)

(host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing
channel (in reply to end of DATA command))




thanks for your suggestion
olivier
Patrick Ben Koetter
2016-05-31 14:53:40 UTC
Permalink
Hi
How many CPUs and how much RAM do you have in that machine?

***@rick
--
[*] sys4 AG

https://sys4.de, +49 (89) 30 90 46 64
Schleißheimer Straße 26/MG,80333 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein
Olivier CALVANO
2016-06-01 20:42:36 UTC
Permalink
Anyone ?
Post by Olivier CALVANO
Hi
/etc/amavisd/amavisd.conf
$max_servers = 10;
/etc/postfix/master.cf
amavisfeed unix - - n - 10 lmtp
-o lmtp_data_done_timeout=1200
-o lmtp_send_xforward_command=yes
-o disable_dns_lookups=yes
-o max_use=10
127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-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 smtpd_data_restrictions=reject_unauth_pipelining
-o smtpd_end_of_data_restrictions=
-o smtpd_restriction_classes=
-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
-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,no_milters,no_address_mappings
-o local_header_rewrite_clients=
-o smtpd_milters=
-o local_recipient_maps=
-o relay_recipient_maps=
postqueue -p
-- 90962 Kbytes in 368 Requests.
(lost connection with 127.0.0.1[127.0.0.1] while sending end of data --
message may be sent more than once)
(connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
(host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing
channel (in reply to end of DATA command))
thanks for your suggestion
olivier
Chris Lajoie
2016-06-01 20:55:53 UTC
Permalink
I had this problem as well. I just added 1 to $max_servers and I have not seen the problem. I don’t know if that’s the “right” solution to the problem, but it worked for me.

From: amavis-users [mailto:amavis-users-bounces+chris=***@amavis.org] On Behalf Of Olivier CALVANO
Sent: Wednesday, June 1, 2016 2:43 PM
To: amavis-***@amavis.org
Subject: Re: Good value postfix/amavisd ?

Anyone ?



Le mardi 31 mai 2016, Olivier CALVANO <***@gmail.com<mailto:***@gmail.com>> a écrit :
Hi

they have a good value between Postfix and Amavisd ?:


My config:

/etc/amavisd/amavisd.conf
$max_servers = 10;


/etc/postfix/master.cf<http://master.cf>
amavisfeed unix - - n - 10 lmtp
-o lmtp_data_done_timeout=1200
-o lmtp_send_xforward_command=yes
-o disable_dns_lookups=yes
-o max_use=10

127.0.0.1:10025<http://127.0.0.1:10025> inet n - n - - smtpd
-o content_filter=
-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 smtpd_data_restrictions=reject_unauth_pipelining
-o smtpd_end_of_data_restrictions=
-o smtpd_restriction_classes=
-o mynetworks=127.0.0.0/8<http://127.0.0.0/8>
-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,no_milters,no_address_mappings
-o local_header_rewrite_clients=
-o smtpd_milters=
-o local_recipient_maps=
-o relay_recipient_maps=



my problems, we have all time the queue which overflows:


postqueue -p
-- 90962 Kbytes in 368 Requests.

and i have a big quantity of :

(lost connection with 127.0.0.1[127.0.0.1] while sending end of data -- message may be sent more than once)

(connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)

(host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing channel (in reply to end of DATA command))




thanks for your suggestion
olivier
Patrick Domack
2016-06-02 14:38:34 UTC
Permalink
You never answered patrick's question, so we cannot offer you even a guess.
Post by Olivier CALVANO
Anyone ?
Post by Olivier CALVANO
Hi
/etc/amavisd/amavisd.conf
$max_servers = 10;
/etc/postfix/master.cf
amavisfeed unix - - n - 10 lmtp
-o lmtp_data_done_timeout=1200
-o lmtp_send_xforward_command=yes
-o disable_dns_lookups=yes
-o max_use=10
127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-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 smtpd_data_restrictions=reject_unauth_pipelining
-o smtpd_end_of_data_restrictions=
-o smtpd_restriction_classes=
-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
-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,no_milters,no_address_mappings
-o local_header_rewrite_clients=
-o smtpd_milters=
-o local_recipient_maps=
-o relay_recipient_maps=
postqueue -p
-- 90962 Kbytes in 368 Requests.
(lost connection with 127.0.0.1[127.0.0.1] while sending end of data --
message may be sent more than once)
(connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
(host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing
channel (in reply to end of DATA command))
thanks for your suggestion
olivier
Olivier CALVANO
2016-06-02 17:12:47 UTC
Permalink
Hi

I have answered but not at list sorry


2 CPU Quad cores 2.33 GHz (8 cpu in /proc/cpuinfo)
4 Go of Memory

Regards
Olivier
Post by Patrick Domack
You never answered patrick's question, so we cannot offer you even a guess.
Anyone ?
Hi
Post by Olivier CALVANO
/etc/amavisd/amavisd.conf
$max_servers = 10;
/etc/postfix/master.cf
amavisfeed unix - - n - 10 lmtp
-o lmtp_data_done_timeout=1200
-o lmtp_send_xforward_command=yes
-o disable_dns_lookups=yes
-o max_use=10
127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-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 smtpd_data_restrictions=reject_unauth_pipelining
-o smtpd_end_of_data_restrictions=
-o smtpd_restriction_classes=
-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
-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,no_milters,no_address_mappings
-o local_header_rewrite_clients=
-o smtpd_milters=
-o local_recipient_maps=
-o relay_recipient_maps=
postqueue -p
-- 90962 Kbytes in 368 Requests.
(lost connection with 127.0.0.1[127.0.0.1] while sending end of data --
message may be sent more than once)
(connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
(host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing
channel (in reply to end of DATA command))
thanks for your suggestion
olivier
Dino Edwards
2016-06-02 17:59:46 UTC
Permalink
Can you increase mem and see if the problem persists?

Is this the same machine you were having kernel issues with from a previous post?
Olivier CALVANO
2016-06-02 18:46:03 UTC
Permalink
Mem of the server ?

Yes same
Post by Dino Edwards
Can you increase mem and see if the problem persists?
Is this the same machine you were having kernel issues with from a
previous post?
Patrick Ben Koetter
2016-06-02 19:28:42 UTC
Permalink
Post by Olivier CALVANO
I have answered but not at list sorry
2 CPU Quad cores 2.33 GHz (8 cpu in /proc/cpuinfo)
4 Go of Memory
That's plenty of power. Have you used htop to take a look at system ressource
usage? I would expect your system has a lot of free ressources. A system like
yours should be able to process a rough average of 8 msg/sec. (if you scan for
virus *and* spam).

How many mails do need to process per minute?
Do you have swap space *or* dedicated tmpfs for amavis' tmp/ queue?
Post by Olivier CALVANO
Regards
Olivier
Post by Patrick Domack
You never answered patrick's question, so we cannot offer you even a guess.
Anyone ?
Hi
Post by Olivier CALVANO
/etc/amavisd/amavisd.conf
$max_servers = 10;
/etc/postfix/master.cf
amavisfeed unix - - n - 10 lmtp
-o lmtp_data_done_timeout=1200
-o lmtp_send_xforward_command=yes
-o disable_dns_lookups=yes
-o max_use=10
127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-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 smtpd_data_restrictions=reject_unauth_pipelining
-o smtpd_end_of_data_restrictions=
-o smtpd_restriction_classes=
-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
-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,no_milters,no_address_mappings
-o local_header_rewrite_clients=
-o smtpd_milters=
-o local_recipient_maps=
-o relay_recipient_maps=
postqueue -p
-- 90962 Kbytes in 368 Requests.
(lost connection with 127.0.0.1[127.0.0.1] while sending end of data --
message may be sent more than once)
(connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
(host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing
channel (in reply to end of DATA command))
thanks for your suggestion
olivier
--
[*] sys4 AG

https://sys4.de, +49 (89) 30 90 46 64
Schleißheimer Straße 26/MG,80333 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein
Dino Edwards
2016-06-02 22:23:47 UTC
Permalink
Yes

What did you do to fix the other issue?

-----Original Message-----
From: Olivier CALVANO [***@gmail.com]
Received: Thursday, 02 Jun 2016, 5:37PM
To: Dino Edwards [***@mydirectmail.net]
CC: amavis-***@amavis.org [amavis-***@amavis.org]
Subject: Re: Good value postfix/amavisd ?

Mem of the server ?

Yes same

Le jeudi 2 juin 2016, Dino Edwards <***@mydirectmail.net<mailto:***@mydirectmail.net>> a écrit :
Can you increase mem and see if the problem persists?

Is this the same machine you were having kernel issues with from a previous post?
Loading...