Re: header_checks

2010-05-07 Thread James Logan
Easy fix - we always escape the @ character with a black slash, like ret\@, on several servers where we use regular expressions in postfix header_checks. Jim Logan On Thu, May 6, 2010 at 7:02 AM, J.D. Bronson wrote: > I am seeing random spam come in with this consistent type of 'from': > > (r...

Re: header_checks

2010-05-07 Thread mouss
J.D. Bronson a écrit : > I am seeing random spam come in with this consistent type of 'from': what is the envelope sender (Return-path)? I used to have a check_sender_access for just that to trigger anti snow shoe spam, but it no more catches anything. more generally, when you ask about how to b

Re: Drop mail when X-Something header contains "value" AND destination domain == "somedomain.com"

2010-05-07 Thread mouss
Roman Medina-Heigl Hernandez a écrit : > Hello, > > (see subject) Is it easily doable with Postfix? (notice that I'd like to > combine some checks and that the block action should only be performed in > both conditions are met; I'd like to be able to put more similar complex > "rules" mixed with t

Re: Php hook for all my emails

2010-05-07 Thread mouss
Andrés Gattinoni a écrit : > On Fri, May 7, 2010 at 5:29 PM, Noel Jones wrote: >> On 5/7/2010 2:53 PM, Andrés Gattinoni wrote: >> Here's an example of a shell script that receives all mail. Shouldn't be >> much of a stretch to use PHP instead. >> http://www.postfix.org/FILTER_README.html#simple_fi

Re: Postfix architecture + Ldap + Courier IMAP

2010-05-07 Thread mouss
spambox a écrit : > Hello everyone. > > This is my first question here so please forgive me if i'm out of topic or > something... > > > I'm building up this architecture with postfix + ldap + Courier IMAP > (i hope the below ascii art is displaying correctly :) > > > > |-| > |

Re: Postfix smtpd_recipient_restriction s not working... please help.

2010-05-07 Thread mouss
Andrew Grant a écrit : > Hello, > > I have been trying to configure smtpd_restriction_classes to limit > access to my internal mailing lists (/etc/aliases). Unfortunately the > email is still going through even though I thought I blocked all email > to a specific alias via a class. > > To hopeful

Re: Php hook for all my emails

2010-05-07 Thread Noel Jones
On 5/7/2010 3:40 PM, Andrés Gattinoni wrote: On Fri, May 7, 2010 at 5:29 PM, Noel Jones wrote: On 5/7/2010 2:53 PM, Andrés Gattinoni wrote: Here's an example of a shell script that receives all mail. Shouldn't be much of a stretch to use PHP instead. http://www.postfix.org/FILTER_README.html

Re: Php hook for all my emails

2010-05-07 Thread Andrés Gattinoni
On Fri, May 7, 2010 at 5:29 PM, Noel Jones wrote: > On 5/7/2010 2:53 PM, Andrés Gattinoni wrote: >> > Here's an example of a shell script that receives all mail. Shouldn't be > much of a stretch to use PHP instead. > http://www.postfix.org/FILTER_README.html#simple_filter > > If you still want to

Re: Php hook for all my emails

2010-05-07 Thread Noel Jones
On 5/7/2010 2:53 PM, Andrés Gattinoni wrote: Hi there, I've just suscribed because I'm having troubles to set up a postfix server and just can't find the right answer in google. I'm running Postfix 2.3.3 on a CentOS 5.4 box with Dovecot 1.0.7 for authentication, Amavisd-new 2.6.4, SpamAssasin 3

Php hook for all my emails

2010-05-07 Thread Andrés Gattinoni
Hi there, I've just suscribed because I'm having troubles to set up a postfix server and just can't find the right answer in google. I'm running Postfix 2.3.3 on a CentOS 5.4 box with Dovecot 1.0.7 for authentication, Amavisd-new 2.6.4, SpamAssasin 3.3.1 and ClamAV 0.96. I finally got it all work

Re: Newsletter server setup questions

2010-05-07 Thread Nataraj
Dragan Zubac wrote: Hello I need to setup Postfix mail server that will be used only occasionally for sending out newsletters and other automated emails. There are 4 boxes,1. is the box where Postfix is installed,boxes 2.,3. and 4. are boxes that have various scripts that will use SMTP to con

Postfix smtpd_recipient_restrictions not working… please help.

2010-05-07 Thread Andrew Grant
Hello, I have been trying to configure smtpd_restriction_classes to limit access to my internal mailing lists (/etc/aliases). Unfortunately the email is still going through even though I thought I blocked all email to a specific alias via a class. To hopefully clear up any confusion, I want to co

Re: PostFix Mail Delivery to Different Hosts

2010-05-07 Thread Wietse Venema
Simon Croome: > >> # main.cf > >> transport_maps = hash:/etc/postfix/transports > >> > >> # /etc/postfix/transports > >> firstname.lastn...@example.com relay:lotus.notes.server:25 > >> firstname1.lastna...@example.comrelay:lotus.notes.server:25 > >> firstname2.lastna...@example.com

Re: Newsletter server setup questions

2010-05-07 Thread Peter H. Coffin
On Thu, May 06, 2010 at 10:08:31PM +0200, John Adams wrote: > >2. The scripts will send 'important' and 'less important' emails. If > >script is programmed to send 'important' ones,the copy of email > >must be sent to a separate account that will archive all sent emails > >(automatically BCC or som

Postfix architecture + Ldap + Courier IMAP

2010-05-07 Thread spambox
Hello everyone. This is my first question here so please forgive me if i'm out of topic or something... I'm building up this architecture with postfix + ldap + Courier IMAP (i hope the below ascii art is displaying correctly :) |-| | postfix1 | very big storage |

Re: PostFix Mail Delivery to Different Hosts

2010-05-07 Thread Simon Croome
On 07/05/2010 12:19, Wietse Venema wrote: Patrick Ben Koetter: * Simon Croome: On 05/05/2010 17:42, Victor Duchovni wrote: Here's the easier version... Take a look at the "TABLE SEARCH ORDER" in man 5 transport. Here's an example: # main.cf transport_maps = hash:/etc/postfi

Re: PostFix Mail Delivery to Different Hosts

2010-05-07 Thread Patrick Ben Koetter
* Simon Croome : > >Take a look at the "TABLE SEARCH ORDER" in man 5 transport. Here's an > >example: > > > ># main.cf > >transport_maps = hash:/etc/postfix/transports > > > ># /etc/postfix/transports > >firstname.lastn...@example.com relay:lotus.notes.server:25 > >firstname1.lastna...@ex

Re: PostFix Mail Delivery to Different Hosts

2010-05-07 Thread Wietse Venema
Patrick Ben Koetter: > * Simon Croome : > > On 05/05/2010 17:42, Victor Duchovni wrote: > Here's the easier version... > > Take a look at the "TABLE SEARCH ORDER" in man 5 transport. Here's an example: > > # main.cf > transport_maps = hash:/etc/postfix/transports > > # /etc/postfix/transports >

Re: PostFix Mail Delivery to Different Hosts

2010-05-07 Thread Simon Croome
On 07/05/2010 10:30, Patrick Ben Koetter wrote: * Simon Croome: On 05/05/2010 17:42, Victor Duchovni wrote: On Wed, May 05, 2010 at 04:21:37PM +0100, Simon Croome wrote: We are replacing sendmail as our MTA to Postfix and our internal mail relay receives mail from our edge M

Re: PostFix Mail Delivery to Different Hosts

2010-05-07 Thread Patrick Ben Koetter
* Simon Croome : > On 05/05/2010 17:42, Victor Duchovni wrote: > >On Wed, May 05, 2010 at 04:21:37PM +0100, Simon Croome wrote: > > > >>We are replacing sendmail as our MTA to Postfix and our internal mail relay > >>receives mail from our edge MTA server<#> in the DMZ, once mail is > >>received th

Re: PostFix Mail Delivery to Different Hosts

2010-05-07 Thread Simon Croome
On 05/05/2010 17:42, Victor Duchovni wrote: On Wed, May 05, 2010 at 04:21:37PM +0100, Simon Croome wrote: We are replacing sendmail as our MTA to Postfix and our internal mail relay receives mail from our edge MTA server<#> in the DMZ, once mail is received then any email address to a staf