Re: Relaying email to exchange

2013-02-15 Thread Reindl Harald
Am 15.02.2013 01:30, schrieb Simon Walter: On 02/15/2013 06:10 AM, Reindl Harald wrote: no need for two MX records at all I think perhaps that is a bit of hasty advice. I'm quite sure given a large enough infrastructure and traffic load that you'd want two or more MX records with a

Re: Relaying email to exchange

2013-02-15 Thread Mikael Bak
Kevin, On 02/14/2013 09:41 PM, Kevin Blackwell wrote: I have 2 mx records. The primary is Exchanges edge server that has it's own internal spam filtering. The secondary is poxtfix server relaying mail to the edge server as a backup mx record. Are you saying the postfix server should be behind

postfix multiple WAN-IP setup

2013-02-15 Thread Tom Loewen
EHLO list, we have two WAN connections. One has the RDNS entry mx0.example.com the other has mx1.example.com. Is there a way to setup postfix so that he will reply with the correct hostname? I know that you can do this in master.cf but the server is behind a NAT, so Postfix didn't have any

Re: Postscreen RBLs

2013-02-15 Thread Nikolaos Milas
On 11/2/2013 6:47 μμ, Noel Jones wrote: There is no one-size-fits-all, so do what fits at your site. What some folks do is weigh barracuda*1 and a few other dnsbl's such as bl.spamcop.net, bl.spameatingmonkey.net, fresh.spameatingmonkey.net, hostkarma.junkemailfilter.com=127.0.0.2, or

Graphing mail stats

2013-02-15 Thread Nikolaos Milas
Hello, Does anyone know of any app like mailgraph, smart enough to combine data from amavis and postfix and provide more detailed stats like: Mail dropped by postscreen Mail dropped by amavis as spam (through spamassassin) Mail dropped by amavis as virus (through clamd) Ideally it would

Re: postfix multiple WAN-IP setup

2013-02-15 Thread Birta Levente
On 15/02/2013 16:14, Tom Loewen wrote: EHLO list, we have two WAN connections. One has the RDNS entry mx0.example.com the other has mx1.example.com. Is there a way to setup postfix so that he will reply with the correct hostname? I know that you can do this in master.cf but the server is behind

Re: postfix multiple WAN-IP setup

2013-02-15 Thread Wietse Venema
Tom Loewen: EHLO list, we have two WAN connections. One has the RDNS entry mx0.example.com the other has mx1.example.com. Is there a way to setup postfix so that he will reply with the correct hostname? I know that you can do this in master.cf but the server is behind a NAT, so Postfix

Re: Graphing mail stats

2013-02-15 Thread Birta Levente
On 15/02/2013 16:29, Nikolaos Milas wrote: Hello, Does anyone know of any app like mailgraph, smart enough to combine data from amavis and postfix and provide more detailed stats like: Mail dropped by postscreen Mail dropped by amavis as spam (through spamassassin) Mail dropped by amavis as

Re: Graphing mail stats

2013-02-15 Thread Bernics Gábor | Penta Unió Zrt .
I think mailgraph cant' show different domains. // szevasz Levente :) 2013-02-15 15:53 időpontban Birta Levente ezt írta: On 15/02/2013 16:29, Nikolaos Milas wrote: Hello, Does anyone know of any app like mailgraph, smart enough to combine data from amavis and postfix and provide more

Re: postfix multiple WAN-IP setup

2013-02-15 Thread Tom Loewen
Am Fri, 15 Feb 2013 09:32:26 -0500 (EST) schrieb Wietse Venema wie...@porcupine.org: You MUST specify external IP addresses with main.cf:proxy_interfaces. This is required to prevent mail from looping between MX hosts, and is required to handle mail for user@[ipaddress]. Hi Wietse, thanks.

Re: postfix multiple WAN-IP setup

