Re: ATRN reloaded

2010-01-28 Thread adrian ilarion ciobanu
Should ODMR support be in the primary MTA queue? Or should mail for ODMR destinations be batched up onto disk out of the MTA's queue, and served by dedicated servers as in: http://www.plonk.de/sw/odmr/ odmr is mail relaying. if one chooses this solution then one probably wants to do

Filter on recipient and subject

2010-01-28 Thread Nick Lunt
-2.3.3/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop unknown_local_recipient_reject_code = 550 virtual_alias_maps = hash:/etc/postfix/virtual __ Information from ESET NOD32 Antivirus, version of virus signature database 4813 (20100128) __ The message

RE: OT: The Book of Postfix

2010-01-28 Thread JORGE CARMINATI
My personal goal is to finish editing within the next 4 weeks. Add some delay due to 'reality meets patricks schedule'. We'll start an iterative review process with the publisher next week. I don't know how quick they are, but midth of 2010 seems feasible to me. p...@rick Excellent

Re: Filter on recipient and subject

2010-01-28 Thread Noel Jones
On 1/28/2010 5:32 AM, Nick Lunt wrote: Hi all, postfix-2.3.3-2.1.el5_2 If the subject does not match match /*.ABC.*/ and the recipient is f...@example.com I want this email to be discarded. This is not for spam detection it's simply an organisational requirement. Does anyone have a method to

Re: Milter by domain

2010-01-28 Thread Noel Jones
On 1/28/2010 1:46 AM, Jonathan Cutting wrote: Hello fellow Postfix users, I am attempting to configure a postfix server for multiple domains, which will use a milter to send an email to a mailarchiving store (mailarchiva). What I would like to do is: Match the originating domain in outbound

Re: Filter on recipient and subject

2010-01-28 Thread DUBOURG Kevin
Hello ! Maildrop can routing your email with many regex and criteria. http://www.courier-mta.org/maildrop/ Regards, On Thu, 28 Jan 2010 07:32:04 -0600, Noel Jones wrote: On 1/28/2010 5:32 AM, Nick Lunt wrote: Hi all, postfix-2.3.3-2.1.el5_2 If the subject does not match match /*.ABC.*/

Re: Milter by domain

2010-01-28 Thread Jose-Marcio Martins da Cruz
Noel Jones wrote: On 1/28/2010 1:46 AM, Jonathan Cutting wrote: I guess some sort of domain:port_number mapping would suffice. Is this possible using milters or might it be easier to use a custom script? A single milter that handles all domains is what you need. Or maybe a master milter

Re: postfix to BorderWare MXtreme Mail Firewall SMTP server delivery fails?

2010-01-28 Thread Noel Jones
On 1/28/2010 1:17 AM, Eero Volotinen wrote: Hi All, Very intresting problem from my postfix server to BorderWare MXtreme Mail Firewall SMTP 1) In some rare case remote smtp server replies: said: 451 Error: internal error 512 (in reply to end of DATA command)) I think this is bug on

Re: postfix to BorderWare MXtreme Mail Firewall SMTP server delivery fails?

