Re: [EXTERNAL] Mail queue took 3 hours to recover from a flood. Suggestions ?

2023-01-23 Thread Gerald Galster
> “replace Amavis with something faster” > > Any suggestions ? Add the following to amavisd.conf and restart: $log_level = 2; $log_templ = $log_verbose_templ; That way amavisd should log info about timing and rules which you can use to calculate how long it takes to process your average email

Re: [EXTERNAL] Re: Mail queue took 3 hours to recover from a flood. Suggestions ?

2023-01-23 Thread Curtis Maurand
ers@postfix.org" *Subject: *Re: [EXTERNAL] Re: Mail queue took 3 hours to recover from a flood. Suggestions ? On Mon, Jan 23, 2023 at 05:06:34PM +, White, Daniel E. (GSFC-770.0)[AEGIS] wrote: There was no outage. The queue filled faster than the processes could process them th

Re: [EXTERNAL] Mail queue took 3 hours to recover from a flood. Suggestions ?

2023-01-23 Thread Arrigo Triulzi
> On 23 Jan 2023, at 18:43, White, Daniel E. (GSFC-770.0)[AEGIS] > wrote: > When I checked, I found max_servers = 2 and max_requests is not set, You _must_ make sure that whatever you set for $max_servers matches what you have in your master.cf otherwise it is a pointless exercise - Postfix nee

Re: [EXTERNAL] Re: Mail queue took 3 hours to recover from a flood. Suggestions ?

2023-01-23 Thread Wietse Venema
White, Daniel E. (GSFC-770.0)[AEGIS]: > postfix/qmgr[PID]: warning: mail for [127.0.0.1]:10024 is using up NUMBER of > NUMBER active queue entries As Viktor noted, Amavis is unable to keep up with incoming mail. Find out why it is slow. This will require diving into details. Wietse

Re: [EXTERNAL] Mail queue took 3 hours to recover from a flood. Suggestions ?

2023-01-23 Thread White, Daniel E. (GSFC-770.0)[AEGIS]
Thanks, Arrigo This helped. When I checked, I found max_servers = 2 and max_requests is not set, From: Arrigo Triulzi Date: Monday, January 23, 2023 at 12:37 To: Daniel White Cc: "postfix-users@postfix.org" Subject: Re: [EXTERNAL] Mail queue took 3 hours to recover from a flood. S

Re: [EXTERNAL] Re: Mail queue took 3 hours to recover from a flood. Suggestions ?

2023-01-23 Thread Viktor Dukhovni
On Mon, Jan 23, 2023 at 05:30:00PM +, White, Daniel E. (GSFC-770.0)[AEGIS] wrote: > “replace Amavis with something faster” > > Any suggestions ? Well, how about *nothing*. If "nothing" is not the right answer, then perhaps you know what you're using Amavis for, which can be used to set cri

Re: [EXTERNAL] Mail queue took 3 hours to recover from a flood. Suggestions ?

2023-01-23 Thread Arrigo Triulzi
On 23 Jan 2023, at 18:30, White, Daniel E. (GSFC-770.0)[AEGIS] wrote: > > “replace Amavis with something faster” > Any suggestions ? Start by tuning amavis, see the end of https://www.ijs.si/software/amavisd/README.postfix.html - if you do not have enough copies and they don’t match what you

Re: [EXTERNAL] Mail queue took 3 hours to recover from a flood. Suggestions ?

2023-01-23 Thread Bill Cole
d side provides anything, but Viktor or Wietse will likely correct me if I'm wrong. From: Wietse Venema Date: Monday, January 23, 2023 at 11:28 To: Daniel White Cc: Postfix users Subject: [EXTERNAL] Re: Mail queue took 3 hours to recover from a flood. Suggestions ? White, Daniel E

Re: [EXTERNAL] Re: Mail queue took 3 hours to recover from a flood. Suggestions ?

2023-01-23 Thread White, Daniel E. (GSFC-770.0)[AEGIS]
“replace Amavis with something faster” Any suggestions ? From: on behalf of Viktor Dukhovni Reply-To: "postfix-users@postfix.org" Date: Monday, January 23, 2023 at 12:28 To: "postfix-users@postfix.org" Subject: Re: [EXTERNAL] Re: Mail queue took 3 hours to

Re: [EXTERNAL] Re: Mail queue took 3 hours to recover from a flood. Suggestions ?

2023-01-23 Thread Viktor Dukhovni
On Mon, Jan 23, 2023 at 05:06:34PM +, White, Daniel E. (GSFC-770.0)[AEGIS] wrote: > There was no outage. > The queue filled faster than the processes could process them through. > > I do not know which limit to increase to accommodate such bursts of traffic. > > I did find 27 instances of th

Re: [EXTERNAL] Re: Mail queue took 3 hours to recover from a flood. Suggestions ?

2023-01-23 Thread White, Daniel E. (GSFC-770.0)[AEGIS]
smtp_helo_timeout = 300s But where do I find smtp-amavis connect timeout ? Is it the milter_connect_timeout ? From: Wietse Venema Date: Monday, January 23, 2023 at 11:28 To: Daniel White Cc: Postfix users Subject: [EXTERNAL] Re: Mail queue took 3 hours to recover from a flood. Suggestions ? White, Daniel

Re: Mail queue took 3 hours to recover from a flood. Suggestions ?

2023-01-23 Thread Wietse Venema
White, Daniel E. (GSFC-770.0)[AEGIS]: > Around 12000 messages. > The queue went from ~3000 to over 12000 in about 30 minutes and then took 3 > hours to grind through all of them. > > I am still trying to determine if this was an accident or not. > The source claims it was not intentionally malici

Mail queue took 3 hours to recover from a flood. Suggestions ?

2023-01-23 Thread White, Daniel E. (GSFC-770.0)[AEGIS]
Around 12000 messages. The queue went from ~3000 to over 12000 in about 30 minutes and then took 3 hours to grind through all of them. I am still trying to determine if this was an accident or not. The source claims it was not intentionally malicious. Some postconf values: default_destination_

Re: Clarification on spf-policy on multiple incoming mail queue.

2022-09-08 Thread Wietse Venema
an...@ursc.gov.in: > Want to run a separate instance of postfix and make 2 incoming queues > (one each for a domain).? The new instance will listen on a new IP on > the same server. > > I have configured, spfpolicy for incoming mails in the already > existing queue (master.cf) and I want to

Clarification on spf-policy on multiple incoming mail queue.

2022-09-08 Thread anant
Hello, Want to run a separate instance of postfix and make 2 incoming queues (one each for a domain).  The new instance will listen on a new IP on the same server. I have configured, spfpolicy for incoming mails in the already existing queue (master.cf) and I want to do the same in new instanc

RE: nfs as storage for mail queue

2019-04-02 Thread De Petter Mattheas
    -Original Message- From: owner-postfix-us...@postfix.org On Behalf Of Wietse Venema Sent: 02 April 2019 13:16 To: Postfix users Subject: Re: nfs as storage for mail queue De Petter Mattheas: > Hello > Can somebody help me? $ su [password here] # postfix set-permissions # postfix

Re: nfs as storage for mail queue

2019-04-02 Thread Wietse Venema
De Petter Mattheas: > Hello > Can somebody help me? $ su [password here] # postfix set-permissions # postfix check Repeat until there are no warnings. BTW I cannot confirm whether a WINDOWS server can satisfy the file system properties that Postfix requires: see the section "Postfix file system

RE: nfs as storage for mail queue

2019-04-02 Thread De Petter Mattheas
N.V. T +32 (0)53 73 95 53 F +32 (0)53 21 00 31 www.jandenul.com<http://www.jandenul.com/> From: De Petter Mattheas Sent: 02 April 2019 08:39 To: Postfix users Subject: nfs as storage for mail queue Hello Can somebody help me? So I have setup the nfs share on a windows server 2016 with nfs

Re: nfs as storage for mail queue

2019-04-02 Thread Dominic Raferd
On Tue, 2 Apr 2019 at 07:40, De Petter Mattheas < mattheas.depet...@jandenul.com> wrote: > Hello > > > > Can somebody help me? > > > > So I have setup the nfs share on a windows server 2016 with nfs server > role. > > > > Security is set on the device ip of the postfix server read-write with > all

nfs as storage for mail queue

2019-04-01 Thread De Petter Mattheas
Hello Can somebody help me? So I have setup the nfs share on a windows server 2016 with nfs server role. Security is set on the device ip of the postfix server read-write with allow root access. In the main conf of postfix I have set the queue to the right dir queue_directory = /mnt/mail fst

Re: Mail Queue Stall Problem

2018-01-18 Thread Dennis Putnam
Thanks again. I will do so as soon as the problem recurs. On 1/18/2018 3:46 PM, Viktor Dukhovni wrote: > >> On Jan 18, 2018, at 3:26 PM, Dennis Putnam wrote: >> The messages show in mailq as having timed out and are a few days old. >>> They've probably maxed out the maximal_backoff_time

Re: Mail Queue Stall Problem

2018-01-18 Thread Viktor Dukhovni
> On Jan 18, 2018, at 3:26 PM, Dennis Putnam wrote: > >>> The messages show in mailq as having timed >>> out and are a few days old. >> They've probably maxed out the maximal_backoff_time and are tried >> infrequently, but are not forgotten. > The default is 4000 seconds according to the docs.

Re: Mail Queue Stall Problem

2018-01-18 Thread Dennis Putnam
Thanks for the reply. See embedded comments. Also note that all messages go through the same destination server. On 1/18/2018 2:55 PM, Viktor Dukhovni wrote: > >> On Jan 18, 2018, at 2:44 PM, Dennis Putnam wrote: >> >> I occasionally encounter a strange problem with the

Re: Mail Queue Stall Problem

2018-01-18 Thread Viktor Dukhovni
> On Jan 18, 2018, at 2:44 PM, Dennis Putnam wrote: > > I occasionally encounter a strange problem with the mail queue seemingly > not retrying failed messages. What is your definition of "not retrying"? Messages are retried periodically, with exponen

Mail Queue Stall Problem

2018-01-18 Thread Dennis Putnam
I occasionally encounter a strange problem with the mail queue seemingly not retrying failed messages. The messages show in mailq as having timed out and are a few days old. In the mean time other messages are going through just fine. As soon as I run postqueue -f those messages go through as well

Re: Mail queue with 110.000 mails

2017-03-27 Thread Viktor Dukhovni
> On Mar 27, 2017, at 3:30 PM, Kenneth Marshall wrote: > > If you have a shortage of entropy, and you require it for your random > number source, it can slow TLS connections. The typical solution is > to use either a pseudo-random source or a hw-based entropy source. Not in Postfix. Postfix us

Re: Mail queue with 110.000 mails

2017-03-27 Thread Kenneth Marshall
On Mon, Mar 27, 2017 at 04:55:46PM -0300, Roberto Carna wrote: > So should we use this setting for TLS options in main.cf in order to > slow down the key generation time: > > tls_random_source = dev:/dev/urandom > > ??? > > > Thanks again. Yes, that is what we use here. Regards, Ken

Re: Mail queue with 110.000 mails

2017-03-27 Thread Roberto Carna
So should we use this setting for TLS options in main.cf in order to slow down the key generation time: tls_random_source = dev:/dev/urandom ??? Thanks again. 2017-03-27 16:30 GMT-03:00 Kenneth Marshall : > On Mon, Mar 27, 2017 at 04:06:46PM -0300, Alejandro Cabrera Obed wrote: >> Dear, thanks

Re: Mail queue with 110.000 mails

2017-03-27 Thread Kenneth Marshall
On Mon, Mar 27, 2017 at 04:06:46PM -0300, Alejandro Cabrera Obed wrote: > Dear, thanksis it possible that the STARTTLS settings slow down mail > processing? In this mail relay server, the connections as "client" to the > corporate mail server are always encrypted with the TLS, with the > corres

Re: Mail queue with 110.000 mails

2017-03-27 Thread Viktor Dukhovni
> On Mar 27, 2017, at 3:06 PM, Alejandro Cabrera Obed wrote: > > Dear, thanksis it possible that the STARTTLS settings slow down mail > processing? In this mail relay server, the connections as "client" to the > corporate mail server are always encrypted with the TLS, with the > correspon

Re: Mail queue with 110.000 mails

2017-03-27 Thread Alejandro Cabrera Obed
nks to all. Roberto 2017-03-27 15:56 GMT-03:00 Viktor Dukhovni : > > > On Mar 27, 2017, at 2:27 PM, Roberto Carna > wrote: > > > > Dear, yesterday I realized that the mail queue of my SMTP relay server > > is about 110.000 mails, > >http://www.postfix.org/QSH

Re: Mail queue with 110.000 mails

2017-03-27 Thread Geert Stappers
On Mon, Mar 27, 2017 at 06:45:05PM +, chaouche yacine wrote: > Hello, > > I am curious to know why do you have 110 000 mails in the mail queue > to begin with ? are they all deferred mail ? and if so, can you report > the log line that could contian the reason of the def

Re: Mail queue with 110.000 mails

2017-03-27 Thread Viktor Dukhovni
> On Mar 27, 2017, at 2:27 PM, Roberto Carna wrote: > > Dear, yesterday I realized that the mail queue of my SMTP relay server > is about 110.000 mails, http://www.postfix.org/QSHAPE_README.html > and the warning log file tell me: > > Mar 20 10:00:08 RELAY1 postfix

Re: Mail queue with 110.000 mails

2017-03-27 Thread chaouche yacine
Hello, I am curious to know why do you have 110 000 mails in the mail queue to begin with ? are they all deferred mail ? and if so, can you report the log line that could contian the reason of the defer ? It happened to me once when I have (mis)configured quotas for my users. When a user

RE: Mail queue with 110.000 mails

2017-03-27 Thread Fazzina, Angelo
Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Roberto Carna Sent: Monday, March 27, 2017 2:28 PM To: postfix-users@postfix.org Subject: Mail queue with 110.000 mails Dear, yesterday I realized that the mail queue of my SMTP relay server is

