Multiple Commands in

2012-07-30 Thread Tom H.
Hello Together! Is it possible to create a pipe in master.cf that has multiple piped commands as argument for argv e.g.: argv=/path/command1 | /path/command2 | … | /path/commandn or do I have to write a script for that? Thanks in advance for an answere. Regards, Tom

[Help] Postscreen let zombies to pass through

2012-07-30 Thread Marco
Hello, I would ask help about a problem with my postscreen. I have four MX servers using postscreen with one shared memcached server. Sometimes, a zombi already blocked by dnsbl receive a PASS NEW instead of a reject. I can't understand why, maybe there is something wrong in my configuration.

Re: [Help] Postscreen let zombies to pass through

2012-07-30 Thread Wietse Venema
Marco: Hello, I would ask help about a problem with my postscreen. I have four MX servers using postscreen with one shared memcached server. You are mixing the logging from two different servers and then you word-wrap the long lines. I don't have time to unwrap the lines and then delete

Re: Multiple Commands in

2012-07-30 Thread Wietse Venema
Tom H.: Hello Together! Is it possible to create a pipe in master.cf that has multiple piped commands as argument for argv e.g.: argv=/path/command1 | /path/command2 | ? | /path/commandn As documented, master(5) does not implement shell command syntax. or do I have to write a

Re: no route to host

2012-07-30 Thread Stan Hoeppner
On 7/29/2012 6:57 PM, Engin qwert wrote: Actually it is not router. It is only BPL modem. After Static IP hiring the ISP send me an email how to configure the server with this IP addresses information. The 10.138.9.201 internal IP address selection was not made by myself. Engin what

Re: [Help] Postscreen let zombies to pass through

2012-07-30 Thread Marco
Wietse Venema wietse at porcupine.org writes: Please show the problem without logs from other servers. I'm sorry for word wrap and mix. This is an example: https://docs.google.com/open?id=0B-09bt7bbY_0MHU4bGduZTFWeGc Thanks again Marco

Re: no route to host

2012-07-30 Thread Nerijus Kislauskas
On 07/30/2012 03:34 PM, Stan Hoeppner wrote: Engin what country are you in? Who is your ISP? Stan, *whois* your friend: netname: MTRNT-NET descr: Metronet Iletisim Teknoloji A.S. country: TR TR stands for Turkey. Domain registered for Engim Yılmaz from Istanbul. I'm

Minor RFC 4954 violation

2012-07-30 Thread Timo Sirainen
Looks like Postfix violates this MUST: The AUTH command is not permitted during a mail transaction. An AUTH command issued during a mail transaction MUST be rejected with a 503 reply. mail from: 250 2.1.0 Ok auth plain XXX 235 2.0.0 Authentication successful

Re: Minor RFC 4954 violation

2012-07-30 Thread Wietse Venema
Timo Sirainen: Looks like Postfix violates this MUST: The AUTH command is not permitted during a mail transaction. An AUTH command issued during a mail transaction MUST be rejected with a 503 reply. Fixed in the new release. I see no urgent reason to update

Re: [Help] Postscreen let zombies to pass through

2012-07-30 Thread Wietse Venema
Marco: Wietse Venema wietse at porcupine.org writes: Please show the problem without logs from other servers. I'm sorry for word wrap and mix. This is an example: https://docs.google.com/open?id=0B-09bt7bbY_0MHU4bGduZTFWeGc The log below is for a connection from that started 03:46:32.

Re: Rewrite envelope recipient only for specific SMTP client machines?

2012-07-30 Thread Andreas Ntaflos
On 25/07/12 17:45, Andreas Ntaflos wrote: Short version: Is there a way to apply recipient canonical mappings (or any other mappings that rewrite the envelope recipient) for specific SMTP client machines in a null client/central mailhub environment? So it seems this is really not possible? Or

Re: no route to host

