Re: header_checks in master.cf?

2011-04-04 Thread /dev/rob0
On Mon, Apr 04, 2011 at 06:33:20PM -0700, email builder wrote: > I am testing a simple header_check that uses PREPEND to add a > custom header to messages. Uh, no, I think it is not simple at all. Is this the same issue you're working on? You have spent much time, and gotten much help, none of

Re: header_checks in master.cf?

2011-04-04 Thread email builder
> > I am testing a simple header_check that uses PREPEND to add a custom > > header >to > > > messages. > > > > 1) I *always* want to add the header, so the detected header in the rule >doesn't > > > matter so much. Does anyone have advice for the best header to detect so > > I > >

Re: header_checks in master.cf?

2011-04-04 Thread Wietse Venema
email builder: > Hello, > > I am testing a simple header_check that uses PREPEND to add a custom header > to > messages. > > 1) I *always* want to add the header, so the detected header in the rule > doesn't > matter so much. Does anyone have advice for the best header to detect so I > won'

Re: Multiple transport maps in master.cf?

2011-04-04 Thread Wietse Venema
email builder: > > > > > Can I override default_transport? > > > > > > > > > As documented: > > > > > > > > http://www.postfix.org/postconf.5.html#default_transport > > > > > > Right, but from what I can tell (testing it), it's like transport_maps, > > > in that I can't change it willy-ni

header_checks in master.cf?

2011-04-04 Thread email builder
Hello, I am testing a simple header_check that uses PREPEND to add a custom header to messages. 1) I *always* want to add the header, so the detected header in the rule doesn't matter so much. Does anyone have advice for the best header to detect so I won't miss any messages? Is /^From:/ th

Re: Multiple transport maps in master.cf?

2011-04-04 Thread email builder
> > > > Can I override default_transport? > > > > > > As documented: > > > > > > http://www.postfix.org/postconf.5.html#default_transport > > > > Right, but from what I can tell (testing it), it's like transport_maps, > > in that I can't change it willy-nilly in my smtpd process with a >

Re: Multiple transport maps in master.cf?

2011-04-04 Thread Jeroen Geilman
On 04/05/2011 12:09 AM, Victor Duchovni wrote: On Mon, Apr 04, 2011 at 11:51:40PM +0200, Jeroen Geilman wrote: The only Postfix service that consults the transport table is trivial-rewrite(8), which in turn is consulted by smtpd(8), cleanup(8), qmgr(8), ... with the main routing decision ma

Re: Multiple transport maps in master.cf?

2011-04-04 Thread Victor Duchovni
On Mon, Apr 04, 2011 at 11:51:40PM +0200, Jeroen Geilman wrote: >> The only Postfix service that consults the transport table is >> trivial-rewrite(8), which in turn is consulted by smtpd(8), cleanup(8), >> qmgr(8), ... with the main routing decision made in qmgr(8). >> >> Postfix parameter settin

Re: Multiple transport maps in master.cf?

2011-04-04 Thread Wietse Venema
email builder: > > > Can I override default_transport? > > > > As documented: > > > > http://www.postfix.org/postconf.5.html#default_transport > > Right, but from what I can tell (testing it), it's like transport_maps, > in that I can't change it willy-nilly in my smtpd process with a > -o lin

Re: Multiple transport maps in master.cf?

2011-04-04 Thread Jeroen Geilman
On 04/04/2011 11:55 PM, email builder wrote: - Original Message From: Wietse Venema To: Postfix users Sent: Mon, April 4, 2011 2:34:00 PM Subject: Re: Multiple transport maps in master.cf? email builder: I've found that in main.cf, this works fine: > >

Re: Sending on different network interface

2011-04-04 Thread Wietse Venema
With Postfix < 2.7, you can't use FILTER to control the source IP address while sending mail to a non-filter. That's why I had to implement Feature 20100117. If you want fancy features, upgrade, instead of asking to duplicate the work. Postfix 2.3 is no longer maintained since early 2010.

Re: Multiple transport maps in master.cf?

2011-04-04 Thread email builder
- Original Message > From: Wietse Venema > To: Postfix users > Sent: Mon, April 4, 2011 2:34:00 PM > Subject: Re: Multiple transport maps in master.cf? > > email builder: > > > > > I've found that in main.cf, this works fine: > > > > > > > > > > > > > transport_maps = hash:/et

Re: Multiple transport maps in master.cf?

2011-04-04 Thread Jeroen Geilman
On 04/04/2011 11:26 PM, Victor Duchovni wrote: On Mon, Apr 04, 2011 at 02:02:17PM -0700, email builder wrote: Hello, I've found that in main.cf, this works fine: transport_maps = hash:/etc/postfix/transport1 hash:/etc/postfix/transport2 But not in master.cf (under a smtpd process definit

Re: Configuring multiple relays

2011-04-04 Thread Jeroen Geilman
On 04/04/2011 11:25 PM, deconya wrote: Hi guys Im looking how to make to config my postfix server to relay mails to other antispam server but filtering by domain. Actually Im using relayhost variable inside main.cf , but I need to mount different gateways for every domain. I u