Mail queue with 110.000 mails

2017-03-27 Thread Roberto Carna
Dear, yesterday I realized that the mail queue of my SMTP relay server is about 110.000 mails, and the warning log file tell me: Mar 20 10:00:08 RELAY1 postfix/qmgr[55666]: warning: mail for [10.0.0.1] is using up 2 of 2 active queue entries Mar 20 10:00:09 RELAY1 postfix/qmgr[55666

Re: Monitoring Postfix Mail queue with SNMP

2017-03-26 Thread Voytek
On Sat, March 18, 2017 4:06 am, Sean Son wrote: > Hello all > > > We would like to monitor Postfix mail queues using SMNP so we can receive > alerts whenever the mail queue reaches a certain threshold. What OID and > MIB would we have to use to be able to monitor Postfix mail

Re: Monitoring Postfix Mail queue with SNMP

2017-03-18 Thread Wietse Venema
Geert Stappers: > On Fri, Mar 17, 2017 at 01:25:45PM -0400, Viktor Dukhovni wrote: > > > On Mar 17, 2017, at 1:06 PM, Sean Son > > > wrote: > > > > > > Hello all > > > > > > We would like to monitor Postfix mail queues using SMNP so we &

Re: Monitoring Postfix Mail queue with SNMP

2017-03-18 Thread Geert Stappers
On Fri, Mar 17, 2017 at 01:25:45PM -0400, Viktor Dukhovni wrote: > > On Mar 17, 2017, at 1:06 PM, Sean Son > > wrote: > > > > Hello all > > > > We would like to monitor Postfix mail queues using SMNP so we > > can receive alerts whenever the mail queue

Re: Monitoring Postfix Mail queue with SNMP

2017-03-17 Thread Viktor Dukhovni
> On Mar 17, 2017, at 1:06 PM, Sean Son > wrote: > > Hello all > > We would like to monitor Postfix mail queues using SMNP so we can receive > alerts whenever the mail queue reaches a certain threshold. What OID and MIB > would we have to use to be able to monitor

Monitoring Postfix Mail queue with SNMP

2017-03-17 Thread Sean Son
Hello all We would like to monitor Postfix mail queues using SMNP so we can receive alerts whenever the mail queue reaches a certain threshold. What OID and MIB would we have to use to be able to monitor Postfix mail queues? Thank you for all of your help in this post and other posts of mine

Re: Mail queue free space issue

2016-03-24 Thread Wietse Venema
Wietse Venema: > The code in question is > > double smtpd_space_multf = 1.5; > > #define BLOCKS(x) ((x) / fsbuf.block_size) > > if (BLOCKS(var_queue_minfree) >= fsbuf.block_free > || BLOCKS(var_message_limit) >= fsbuf.block_free / smtpd_space_multf) { > (void) smtpd_chec

Re: Mail queue free space issue

2016-03-24 Thread Andy Theuninck
Sorry, I knew I forgot a detail. I'm running 2.11.0 on Ubuntu 14.04 (their build). I'm not expecting 10GB emails; that's purely lazy administration on my part. I'm expecting larger than average attachments, saw some bounces due to size, and just tacked several zeroes onto the end of the limit. I'm

Re: Mail queue free space issue

2016-03-24 Thread Bastian Blank
Hi Andy On Thu, Mar 24, 2016 at 10:24:16AM -0500, Andy Theuninck wrote: > message_size_limit = 1024000 Are you seriously accepting 10GB mails? This number is larger then 2^32. Bastian -- History tends to exaggerate. -- Col. Green, "The Savage Curtain", stardate 5906.4

Re: Mail queue free space issue

2016-03-24 Thread Wietse Venema
CKS(var_message_limit) >= fsbuf.block_free / smtpd_space_multf) { (void) smtpd_check_reject(state, MAIL_ERROR_RESOURCE, 452, "4.3.1", "Insufficient system storage"); msg_warn("not enoug

Mail queue free space issue

2016-03-24 Thread Andy Theuninck
2:13 steve postfix/smtpd[30459]: warning: not enough free space in mail queue: 908328873984 bytes < 1.5*message size limit postconf -nf: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no config_directory = /etc/postfix inet_interfaces

Re: notify by email mail queue

2014-02-23 Thread Pol Hallen
Cheers! Very thanks boy :-) Pol > Am 23.02.2014 19:22, schrieb Pol Hallen: >> Hi all :-) I'm searching for how notify by email the mail queue... (if >> there're emails inside queue). Any idea? > > will not help much if it's too late and you reveive > no

Re: notify by email mail queue

2014-02-23 Thread li...@rhsoft.net
Am 23.02.2014 19:22, schrieb Pol Hallen: > Hi all :-) I'm searching for how notify by email the mail queue... (if > there're emails inside queue). Any idea? will not help much if it's too late and you reveive no mails at all but in most caes enough to realize that there

