header_checks

2008-09-23 Thread Meno
Dear list, I am trying to fetch mails with empty Return-Path: mail header with header_checks, but unsucessfully... header_checks=pcre:/etc/postfix/header_checks header_checks: /^Return-Path:\\s+\\/ REJECT Does this format correct? Thanks, Chris __ http://auto.sme.sk - Všetk

header_checks

2008-09-23 Thread Meno
header_checks: /^Return-Path:\\s+\\/ REJECT __ http://auto.sme.sk - Všetko o autách (novinky, testy, autosalón, autoškola, porovnaj si auto)

Re: restricted aliases

2008-09-23 Thread mouss
Chris St Denis wrote: Looking through the docs it looks like I can use smtpd_sender_login_maps and smtpd_sender_restrictions with reject_sender_login_mismatch However I want to apply this only to selected destination addresses and I'm not sure how to go about this. Can I use reject_sender_lo

Re: Mail Archiving

2008-09-23 Thread mouss
Adam Tauno Williams wrote: On Mon, 2008-09-22 at 15:07 -0700, Chris St Denis wrote: James wrote: I was wondering if anyone here knew of a good way to duplicate emails for archival purposes. What i want to do is use a gateway machine that will deliver mail to two machines. one being an active i

Re: header_checks

2008-09-23 Thread Duane Hill
On Tue, 23 Sep 2008, Meno wrote: header_checks: /^Return-Path:\\s+\\/ REJECT I give up? -d

Re: header_checks

2008-09-23 Thread mouss
Meno wrote: Dear list, I am trying to fetch mails with empty Return-Path: mail header with header_checks, but unsucessfully... what do you mean by fetch? header_checks don't fetch mail. header_checks=pcre:/etc/postfix/header_checks header_checks: /^Return-Path:\\s+\\/ REJECT Does

Re: some questions about my postfix config

2008-09-23 Thread mouss
David Ballano wrote: [snip] Sep 22 15:15:32 orion postfix/smtpd[25753]: maps_find: virtual_alias_maps: hash:/etc/postfix/virtual(0,lock|fold_fix): [EMAIL PROTECTED] = david Sep 22 15:15:32 orion postfix/smtpd[25753]: mail_addr_find: [EMAIL PROTECTED] -> david so you have a virtual alias in /et

Re: smtps:,Servname not supported for ai_socktype"

2008-09-23 Thread mouss
J. Bakshi wrote: [snip] yes, after flipping through the logs I have discovered an error fatal: unexpected command-line argument: smtpd_sasl_auth_enable=yes This is what Brain told you. you have the wrong syntax in master.cf. But with TLS I hv no problem to send mail ( no error ); thogh tho

Re: Re: header_checks

2008-09-23 Thread Meno
- Originálna Správa - Od: mouss Komu: undisclosed-recipients: ; Poslaná: 23.09.2008 09:56 Predmet: Re: header_checks > Meno wrote: > > Dear list, > > > > I am trying to fetch mails wit h empty Return-Path: mail header > > with header_checks, but unsucessfully... > > what do you me

Re: smtps:,Servname not supported for ai_socktype"

2008-09-23 Thread J. Bakshi
mouss wrote: > J. Bakshi wrote: >> [snip] >> yes, after flipping through the logs I have discovered an error >> >> fatal: unexpected command-line argument: smtpd_sasl_auth_enable=yes >> > > This is what Brain told you. you have the wrong syntax in master.cf. > >> But with TLS I hv no problem to sen

Re: How can I debug a timing out milter

2008-09-23 Thread ram
On Mon, 2008-09-22 at 13:03 -0400, Wietse Venema wrote: > ram: > > My milter is quiet simple. It just does a bsearch on a in-memory array , > > to find if the recipient has blacklisted / whitelisted the sender and > > takes action accordingly > > > > The array now has approx 200k elements, which

Re: Race in simplest after-queue content filter?

2008-09-23 Thread Wietse Venema
Karl O. Pinc: > This exchange has been like pulling teeth. Is there > something wrong with the way I'm interacting with > the list or something I can do differently to make > things easier in the future? The approach was like going to a doctor with your diagnosis already done, and without allowin

Re: smtps:,Servname not supported for ai_socktype"

2008-09-23 Thread mouss
J. Bakshi wrote: mouss wrote: J. Bakshi wrote: [snip] yes, after flipping through the logs I have discovered an error fatal: unexpected command-line argument: smtpd_sasl_auth_enable=yes This is what Brain told you. you have the wrong syntax in master.cf. s/Brain/Brian/ I need a new keyboa

Re: header_checks

2008-09-23 Thread mouss
Meno wrote: The Return-Path is empty in cases when I get a fake mailer-daemon notification from the internet as spam. From MAILER-DAEMON Tue Sep 23 00:10:16 2008 Return-Path: ... Message-Id: To: [EMAIL PROTECTED] From: [EMAIL PROTECTED] Subject: Non Delivery Notification So you're not

Re: How can I debug a timing out milter

2008-09-23 Thread Wietse Venema
ram: > > On Mon, 2008-09-22 at 13:03 -0400, Wietse Venema wrote: > > ram: > > > My milter is quiet simple. It just does a bsearch on a in-memory array , > > > to find if the recipient has blacklisted / whitelisted the sender and > > > takes action accordingly > > > > > > The array now has approx

Re: Re: header_checks

2008-09-23 Thread Meno
- Originálna Správa - Od: mouss Komu: undisclosed-recipients: ; Poslaná: 23.09.2008 14:00 Predmet: Re: header_checks > Meno wrote: > > > > > > The Return-Path is empty in cases when I get a fake mailer-daemon > > notification > > from the internet as spam. > > > > From MAILER-DA

mail to specific addresses

2008-09-23 Thread Mumtaz Ali
i want to restrict a user to send mails only on specific addresses which are outside my domain. how i can make this possible ?? _ Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie. http://windowslive.com/conn

Re: mail to specific addresses

2008-09-23 Thread Brian Evans - Postfix List
Mumtaz Ali wrote: > i want to restrict a user to send mails only on specific addresses > which are outside my domain. > how i can make this possible ?? > You

Selective transport_maps

2008-09-23 Thread Peter Rabbitson
Hi, I need to protect a specific local address by defining a very low message_size_limit applicable only to this particular address. What I did is set up a second smtpd daemon listening on a weird address on localhost, with a message_size_limit set to whatever I want it. The problem I am having i

Re: Selective transport_maps

2008-09-23 Thread Ralf Hildebrandt
* Peter Rabbitson <[EMAIL PROTECTED]>: > Hi, > > I need to protect a specific local address by defining a very low > message_size_limit applicable only to this particular address. Not possible in general. Only possible if the client uses ESMTP -- then you can use a policy server to restrict a com

Re: Selective transport_maps

2008-09-23 Thread Peter Rabbitson
Ralf Hildebrandt wrote: > * Peter Rabbitson <[EMAIL PROTECTED]>: >> Hi, >> >> I need to protect a specific local address by defining a very low >> message_size_limit applicable only to this particular address. > > Not possible in general. Only possible if the client uses ESMTP -- > then you can us

DNS lookup for localhost

2008-09-23 Thread Peter Rabbitson
Hi, I encountered a weird behavior with Postfix when specifying smtp:localhost as a transport destination. After long debugging, tcpdump revealed that postfix directly asks for 'localhost.', as specified in /etc/hosts:search without first asking for 'localhost'. Is this intended behavior, or is th

Re: Selective transport_maps

2008-09-23 Thread Wietse Venema
Peter Rabbitson: [ Charset UTF-8 unsupported, converting... ] > Ralf Hildebrandt wrote: > > * Peter Rabbitson <[EMAIL PROTECTED]>: > >> Hi, > >> > >> I need to protect a specific local address by defining a very low > >> message_size_limit applicable only to this particular address. > > > > Not po

Re: DNS lookup for localhost

2008-09-23 Thread Victor Duchovni
On Tue, Sep 23, 2008 at 04:23:56PM +0200, Peter Rabbitson wrote: > I encountered a weird behavior with Postfix when specifying > smtp:localhost as a transport destination. After long debugging, tcpdump > revealed that postfix directly asks for 'localhost.', > as specified in /etc/hosts:search with

Re: DNS lookup for localhost

2008-09-23 Thread Wietse Venema
Peter Rabbitson: > Hi, > > I encountered a weird behavior with Postfix when specifying > smtp:localhost as a transport destination. After long debugging, tcpdump > revealed that postfix directly asks for 'localhost.', > as specified in /etc/hosts:search without first asking for 'localhost'. > Is t

Re: Selective transport_maps

2008-09-23 Thread Peter Rabbitson
Wietse Venema wrote: > Peter Rabbitson: > [ Charset UTF-8 unsupported, converting... ] >> Ralf Hildebrandt wrote: >>> * Peter Rabbitson <[EMAIL PROTECTED]>: Hi, I need to protect a specific local address by defining a very low message_size_limit applicable only to this particula

Re: Selective transport_maps

2008-09-23 Thread Duane Hill
On Tue, 23 Sep 2008, Peter Rabbitson wrote: Ralf Hildebrandt wrote: * Peter Rabbitson <[EMAIL PROTECTED]>: Hi, I need to protect a specific local address by defining a very low message_size_limit applicable only to this particular address. Not possible in general. Only possible if the clien

Re: DNS lookup for localhost

2008-09-23 Thread Peter Rabbitson
Wietse Venema wrote: > Peter Rabbitson: >> Hi, >> >> I encountered a weird behavior with Postfix when specifying >> smtp:localhost as a transport destination. After long debugging, tcpdump >> revealed that postfix directly asks for 'localhost.', >> as specified in /etc/hosts:search without first as

Re: Selective transport_maps

2008-09-23 Thread Wietse Venema
Peter Rabbitson: > > You can do per-user routing when mail LEAVES Postfix, but not when > > Postfix re-injects mail into itself. > > > > You can set a per-user FILTER action with access/header/body maps > > etc. but that action will affect all recipients of that message. > > > > Well... this mi

Re: DNS lookup for localhost

2008-09-23 Thread Victor Duchovni
On Tue, Sep 23, 2008 at 04:52:01PM +0200, Peter Rabbitson wrote: > Wietse Venema wrote: > > Peter Rabbitson: > >> Hi, > >> > >> I encountered a weird behavior with Postfix when specifying > >> smtp:localhost as a transport destination. After long debugging, tcpdump > >> revealed that postfix direc

Re: DNS lookup for localhost

2008-09-23 Thread Wietse Venema
Peter Rabbitson: > Wietse Venema wrote: > > Peter Rabbitson: > >> Hi, > >> > >> I encountered a weird behavior with Postfix when specifying > >> smtp:localhost as a transport destination. After long debugging, tcpdump > >> revealed that postfix directly asks for 'localhost.', > >> as specified in /

Re: Selective transport_maps

2008-09-23 Thread Reinaldo de Carvalho
> > Well... this might very well work. A descriptive reject message will > > take care of the fact that all recipients are affected, as the sender > > will know it. I looked at http://www.postfix.org/header_checks.5.html, > > but it is not clear to me how can I say 'IF message size > x'. Can >

Re: Selective transport_maps

2008-09-23 Thread Wietse Venema
Reinaldo de Carvalho: > > > Well... this might very well work. A descriptive reject message will > > > take care of the fact that all recipients are affected, as the sender > > > will know it. I looked at http://www.postfix.org/header_checks.5.html, > > > but it is not clear to me how can I say

Re: header_checks

2008-09-23 Thread Noel Jones
Meno wrote: - Originálna Správa - Od: mouss Komu: undisclosed-recipients: ; Poslaná: 23.09.2008 14:00 Predmet: Re: header_checks Meno wrote: The Return-Path is empty in cases when I get a fake mailer-daemon notification from the internet as spam. From MAILER-DAEMON Tue Sep 23

Re: some questions about my postfix config

2008-09-23 Thread David Ballano
> David Ballano wrote: >> >> [snip] >> Sep 22 15:15:32 orion postfix/smtpd[25753]: maps_find: >> virtual_alias_maps: hash:/etc/postfix/virtual(0,lock|fold_fix): >> [EMAIL PROTECTED] = david >> Sep 22 15:15:32 orion postfix/smtpd[25753]: mail_addr_find: >> [EMAIL PROTECTED] -> david > > > so you hav

Re: some questions about my postfix config

2008-09-23 Thread mouss
David Ballano wrote: David Ballano wrote: [snip] Sep 22 15:15:32 orion postfix/smtpd[25753]: maps_find: virtual_alias_maps: hash:/etc/postfix/virtual(0,lock|fold_fix): [EMAIL PROTECTED] = david Sep 22 15:15:32 orion postfix/smtpd[25753]: mail_addr_find: [EMAIL PROTECTED] -> david so you have a

Compile configuration

