Re: selective milter possible?

2009-03-31 Thread ram
On Mon, 2009-03-30 at 11:51 +0200, Rudy Gevaert wrote: > Hello, > > I was looking for a way to do selective milter. Meaning if a specific > host connects I send it trough the milter. > I would suggest you try implement the logic in the milter itself That would be very trivial to do , even

Re: selective milter possible?

2009-03-31 Thread Kouhei Sutou
Hi, 2009/3/30 Rudy Gevaert : > I was looking for a way to do selective milter.  Meaning if a specific host > connects I send it trough the milter. > > I couldn't find it however.  Is it possible? You can do it with milter manager(*). (*) http://milter-manager.sourceforge.net/ milter manager is

Re: selective milter possible?

2009-03-31 Thread Kouhei Sutou
Oops, I drew a strange picture... 2009/3/31 Kouhei Sutou : > 2009/3/30 Rudy Gevaert : > >> I was looking for a way to do selective milter.  Meaning if a specific host >> connects I send it trough the milter. >> >> I couldn't find it however.  Is it possible? > > You can do it with milter manager(*

postfix under windows domain controller

2009-03-31 Thread Meshbah Uddin Ahmed
Hi, I want to add my postfix mail server under active directory (domain controller), so that i dont create any user in my linux box, i will create in my DC, but mailbox will create in linux postfix. please help, how i will do it. Regards- Meshbah

Re: selective milter possible?

2009-03-31 Thread Danilo Paffi Monteiro
you can use one or more simple rule with postfix+iptables(if you use linux). example. postfix on port 25 uses milter postfix on port 26 doesn't use iptables -t nat -A PREROUTING -p tcp -i ethXX --source HOST_SOURCE -j REDIRECT --to-port 26 this way you can choose milter or not, content_filter o

Re: postfix under windows domain controller

2009-03-31 Thread Veiko Kukk
Meshbah Uddin Ahmed wrote: Hi, I want to add my postfix mail server under active directory (domain controller), so that i dont create any user in my linux box, i will create in my DC, but mailbox will create in linux postfix. please help, how i will do it. winbind -- Veiko

RE: Logging Postfix Activity

2009-03-31 Thread Marky Yehezkiel (SNC)
Hi all, I got info from courier imap mailing list that Dovecot able to answer what I required. Is it true? Does anyone has try this? Thank you -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Marky Yehezkiel (SNC) Sent: 31 Mare

Re: Logging Postfix Activity

2009-03-31 Thread Ralf Hildebrandt
* Marky Yehezkiel (SNC) : > Hi all, > I got info from courier imap mailing list that Dovecot able to answer what I > required. Yes > Is it true? Yes > Does anyone has try this? Yes -- Ralf Hildebrandt Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.com

Re: postfix under windows domain controller

2009-03-31 Thread Victor Duchovni
On Tue, Mar 31, 2009 at 03:16:53PM +0300, Veiko Kukk wrote: >> I want to add my postfix mail server under active directory (domain >> controller), so that i dont create any user in my linux box, i will create >> in my DC, but mailbox will create in linux postfix. >> please help, how i will do it

Re: etc/postfix/sender_access_map and /etc/aliases

2009-03-31 Thread Noel Jones
Dave Johnson wrote: sender_access_map Stops the server receiving mail when installed via postfix reload No doubt postfix logs a helpful message telling what the problem is. http://www.postfix.org/DEBUG_README.html#logging warning: restriction `check_client_access' after `permit' is ignore

Re: recipient_bcc_maps, sender_bcc_maps

2009-03-31 Thread Victor Duchovni
On Tue, Mar 31, 2009 at 12:34:21AM +0200, csere matyas wrote: > so i'm trying to do the same with recipient/sender maps: > > recipient_bcc_maps = pcre:/etc/postfix/recipient_bcc > > sender_bcc_maps = pcre:/etc/postfix/se

Re: recipient_bcc_maps, sender_bcc_maps

2009-03-31 Thread Noel Jones
csere matyas wrote: hi i have a postfix set up with a bunch of virtual domains. we've been using always_bcc to archive the mail, until one of the paranoid users asked us not to include his mail in the archive. so i'm trying to do the same with recipient/sender maps: recipient_bcc_maps =

Re: recipient_bcc_maps, sender_bcc_maps

2009-03-31 Thread Victor Duchovni
On Tue, Mar 31, 2009 at 09:57:12AM -0500, Noel Jones wrote: > BTW, you can use "DUNNO" as the result in a pcre table to pretend the > string wasn't found. No need to use a "null" alias. No, this is wrong. DUNNO is an access(5) action, which has no special meaning in address rewriting tables. -

