Re: round-robin sending SMTP server ?

2011-03-11 Thread Frank Bonnet
On 03/10/2011 09:09 PM, Stan Hoeppner wrote: > 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 t

Re: round-robin sending SMTP server ?

2011-03-11 Thread Frank Bonnet
On 03/11/2011 09:51 AM, Frank Bonnet wrote: > On 03/10/2011 09:09 PM, Stan Hoeppner wrote: >> 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 e

Re: round-robin sending SMTP server ?

2011-03-11 Thread lst_hoe02
Zitat von Frank Bonnet : On 03/11/2011 09:51 AM, Frank Bonnet wrote: On 03/10/2011 09:09 PM, Stan Hoeppner wrote: 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 SE

Re: Message is modified after after-queue filter

2011-03-11 Thread Ulrich Mierendorff
On 09.03.2011 21:38, Murray S. Kucherawy wrote: -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Victor Duchovni Sent: Tuesday, March 08, 2011 2:02 PM To: postfix-users@postfix.org Subject: Re: Message is modified after after-

Re: GeoIP based rejections

2011-03-11 Thread Mikael Bak
Mark Watts wrote: > > 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? > Perhaps not what you asked for, bur Spamassassin has a way

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

2011-03-11 Thread Giovanni Mancuso
On 10/03/2011 21:39, Stan Hoeppner wrote: > 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

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

2011-03-11 Thread Victor Duchovni
On Fri, Mar 11, 2011 at 04:58:15PM +0100, Giovanni Mancuso wrote: > I have my postfix configured as MX record of my domain with particular > smtpd_recipents_restriction, ecc... > If my postfix receives a mail that has X-MyCustomHeader, Postfix accept > the mail and delivers it to backend. > If my

Duplicated messages

2011-03-11 Thread Jason Voorhees
Hi: I have a Postfix 2.3.3 running on CentOS 5.5 with a local installation of OpenLDAP. System users are mapped from my LDAP directory server according to /etc/nsswitch.conf and /etc/ldap.conf. I have LDAP groups what I use in postfix as a virtual alias maps like this: virtual_alias_maps = ldap:/

Re: Duplicated messages

2011-03-11 Thread Victor Duchovni
On Fri, Mar 11, 2011 at 11:10:31AM -0500, Jason Voorhees wrote: > I have a Postfix 2.3.3 running on CentOS 5.5 with a local installation > of OpenLDAP. > I have LDAP groups what I use in postfix as a virtual alias maps like this: > > virtual_alias_maps = ldap:/etc/postfix/groups.cf > > I have us

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

2011-03-11 Thread Giovanni Mancuso
On 11/03/2011 17:09, Victor Duchovni wrote: > On Fri, Mar 11, 2011 at 04:58:15PM +0100, Giovanni Mancuso wrote: > >> I have my postfix configured as MX record of my domain with particular >> smtpd_recipents_restriction, ecc... >> If my postfix receives a mail that has X-MyCustomHeader, Postfix acc

Re: Duplicated messages

2011-03-11 Thread Jason Voorhees
On Fri, Mar 11, 2011 at 11:20 AM, Victor Duchovni wrote: > On Fri, Mar 11, 2011 at 11:10:31AM -0500, Jason Voorhees wrote: > >> I have a Postfix 2.3.3 running on CentOS 5.5 with a local installation >> of OpenLDAP. >> I have LDAP groups what I use in postfix as a virtual alias maps like this: >> >

Re: Max msgs to 1 recipient - default_destination_concurrency_limit.

2011-03-11 Thread Lauro Costa G. Borges
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? A general rule. - Per sender, or across the entire MTA? The entire MTA. - Why? Some compa

Re: Max msgs to 1 recipient - default_destination_concurrency_limit.

2011-03-11 Thread Victor Duchovni
On Fri, Mar 11, 2011 at 12:29:00PM -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? > > A general rule. > >> - Per sender, or across the entire MTA? > > The entire MTA. > >> - Why?

pass rDNS hostname and EHLO hostname to policy daemon

2011-03-11 Thread Stan Hoeppner
How would I go about passing strictly the rDNS and EHLO hostnames to a policy daemon? Is this possible? If not, other suggestions? Thanks. -- Stan

xfermailbox

2011-03-11 Thread Oscar Mauricio Cruz Lazo
Hi all Im trying to migrate all my mailbox system from one server to a new server, i want to use xfermailbox tool but i have a world of doubts about how to use it ? running postfix-2.4.5 plus cyrus-imapd-2.3.8-51 in both side. Please i would tthank all info about it ... Regards

Re: Duplicated messages

2011-03-11 Thread Victor Duchovni
On Fri, Mar 11, 2011 at 12:06:28PM -0500, Jason Voorhees wrote: > >> How can I avoid this? I hope someone can help me. > > > > ? ?http://www.postfix.org/postconf.5.html#enable_original_recipient > > > > Hi, thanks Viktor for your answer. I've already used these settings: > > Setting # 1: > enabl