2008-09-23 Thread Jeffrey Shawn Klotz
Is there an "easy" way to tell how postfix was compiled? I'm going to re compile on a mac mini. So of the paths aren't it common places. Last time I did this I messed up SASL big time. I'd like to use the same paths as the original compile for compatibility. Thanks...

Re: Compile configuration

2008-09-23 Thread Noel Jones
Jeffrey Shawn Klotz wrote: Is there an "easy" way to tell how postfix was compiled? I'm going to re compile on a mac mini. So of the paths aren't it common places. Last time I did this I messed up SASL big time. I'd like to use the same paths as the original compile for compatibility. Than

Re: some questions about my postfix config

2008-09-23 Thread David Ballano
2008/9/23 mouss <[EMAIL PROTECTED]>: > David Ballano wrote: >>> >>> David Ballano wrote: [snip] Sep 22 15:15:32 orion postfix/smtpd[25753]: maps_find: virtual_alias_maps: hash:/etc/postfix/virtual(0,lock|fold_fix): [EMAIL PROTECTED] = david Sep 22 15:15:32 orion postfi

Re: Compile configuration

2008-09-23 Thread Jeffrey Shawn Klotz
Unfortunately, they do not include the original compile directory when they ship the system. Noel Jones wrote: Jeffrey Shawn Klotz wrote: Is there an "easy" way to tell how postfix was compiled? I'm going to re compile on a mac mini. So of the paths aren't it common places. Last time I d

Re: Compile configuration

2008-09-23 Thread Wietse Venema
Noel Jones: > Jeffrey Shawn Klotz wrote: > > Is there an "easy" way to tell how postfix was compiled? > > > > I'm going to re compile on a mac mini. So of the paths aren't it common > > places. Last time I did this I messed up SASL big time. > > > > I'd like to use the same paths as the origin

Re: Compile configuration

2008-09-23 Thread Noel Jones
Jeffrey Shawn Klotz wrote: Unfortunately, they do not include the original compile directory when they ship the system. I said config_directory, which is where the default main.cf resides, not the compile directory. However, if yours is a vendor-supplied build, they may not have provided

Re: some questions about my postfix config

2008-09-23 Thread mouss
David Ballano wrote: yes, I have virtual alias because maybe some day my server owns more domains, for now "ballano.net" I don't understand this. what I mean is that maybe I use my postfix for more domains, ballano.net another.net etc.. but what does this have to do with a virtual alias? ,

Re: some questions about my postfix config

2008-09-23 Thread David Ballano
2008/9/23 mouss <[EMAIL PROTECTED]>: > David Ballano wrote: yes, I have virtual alias because maybe some day my server owns more domains, for now "ballano.net" >>> >>> I don't understand this. >> >> what I mean is that maybe I use my postfix for more domains, >> ballano.net another.n

Re: some questions about my postfix config

2008-09-23 Thread mouss
David Ballano wrote: whow I don't understant too much, I want that all the mail that arrive to [EMAIL PROTECTED] goes to david unix account. that is what I think /etc/postfix/virtual does, and is what I read in the docs virtual can redirect mail to wherever you want. to redirect to a unix

Re: some questions about my postfix config

2008-09-23 Thread David Ballano
2008/9/23 mouss <[EMAIL PROTECTED]>: > David Ballano wrote: >> >> whow I don't understant too much, >> >> I want that all the mail that arrive to [EMAIL PROTECTED] goes to >> david unix account. that is what I think /etc/postfix/virtual does, >> and is what I read in the docs >> > > virtual can

Relaying question

2008-09-23 Thread Sterling J. Anderson
I'm trying to figure out how to have certain messages not get relayed on one of my servers. Right now I have a server setup as a gateway, and another server setup that is going to handle mailman mailing lists. When mail comes in to the gateway for [EMAIL PROTECTED] I am using virtual_alias_maps to

Re: Relaying question

2008-09-23 Thread mouss
Sterling J. Anderson wrote: I'm trying to figure out how to have certain messages not get relayed on one of my servers. Right now I have a server setup as a gateway, and another server setup that is going to handle mailman mailing lists. When mail comes in to the gateway for [EMAIL PROTECTED] I

Re: Relaying question

