rejecting an invalid return path

2009-12-07 Thread Raffael Schmid
Hi list Do you know whether there is a possibility to reject invalid return paths in postfix? The problem is, that we get spam with a header-line like the following and would like to reject those messages: Return-Path: MAILER-DEAMON AFAIK the return-path above is invalid, as there is only the

Re: rejecting an invalid return path

2009-12-07 Thread Stan Hoeppner
Raffael Schmid put forth on 12/7/2009 4:10 AM: Hi list Do you know whether there is a possibility to reject invalid return paths in postfix? The problem is, that we get spam with a header-line like the following and would like to reject those messages: Return-Path: MAILER-DEAMON

Re: rejecting an invalid return path

2009-12-07 Thread Raffael Schmid
Hi Stan Hoeppner wrote: The problem is, that we get spam with a header-line like the following and would like to reject those messages: Return-Path: MAILER-DEAMON http://www.postfix.org/BACKSCATTER_README.html Already read this and I also would know how to do this. But I thought maybe

Re: rejecting an invalid return path

2009-12-07 Thread Wietse Venema
Raffael Schmid: Hi list Do you know whether there is a possibility to reject invalid return paths in postfix? The problem is, that we get spam with a header-line like the following and would like to reject those messages: Return-Path: MAILER-DEAMON AFAIK the return-path above is

Question Postfix with multi-domain.

2009-12-07 Thread Ricardo Barbosa
Hi all, I have a problem with postfix, I have my postfix set up on the domain a.com and am getting in the queue of emails incoming email for example the domain from u...@b.com to u...@c.com, the domain b.com and c.com with and are not part of domains that postfix has served as an area. I was

Re: rejecting an invalid return path

2009-12-07 Thread Noel Jones
On 12/7/2009 4:10 AM, Raffael Schmid wrote: Hi list Do you know whether there is a possibility to reject invalid return paths in postfix? The problem is, that we get spam with a header-line like the following and would like to reject those messages: Return-Path:MAILER-DEAMON AFAIK the

Re: Question Postfix with multi-domain.

2009-12-07 Thread Noel Jones
On 12/7/2009 7:12 AM, Ricardo Barbosa wrote: Hi all, I have a problem with postfix, I have my postfix set up on the domain a.com and am getting in the queue of emails incoming email for example the domain from u...@b.com to u...@c.com, the domain b.com and c.com with and are not part of domains

Re: rejecting an invalid return path

2009-12-07 Thread Victor Duchovni
On Mon, Dec 07, 2009 at 11:10:15AM +0100, Raffael Schmid wrote: The problem is, that we get spam with a header-line like the following and would like to reject those messages: Return-Path: MAILER-DEAMON Almost certainly the actual envelope sender was MAIL FROM:, and the MAILER-DAEMON was

Save a copy of relayed mail?

2009-12-07 Thread Kārlis Repsons
Hi all, I've found, it can be done by setting always_bcc, but it would also make copies of normally received mail and locally sent one, right? If so, how can only relayed mail be saved as a local copy on relay host? Thanks... signature.asc Description: This is a digitally signed message part.

Re: PATCH: smtpd_proxy logging