Re: pass rDNS hostname and EHLO hostname to policy daemon

2011-03-11 Thread Victor Duchovni
On Fri, Mar 11, 2011 at 11:24:51AM -0600, Stan Hoeppner wrote: > How would I go about passing strictly the rDNS and EHLO hostnames to a > policy daemon? Is this possible? If not, other suggestions? The policy protocol is described at: http://www.postfix.org/SMTPD_POLICY_README.html#protoco

Re: Max msgs to 1 recipient - default_destination_concurrency_limit.

2011-03-11 Thread Lauro Costa G. Borges
Citando Victor Duchovni : On Fri, Mar 11, 2011 at 12:29:00PM -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? A general rule. - Per sender, or across the entire MTA? The entire M

Re: Max msgs to 1 recipient - default_destination_concurrency_limit.

2011-03-11 Thread Victor Duchovni
On Fri, Mar 11, 2011 at 12:59:19PM -0300, Lauro Costa G. Borges wrote: > So it's not possible to achieve similar behavior with Postfix, and only > Postfix? Simple rate limits don't help, they just defer mail, but the sending systems won't give up, so you only make the problem worse by increasing

Re: Duplicated messages

2011-03-11 Thread Jason Voorhees
On Fri, Mar 11, 2011 at 12:27 PM, Victor Duchovni wrote: > On Fri, Mar 11, 2011 at 12:06:28PM -0500, Jason Voorhees wrote: > >> >> How can I avoid this? I hope someone can help me. >> > >> > ? ?http://www.postfix.org/postconf.5.html#enable_original_recipient >> > >> >> Hi, thanks Viktor for your a

Re: Duplicated messages

2011-03-11 Thread Victor Duchovni
On Fri, Mar 11, 2011 at 01:13:23PM -0500, Jason Voorhees wrote: > > 20070520 > > > > Bugfix (problem introduced Postfix 2.3): when DSN support > > was introduced it broke "agressive" recipient duplicate > > elimination with "enable_original_recipient = no". File: > > cleanup/cleanup_out_recipient.

Re: Duplicated messages

2011-03-11 Thread Jason Voorhees
On Fri, Mar 11, 2011 at 1:57 PM, Victor Duchovni wrote: > On Fri, Mar 11, 2011 at 01:13:23PM -0500, Jason Voorhees wrote: > >> > 20070520 >> > >> > Bugfix (problem introduced Postfix 2.3): when DSN support >> > was introduced it broke "agressive" recipient duplicate >> > elimination with "enable_o

Re: Duplicated messages

2011-03-11 Thread Victor Duchovni
On Fri, Mar 11, 2011 at 02:54:58PM -0500, Jason Voorhees wrote: > > Why 2.5.0 and not say 2.5.12? If you are going to the trouble of updating, > > at this point it should be 2.7.3 or 2.8.1. > > I need a fast way to get an earlier Postfix so I downloaded a rpm > package from Postfix's website unde

Re: xfermailbox

2011-03-11 Thread Jeroen Geilman
On 03/11/2011 06:26 PM, Oscar Mauricio Cruz Lazo wrote: Hi all Im trying to migrate all my mailbox system from one server to a new server, i want to use xfermailbox tool but i have a world of doubts about how to use it ? running postfix-2.4.5 plus cyrus-imapd-2.3.8-51 in both side. Please i

Re: round-robin sending SMTP server ?

2011-03-11 Thread Stan Hoeppner
lst_ho...@kwsoft.de put forth on 3/11/2011 4:03 AM: > Zitat von Frank Bonnet : > >> On 03/11/2011 09:51 AM, Frank Bonnet wrote: >> Thanks ! it works fine :-) You're welcome Frank. > Would be better with "relayhost = [relay-farm.your-domain.tld]", no? Yes, I guess so. That'll disable MX lookup

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

2011-03-11 Thread Stan Hoeppner
Victor Duchovni put forth on 3/11/2011 10:09 AM: > On Fri, Mar 11, 2011 at 04:58:15PM +0100, Giovanni Mancuso wrote: > >> I have my postfix configured as MX record of my domain with particular >> smtpd_recipents_restriction, ecc... >> If my postfix receives a mail that has X-MyCustomHeader, Postfi

Re: round-robin sending SMTP server ?

2011-03-11 Thread Wietse Venema
Stan Hoeppner: > I've often wondered why MX lookups aren't disabled automatically when > setting relayhost=. Because there is no way to turn it on! A feature that can't be turned off is a bug. Wietse

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

2011-03-11 Thread Wietse Venema
Stan Hoeppner: > It appears I did understand Giovanni's need correctly. He should be > able to use Sahil's checkdbl.pl daemon with some modifications. He'd > simply check that X-custom-header exists. If it doesn't, header_checks can't detect missing headers. Wietse