Re: sender_dependent_relayhost_maps

2023-02-22 Thread D. R. Evans
Wietse Venema wrote on 2/17/23 10:26: D. R. Evans: I must be doing something particularly obviously stupid, because doing my best to follow the advice from Wietse in the thread "different treatment for different From: domains", I have tried everything I can think of, and am unable to get sender_

Re: sender_dependent_relayhost_maps

2023-02-17 Thread Wietse Venema
D. R. Evans: > I must be doing something particularly obviously stupid, because doing my best > to follow the advice from Wietse in the thread "different treatment for > different From: domains", I have tried everything I can think of, and am > unable to get sender_dependent_relayhost_maps to actua

Re: sender_dependent_relayhost_maps problem

2019-07-30 Thread Bjoern A. Zeeb
On 29 Jul 2019, at 0:56, Viktor Dukhovni wrote: > On Sun, Jul 28, 2019 at 08:14:38PM +, Bjoern A. Zeeb wrote: > >> Now sometimes the same email comes back to MX-E via an *alias* (no From: >> changes) on MX-3. MX-E will receive the looped back email from MX-3 >> and then decides by its transp

Re: sender_dependent_relayhost_maps problem

2019-07-28 Thread Viktor Dukhovni
On Sun, Jul 28, 2019 at 08:14:38PM +, Bjoern A. Zeeb wrote: > Now sometimes the same email comes back to MX-E via an *alias* (no From: > changes) on MX-3. MX-E will receive the looped back email from MX-3 > and then decides by its transport rules that it should send it to MX-I. > > Here’s

Re: sender_dependent_relayhost_maps with different credentials for same relayhost

2018-11-22 Thread Viktor Dukhovni
> On Nov 22, 2018, at 4:32 AM, Stefan Bauer wrote: > > Found it. Was required to modify smtp_auth to > > customer1.de user1:password > customer2.de user2:password. Nope: http://www.postfix.org/SASL_README.html#client_sasl_sender Generally, with Postfix lookups by email address, the lookup k

Re: sender_dependent_relayhost_maps with different credentials for same relayhost

2018-11-22 Thread Stefan Bauer
Found it. Was required to modify smtp_auth to customer1.de user1:password customer2.de user2:password. Am Do., 22. Nov. 2018 um 10:22 Uhr schrieb Stefan Bauer < cubew...@googlemail.com>: > After setting > > smtp_sender_dependent_authentication = yes > > and adding additional credentials postfix

Re: sender_dependent_relayhost_maps with different credentials for same relayhost

2018-11-22 Thread Stefan Bauer
After setting smtp_sender_dependent_authentication = yes and adding additional credentials postfix rejects change with #root@postgate01:~# nano /etc/postfix/smtp_auth [securegw.intern]:25user1:password [securegw.intern]:25user2:password root@postgate01:~# more /etc/postfix/rela

Re: sender_dependent_relayhost_maps with different credentials for same relayhost