notify by email mail queue

2014-02-23 Thread Pol Hallen
Hi all :-) I'm searching for how notify by email the mail queue... (if there're emails inside queue). Any idea? thanks! Pol

Re: 1 mail being stuck in incoming mail queue.

2013-09-19 Thread Jeroen Geilman
On 09/12/2013 03:17 AM, Josh Cason wrote: The two entries in log file. I change a few things to protect my mail server, client and sender. But you should get the idea. This is how my mailserver system is setup. cisco router - assp spam filter - postfix mailserver with mailscanner. Mailscanner

Re: 1 mail being stuck in incoming mail queue.

2013-09-11 Thread Josh Cason
nal Message - From: "Viktor Dukhovni" To: Sent: Wednesday, September 11, 2013 2:44 PM Subject: Re: 1 mail being stuck in incoming mail queue. On Wed, Sep 11, 2013 at 02:15:34PM -0600, Josh Cason wrote: I have this 1 email from 1 company from 1 person who for some reason gets stuck i

Re: 1 mail being stuck in incoming mail queue.

2013-09-11 Thread Wietse Venema
Wietse Venema: > Josh Cason: > > I have this 1 email from 1 company from 1 person who for some > > reason gets stuck in the incoming folder. Mail After it goes > > through. Mail Before it goes through. The maillog show the message > > showing up. Then that is it. The file stays in chmod 600. I fou

Re: 1 mail being stuck in incoming mail queue.

2013-09-11 Thread Wietse Venema
Josh Cason: > I have this 1 email from 1 company from 1 person who for some > reason gets stuck in the incoming folder. Mail After it goes > through. Mail Before it goes through. The maillog show the message > showing up. Then that is it. The file stays in chmod 600. I found A file with mode 600

Re: 1 mail being stuck in incoming mail queue.

2013-09-11 Thread Viktor Dukhovni
On Wed, Sep 11, 2013 at 02:15:34PM -0600, Josh Cason wrote: > I have this 1 email from 1 company from 1 person who for some > reason gets stuck in the incoming folder. Mail After it goes through. > Mail Before it goes through. The maillog show the message showing > up. Then that is it. The file st

1 mail being stuck in incoming mail queue.

2013-09-11 Thread Josh Cason
I have this 1 email from 1 company from 1 person who for some reason gets stuck in the incoming folder. Mail After it goes through. Mail Before it goes through. The maillog show the message showing up. Then that is it. The file stays in chmod 600. I found a suggestion of putting -v behind picku

Re: Relay attempts from bot filling mail queue and getting my server blacklisted: how's it happening?

2013-06-04 Thread Wietse Venema
b...@indietorrent.org: > For the sake of thoroughness, and because I'm expected to perform a > root-cause-analysis, I'm following-up on this after noticing that there was > a missing comma in the smtpd_recipient_restrictions directive (after > check_recipient_access on the third line): > > smtpd_r

Re: Relay attempts from bot filling mail queue and getting my server blacklisted: how's it happening?