2009-12-07 Thread Mark Martinec
Wietse Venema wie...@porcupine.org: Like this? Dec 5 20:15:25 server postfix/smtpd[16712]: proxy-accept: END-OF-MESSAGE: 250 2.0.0 Ok: queued as 91BE3547AFE; from=sen...@example.com to=recipi...@example.com proto=ESMTP helo=client.example.com (with the same form for proxy-reject

Two MX servers with load balancing

2009-12-07 Thread Osmany
Hi everyone, I have two relay servers currently working with load balancing. I want to configure both servers so that each MX relays only certain domain and the rest of the mail throws it to the other MX. Here is the idea: I want one MX to get all the mail and throw to the other MX all the mail

Re: LDAP configuration issue

2009-12-07 Thread lst_hoe02
Zitat von Javier Henderson jav...@kjsl.org: Greetings, I am trying to configure Postfix to gracefully deal with the failure of the LDAP server it uses for alias resolution. It's working fine, using the LDAP server to resolve u...@domain.com to u...@somehost.domain.com, but if the LDAP

Re: LDAP configuration issue

2009-12-07 Thread Noel Jones
On 12/7/2009 1:07 PM, Javier Henderson wrote: Greetings, I am trying to configure Postfix to gracefully deal with the failure of the LDAP server it uses for alias resolution. It's working fine, using the LDAP server to resolve u...@domain.com to u...@somehost.domain.com, but if the LDAP

Re: LDAP configuration issue

2009-12-07 Thread Javier Henderson
On Dec 7, 2009, at 3:06 PM, Noel Jones wrote: On 12/7/2009 1:07 PM, Javier Henderson wrote: Greetings, I am trying to configure Postfix to gracefully deal with the failure of the LDAP server it uses for alias resolution. It's working fine, using the LDAP server to resolve

Re: PATCH: smtpd_proxy logging

2009-12-07 Thread Stefan Förster
* Mark Martinec mark.martinec+post...@ijs.si: On Sunday 06 December 2009 13:11:16 Stefan Foerster wrote: 2. The number of SMTP proxy processes busy talking to Postfix went down from 16.44 to 8.73 (5s resolution) - that's a completely unexpected result, possibly flawed by the small data sample.

Re: LDAP configuration issue

2009-12-07 Thread lst_hoe02
Zitat von Javier Henderson jav...@kjsl.org: On Dec 7, 2009, at 3:06 PM, Noel Jones wrote: On 12/7/2009 1:07 PM, Javier Henderson wrote: Greetings, I am trying to configure Postfix to gracefully deal with the failure of the LDAP server it uses for alias resolution. It's working fine,

Re: whitelisting problem

2009-12-07 Thread mouss
Stan Hoeppner a écrit : /dev/rob0 put forth on 12/5/2009 8:44 PM: This post might seem like a gratuitous me-too, and it partly is, but the thing that concerned me, as one of the people responsible for the Spam-L list, was the rejection, in the original post: Dec 4 13:39:15 greer

Re: whitelisting problem

2009-12-07 Thread mouss
Stan Hoeppner a écrit : mouss put forth on 12/5/2009 7:50 AM: you need to read the docs :) Isn't that always the case here. :) an OK in an smtpd_foo_restrictions skips further checks in _that_ restriction. so an OK in smtpd_client_restrictions skips further checks and goes to

Re: LDAP configuration issue

2009-12-07 Thread Wietse Venema
Javier Henderson: Greetings, I am trying to configure Postfix to gracefully deal with the failure of the LDAP server it uses for alias resolution. It's working fine, using the LDAP server to resolve u...@domain.com to u...@somehost.domain.com, but if the LDAP server dies or becomes

[OT?] blocking replies (WAS: whitelisting problem)

2009-12-07 Thread mouss
Sta[snip] Sanity checking and ease of troubleshooting is precisely why I'd kept them separated for years, so each check type was in its respective class heading. I guess given the things I'm doing with my static lists, it makes no sense to continue my current method, given it makes the

Re: [OT?] blocking replies (WAS: whitelisting problem)

2009-12-07 Thread Stan Hoeppner
mouss put forth on 12/7/2009 3:52 PM: I'm looking through you, where did you go: s...@hardwarefreak.com: host greer.hardwarefreak.com[65.41.216.221] said: 554 5.7.1 imlil.netoyen.net[91.121.103.130]: Client host rejected: Access denied (in reply to RCPT TO command) It is nice to not

Re: [OT?] blocking replies (WAS: whitelisting problem)

2009-12-07 Thread Sahil Tandon
On Mon, 07 Dec 2009, Stan Hoeppner wrote: mouss put forth on 12/7/2009 3:52 PM: I'm looking through you, where did you go: s...@hardwarefreak.com: host greer.hardwarefreak.com[65.41.216.221] said: 554 5.7.1 imlil.netoyen.net[91.121.103.130]: Client host rejected: Access denied (in

header_checks not working correctly

2009-12-07 Thread Christopher Adams
I am trying to ban an address from sending through my system. I have this in main.cf: header_checks = regexp:/etc/postfix/header_checks In the header_checks file, I have this: /^From: .*someplace.org/ DISCARD I did a 'postfix reload' Messages from someplace.org are still being delivered.

Re: header_checks not working correctly