2013-02-15 Thread Tom Loewen
Am Fri, 15 Feb 2013 16:31:52 +0200 schrieb Birta Levente blevi.li...@gmail.com: But all of this work only with proper set up of NAT, route ... Hi Levi, thanks. I didn't recognize that I could have another Port 25 NAT-Rule on my WAN2-Interface. Best regards Tom

Re: postfix multiple WAN-IP setup

2013-02-15 Thread Viktor Dukhovni
On Fri, Feb 15, 2013 at 03:14:44PM +0100, Tom Loewen wrote: We have two WAN connections. One has the RDNS entry mx0.example.com the other has mx1.example.com. Is there a way to setup postfix so that he will reply with the correct hostname? I know that you can do this in master.cf but the

Re: virtual-regex problem

2013-02-15 Thread Alex
I have checked my syntax and added another email matching string. It works only if wild card match is not present. As soon as wildcard is added other matches stop working. I can see in the maillog that initially regex is happening and then wildcard takes over. Is there anything else I can look at

Re: virtual-regex problem

2013-02-15 Thread Noel Jones
On 2/15/2013 10:34 AM, Alex wrote: I have checked my syntax and added another email matching string. It works only if wild card match is not present. As soon as wildcard is added other matches stop working. I can see in the maillog that initially regex is happening and then wildcard takes

Re: Graphing mail stats

2013-02-15 Thread Nikolaos Milas
On 15/2/2013 4:53 μμ, Birta Levente wrote: Mailgraph http://mailgraph.schweikert.ch/ is really cool, but need to make some modifications to see postscreen rejects: http://www.birkosan.com/2012/05/mailgraph-with-postfixpostscreen.html Thanks, I have patched mailgraph for long queue IDs and it

Re: virtual-regex problem

2013-02-15 Thread Alex
It seems that regex is indeed working, but something is forcing email into local host instead of outside. This only happens with wildcard in place. Here is an extract from maillog: Feb 15 14:30:54 qa6 postfix/error[9898]: A6EC61F88989: to=somen...@gmail.com, orig_to=somen...@yahoo.com,

Re: virtual-regex problem

2013-02-15 Thread Noel Jones
On 2/15/2013 4:35 PM, Alex wrote: It seems that regex is indeed working, but something is forcing email into local host instead of outside. This only happens with wildcard in place. Here is an extract from maillog: Feb 15 14:30:54 qa6 postfix/error[9898]: A6EC61F88989:

Re: virtual-regex problem

2013-02-15 Thread Alex
Hi Noel, Furthermore wildcard seems to have an effect only on email addresses for the parent domain of the postfix host. If I send email to @yahoo and regex changes it to @gmail.com, this works fine. If I send email to @mydomain regex changes it to wildcard. Does it make sense?

Re: virtual-regex problem

2013-02-15 Thread Noel Jones
On 2/15/2013 5:25 PM, Alex wrote: Hi Noel, Furthermore wildcard seems to have an effect only on email addresses for the parent domain of the postfix host. If I send email to @yahoo and regex changes it to @gmail.com, this works fine. If I send email to @mydomain regex changes it to

Re: virtual-regex problem

2013-02-15 Thread Alex
No doubt about it. I just wish I can understand how to change it. :) Any ideas?

Re: virtual-regex problem

2013-02-15 Thread /dev/rob0
On Fri, Feb 15, 2013 at 02:35:31PM -0800, Alex wrote: It seems that regex is indeed working, but something is forcing email into local host instead of outside. This only happens with wildcard in place. Here is an extract from maillog: Feb 15 14:30:54 qa6 postfix/error[9898]:

Re: virtual-regex problem

2013-02-15 Thread Alex
Solved. One typo. I guess I was staring at the file to long.

Re: Restrict some users to local recipients only?

2013-02-15 Thread Jeroen Geilman
On 02/14/2013 12:23 AM, Patrick wrote: I have a customer who would like to configure the Postfix server he uses such that certain users can only send to local users. Use a restriction class that implements this; examples are included here: