Re: Running a script, archiving, then forwarding.

2011-03-10 Thread Wietse Venema
One final refinement: add a "-o soft_bounce=yes" to the pipe command as shown below (and ececute "postfix reload"). With this, when the script fails Postfix will retry the recipient until the message is too old. Without the soft_bounce option, Postfix 2.2 and older report the bcc recipient to send

RE: Running a script, archiving, then forwarding.

2011-03-10 Thread Alan Fullmer
-Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Jeroen Geilman Sent: Thursday, March 10, 2011 4:44 PM To: postfix-users@postfix.org Subject: Re: Running a script, archiving, then forwarding. On 03/11/2011 12:26 AM, Alan Full

Re: postscreen deep protocol tests without mail delays

2011-03-10 Thread Wietse Venema
Nathan M: > On Thu, Feb 24, 2011 at 8:29 AM, Wietse Venema wrote: > > While looking at the logs, I noticed that I had found a solution > > for the mail delivery delay after a deep protocol test. The solution > > is so simple that it should have been obvious long ago: > > > > - Client connects to p

Re: Running a script, archiving, then forwarding.

2011-03-10 Thread Jeroen Geilman
On 03/11/2011 12:26 AM, Alan Fullmer wrote: -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Wietse Venema Sent: Saturday, March 05, 2011 6:26 PM To: Postfix users Subject: Re: Running a script, archiving, then forwarding. A

Re: postscreen deep protocol tests without mail delays

2011-03-10 Thread Nathan M
On Thu, Feb 24, 2011 at 8:29 AM, Wietse Venema wrote: > While looking at the logs, I noticed that I had found a solution > for the mail delivery delay after a deep protocol test. The solution > is so simple that it should have been obvious long ago: > > - Client connects to primary MX address, goe

RE: Running a script, archiving, then forwarding.

2011-03-10 Thread Alan Fullmer
-Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Wietse Venema Sent: Saturday, March 05, 2011 6:26 PM To: Postfix users Subject: Re: Running a script, archiving, then forwarding. Alan Fullmer: > I am attempting to receive ma

Re: Limiting outgoing SMTP connections when relaying message

2011-03-10 Thread Tim
Victor Duchovni wrote: On Thu, Mar 10, 2011 at 06:18:25PM +, Tim wrote: So the idea of this is to restrict SMTP conversations to 1Mbps? Won't that actually make the problem far worse? That depends on whether the problem description is correct. If 100 parallel deliveries of a given message

Re: Max msgs to 1 recipient - default_destination_concurrency_limit.

2011-03-10 Thread Victor Duchovni
On Thu, Mar 10, 2011 at 03:27:50PM -0300, Lauro Costa G. Borges wrote: > I'm trying to limit how many messages can be sent to a recipient. - A specific set of recipients or as a general rule? - Per sender, or across the entire MTA? - Why? > What am I doing wrong? Not explaining the goals cl

Re: check client ip only if mail has a particular header

2011-03-10 Thread Stan Hoeppner
Giovanni Mancuso put forth on 3/10/2011 11:19 AM: > On 10/03/2011 15:04, Stan Hoeppner wrote: >> Giovanni Mancuso put forth on 3/10/2011 7:22 AM: >>> Hi, >>> I would configure my postfix to control if client ip is in blacklist >>> only if the mail have a particolar header. >>> I tried to create a

Re: GeoIP based rejections

2011-03-10 Thread Stan Hoeppner
Mark Watts put forth on 3/10/2011 9:57 AM: > I'm already using three RBL's (b.barracudacentral.org, zen.spamhaus.org > and dnsbl.sorbs.net) yet I'm still seeing a fair amount of spam coming > in from Russian and Romanian IP ranges that isn't blocked. It would be helpful if you posted your 'postco

Max msgs to 1 recipient - default_destination_concurrency_limit.

2011-03-10 Thread Lauro Costa G. Borges
I'm using Postfix 2.7.0. I'm trying to limit how many messages can be sent to a recipient. I would like it to be about 10 per minute, but I noticed it's not possible (?) to do exactly that, from what I read at: http://postfix.eu.org/rate.html So I tried this: initial_destination_concu

Re: having and custome queue in postfix same as like HOLD queue

2011-03-10 Thread Jeroen Geilman
On 03/10/2011 12:32 PM, kshitij mali wrote: Thanks Jeron , thanks again for taking interset to my case . The thing is that i dont get spam any more . The last incidient was like one of our application server in the infarsturture uses my relay server to relay email in the internet what the unix