2008-09-23 Thread Sterling J. Anderson
On 9/23/08 3:28 PM, "mouss" <[EMAIL PROTECTED]> wrote: > Sterling J. Anderson wrote: >> I'm trying to figure out how to have certain messages not get relayed on one >> of my servers. >> >> Right now I have a server setup as a gateway, and another server setup that >> is going to handle mailman

Postfix Log Analysis options

2008-09-23 Thread James Robertson
We use postfix as a relay and Antispam filter in front of an Exchange Server. Management want to log the sender and recipient of emails both inbound and outbound and the totals for a given period e.g. 24 hours and have it easily viewable in a web browser etc. They don't require what the emai

[OFF]: DKIM broken by certain email clients

2008-09-23 Thread James Brown
I've just set up DKIM on my mail system (via Astaro Security Gateway). If I send an email to [EMAIL PROTECTED] to comes back saying: DKIM check details: Result: fail (signature doesn't verify) The same thing happens sending from my iPhone. But it works fine sending from the same computer us

Re: Postfix Log Analysis options

2008-09-23 Thread Sahil Tandon
James Robertson <[EMAIL PROTECTED]> wrote: > We use postfix as a relay and Antispam filter in front of an Exchange > Server. > > Management want to log the sender and recipient of emails both inbound and > outbound and the totals for a given period e.g. 24 hours and have it easily > viewable in

Re: [OFF]: DKIM broken by certain email clients

2008-09-23 Thread Victor Duchovni
On Wed, Sep 24, 2008 at 11:05:21AM +1000, James Brown wrote: > I've just set up DKIM on my mail system (via Astaro Security Gateway). > > If I send an email to [EMAIL PROTECTED] to comes back > saying: > > DKIM check details: > Result: fail (signature doesn't verify) > > The same thing happen

Change in "Delivered-To:" content? (after update to postfix)

2008-09-23 Thread Michael A. Patton
After a recent server failure, I reinstalled the OS (NetBSD) which came with a slightly newer version of Postfix than I had been running. Now some of my procmail delivery rules no longer work because they relied on the "Delivered-To" field in the header to know which subaddress had been delivered

Re: [OFF]: DKIM broken by certain email clients

2008-09-23 Thread Benny Pedersen
On Wed, September 24, 2008 03:05, James Brown wrote: > I've just set up DKIM on my mail system (via Astaro Security Gateway). X-Amavis-Alert: BAD HEADER SECTION Duplicate header field: "MIME-Version" > If I send an email to [EMAIL PROTECTED] to comes back > saying: > > DKIM check details: > Resu

Virtual Alias Tables

2008-09-23 Thread Matthew
I have what (I hope) is a reasonably simple question. I am using virtual aliases in /etc/postfix/virtual in the following format. [EMAIL PROTECTED]user1 [EMAIL PROTECTED]user 2 [EMAIL PROTECTED]webmaster etc... I also have a catchall address setup as follows @domain.

Re: Virtual Alias Tables

2008-09-23 Thread Sahil Tandon
Matthew <[EMAIL PROTECTED]> wrote: > I know there's a simple solution and it's right in front of me, I just > can't see it... > > Any help with this is sincerely appreciated. http://www.postfix.org/DEBUG_README.html#mail ... especially the section about 'postconf -n' output. -- Sahil Tandon <

Re: Change in "Delivered-To:" content? (after update to postfix)

2008-09-23 Thread Sahil Tandon
Michael A. Patton <[EMAIL PROTECTED]> wrote: > After a recent server failure, I reinstalled the OS (NetBSD) which > came with a slightly newer version of Postfix than I had been > running. Now some of my procmail delivery rules no longer work > because they relied on the "Delivered-To" field in t

virtual_mailbox_maps w/out massive tables?

2008-09-23 Thread rihad
This is probably a faq, but still... I've been playing with virtual delivery: main.cf: virtual_mailbox_domains = bar.com virtual_mailbox_base = /home/massmail virtual_mailbox_maps = regexp:/usr/local/etc/postfix/home.map virtual_minimum_uid = 1002 virtual_uid_maps = static:1002 virtual_gid_maps =

RE: mail to specific addresses

2008-09-23 Thread Mumtaz Ali
> Date: Tue, 23 Sep 2008 09:56:34 -0400> From: [EMAIL PROTECTED]> To: > postfix-users@postfix.org> Subject: Re: mail to specific addresses> > Mumtaz > Ali wrote:> > i want to restrict a user to send mails only on specific > addresses> > which are outside my domain.> > how i can make this possib