2009-12-07 Thread Ansgar Wiechers
On 2009-12-07 Christopher Adams wrote: I am trying to ban an address from sending through my system. I have this in main.cf: header_checks = regexp:/etc/postfix/header_checks In the header_checks file, I have this: /^From: .*someplace.org/ DISCARD I did a 'postfix reload'

Re: header_checks not working correctly

2009-12-07 Thread Sahil Tandon
On Mon, 07 Dec 2009, Christopher Adams wrote: I am trying to ban an address from sending through my system. I have this in main.cf: header_checks = regexp:/etc/postfix/header_checks In the header_checks file, I have this: /^From: .*someplace.org/ DISCARD I did a 'postfix reload'

Re: header_checks not working correctly

2009-12-07 Thread Sahil Tandon
On Tue, 08 Dec 2009, Ansgar Wiechers wrote: On 2009-12-07 Christopher Adams wrote: I am trying to ban an address from sending through my system. I have this in main.cf: header_checks = regexp:/etc/postfix/header_checks In the header_checks file, I have this: /^From:

Re: header_checks not working correctly

2009-12-07 Thread Christopher Adams
Thank you for your helpful reply. So, now I have this in main.cf: smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_blacklist I have a file sender_blacklist: m...@somplace.org/ REJECT I issued the command 'postmap hash:/etc/postfix/sender_blacklist' I

Re: header_checks not working correctly

2009-12-07 Thread Wietse Venema
Christopher Adams: Thank you for your helpful reply. So, now I have this in main.cf: smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_blacklist I have a file sender_blacklist: m...@somplace.org/ REJECT I issued the command 'postmap

transport maps

2009-12-07 Thread osmany
Hi I am trying to make postfix to relay all mail except for the ones going to a specific domain. For example I want to be able to make postfix relay all mail except for domain .ca I was wondering if something like this is possible or if there is anything like this: transport_maps.cf *.*

Re: header_checks not working correctly

2009-12-07 Thread Christopher Adams
Okay, no more ignorant posts. I will give you all that I have based on the protocol as spelled out. 1. Summary of the problem: attempting to ban an email address using a hash map does not work. The message is delivered anyway. 2. Error messages: none 3. Logging: Maillog shows that the message

Re: header_checks not working correctly

2009-12-07 Thread Daniel V. Reinhardt
From: Christopher Adams adam...@gmail.com To: Postfix users postfix-users@postfix.org Sent: Tue, December 8, 2009 5:00:37 AM Subject: Re: header_checks not working correctly Okay, no more ignorant posts. I will give you all that I have based on the protocol as spelled out. 1. Summary of

Re: header_checks not working correctly

2009-12-07 Thread Sahil Tandon
On Mon, 07 Dec 2009, Christopher Adams wrote: Okay, no more ignorant posts. I will give you all that I have based on the protocol as spelled out. 1. Summary of the problem: attempting to ban an email address using a hash map does not work. The message is delivered anyway. Sorry, this is a

Re: transport maps

2009-12-07 Thread Sahil Tandon
On Mon, 07 Dec 2009, osm...@oc.quimefa.cu wrote: Hi I am trying to make postfix to relay all mail except for the ones going to a specific domain. For example I want to be able to make postfix relay all mail except for domain .ca I was wondering if something like this is possible or if

Re: header_checks not working correctly

2009-12-07 Thread Christopher Adams
Okay, it is obvious that my approach to getting assistance is all wrong. True, I did not understand the posting protocol, mainly because I don't post often to this list. Yes, I did begin the posting with the subject of header_checks. Some kind fellow gave me some assistance and I attempted to try

Re: header_checks not working correctly

2009-12-07 Thread Daniel V. Reinhardt
From: Christopher Adams adam...@gmail.com To: postfix-users@postfix.org Sent: Tue, December 8, 2009 5:51:13 AM Subject: Re: header_checks not working correctly Okay, it is obvious that my approach to getting assistance is all wrong. True, I did not understand the posting protocol, mainly

Re: header_checks not working correctly

2009-12-07 Thread Sahil Tandon
On Mon, 07 Dec 2009, Christopher Adams wrote: Okay, it is obvious that my approach to getting assistance is all wrong. True, I did not understand the posting protocol, mainly because I don't post often to this list. Yes, I did begin the posting with the subject of header_checks. Some kind