Re: round-robin sending SMTP server ?

2011-03-10 Thread Stan Hoeppner
Frank Bonnet put forth on 3/10/2011 9:55 AM: > Hello > > Is it possible to configure postfix to use some round-robin > mechanisms to send emails with several SMTP servers ? > > I mean to SEND emails to the external world, not to receive. I touched on this recently but in a different context, tha

Re: round-robin sending SMTP server ?

2011-03-10 Thread Jeroen Geilman
On 03/10/2011 04:55 PM, Frank Bonnet wrote: Hello Is it possible to configure postfix to use some round-robin mechanisms to send emails with several SMTP servers ? I mean to SEND emails to the external world, not to receive. Thank you. I'm not sure what you are asking for here - do you m

Re: timeout after CONNECT, no HELO/EHLO response from clients

2011-03-10 Thread Victor Duchovni
On Thu, Mar 10, 2011 at 02:35:56PM -0500, Adam N. Copeland wrote: > This is happening to many clients that are trying to deliver to my domain. > > This is a pretty straightforward example of a connection and failure. > This is not spam, it's verified legitimate traffic from another .edu > that su

Re: timeout after CONNECT, no HELO/EHLO response from clients

2011-03-10 Thread Adam N. Copeland
This is happening to many clients that are trying to deliver to my domain. This is a pretty straightforward example of a connection and failure. This is not spam, it's verified legitimate traffic from another .edu that successfully delivers to other domains. Mar 10 12:12:30 pmx4 postfix/smtpd[257

Re: Limiting outgoing SMTP connections when relaying message

2011-03-10 Thread Victor Duchovni
On Thu, Mar 10, 2011 at 06:18:25PM +, Tim wrote: > So the idea of this is to restrict SMTP conversations to 1Mbps? Won't that > actually make the problem far worse? That depends on whether the problem description is correct. If 100 parallel deliveries of a given message result in timeouts to

Re: Limiting outgoing SMTP connections when relaying message

2011-03-10 Thread Tim
Reinaldo de Carvalho wrote: On Wed, Mar 9, 2011 at 6:40 PM, Tim wrote: What happens is that Postfix receives the message from the sender, queues it, then immediately connects to *all* of the destination servers simultaneously and starts sending the message to them. This completely saturates the

Re: regular expressions was: Kernel Oops

2011-03-10 Thread Steven Champeon
on Wed, Mar 09, 2011 at 11:00:34AM +1100, Erik de Castro Lopo wrote: > My idea was to autogenerate the complex regexes using > something like this: > > 178.183.237.0.dsl.dynamic.eranet.pl > 183.246.69.111.dynamic.snap.net.nz > 188.146.109.136.nat.umts.dynamic.eranet.pl > > as input.

Re: check client ip only if mail has a particular header

2011-03-10 Thread Giovanni Mancuso
On 10/03/2011 15:04, Stan Hoeppner wrote: > Giovanni Mancuso put forth on 3/10/2011 7:22 AM: >> Hi, >> I would configure my postfix to control if client ip is in blacklist >> only if the mail have a particolar header. >> I tried to create a header_checks table and with a FILTER i redirect all >>

Re: GeoIP based rejections

2011-03-10 Thread Márcio Luciano Donada
Em 10/3/2011 13:16, Wietse Venema escreveu: > Mark Watts: >> I'd like to be able to reject connections from remote IP addresses if >> they're from certain countries (or conversely only allow from certain >> countries). >> >> What are my options for doing this in/with postfix? > The option is a per-

Re: GeoIP based rejections

2011-03-10 Thread Wietse Venema
Mark Watts: > I'd like to be able to reject connections from remote IP addresses if > they're from certain countries (or conversely only allow from certain > countries). > > What are my options for doing this in/with postfix? The option is a per-country access map, policy plugin, milter, or deep

Re: GeoIP based rejections

2011-03-10 Thread Mark Watts
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/10/2011 03:49 PM, Bas Mevissen wrote: > On Thu, 2011-03-10 at 15:35 +, Mark Watts wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> >> I'd like to be able to reject connections from remote IP addresses if >> they're from certa

round-robin sending SMTP server ?