Re: Piping /etc/aliases to newaliases

2009-03-31 Thread Bryce Nesbitt
Here is try two at the end of line comment script for /etc/aliases. Can anyone do this more elegantly? #!/bin/sh # Created so we can have end of line comments in /etc/aliases sed 's/#.*$//;/^$/d' < /etc/aliases > /tmp/aliases_tmp ; /usr/sbin/sendmail -bi -oA/tmp/aliases_tmp ; mv /tmp/aliases_tmp.

Re: Piping /etc/aliases to newaliases

2009-03-31 Thread Wietse Venema
Bryce Nesbitt: > Here is try two at the end of line comment script for /etc/aliases. Can > anyone do this more elegantly? > > #!/bin/sh > # Created so we can have end of line comments in /etc/aliases > sed 's/#.*$//;/^$/d' < /etc/aliases > /tmp/aliases_tmp ; > /usr/sbin/sendmail -bi -oA/tmp/alias

Re: Piping /etc/aliases to newaliases

2009-03-31 Thread Victor Duchovni
On Tue, Mar 31, 2009 at 10:59:41AM -0700, Bryce Nesbitt wrote: > Here is try two at the end of line comment script for /etc/aliases. Can > anyone do this more elegantly? > > #!/bin/sh > # Created so we can have end of line comments in /etc/aliases > sed 's/#.*$//;/^$/d' < /etc/aliases > /tmp/ali

Re: Active/passive cluster and postfix running on both nodes

2009-03-31 Thread mouss
Vianney Lejeune a écrit : > Hello ! > > I have a 2-nodes-active/passive cluster, each node runs postfix > independently, only for local email. > > I would like to achieve this scenario: > > -if the nodes are both secondary, or one is down and the other one is > secondary, each node stores lo

Re: Piping /etc/aliases to newaliases

2009-03-31 Thread mouss
Bryce Nesbitt a écrit : > Here is try two at the end of line comment script for /etc/aliases. Can > anyone do this more elegantly? > > #!/bin/sh > # Created so we can have end of line comments in /etc/aliases > sed 's/#.*$//;/^$/d' < /etc/aliases > /tmp/aliases_tmp ; > /usr/sbin/sendmail -bi -oA/

Re: SASL Authenticated user blocked for non fqdn helo

2009-03-31 Thread Matt Hayes
Russell Horn wrote: > Hi, > > I've a user who had their mail rejected for not presenting a FQDN as > part of the SMTP HELO, yet they were sasl authenticated. > > The log says: > > Apr 1 01:06:31 paddington postfix/smtpd[3215]: NOQUEUE: reject: RCPT > from xxx.blueyonder.co.uk

SASL Authenticated user blocked for non fqdn helo

2009-03-31 Thread Russell Horn
Hi, I've a user who had their mail rejected for not presenting a FQDN as part of the SMTP HELO, yet they were sasl authenticated. The log says: Apr 1 01:06:31 paddington postfix/smtpd[3215]: NOQUEUE: reject: RCPT from xxx.blueyonder.co.uk[92.xxx.xxx.xxx]: 504 : Helo command rejected: need fully

Re: SASL Authenticated user blocked for non fqdn helo

2009-03-31 Thread Matt Hayes
Russell Horn wrote: > Sorry, I missed a line: > > submission inetn - n - - smtpd > -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes > > Russell. > > Keep in mind that any smtpd_*_restrictions you have in main.cf have to be zeroed out in the submissio

Re: SASL Authenticated user blocked for non fqdn helo

2009-03-31 Thread Sahil Tandon
On Tue, 31 Mar 2009, Russell Horn wrote: > I've a user who had their mail rejected for not presenting a FQDN as part of > the SMTP HELO, yet they were sasl authenticated. > > The log says: > > Apr 1 01:06:31 paddington postfix/smtpd[3215]: NOQUEUE: reject: RCPT from > xxx.blueyonder.co.uk[92.xx

Re: unusual access requirement

2009-03-31 Thread Res
On Sun, 29 Mar 2009, Noel Jones wrote: Res wrote: On Sat, 28 Mar 2009, Sahil Tandon wrote: Don't use amavisd-new; it would be overkill for this task. And from my After looking at it, I tend to agree :) Actually, amavisd-new is well suited for this. At it's core, it's a high performance

Re: postfix queue grep

2009-03-31 Thread Rob Chanter
On Wed, Feb 04, 2009 at 10:25:21AM +0200, Marc Silver wrote: > Hi guys, > > First and foremost, apologies if this message shouldn't be going to this > list, but it seemed like the logical place. > > I have written a small tool for Postfix in Python that duplicates most of > the functionality