Re: Sending on different network interface

2011-04-04 Thread email builder
> > OK, thank you very much for the pointer to smtp_bind_address. That's what > > I > > > need, but I'm stumbling at the transport map. I already have outgoing > > mail > > segregated how I want it when it exits my content filtering (ready to be >sent > > > out). So ideally, the cont

Re: Multiple transport maps in master.cf?

2011-04-04 Thread Wietse Venema
email builder: > > > > I've found that in main.cf, this works fine: > > > > > > > > > > transport_maps = hash:/etc/postfix/transport1 > >hash:/etc/postfix/transport2 > > > > > > > > But not in master.cf (under a smtpd process definition): > > > > > > > > -o transport_maps=hash:/etc/p

Re: segfault when running postconf on Solaris

2011-04-04 Thread Wietse Venema
Wietse Venema: > Rudy Gevaert: > > Hello list, > > > > I am getting a segfault when I run postconf on Solaris 10 > > SunOS horus 5.10 Generic_142910-17 i86pc i386 i86pc > > > > postconf -n doesn't segfault! > > > > running it with truss: > > > > smtpd_discard_ehlo_keyword_address_maps = > > smt

Re: Multiple transport maps in master.cf?

2011-04-04 Thread email builder
- Original Message > From: email builder > To: postfix-users@postfix.org > Sent: Mon, April 4, 2011 2:18:01 PM > Subject: Re: Multiple transport maps in master.cf? > > > > I've found that in main.cf, this works fine: > > > > > > > transport_maps = hash:/etc/postfix/transport1

Re: Multiple transport maps in master.cf?

2011-04-04 Thread Victor Duchovni
On Mon, Apr 04, 2011 at 02:02:17PM -0700, email builder wrote: > Hello, > > I've found that in main.cf, this works fine: > > transport_maps = hash:/etc/postfix/transport1 hash:/etc/postfix/transport2 > > But not in master.cf (under a smtpd process definition): > > -o transport_maps=hash:/etc

Configuring multiple relays

2011-04-04 Thread deconya
Hi guys Im looking how to make to config my postfix server to relay mails to other antispam server but filtering by domain. Actually Im using relayhost variable inside main.cf, but I need to mount different gateways for every domain. I understand with this main.cf and using transport maps works fi

Re: Multiple transport maps in master.cf?

2011-04-04 Thread email builder
> > I've found that in main.cf, this works fine: > > > > transport_maps = hash:/etc/postfix/transport1 hash:/etc/postfix/transport2 > > > > But not in master.cf (under a smtpd process definition): > > > > -o transport_maps=hash:/etc/postfix/transport1 >hash:/etc/postfix/transport2 > >

Re: Multiple transport maps in master.cf?

2011-04-04 Thread email builder
> I've found that in main.cf, this works fine: > > transport_maps = hash:/etc/postfix/transport1 hash:/etc/postfix/transport2 > > But not in master.cf (under a smtpd process definition): > > -o transport_maps=hash:/etc/postfix/transport1 hash:/etc/postfix/transport2 > > Postfix complain

Re: Multiple transport maps in master.cf?

2011-04-04 Thread Ralf Hildebrandt
* email builder : > Hello, > > I've found that in main.cf, this works fine: > > transport_maps = hash:/etc/postfix/transport1 hash:/etc/postfix/transport2 > > But not in master.cf (under a smtpd process definition): > > -o transport_maps=hash:/etc/postfix/transport1 hash:/etc/postfix/transpor

Re: smtpd_sender_restrictions for alias?

2011-04-04 Thread Jonas H.
On 04/04/2011 04:29 PM, Noel Jones wrote: The example is here: http://www.postfix.org/RESTRICTION_CLASS_README.html#internal You can use as many or as few addresses as required. Thanks Noel, that's exactly what I searched for!

Multiple transport maps in master.cf?

2011-04-04 Thread email builder
Hello, I've found that in main.cf, this works fine: transport_maps = hash:/etc/postfix/transport1 hash:/etc/postfix/transport2 But not in master.cf (under a smtpd process definition): -o transport_maps=hash:/etc/postfix/transport1 hash:/etc/postfix/transport2 Postfix complains: fatal: unex

Re: FW: Newbie question - being spammed using valid recipients

2011-04-04 Thread Jeroen Geilman
On 04/04/2011 06:49 PM, Bailey, Damian S. wrote: Good afternoon! Our school district has been using a Postfix/Amavis/SpamAssassin config for over a year now with good results. Just recently, however, I've noticed that my mail filtering box has been hit by a spammer that uses a handful of em

Re: segfault when running postconf on Solaris

2011-04-04 Thread Wietse Venema
Rudy Gevaert: > Hello list, > > I am getting a segfault when I run postconf on Solaris 10 > SunOS horus 5.10 Generic_142910-17 i86pc i386 i86pc > > postconf -n doesn't segfault! > > running it with truss: > > smtpd_discard_ehlo_keyword_address_maps = > smtpd_discard_ehlo_keywords = > smtpd_end_