2013-06-04 Thread Viktor Dukhovni
On Tue, Jun 04, 2013 at 12:25:16PM -0700, b...@indietorrent.org wrote: > For the sake of thoroughness, and because I'm expected to perform a > root-cause-analysis, I'm following-up on this after noticing that there was > a missing comma in the smtpd_recipient_restrictions directive (after > check_

Re: Relay attempts from bot filling mail queue and getting my server blacklisted: how's it happening?

2013-06-04 Thread ben
On Wed, 29 May 2013 10:34:37 -0400, Ben Johnson wrote: > On 5/28/2013 1:38 PM, Wietse Venema wrote: >> Viktor Dukhovni: >>> On Tue, May 28, 2013 at 01:18:25PM -0400, Wietse Venema wrote: >>> I strongly suggest that you swap the order of the following two rules in main.cf: c

Re: Relay attempts from bot filling mail queue and getting my server blacklisted: how's it happening?

2013-05-29 Thread Ben Johnson
On 5/28/2013 1:38 PM, Wietse Venema wrote: > Viktor Dukhovni: >> On Tue, May 28, 2013 at 01:18:25PM -0400, Wietse Venema wrote: >> >>> I strongly suggest that you swap the order of the following >>> two rules in main.cf: >>> >>> check_recipient_access mysql:/etc/postfix/mysql-virtual_recipien

Re: Relay attempts from bot filling mail queue and getting my server blacklisted: how's it happening?

2013-05-28 Thread Wietse Venema
Viktor Dukhovni: > On Tue, May 28, 2013 at 01:18:25PM -0400, Wietse Venema wrote: > > > I strongly suggest that you swap the order of the following > > two rules in main.cf: > > > > check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, > > reject_unauth_destination, > > >

Re: Relay attempts from bot filling mail queue and getting my server blacklisted: how's it happening?

2013-05-28 Thread Viktor Dukhovni
On Tue, May 28, 2013 at 01:18:25PM -0400, Wietse Venema wrote: > I strongly suggest that you swap the order of the following > two rules in main.cf: > > check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, > reject_unauth_destination, > > This should be: > > r

Re: Relay attempts from bot filling mail queue and getting my server blacklisted: how's it happening?

2013-05-28 Thread Wietse Venema
Wietse Venema: > Ben Johnson: > > Hello, > > > > I am experiencing something very similar to, or exactly the same as, > > what is described at > > http://www.tolaris.com/2009/07/15/stopping-spam-botnets-with-fail2ban/ . I strongly suggest that you swap the order of the following two rules in main

Re: Relay attempts from bot filling mail queue and getting my server blacklisted: how's it happening?

2013-05-28 Thread Wietse Venema
Ben Johnson: > Hello, > > I am experiencing something very similar to, or exactly the same as, > what is described at > http://www.tolaris.com/2009/07/15/stopping-spam-botnets-with-fail2ban/ . You need to show Postfix logs of the unwanted mail as it arrives **from the internet**, not as it comes

Relay attempts from bot filling mail queue and getting my server blacklisted: how's it happening?

2013-05-28 Thread Ben Johnson
Hello, I am experiencing something very similar to, or exactly the same as, what is described at http://www.tolaris.com/2009/07/15/stopping-spam-botnets-with-fail2ban/ . Basically, someone/something has been attempting to relay mail through my server (at least I believe that to be what's happenin

Re: Huge mail queue

2013-05-28 Thread /dev/rob0
software you might have installed outside the OS's packaging system? > as content filter, recently mail server not responding because of > huge mail queue, content filter cpu usage is 100%, my investigation > found more than 18k mails are in que, sender email address is > m..

Huge mail queue

2013-05-27 Thread Ramesh
Hi All, Greetings! Our mail server configured Postfix version 2.4.5 with mailmarshal as content filter, recently mail server not responding because of huge mail queue, content filter cpu usage is 100%, my investigation found more than 18k mails are in que, sender email address is m

Re: Mail Queue Replication

2013-02-21 Thread DTNX Postmaster
On Feb 21, 2013, at 10:16, Goutam Baul wrote: > We are running postfix-2.3.3-2 on RHEL 5.4 (32bit). The reason for running > such an old version is the non-availability of the currently used security > suite on newer version of OS and this issues are likely to be addressed > within a couple of

Mail Queue Replication

2013-02-21 Thread Goutam Baul
Dear List, We are running postfix-2.3.3-2 on RHEL 5.4 (32bit). The reason for running such an old version is the non-availability of the currently used security suite on newer version of OS and this issues are likely to be addressed within a couple of weeks. Our system is handling mails of

Re: Mail queue not being cleared per setting

2012-11-08 Thread Josh Berkus
Noel, > max_queue_lifetime will reduce the amount of time undeliverable mail > hangs around in the queue, regardless of the reason. > > You can set it lower, but with caution -- postfix can't tell the > difference between a domain that will never work and some legit > domain that happens to be do

Re: Mail queue not being cleared per setting

2012-11-07 Thread Noel Jones
On 11/7/2012 8:47 PM, Josh Berkus wrote: > On 11/7/12 6:37 PM, Jeroen Geilman wrote: >> On 11/07/2012 10:03 PM, Josh Berkus wrote: Non-deliverable mail is returned to sender when either the remote server gives a 5xx "undeliverable" response, or $max_queue_lifetime expires.

Re: Mail queue not being cleared per setting

2012-11-07 Thread Josh Berkus
On 11/7/12 6:37 PM, Jeroen Geilman wrote: > On 11/07/2012 10:03 PM, Josh Berkus wrote: >>> Non-deliverable mail is returned to sender when either the remote >>> server gives a 5xx "undeliverable" response, or $max_queue_lifetime >>> expires. >>> >>> Undelivered mail will hang around in the queue if

Re: Mail queue not being cleared per setting

2012-11-07 Thread Jeroen Geilman
On 11/07/2012 10:03 PM, Josh Berkus wrote: Non-deliverable mail is returned to sender when either the remote server gives a 5xx "undeliverable" response, or $max_queue_lifetime expires. Undelivered mail will hang around in the queue if the remote server gives a 4xx "retry" response, or the remot

Re: Mail queue not being cleared per setting

2012-11-07 Thread Josh Berkus
> Non-deliverable mail is returned to sender when either the remote > server gives a 5xx "undeliverable" response, or $max_queue_lifetime > expires. > > Undelivered mail will hang around in the queue if the remote server > gives a 4xx "retry" response, or the remote server exists but is > unreach

Re: Mail queue not being cleared per setting

2012-11-07 Thread Noel Jones
On 11/7/2012 2:47 PM, Josh Berkus wrote: > Folks, > > We had to restore a mailing list (mailman) from an old backup. This > means it included hundreds of now-invalid email addresses. > > As such, I set up mailmain to remove addresses on the first b0unce, and > set up postfix to b0unce outgoing m

Mail queue not being cleared per setting

2012-11-07 Thread Josh Berkus
Folks, We had to restore a mailing list (mailman) from an old backup. This means it included hundreds of now-invalid email addresses. As such, I set up mailmain to remove addresses on the first b0unce, and set up postfix to b0unce outgoing messages on the first refusal (I thought). The way I di

Re: mail queue

2012-06-18 Thread Tom Kinghorn
Put mail "on hold" so that no attempt is made to deliver it. Move one message with the named queue ID from the named mail queue(s) (default: incoming, active and deferred) to the hold queue. If a queue_id of - is specified, the program reads queue IDs

mail queue

2012-06-18 Thread Amira Othman
Hi all I need to manage message in hold queue according to domain of recipient address. How can I do that ? I thought of edit mailq command but it's not readable when I tried to edit .any suggestions?

Re: special mail queue ?

2012-05-29 Thread Frank Bonnet
On 05/29/2012 04:09 PM, Viktor Dukhovni wrote: On Tue, May 29, 2012 at 03:54:19PM +0200, Frank Bonnet wrote: I have a request from staff here. They need to manually post personalized emails to around 100 professors the person who will send those emails wants to verify each email before sending

Re: special mail queue ?

2012-05-29 Thread Viktor Dukhovni
On Tue, May 29, 2012 at 03:54:19PM +0200, Frank Bonnet wrote: > I have a request from staff here. > > They need to manually post personalized emails to around 100 professors > the person who will send those emails wants to verify each email before > sending it but all emails have to be send at th

special mail queue ?

2012-05-29 Thread Frank Bonnet
Hello I have a request from staff here. They need to manually post personalized emails to around 100 professors the person who will send those emails wants to verify each email before sending it but all emails have to be send at the same time for administratives reasons ... Is it possible to

Re: migrate postfix and mail queue

2011-01-27 Thread Daniel Madaoui
Thanks for your response. I read the RELEASES_NOTES and my upgrade was fine. Cheers Daniel Madaoui --On 26 janvier 2011 07:04:11 -0500 Wietse Venema wrote: Daniel Madaoui: if I migrate from postfix 2.2.7 to 2.8.0 postfix, what 's up with the mails contained in the mails queues. Will th

Re: migrate postfix and mail queue

2011-01-26 Thread Wietse Venema
Daniel Madaoui: > > if I migrate from postfix 2.2.7 to 2.8.0 postfix, what 's up with the mails > contained in the mails queues. Will they be recovered ? Perhaps surprisingly, Postfix can read the queue/config/etc. files from earlier Postfix versions. Incompatibilities with earlier versions ar

migrate postfix and mail queue

2011-01-26 Thread Daniel Madaoui
if I migrate from postfix 2.2.7 to 2.8.0 postfix, what 's up with the mails contained in the mails queues. Will they be recovered ? Thanks in advance Daniel Madaoui

Re: Queue-IDs don't change after mail queue transfer

2010-11-14 Thread Victor Duchovni
On Sun, Nov 14, 2010 at 01:26:58PM +0100, Stefan Foerster wrote: > Due to hardware problems, I had to move our "graveyard mailout" to > another server. So I copied the relevant configuration files and then > moved the mailqueue to the new server using rsync. After that, I > executed > > postmulti

Re: Queue-IDs don't change after mail queue transfer

2010-11-14 Thread Wietse Venema
Stefan Foerster: > Due to hardware problems, I had to move our "graveyard mailout" to > another server. So I copied the relevant configuration files and then > moved the mailqueue to the new server using rsync. After that, I > executed > > postmulti -i postfix-gy -x postsuper -s > > I expected a

Queue-IDs don't change after mail queue transfer

2010-11-14 Thread Stefan Foerster
d that the "postfix-gy" instance is working properly by destroying it, recreating it and feeding it some mails via SMTP. I can easily write a few lines of Perl to feed the backup of the old mail queue to the new instance that way - would that be a viable workaround? Thanks Stefan

Re: email Status in mail queue

2010-04-21 Thread Wietse Venema
sed through milters then only email is received > fully from foreign email server. Conforming to the SMTP standard, the Postfix SMTP server replies "250 OK" to end-of-data AFTER the message is committed to the mail queue. This is regardless of whether there is a filter between the P

email Status in mail queue

2010-04-21 Thread Sharma, Ashish
from foreign email server. 2. In after queue content filter, the email is passed to the content filter from postfix queue and only if it's reinjected back into postfix, postfix have a reference of it else the email is lost and no reference etc is maintained in the postfix mail queue. Am

Re: Taking over a mail queue from another node

2010-01-28 Thread Stefan Foerster
* Victor Duchovni : > On Thu, Jan 28, 2010 at 06:39:34PM +0100, Stefan Foerster wrote: > > If the node doesn't have to process any new incoming mail, will qmgr > > be able to handle six digit deferred queues? > > So long as you just drain this queue, and don't take in any new mail, > the large def

Re: Taking over a mail queue from another node

2010-01-28 Thread Victor Duchovni
On Thu, Jan 28, 2010 at 06:39:34PM +0100, Stefan Foerster wrote: > > Only needed when restoring from backups, copying queue files, ... Not > > needed when mounting a filesystem. > > I think the manpage for postsuper recommends executing it at least > once before starting up Postfix. Can it do any

Re: Taking over a mail queue from another node

2010-01-28 Thread Stefan Foerster
* Victor Duchovni : > On Thu, Jan 28, 2010 at 06:13:33PM +0100, Stefan Foerster wrote: > > If in a mail cluster, with multiple machines having access to a shared > > storage device (SAN, iSCSI) which is presented to the host as a normal > > block device (e.g. /dev/sda, hosting a normal ext3 filesys

Re: Taking over a mail queue from another node

2010-01-28 Thread Victor Duchovni
On Thu, Jan 28, 2010 at 06:13:33PM +0100, Stefan Foerster wrote: > If in a mail cluster, with multiple machines having access to a shared > storage device (SAN, iSCSI) which is presented to the host as a normal > block device (e.g. /dev/sda, hosting a normal ext3 filesystem), one of > the mail nod

Taking over a mail queue from another node

2010-01-28 Thread Stefan Foerster
If in a mail cluster, with multiple machines having access to a shared storage device (SAN, iSCSI) which is presented to the host as a normal block device (e.g. /dev/sda, hosting a normal ext3 filesystem), one of the mail nodes fails, what are the necessary Postfix steps to take over the queue on a

Re: Postfix Mail Queue Monitor

2009-09-30 Thread Victor Duchovni
On Tue, Sep 29, 2009 at 10:55:32PM +0200, Len Conrad wrote: > here's mine, very fast with "find": > > #!/bin/sh > > for Q in incoming active deferred hold > do > SIZE=`find /mail/spool/postfix/$Q -maxdepth 5 -type f | wc -l | tr -d ' '` > dd if=/dev/zero bs=1 count=$SIZE of=/var/db/postfix/q_siz

Re: Postfix Mail Queue Monitor

2009-09-29 Thread Len Conrad
>2009/9/30 Scott Miller : >> In case anyone is interested, I've attached a working Postfix Mail Queue >> Monitor for nagios - It's working for me as is, but if anyone has any >> suggested modifications I'd be glad to look at them. > >We do something like

Re: Postfix Mail Queue Monitor

2009-09-29 Thread Barney Desmond
2009/9/30 Scott Miller : > In case anyone is interested, I've attached a working Postfix Mail Queue > Monitor for nagios - It's working for me as is, but if anyone has any > suggested modifications I'd be glad to look at them. We do something like this where I work, a

Postfix Mail Queue Monitor

2009-09-29 Thread Scott Miller
In case anyone is interested, I've attached a working Postfix Mail Queue Monitor for nagios - It's working for me as is, but if anyone has any suggested modifications I'd be glad to look at them. Thanks, Scott Miller #! /usr/bin/perl -w # Copyright (c) 2002 Oregon State Unive

Re: Mail Queue Notification

2009-09-28 Thread Paul Beard
On Sep 28, 2009, at 10:27 AM, "Scott Miller" wrote: I’m wondering if there is a script available that will send out an S MS or e-mail message when the postfix mail queue reaches a certain t hreshold, for instance, 100 or 1000 messages. Sounds more like a cron or logwatch tas

Mail Queue Notification

2009-09-28 Thread Scott Miller
I'm wondering if there is a script available that will send out an SMS or e-mail message when the postfix mail queue reaches a certain threshold, for instance, 100 or 1000 messages. I've searched google, but haven't had much luck, or have searched for the wrong thing. Any

Re: Fast up the mail queue

2009-09-11 Thread Wietse Venema
Alejandro Facultad: > Dear all, I have Debian Etch + Postfix 2.3.8 and I want to fast > up te mail queue, because sometines I notice that the messages > are delivered with some delay. The reason for the delay is logged in the maillog file. > How can acelerate the sending of message

  1   2   >