2011-03-10 Thread Frank Bonnet
Hello Is it possible to configure postfix to use some round-robin mechanisms to send emails with several SMTP servers ? I mean to SEND emails to the external world, not to receive. Thank you.

Re: GeoIP based rejections

2011-03-10 Thread Bas Mevissen
On Thu, 2011-03-10 at 15:35 +, Mark Watts wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > I'd like to be able to reject connections from remote IP addresses if > they're from certain countries (or conversely only allow from certain > countries). > > What are my options for do

GeoIP based rejections

2011-03-10 Thread Mark Watts
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'd like to be able to reject connections from remote IP addresses if they're from certain countries (or conversely only allow from certain countries). What are my options for doing this in/with postfix? Mark. - -- Mark Watts BSc RHCE Senior Syste

Re: timeout after CONNECT, no HELO/EHLO response from clients

2011-03-10 Thread Adam N. Copeland
Yes, that time out setting is still definitely the default. Snoop is basically Solaris' native version of tcp dump, and shouldn't be putting the packets out of order when capturing. Maybe the client is making more than one connection attempt? The part that made me suspect my server is that the sa

Re: check client ip only if mail has a particular header

2011-03-10 Thread Stan Hoeppner
Giovanni Mancuso put forth on 3/10/2011 7:22 AM: > Hi, > I would configure my postfix to control if client ip is in blacklist > only if the mail have a particolar header. > I tried to create a header_checks table and with a FILTER i redirect all > mails that have a particular header to localhost o

Re: check client ip only if mail has a particular header

2011-03-10 Thread Noel Jones
On 3/10/2011 7:22 AM, Giovanni Mancuso wrote: Hi, I would configure my postfix to control if client ip is in blacklist only if the mail have a particolar header. I tried to create a header_checks table and with a FILTER i redirect all mails that have a particular header to localhost on port 250

check client ip only if mail has a particular header

2011-03-10 Thread Giovanni Mancuso
Hi, I would configure my postfix to control if client ip is in blacklist only if the mail have a particolar header. I tried to create a header_checks table and with a FILTER i redirect all mails that have a particular header to localhost on port 2500 but in this way the client ip is localhost Any

Re: Error: close database /var/lib/postfix/postscreen_cache.db: No such file or directory (possible Berkeley DB bug)

2011-03-10 Thread Noel Jones
On 3/10/2011 6:58 AM, Mark Alan wrote: While using Postfix 2.8.1 + Ubuntu 10.10, after enabling postscreen the system seems to be working well (sends and receives email without any apparent problems) but has sporadic errors as shown bellow (without any other errors or warnings). This has been

Error: close database /var/lib/postfix/postscreen_cache.db: No such file or directory (possible Berkeley DB bug)

2011-03-10 Thread Mark Alan
While using Postfix 2.8.1 + Ubuntu 10.10, after enabling postscreen the system seems to be working well (sends and receives email without any apparent problems) but has sporadic errors as shown bellow (without any other errors or warnings). sudo grep 'postscreen_cache.db' /var/log/syslog Mar 10 1

Re: posfix rejected from google server

2011-03-10 Thread kapetr
Just a note ONLY FOR: Reindl Harald >Sorry but what is your problem? >you can not use your home-machine as mailserver and >nothing will change this, so what is new in your >message after this long thread where so many people >made clear what happens and why? If I know, you followed this thre

Re: having and custome queue in postfix same as like HOLD queue

2011-03-10 Thread kshitij mali
Thanks Jeron , thanks again for taking interset to my case . The thing is that i dont get spam any more . The last incidient was like one of our application server in the infarsturture uses my relay server to relay email in the internet what the unix adminstartor of the application did was divert

Re: Limiting outgoing SMTP connections when relaying message

2011-03-10 Thread Stan Hoeppner
Tim put forth on 3/9/2011 4:33 PM: > Victor Duchovni wrote: >> Each delivery agent delivers one message at a time. With two delivery >> agents there are at most two parallel deliveries. The default process >> limit is 100. I would first try 10 or 20, before taking it all the way >> down to 2. Such

Re: having and custome queue in postfix same as like HOLD queue

2011-03-10 Thread Jeroen Geilman
On 03/10/2011 08:23 AM, kshitij mali wrote: HI All , My self kshitij and i am using postfix MTA for mailing service around 1.5 year EXP. I want to built an new coustome queue same as like HOLD queue . currrent sinerio is like i donot want any mail to be rejected as per my mangement instruction