Re: FW: Newbie question - being spammed using valid recipients

2011-04-04 Thread Victor Duchovni
On Mon, Apr 04, 2011 at 12:49:07PM -0400, Bailey, Damian S. wrote: > Our school district has been using a Postfix/Amavis/SpamAssassin config > for over a year now with good results. Just recently, however, I've > noticed that my mail filtering box has been hit by a spammer that uses a > handful o

Re: segfault when running postconf on Solaris

2011-04-04 Thread Victor Duchovni
On Mon, Apr 04, 2011 at 06:28:20PM +0200, Rudy Gevaert wrote: > Hello list, > > I am getting a segfault when I run postconf on Solaris 10 > SunOS horus 5.10 Generic_142910-17 i86pc i386 i86pc > > postconf -n doesn't segfault! > > > running it with truss: > > smtpd_discard_ehlo_keyword_address_maps

FW: Newbie question - being spammed using valid recipients

2011-04-04 Thread Bailey, Damian S.
Good afternoon! Our school district has been using a Postfix/Amavis/SpamAssassin config for over a year now with good results. Just recently, however, I've noticed that my mail filtering box has been hit by a spammer that uses a handful of email addresses to send mail to all legitimate senders

segfault when running postconf on Solaris

2011-04-04 Thread Rudy Gevaert
Hello list, I am getting a segfault when I run postconf on Solaris 10 SunOS horus 5.10 Generic_142910-17 i86pc i386 i86pc postconf -n doesn't segfault! running it with truss: smtpd_discard_ehlo_keyword_address_maps = smtpd_discard_ehlo_keywords = smtpd_end_of_data_restrictions14374:write(

Re: smtpd_sender_restrictions for alias?

2011-04-04 Thread Noel Jones
On 4/4/2011 4:26 AM, Jonas H. wrote: I'm using Postfix aliases for a small mailing list. I'd like to make sure only a few e-mail addresses can post, so I found this smtpd_sender_restrictions thing. However, I couldn't find out if one can use that for a single alias? If not, is there any other way

Re: sender and recipient check on submit server

2011-04-04 Thread Noel Jones
On 4/4/2011 3:35 AM, Gábor Lénárt wrote: Hi, I have a mail submit server for our users. What I would like is checking sender and rcpt addresses if they belong to the domains at least which are handled by us (of course I can't check if mail is sent to another domain where I don't know the valid a

Re: Sending on different network interface

2011-04-04 Thread Wietse Venema
email builder: > OK, thank you very much for the pointer to smtp_bind_address. That's what I > need, but I'm stumbling at the transport map. I already have outgoing mail > segregated how I want it when it exits my content filtering (ready to be sent > out). So ideally, the content filter (act

Re: Sending on different network interface

2011-04-04 Thread email builder
> On Sun, Apr 03, 2011 at 10:39:58PM -0700, email builder wrote: > > I'm wondering if it's possible to configure a smtpd process in > > master.cf to send messages to the outside on a secondary network > > interface. > > Of course not; smtpd(8) is the SMTP daemon, the server. It receives > m

smtpd_sender_restrictions for alias?

2011-04-04 Thread Jonas H.
I'm using Postfix aliases for a small mailing list. I'd like to make sure only a few e-mail addresses can post, so I found this smtpd_sender_restrictions thing. However, I couldn't find out if one can use that for a single alias? If not, is there any other way to accomplish this? Thanks, Jona

Re: Postfix - delay_warning_time

2011-04-04 Thread Ralf Hildebrandt
* postfix : > Hi > > How can tell me why the "delay_warning_time" parameter is set to 0 per > default? > ( traffic increase risk?) Users usually don't understand these messages :) -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Ben

Postfix - delay_warning_time

2011-04-04 Thread postfix
Hi How can tell me why the "delay_warning_time" parameter is set to 0 per default? ( traffic increase risk?) Thank You Alain

sender and recipient check on submit server

2011-04-04 Thread Gábor Lénárt
Hi, I have a mail submit server for our users. What I would like is checking sender and rcpt addresses if they belong to the domains at least which are handled by us (of course I can't check if mail is sent to another domain where I don't know the valid addresses, and I don't want to do SAV). I h

Re: Configuring TLS with sender login maps

2011-04-04 Thread Ansgar Wiechers
On 2011-04-02 Reindl Harald wrote: > Am 02.04.2011 23:17, schrieb Jeroen Geilman: >> I see Mr Reindl is butting his big mouth in again > > is your toilet broken or why is your neck so big? You've repeatedly shown an attitude on this list that I consider objectionable, to say the least. Would you

Re: Sending on different network interface

2011-04-04 Thread Robert Schetterer
Am 04.04.2011 07:39, schrieb email builder: > Hello, > > I'm wondering if it's possible to configure a smtpd process in master.cf to > send > messages to the outside on a secondary network interface. It seems to be > possible to make a smtpd process listen on a given interface (IP address) by