2018-11-06 Thread Stefan Bauer
Thank you! Am Montag, 5. November 2018 schrieb Wietse Venema : > Stefan Bauer: >> Hi, >> >> i have: >> sender_dependent_relayhost_maps = hash:/etc/postfix/relayhost_maps >> smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth >> >> more /etc/postfix/relayhost_maps >> @mydomain.de[smtp.1und1.d

Re: sender_dependent_relayhost_maps with different credentials for same relayhost

2018-11-05 Thread Wietse Venema
Stefan Bauer: > Hi, > > i have: > sender_dependent_relayhost_maps = hash:/etc/postfix/relayhost_maps > smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth > > more /etc/postfix/relayhost_maps > @mydomain.de[smtp.1und1.de]:587 > @my2domain.de [smtp.1und1.de]:587 > > more /etc/postfix/smtp_a

Re: sender_dependent_relayhost_maps failover

2018-10-24 Thread Wietse Venema
KSB: > Hi, > Is it possible to configure sender_dependent_relayhost_maps with > failover hosts, probably with priorities? Use smtp_fallback_relay for the safety net. Wietse

Re: sender_dependent_relayhost_maps does not default to relayhost

2015-03-18 Thread ebberup
I found the possibility in the Postfix configuration parameters:*sender_dependent_relayhost_maps (default: empty)*A sender-dependent override for the global relayhost parameter setting. The tables are searched by the envelope sender address and @domain. /A lookup result of DUNNO terminates the sear

Re: sender_dependent_relayhost_maps does not default to relayhost

2015-03-18 Thread Viktor Dukhovni
On Wed, Mar 18, 2015 at 12:59:29AM -0700, ebberup wrote: > I can't make sender_dependent_relayhost_maps default to relayhost when > trivial-rewrite result is DUNNO. That's because "DUNNO" is an access(5) keyword, and not a generic "nothing here" result for all tables. There is no documentation t

Re: sender_dependent_relayhost_maps for domains referenced in relay_domains

2015-01-13 Thread Sebastian Fehrenbacher
Using the parameter "sender_dependent_default_transport_maps" leads to the same result as using the paramter "sender_dependent_relayhost_maps". I think this is the case cause the recipient domain is also part of the internal domains. Therefore the relay entry defined in the "transport_maps" is taki

Re: sender_dependent_relayhost_maps for domains referenced in relay_domains

2015-01-12 Thread Wietse Venema
Sebastian Fehrenbacher: > sender_dependent_relayhost_maps work great when the rcpt to addresses > domain is not part of the relay_domains. However when both domains - mail > from and rcpt to - are part of the relay_domains the parameter > sender_dependent_relayhost_maps is not taking effect. In thi

Re: sender_dependent_relayhost_maps Syntax

2013-04-21 Thread Jeroen Geilman
On 04/21/2013 05:06 PM, awingnut wrote: On 4/21/2013 10:50 AM, Jeroen Geilman wrote: On 04/19/2013 03:17 PM, awingnut wrote: On 4/19/2013 8:30 AM, Reindl Harald wrote: Am 19.04.2013 14:25, schrieb awingnut: I have a series of user names that need to be relayed through a server other then the

Re: sender_dependent_relayhost_maps Syntax

2013-04-21 Thread awingnut
On 4/21/2013 10:50 AM, Jeroen Geilman wrote: > On 04/19/2013 03:17 PM, awingnut wrote: >> On 4/19/2013 8:30 AM, Reindl Harald wrote: >>> Am 19.04.2013 14:25, schrieb awingnut: I have a series of user names that need to be relayed through a server other then the default. It is not clear fr

Re: sender_dependent_relayhost_maps Syntax

2013-04-21 Thread Jeroen Geilman
On 04/19/2013 03:17 PM, awingnut wrote: On 4/19/2013 8:30 AM, Reindl Harald wrote: Am 19.04.2013 14:25, schrieb awingnut: I have a series of user names that need to be relayed through a server other then the default. It is not clear from the documentation if wild cards are allowed but it appear

Re: sender_dependent_relayhost_maps Syntax

2013-04-19 Thread awingnut
On 4/19/2013 8:30 AM, Reindl Harald wrote: > > Am 19.04.2013 14:25, schrieb awingnut: >> I have a series of user names that need to be relayed through a server >> other then the default. It is not clear from the documentation if wild >> cards are allowed but it appears they are not > no and wildcha

Re: sender_dependent_relayhost_maps Syntax

2013-04-19 Thread Wietse Venema
Reindl Harald: > Am 19.04.2013 14:25, schrieb awingnut: > > I have a series of user names that need to be relayed through a server > > other then the default. It is not clear from the documentation if wild > > cards are allowed but it appears they are not > > no and wildchars in case of mail are g

Re: sender_dependent_relayhost_maps Syntax

2013-04-19 Thread Reindl Harald
Am 19.04.2013 14:25, schrieb awingnut: > I have a series of user names that need to be relayed through a server > other then the default. It is not clear from the documentation if wild > cards are allowed but it appears they are not no and wildchars in case of mail are generally a bad idea > If

Re: sender_dependent_relayhost_maps (fwd)

2013-04-15 Thread Viktor Dukhovni
On Mon, Apr 15, 2013 at 04:17:23PM -0400, Homer Wilson Smith wrote: > > Dear Gentle Folk, > > I wish to relay all mail from our outgoing mail server, > smtp.lightlink.com, through a default outgoing barracuda, EXCEPT > mails FROM specified addresses that wish to do large authorized > mail

Re: sender_dependent_relayhost_maps (fwd)

2013-04-15 Thread Wietse Venema
Homer Wilson Smith: > #relayhost = > > sender_dependent_relayhost_maps = hash:/etc/postfix/relayhost > > relayhost file says > > * [barracuda.lightlink.com]:25 > frien...@spammer.com : I don't know what "*" or ":" is supposed to mean. They certainly are not documented

Re: ****SPAM(5.6)**** Re: sender_dependent_relayhost_maps question

2011-05-23 Thread Jeffs
Hi, Neil, My confusion lies in the fact that the email client campaign software is actually initiating a connection to the virtual domain, and sending the mail to it -- all on the same server, mind you -- then IT sends it out through the interface with it's virtualized IP address. I don't se

Re: sender_dependent_relayhost_maps question

2011-05-23 Thread Noel Jones
On 5/23/2011 10:19 AM, Jeffs wrote: On 5/23/2011 11:06 AM, Noel Jones wrote: The Received: header is added by the receiving system, not by your server, and always shows the IP of the connection. If you want each client to have their own identity, each client will need its own IP. You can't virt

Re: sender_dependent_relayhost_maps question

2011-05-23 Thread Jeffs
On 5/23/2011 11:06 AM, Noel Jones wrote: On 5/23/2011 9:30 AM, Jeffs wrote: On 5/23/2011 3:33 AM, Jeroen Geilman wrote: On 05/23/2011 03:35 AM, Jeffs wrote: Hello All, Assume the following setup: Client from xyz.com logins to Many_Companies.com, accesses their email campaign software running

Re: sender_dependent_relayhost_maps question

2011-05-23 Thread Noel Jones
On 5/23/2011 9:30 AM, Jeffs wrote: On 5/23/2011 3:33 AM, Jeroen Geilman wrote: On 05/23/2011 03:35 AM, Jeffs wrote: Hello All, Assume the following setup: Client from xyz.com logins to Many_Companies.com, accesses their email campaign software running on Many_Companies.com and sends out newsl

Re: sender_dependent_relayhost_maps question

2011-05-23 Thread Jeffs
On 5/23/2011 3:33 AM, Jeroen Geilman wrote: On 05/23/2011 03:35 AM, Jeffs wrote: Hello All, Assume the following setup: Client from xyz.com logins to Many_Companies.com, accesses their email campaign software running on Many_Companies.com and sends out newsletters. A short time later a cli

Re: sender_dependent_relayhost_maps question

2011-05-23 Thread Jeroen Geilman
On 05/23/2011 03:35 AM, Jeffs wrote: Hello All, Assume the following setup: Client from xyz.com logins to Many_Companies.com, accesses their email campaign software running on Many_Companies.com and sends out newsletters. A short time later a client from def.com logins to Many_Companies.com

Re: sender_dependent_relayhost_maps vs aliases file

2011-02-09 Thread gbcyoyo
I kept the same files, but updated all the binariesthe clause works if the mail needs to send the mail elsewhere So instead of using relahost it uses the relay defined in the sender_relay file When the mail is destined to the main relay then it does normal routine of looking in transpo

Re: sender_dependent_relayhost_maps vs aliases file

2011-02-08 Thread Stan Hoeppner
GB GB put forth on 2/8/2011 4:52 PM: > so if I understand correctly, when I use > sender_dependent_relayhost_maps transport and relayhost need to be > empty GB GB put forth on 2/8/2011 4:10 PM: > here is the outputthe current version of postfix is 2.3.19 > > mail_release_date = 20040915 >

Re: sender_dependent_relayhost_maps vs aliases file

2011-02-08 Thread GB GB
When I search for those clauses I come up with the following address_verify_relayhost = $relayhost address_verify_transport_maps = $transport_maps proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay

Re: sender_dependent_relayhost_maps vs aliases file

2011-02-08 Thread Wietse Venema
GB GB: > postconf -n -c /etc/postfix-hd will render the output I sent in the > earlier mail I don't have time for people with hundreds of parameters in their main.cf file. You can find out for yourself if the requirements for sender_dependent_relayhost_maps are met: no transport_maps, no rel

Re: sender_dependent_relayhost_maps vs aliases file

2011-02-08 Thread Daniel Bromberg
On 2/8/2011 5:39 PM, GB GB wrote: postconf -n -c /etc/postfix-hd will render the output I sent in the earlier mail regards, On Tue, Feb 8, 2011 at 5:20 PM, Wietse Venema wrote: GB GB: here is the outputthe current version of postfix is 2.3.19 I asked for "postconf -n" output. I di

Re: sender_dependent_relayhost_maps vs aliases file

2011-02-08 Thread GB GB
postconf -n -c /etc/postfix-hd will render the output I sent in the earlier mail regards, On Tue, Feb 8, 2011 at 5:20 PM, Wietse Venema wrote: > GB GB: >> here is the outputthe current version of postfix is 2.3.19 >> > > I asked for "postconf -n" output. > > I did not ask for hundreds of

Re: sender_dependent_relayhost_maps vs aliases file

2011-02-08 Thread Wietse Venema
GB GB: > here is the outputthe current version of postfix is 2.3.19 > I asked for "postconf -n" output. I did not ask for hundreds of parameter settings. Wietse

Re: sender_dependent_relayhost_maps vs aliases file

2011-02-08 Thread GB GB
here is the outputthe current version of postfix is 2.3.19 2bounce_notice_recipient = postmaster access_map_reject_code = 554 address_verify_default_transport = $default_transport address_verify_local_transport = $local_transport address_verify_map = address_verify_negative_cache = yes address

Re: sender_dependent_relayhost_maps vs aliases file

2011-02-08 Thread Wietse Venema
gbcy...@gmail.com: > My apologies, the sender_relay contains > /r...@ltest01.domain.com/ [1.2.3.4] > > Regxp is what I will use for this map Please show COMPLETE postconf -n output. As documented at http://www.postfix.org/postconf.5.html#sender_dependent_relayhost_maps the sender_dependent_r

Re: sender_dependent_relayhost_maps vs aliases file

2011-02-08 Thread gbcyoyo
My apologies, the sender_relay contains /r...@ltest01.domain.com/ [1.2.3.4] Regxp is what I will use for this map Regards, On 2011-02-08, at 3:48 PM, Jeroen Geilman wrote: > On 02/08/2011 08:47 PM, GB GB wrote: >> Hello, >> >> I noticed after configuring sender_dependent_relayhost_maps an

Re: sender_dependent_relayhost_maps vs aliases file

2011-02-08 Thread Jeroen Geilman
On 02/08/2011 08:47 PM, GB GB wrote: Hello, I noticed after configuring sender_dependent_relayhost_maps and expecting it to forward mail to my listed destination does not work as expected. I need sender_dependent_relayhost_maps to forward mail depending what the the source is. Our team has spli

RE: sender_dependent_relayhost_maps + recipient_bcc_maps

2010-03-25 Thread Damon Miller
On Thu, Mar 25, 2010 at 7:45:14PM -0400, /dev/rob0 wrote: > On Thu, Mar 25, 2010 at 12:48:33PM -0400, Damon Miller wrote: > > Hello. I've configured Postfix to relay mail from a specific > > address to a remote MTA through 'sender_dependent_relayhost_maps' > > and that works fine. I now want to

Re: sender_dependent_relayhost_maps + recipient_bcc_maps

2010-03-25 Thread /dev/rob0
On Thu, Mar 25, 2010 at 12:48:33PM -0400, Damon Miller wrote: > Hello. I've configured Postfix to relay mail from a specific > address to a remote MTA through 'sender_dependent_relayhost_maps' > and that works fine. I now want to BCC an address for messages > sent by this same user. The most

Re: sender_dependent_relayhost_maps and ldap with multivalue attribute

2009-12-05 Thread Giovanni Mancuso
Yes, i solved problem using how result_attribute a single-valued attribute. Thanks Victor Duchovni wrote: > On Thu, Dec 03, 2009 at 01:57:07AM +0100, Giovanni Mancuso wrote: > > >> result_attribute = domains >> result_format = [127.0.0.1]:2501 >> expansion_limit = 1 >> >> But i have: >> postfi

Re: sender_dependent_relayhost_maps and ldap with multivalue attribute

2009-12-03 Thread Victor Duchovni
On Thu, Dec 03, 2009 at 01:57:07AM +0100, Giovanni Mancuso wrote: > result_attribute = domains > result_format = [127.0.0.1]:2501 > expansion_limit = 1 > > But i have: > postfix/trivial-rewrite[12577]: warning: dict_ldap_get_values[1]: > /opt/postfix/etc/ldap/ldap_relaymaps.cf: Expansion limit ex

Re: sender_dependent_relayhost_maps and ldap with multivalue attribute

2009-12-03 Thread lst_hoe02
Zitat von Jerry : On Wed, 2 Dec 2009 20:51:16 -0500 (EST) Wietse Venema replied: Wietse: You must return a result that satisfies the documented syntax. http://www.postfix.org/postconf.html#relayhost Wietse, maybe it is something local to my machine; however that URL yields this result here

Re: sender_dependent_relayhost_maps and ldap with multivalue attribute

2009-12-03 Thread Jerry
On Wed, 2 Dec 2009 20:51:16 -0500 (EST) Wietse Venema replied: >Wietse: >> You must return a result that satisfies the documented syntax. >> http://www.postfix.org/postconf.html#relayhost Wietse, maybe it is something local to my machine; however that URL yields this result here: Not Found The

Re: sender_dependent_relayhost_maps and ldap with multivalue attribute

2009-12-02 Thread /dev/rob0
> Wietse Venema wrote: > > Giovanni Mancuso: > > > >> I'm trying to configure my postfix to use a different > >> relayhost if the sender of the email is in ldap. > > > > You must return a result that satisfies the documented syntax. > > http://www.postfix.org/postconf.html#relayhost On Thu, Dec

Re: sender_dependent_relayhost_maps and ldap with multivalue attribute

2009-12-02 Thread Wietse Venema
Wietse: > You must return a result that satisfies the documented syntax. > http://www.postfix.org/postconf.html#relayhost Giovanni Mancuso: > Thanks for answer. > > But, can i configure ldap search to manage multivalue in entry? See my previous reply, above. Wietse

Re: sender_dependent_relayhost_maps and ldap with multivalue attribute

2009-12-02 Thread Giovanni Mancuso
Thanks for answer. But, can i configure ldap search to manage multivalue in entry? I tried with: server_host = ldap://x.x.x.x server_port = 389 search_base = SenderHost=exampleSender,o=AllHost scope = sub query_filter = (&(domains=%d)(objectClass=provider)) result_attribute = domains result_forma

Re: sender_dependent_relayhost_maps and ldap with multivalue attribute

2009-12-02 Thread Wietse Venema
Giovanni Mancuso: > Hi guys, > > I'm trying to configure my postfix to use a different relayhost if the > sender of the email is in ldap. You must return a result that satisfies the documented syntax. http://www.postfix.org/postconf.html#relayhost Wietse

Re: Sender_Dependent_Relayhost_Maps

2009-06-12 Thread Magnus Bäck
On Saturday, June 13, 2009 at 04:25 CEST, Gerard wrote: > I still am having a problem getting 'sender_dependent_relaying" to work. > > This is a snippet of the sender_relay file: > > gmail.com smtp:smtp.gmail.com:587 > yahoo.com smtp:smtp.plus.mail.yahoo.com:587 As documented, @ex

Re: Sender_Dependent_Relayhost_Maps

2009-06-12 Thread Victor Duchovni
On Fri, Jun 12, 2009 at 10:25:27PM -0400, Gerard wrote: > I still am having a problem getting 'sender_dependent_relaying" to work. > > This is a snippet of the sender_relay file: > > gmail.com smtp:smtp.gmail.com:587 > yahoo.com smtp:smtp.plus.mail.yahoo.com:587 Well, this is transport(

Re: sender_dependent_relayhost_maps

2009-05-26 Thread Victor Duchovni
On Tue, May 26, 2009 at 07:05:36PM -0300, Jose kojima wrote: > it i have 200 virtual ips, i need do 200 postmulti instaces ? > If you have 200 virtual IPs either you are solving the wrong problem, or Postfix is not your solution. The only use-case for this I can think of is "snow-shoe" spam oper

Re: sender_dependent_relayhost_maps

2009-05-26 Thread Wietse Venema
Jose kojima: > it i have 200 virtual ips, i need do 200 postmulti instaces ? Why do you need different SOURCE ip addresses. Wietse

Re: sender_dependent_relayhost_maps

2009-05-26 Thread Jose kojima
it i have 200 virtual ips, i need do 200 postmulti instaces ? 2009/5/26 Victor Duchovni : > On Tue, May 26, 2009 at 06:17:37PM -0300, Jose kojima wrote: > >> hi there, >> >> i have a problem here, i there multiply ips in my postfix server: >> >> eth0 192.168.1.1 >> eth0:1: 192.168.1.2 >> eth0:2: 1

Re: sender_dependent_relayhost_maps

2009-05-26 Thread Jose kojima
ok, ill look, thanks, 2009/5/26 Victor Duchovni : > On Tue, May 26, 2009 at 06:17:37PM -0300, Jose kojima wrote: > >> hi there, >> >> i have a problem here, i there multiply ips in my postfix server: >> >> eth0 192.168.1.1 >> eth0:1: 192.168.1.2 >> eth0:2: 192.168.1.3 >> >> i like to send the doma

Re: sender_dependent_relayhost_maps

2009-05-26 Thread Jose kojima
thanks a lot... how i can to it with postfix 2.6+ ? there docs about ? 2009/5/26 Brian Evans - Postfix List : > Jose kojima wrote: >> hi there, >> >> i have a problem here, i there multiply ips in my postfix server: >> >> eth0 192.168.1.1 >> eth0:1: 192.168.1.2 >> eth0:2: 192.168.1.3 >> >> i like

Re: sender_dependent_relayhost_maps

2009-05-26 Thread Victor Duchovni
On Tue, May 26, 2009 at 06:17:37PM -0300, Jose kojima wrote: > hi there, > > i have a problem here, i there multiply ips in my postfix server: > > eth0 192.168.1.1 > eth0:1: 192.168.1.2 > eth0:2: 192.168.1.3 > > i like to send the domain test.com via 192.168.1.2 source ip, and > test1.com via 1

Re: sender_dependent_relayhost_maps

2009-05-26 Thread Brian Evans - Postfix List
Jose kojima wrote: > hi there, > > i have a problem here, i there multiply ips in my postfix server: > > eth0 192.168.1.1 > eth0:1: 192.168.1.2 > eth0:2: 192.168.1.3 > > i like to send the domain test.com via 192.168.1.2 source ip, and > test1.com via 192.168.1.3. I did read about > sender_dependen

Re: Sender_dependent_relayhost_maps table syntax

2009-01-29 Thread Gilles Albusac
Thanks - Original Message - From: "Wietse Venema" To: "Postfix users" Sent: Thursday, January 29, 2009 3:23 PM Subject: Re: Sender_dependent_relayhost_maps table syntax Wietse Venema: Gilles Albusac: > I have a syntax problem in my sender_dependent_relayh

Re: Sender_dependent_relayhost_maps table syntax

2009-01-29 Thread Wietse Venema
Wietse Venema: > Gilles Albusac: > > I have a syntax problem in my sender_dependent_relayhost_maps table (hash > > table). > > > > I would like to add a default relay at the end of the file (the line with > > *). > > > > /etc/postfix/sender_relay = > > @domain1.com [192.168.1.1] > > @domain2.c

Re: Sender_dependent_relayhost_maps table syntax

2009-01-29 Thread Wietse Venema
Gilles Albusac: > I have a syntax problem in my sender_dependent_relayhost_maps table (hash > table). > > I would like to add a default relay at the end of the file (the line with *). > > /etc/postfix/sender_relay = > @domain1.com [192.168.1.1] > @domain2.com [192.168.1.2] > * [192.168.1.3

Re: sender_dependent_relayhost_maps - am i missing something?

2008-10-07 Thread Noel Jones
Wietse Venema wrote: Victor Duchovni: On Tue, Oct 07, 2008 at 04:07:28PM -0500, Noel Jones wrote: As documented, relayhost takes precedence over sender_dependent_relayhost_maps. http://www.postfix.org/postconf.5.html#sender_dependent_relayhost_maps My reading of the code in 2.4, 2.5 and 2.6

Re: sender_dependent_relayhost_maps - am i missing something?

2008-10-07 Thread Noel Jones
Richard Wurman wrote: I think my problem is related to my regular expression syntax. What is the pcre equivalent to regexp's: /@example\.com$/ ? I want to match on @billing.domain2.com .. AFAIK there are subtle differences between pcre and regexp syntax and the most basic stuff is the same? I'v

Re: sender_dependent_relayhost_maps - am i missing something?

2008-10-07 Thread Richard Wurman
I think my problem is related to my regular expression syntax. What is the pcre equivalent to regexp's: /@example\.com$/ ? I want to match on @billing.domain2.com .. AFAIK there are subtle differences between pcre and regexp syntax and the most basic stuff is the same? I've been trying this in my

Re: sender_dependent_relayhost_maps - am i missing something?

2008-10-07 Thread Wietse Venema
Victor Duchovni: > On Tue, Oct 07, 2008 at 04:07:28PM -0500, Noel Jones wrote: > > > As documented, relayhost takes precedence over > > sender_dependent_relayhost_maps. > > http://www.postfix.org/postconf.5.html#sender_dependent_relayhost_maps > > My reading of the code in 2.4, 2.5 and 2.6 is th

Re: sender_dependent_relayhost_maps - am i missing something?

2008-10-07 Thread Victor Duchovni
On Tue, Oct 07, 2008 at 04:07:28PM -0500, Noel Jones wrote: > As documented, relayhost takes precedence over > sender_dependent_relayhost_maps. > http://www.postfix.org/postconf.5.html#sender_dependent_relayhost_maps My reading of the code in 2.4, 2.5 and 2.6 is that sender dependent relayhost o

Re: sender_dependent_relayhost_maps - am i missing something?

2008-10-07 Thread Richard Wurman
> # /etc/postfix/sender_maps.regexp > /@example\.com$/ [192.168.10.3] > /./ [192.168.10.5 > > - do not index a regexp table with postmap. > - you can use pcre rather than regexp above if your postfix supports pcre > tables. Ah I misunderstood the precedence, thinking that relayhost in main.cf wo

Re: sender_dependent_relayhost_maps - am i missing something?

2008-10-07 Thread Noel Jones
Richard Wurman wrote: I'm attempting to get sender_dependent_relayhost_maps working on postfix 2.5.1. What I'm trying to do is this: all mail from [EMAIL PROTECTED] should be sent out from a different mail server, because SPF has been set to that IP address. All others should use the default rela

Re: sender_dependent_relayhost_maps

2008-08-12 Thread Noel Jones
Wadeegh Hendricks wrote: I thought I would resend this as it may be old and nobody looking at it, if not and I am just being ignored then my aplogies :-) My scenario is as follows: I have an SMTP server setup to relay all mail to a server on the internet that does virus and SPAM scanning as w