2012-07-30 Thread Benny Pedersen
Den 2012-07-30 14:34, Stan Hoeppner skrev: Eingin, once you give us the ISP name we should be able to quickly find the TOS and know whether or not they allow you to host your own outbound mail server. Assuming the web site is in a language one of us speaks. I'm English only. if this is

Re: Rewrite envelope recipient only for specific SMTP client machines?

2012-07-30 Thread Wietse Venema
Andreas Ntaflos: On 25/07/12 17:45, Andreas Ntaflos wrote: Short version: Is there a way to apply recipient canonical mappings (or any other mappings that rewrite the envelope recipient) for specific SMTP client machines in a null client/central mailhub environment? So it seems this is

Re: no route to host

2012-07-30 Thread Stan Hoeppner
On 7/30/2012 8:19 AM, Nerijus Kislauskas wrote: On 07/30/2012 03:34 PM, Stan Hoeppner wrote: Engin what country are you in? Who is your ISP? Stan, *whois* your friend: netname: MTRNT-NET descr: Metronet Iletisim Teknoloji A.S. country: TR TR stands for

Re: sender_dependent_default_transport_maps difficulties

2012-07-30 Thread Russell Jones
Thanks Viktor. I feel like I am closer, just not quite there yet. I am now getting the following error: mail for 1.1.1.1 loops back to myself main.cf: sender_dependent_default_transport_maps = hash:/etc/postfix/sender_dependent_default_transport_maps master.cf: 1.1.1.1:smtp inetn

Re: sender_dependent_default_transport_maps difficulties

2012-07-30 Thread Viktor Dukhovni
On Mon, Jul 30, 2012 at 09:57:10PM -0500, Russell Jones wrote: Thanks Viktor. I feel like I am closer, just not quite there yet. I am now getting the following error: mail for 1.1.1.1 loops back to myself main.cf: sender_dependent_default_transport_maps =

Re: sender_dependent_default_transport_maps difficulties

2012-07-30 Thread Russell Jones
Thank you for the delightful insight. I thought I was pretty clear in what I was attempting to do in my first email: I have a simple postfix 2.9.3 server with 2 IP addresses. I want all mail sent from a sender address of *@example1 to go through 1.1.1.1, and all mail sent from a sender

Re: sender_dependent_default_transport_maps difficulties

2012-07-30 Thread Viktor Dukhovni
On Mon, Jul 30, 2012 at 11:33:40PM -0500, Russell Jones wrote: I have a simple postfix 2.9.3 server with 2 IP addresses. I want all mail sent from a sender address of *@example1 to go through 1.1.1.1, and all mail sent from a sender address of *@example2.com to go through 1.1.1.2. What does

Re: sender_dependent_default_transport_maps difficulties

2012-07-30 Thread Russell Jones
What does go through mean? The source IP is defined based on the sender's domain. This is what I need to achieve: Recently there have been requests for sending mail with source IP addresses that depend on the envelope sender.

Re: sender_dependent_default_transport_maps difficulties

2012-07-30 Thread Russell Jones
Some clarification, I'm not asking you (or anyone) to write my configs for me, but to just point me in some sort of direction that has some working examples I could pick up off of the postfix documentation has some nice examples and tutorials for all sort of things, just nothing for this

Re: sender_dependent_default_transport_maps difficulties

2012-07-30 Thread Viktor Dukhovni
On Mon, Jul 30, 2012 at 11:56:05PM -0500, Russell Jones wrote: The source IP is defined based on the sender's domain. This is what I need to achieve: Recently there have been requests for sending mail with source IP addresses that depend on the envelope sender.

Re: sender_dependent_default_transport_maps difficulties

2012-07-30 Thread Russell Jones
Thanks Viktor, the examples helped considerably. I now have it working as intended :) Hopefully this thread will help others in the future that may have issues too. On 7/31/2012 12:21 AM, Viktor Dukhovni wrote: On Mon, Jul 30, 2012 at 11:56:05PM -0500, Russell Jones wrote: The source