2010-01-28 Thread Eero Volotinen
2010/1/28 Noel Jones njo...@megan.vbhcs.org: On 1/28/2010 1:17 AM, Eero Volotinen wrote: Hi All, Very intresting problem from my postfix server to BorderWare MXtreme Mail Firewall SMTP 1) In some rare case remote smtp server replies:  said: 451 Error: internal error 512 (in reply to end

Warning message for mail either delivered in local or relayed to another server

2010-01-28 Thread Henri
Hello, I have a question about a warning message I regularly get in the log : do not list domain mydomain1 in BOTH virtual_mailbox_domains and relay_domains My configuration : transport_maps = ldap:/etc/postfix/mail_routing relay_domains = mydomain1 virtual_mailbox_domains = mydomain1 I do

Re: Milter by domain

2010-01-28 Thread Wietse Venema
Noel Jones: On 1/28/2010 1:46 AM, Jonathan Cutting wrote: Hello fellow Postfix users, I am attempting to configure a postfix server for multiple domains, which will use a milter to send an email to a mailarchiving store (mailarchiva). What I would like to do is: Match the

multiple hostnames

2010-01-28 Thread AMP Admin
Is it possible to have multiple host names on one postfix server? I have three domains and they all have different ip addresses but when mail comes though the server it always displays the hostname of the box. Does that makes sense? #hostname mail.server1.com mail.server1.com -

Re: ATRN reloaded

2010-01-28 Thread Victor Duchovni
On Thu, Jan 28, 2010 at 03:48:26AM -0600, adrian ilarion ciobanu wrote: queue, and served by dedicated servers as in: http://www.plonk.de/sw/odmr/ odmr is mail relaying. if one chooses this solution then one probably No, because with ODMR one cannot relay until some unspecified

Re: ATRN reloaded

2010-01-28 Thread Wietse Venema
adrian ilarion ciobanu: Should ODMR support be in the primary MTA queue? Or should mail for ODMR destinations be batched up onto disk out of the MTA's queue, and served by dedicated servers as in: http://www.plonk.de/sw/odmr/ odmr is mail relaying. if one chooses this solution

Re: Warning message for mail either delivered in local or relayed to another server

2010-01-28 Thread Wietse Venema
Henri: Hello, I have a question about a warning message I regularly get in the log : do not list domain mydomain1 in BOTH virtual_mailbox_domains and relay_domains My configuration : transport_maps = ldap:/etc/postfix/mail_routing relay_domains = mydomain1 virtual_mailbox_domains =

how to build a (enterprise) postfix system

2010-01-28 Thread ml ml
Hello List, we are planing to set up a new E-Mail (Cluster) system with postfix. Our goal is that this is all ldap based and that our customers can manage their own: - E-Mail Addresses - Passwords - Black/White lists - Spamasassin reports - Autoreply/vacatation - Filter rules - etc.. Ldap is the

Taking over a mail queue from another node

2010-01-28 Thread Stefan Foerster
If in a mail cluster, with multiple machines having access to a shared storage device (SAN, iSCSI) which is presented to the host as a normal block device (e.g. /dev/sda, hosting a normal ext3 filesystem), one of the mail nodes fails, what are the necessary Postfix steps to take over the queue on

Re: Taking over a mail queue from another node

2010-01-28 Thread Victor Duchovni
On Thu, Jan 28, 2010 at 06:13:33PM +0100, Stefan Foerster wrote: If in a mail cluster, with multiple machines having access to a shared storage device (SAN, iSCSI) which is presented to the host as a normal block device (e.g. /dev/sda, hosting a normal ext3 filesystem), one of the mail nodes

Re: Taking over a mail queue from another node

2010-01-28 Thread Stefan Foerster
* Victor Duchovni victor.ducho...@morganstanley.com: On Thu, Jan 28, 2010 at 06:13:33PM +0100, Stefan Foerster wrote: If in a mail cluster, with multiple machines having access to a shared storage device (SAN, iSCSI) which is presented to the host as a normal block device (e.g. /dev/sda,

Re: Milter by domain

2010-01-28 Thread Jonathan Cutting
Thanks to everyone who responded on this. I've never tried running multiple postfix instances on the same machine but it would certainly solve the problem very neatly indeed. I have a spam/av server ahead of the postfix machine so I can specify the port and IP address without too much trouble

Re: how to build a (enterprise) postfix system

2010-01-28 Thread Eero Volotinen
2010/1/28 ml ml mliebher...@googlemail.com: Hello List, we are planing to set up a new E-Mail (Cluster) system with postfix. Our goal is that this is all ldap based and that our customers can manage their own: - E-Mail Addresses - Passwords - Black/White lists - Spamasassin reports -

Re: Taking over a mail queue from another node

2010-01-28 Thread Victor Duchovni
On Thu, Jan 28, 2010 at 06:39:34PM +0100, Stefan Foerster wrote: Only needed when restoring from backups, copying queue files, ... Not needed when mounting a filesystem. I think the manpage for postsuper recommends executing it at least once before starting up Postfix. Can it do any harm

Re: how to build a (enterprise) postfix system

2010-01-28 Thread Jorge Armando Medina
ml ml wrote: Hello List, we are planing to set up a new E-Mail (Cluster) system with postfix. Our goal is that this is all ldap based and that our customers can manage their own: - E-Mail Addresses - Passwords - Black/White lists - Spamasassin reports - Autoreply/vacatation - Filter

virtual_alias_maps mysql

2010-01-28 Thread Bradley Giesbrecht
Hi, mail_version = 2.6.1 I using virtual_alias_maps with mysql for storage. Working fine. Does anyone have a suggestion on how to update a timestamp field in the mysql table when postfix finds a virtual_alias_maps match? I'm looking for a way to measure alias usage and cull unused

Re: virtual_alias_maps mysql

2010-01-28 Thread Serge Fonville
Hi, I using virtual_alias_maps with mysql for storage. Working fine. Does anyone have a suggestion on how to update a timestamp field in the mysql table when postfix finds a virtual_alias_maps match? I'm looking for a way to measure alias usage and cull unused aliases. Have you considered a

Re: virtual_alias_maps mysql

2010-01-28 Thread Brian Evans - Postfix List
On 1/28/2010 3:35 PM, Serge Fonville wrote: Hi, I using virtual_alias_maps with mysql for storage. Working fine. Does anyone have a suggestion on how to update a timestamp field in the mysql table when postfix finds a virtual_alias_maps match? I'm looking for a way to measure alias

Re: allowing outside users access to mailman lists

2010-01-28 Thread Jeff Weinberger
--- In postfix-us...@yahoogroups.com, Wietse Venema wie...@... wrote: Jeff Weinberger: I changed main.cf so the only relay_domains entry is: relay_domains=lists.mylistserver.com You need to verify this with the command postconf -n It's no good posting unverified cut-and-paste to the

Re: Taking over a mail queue from another node

2010-01-28 Thread Stefan Foerster
* Victor Duchovni victor.ducho...@morganstanley.com: On Thu, Jan 28, 2010 at 06:39:34PM +0100, Stefan Foerster wrote: If the node doesn't have to process any new incoming mail, will qmgr be able to handle six digit deferred queues? So long as you just drain this queue, and don't take in

Re: virtual_alias_maps mysql

2010-01-28 Thread Serge Fonville
I using virtual_alias_maps with mysql for storage. Working fine. Does anyone have a suggestion on how to update a timestamp field in the mysql table when postfix finds a virtual_alias_maps match? I'm looking for a way to measure alias usage and cull unused aliases. Have you considered a

Add Header

2010-01-28 Thread AMP Admin
I'm trying to add ONE custom string to the header using the following but the first one adds it multiple times and the second doesn't work at all. Thanks for your help! header_checks = regexp:/etc/postfix/header_checks WORKS BUT ADDS IT MULTIPLE TIMES: /^/ PREPEND MyString DOES NOT

Re: Add Header

2010-01-28 Thread Ralf Hildebrandt
* AMP Admin ad...@ampprod.com: I'm trying to add ONE custom string to the header using the following but the first one adds it multiple times and the second doesn't work at all. Thanks for your help! header_checks = regexp:/etc/postfix/header_checks WORKS BUT ADDS IT MULTIPLE

Re: Add Header

2010-01-28 Thread Ralf Hildebrandt
* AMP Admin ad...@ampprod.com: WORKS BUT ADDS IT MULTIPLE TIMES: /^/ PREPEND MyString This matches EVERY header line DOES NOT WORK: /^DomainKey-Signature:$/ PREPEND MyString This matches a header line like: DomainKey-Signature: (with NOTHING after the :) -- Ralf Hildebrandt

Re: allowing outside users access to mailman lists

2010-01-28 Thread Wietse Venema
Jeff Weinberger: Jeff Weinberger: I changed main.cf so the only relay_domains entry is: relay_domains=lists.mylistserver.com You need to verify this with the command postconf -n It's no good posting unverified cut-and-paste to the mailing list. Wietse So you want me

Re: virtual_alias_maps mysql

2010-01-28 Thread Brian Evans - Postfix List
On 1/28/2010 4:12 PM, Serge Fonville wrote: I using virtual_alias_maps with mysql for storage. Working fine. Does anyone have a suggestion on how to update a timestamp field in the mysql table when postfix finds a virtual_alias_maps match? I'm looking for a way to measure alias usage and

RE: Add Header

2010-01-28 Thread AMP Admin
-Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Ralf Hildebrandt Sent: Thursday, January 28, 2010 3:18 PM To: postfix-users@postfix.org Subject: Re: Add Header * AMP Admin ad...@ampprod.com: I'm trying to add ONE custom

Re: how to build a (enterprise) postfix system

2010-01-28 Thread David Touzeau
Take a look here : http://www.artica.fr Message initial De: Eero Volotinen eero.voloti...@iki.fi À: ml ml mliebher...@googlemail.com Cc: postfix-users@postfix.org Sujet: Re: how to build a (enterprise) postfix system Date: Thu, 28 Jan 2010 19:50:16 +0200 2010/1/28 ml ml

Re: allowing outside users access to mailman lists

2010-01-28 Thread Jeff Weinberger
On Thu, Jan 28, 2010 at 1:36 PM, Wietse Venema wie...@porcupine.org wrote: Jeff Weinberger: Jeff Weinberger: I changed main.cf so the only relay_domains entry is: relay_domains=lists.mylistserver.com You need to verify this with the command postconf -n It's no good posting

Re: allowing outside users access to mailman lists

2010-01-28 Thread Stan Hoeppner
Jeff Weinberger put forth on 1/28/2010 4:18 PM: You've made it clear I'm posting the wrong thing - but I don't know what the right thing is Sorry to but in Wietse. Jeff, paste all of postconf -n output and obfuscate any sensitive information in it such as hostnames or IP addresses that

Re: allowing outside users access to mailman lists

2010-01-28 Thread Jeff Weinberger
On Thu, Jan 28, 2010 at 2:38 PM, Stan Hoeppner s...@hardwarefreak.com wrote: Jeff Weinberger put forth on 1/28/2010 4:18 PM: You've made it clear I'm posting the wrong thing - but I don't know what the right thing is Sorry to but in Wietse. Jeff, paste all of postconf -n output and

relay help

2010-01-28 Thread Wade Smart
I have been using postfix for about two + years but something that was just out of my understanding at the time was setting up relaying. Right now I just sent from my mail client (thunderbird) but I would like to be able to send back through postfix to keep a record of all sent mails. Im getting

Re: relay help

2010-01-28 Thread Noel Jones
On 1/28/2010 4:57 PM, Wade Smart wrote: I have been using postfix for about two + years but something that was just out of my understanding at the time was setting up relaying. Right now I just sent from my mail client (thunderbird) but I would like to be able to send back through postfix to

Re: allowing outside users access to mailman lists

2010-01-28 Thread Noel Jones
On 1/28/2010 4:46 PM, Jeff Weinberger wrote: virtual_alias_domains = mysql:/etc/postfix/mysql_virtual_alias_domains.cf does lists.mylistserver.com match the above lookup? postmap -q lists.mylistserver.com mysql:...

Re: allowing outside users access to mailman lists

2010-01-28 Thread Jeff Weinberger
On Thu, Jan 28, 2010 at 3:16 PM, Noel Jones njo...@megan.vbhcs.org wrote: On 1/28/2010 4:46 PM, Jeff Weinberger wrote: virtual_alias_domains = mysql:/etc/postfix/mysql_virtual_alias_domains.cf does lists.mylistserver.com match the above lookup? postmap -q lists.mylistserver.com mysql:...

Re: allowing outside users access to mailman lists

2010-01-28 Thread Noel Jones
On 1/28/2010 5:36 PM, Jeff Weinberger wrote: On Thu, Jan 28, 2010 at 3:16 PM, Noel Jonesnjo...@megan.vbhcs.org wrote: On 1/28/2010 4:46 PM, Jeff Weinberger wrote: virtual_alias_domains = mysql:/etc/postfix/mysql_virtual_alias_domains.cf does lists.mylistserver.com match the above lookup?

RE: Add Header

2010-01-28 Thread AMP Admin
-Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Ralf Hildebrandt Sent: Thursday, January 28, 2010 3:22 PM To: postfix-users@postfix.org Subject: Re: Add Header * AMP Admin ad...@ampprod.com: WORKS BUT ADDS IT MULTIPLE

Re: Add Header

2010-01-28 Thread Victor Duchovni
On Thu, Jan 28, 2010 at 05:41:03PM -0600, AMP Admin wrote: just in case anyone comes across this I got it sorted with the following: /^Subject: .*/ PREPEND MyString This is still wrong. -- Viktor. P.S. Morgan Stanley is looking for a New York City based, Senior Unix system/email

Re: allowing outside users access to mailman lists

2010-01-28 Thread Jeff Weinberger
On Thu, Jan 28, 2010 at 3:39 PM, Noel Jones njo...@megan.vbhcs.org wrote: On 1/28/2010 5:36 PM, Jeff Weinberger wrote: On Thu, Jan 28, 2010 at 3:16 PM, Noel Jonesnjo...@megan.vbhcs.org  wrote: On 1/28/2010 4:46 PM, Jeff Weinberger wrote: virtual_alias_domains =

RE: main.cf - paramter name format

2010-01-28 Thread Otto Hirr
Otto Hirr: In answer to my question, and so others don't have to trudge thru the source to find it... The 'parameter name' may be and non-space, non-equals (i.e. =) string of characters. The fine details are not documented, because I didn't want to promise that Postfix will forever

Re: Milter by domain

2010-01-28 Thread Kouhei Sutou
Hi, In 4b61930c.8060...@megan.vbhcs.org Re: Milter by domain on Thu, 28 Jan 2010 07:37:16 -0600, Noel Jones njo...@megan.vbhcs.org wrote: Or maybe a master milter that can connect to multiple secondary milters based on the recipient. It's milter manager:

RE: Postfix as a filtering/relay box

2010-01-28 Thread Otto Hirr
Start here: http://www.postfix.org/STANDARD_CONFIGURATION_README.html#firewall http://www.postfix.org/CONTENT_INSPECTION_README.html http://www.postfix.org/SMTPD_PROXY_README.html http://www.postfix.org/postconf.5.html#smtpd_recipient_restrictions

[SASL]: Recipient address rejected: Access denied while SASL/TLS are really enabled

2010-01-28 Thread David Touzeau
Dear I don't understand why but i think that Postfix did want to send the authentication request in the SMTP protocol. In this case , the client (thunderbird) cannot send authentication parameters trough Internet. When executing saslfinger, there is not information in the -- mechanisms on

Re: [SASL]: Recipient address rejected: Access denied while SASL/TLS are really enabled

2010-01-28 Thread Patrick Ben Koetter
* David Touzeau da...@touzeau.eu: Dear I don't understand why but i think that Postfix did want to send the authentication request in the SMTP protocol. In this case , the client (thunderbird) cannot send authentication parameters trough Internet. When executing saslfinger, there is not

RE: Add Header

2010-01-28 Thread AMP Admin
-Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Victor Duchovni Sent: Thursday, January 28, 2010 5:51 PM To: postfix-users@postfix.org Subject: Re: Add Header On Thu, Jan 28, 2010 at 05:41:03PM -0600, AMP Admin wrote: just

smtpd processes congregating at the pub

2010-01-28 Thread Stan Hoeppner
Based on purely visual non-scientific observation (top), it seems my smtpd processes on my MX hang around much longer in (Debian) 2.5.5 than they did in (Debian) 2.3.8. In 2.3.8 Master seemed to build them and tear them down very quickly after the transaction was complete. An smtpd process'

Re: smtpd processes congregating at the pub

2010-01-28 Thread Stan Hoeppner
Stan Hoeppner put forth on 1/29/2010 12:27 AM: Based on purely visual non-scientific observation (top), it seems my smtpd processes on my MX hang around much longer in (Debian) 2.5.5 than they did in (Debian) 2.3.8. In 2.3.8 Master seemed to build them and tear them down very quickly after

Re: virtual_alias_maps mysql

2010-01-28 Thread Serge Fonville
On Thu, Jan 28, 2010 at 10:40 PM, Brian Evans - Postfix List grkni...@scent-team.com wrote: On 1/28/2010 4:12 PM, Serge Fonville wrote: I using virtual_alias_maps with mysql for storage. Working fine. Does anyone have a suggestion on how to update a timestamp field in the mysql table when

Re: Add Header

2010-01-28 Thread Ralf Hildebrandt
* Victor Duchovni victor.ducho...@morganstanley.com: On Thu, Jan 28, 2010 at 05:41:03PM -0600, AMP Admin wrote: just in case anyone comes across this I got it sorted with the following: /^Subject: .*/ PREPEND MyString This is still wrong. Because it doesn't contain a header label?