policy server determine proxy filter?

2015-07-02 Thread Rod K
Using FILTER {destination} one can use a policy server to set/override an after queue filter, but is there anyway to set/override a before queue proxy filter from a policy server?

Re: policy server determine proxy filter?

2015-07-02 Thread Rod K
On 7/2/2015 1:52 PM, Viktor Dukhovni wrote: On Thu, Jul 02, 2015 at 01:44:45PM -0400, Rod K wrote: Using FILTER {destination} one can use a policy server to set/override an after queue filter, but is there anyway to set/override a before queue proxy filter from a policy server? No, and you

Re: policy server determine proxy filter?

2015-07-02 Thread Rod K
On 7/2/2015 1:52 PM, Viktor Dukhovni wrote: On Thu, Jul 02, 2015 at 01:44:45PM -0400, Rod K wrote: Using FILTER {destination} one can use a policy server to set/override an after queue filter, but is there anyway to set/override a before queue proxy filter from a policy server? No, and you

Re: SQL table lookup

2015-05-12 Thread Rod K
On 5/12/2015 7:55 PM, Peter wrote: On 05/08/2015 04:43 AM, Rod K wrote: check_client_restrictions = There is no such setting, you probably want smtpd_client_restrictions. Peter Yes I did. Should have been smtpd_client_restrictions = check_client_access

Re: SQL table lookup

2015-05-08 Thread Rod K
On 5/8/2015 3:33 AM, Tobi wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Am 07.05.2015 um 18:43 schrieb Rod K: I'm trying to implement check_client_restrictions = check_client_access pgsql:/path/to/local_blacklist-sql.cf, ... have you had a look at postfix postscreen featue? http

Re: SQL table lookup

2015-05-07 Thread Rod K
On 5/7/2015 1:48 PM, Wietse Venema wrote: Rod K: I'm trying to implement check_client_restrictions = check_client_access pgsql:/path/to/local_blacklist-sql.cf, Note that this also makes queries with client name parent domains and network prefixes (see the section HOST NAME/ADDRESS

Re: SQL table lookup

2015-05-07 Thread Rod K
On 5/7/2015 3:01 PM, Wietse Venema wrote: Rod K: *DUNNO* Pretend that the lookup key was not found. This prevents Postfix from trying substrings of the lookup key (such as a subdomain name, or a network address subnetwork). This to me means the first

SQL table lookup

2015-05-07 Thread Rod K
I'm trying to implement check_client_restrictions = check_client_access pgsql:/path/to/local_blacklist-sql.cf, ... Previously I had the same information in a cidr: check_client_access cidr:/path/to/local_blacklist.cidr, When I check with postmap postmap -q 1.2.3.4

Whitelist specific address in postscreen

2015-04-30 Thread Rod K
Postscreen is successfully blocking a lot of spam for us. Our DNSBL settings are doing a great job, however I'm having one false positive. One of our customers does a bit of business with a Chinese firm. Their rep from this firm is using the nefarious 163.com as their service provider. Of

Re: Whitelist specific address in postscreen

2015-04-30 Thread Rod K
On 4/30/2015 10:15 AM, Noel Jones wrote: On 4/30/2015 8:59 AM, Rod K wrote: Postscreen is successfully blocking a lot of spam for us. Our DNSBL settings are doing a great job, however I'm having one false positive. One of our customers does a bit of business with a Chinese firm. Their rep

Re: External forwards and dovecot-lda

2015-03-12 Thread Rod K
On 3/12/2015 7:06 PM, Noel Jones wrote: On 3/12/2015 6:03 PM, Noel Jones wrote: On 3/12/2015 5:50 PM, Rod K wrote: On 3/12/2015 6:35 PM, Noel Jones wrote: On 3/12/2015 5:28 PM, Rod K wrote: I'm currently configuring a new server using Postfix/Dovecot. My previous experience is with Courier

External forwards and dovecot-lda

2015-03-12 Thread Rod K
I'm currently configuring a new server using Postfix/Dovecot. My previous experience is with Courier and I've been using Postfix's virtual lda. I want to start using dovecot-lda. Here's the issue, I have several external forwards such as joeb...@internal.tld joeb...@external.tld where

Re: External forwards and dovecot-lda

2015-03-12 Thread Rod K
On 3/12/2015 6:35 PM, Noel Jones wrote: On 3/12/2015 5:28 PM, Rod K wrote: I'm currently configuring a new server using Postfix/Dovecot. My previous experience is with Courier and I've been using Postfix's virtual lda. I want to start using dovecot-lda. Here's the issue, I have several

Re: smtp_recipient_restrictions policy server

2015-02-17 Thread Rod K
On 2/17/2015 9:03 PM, Viktor Dukhovni wrote: On Tue, Feb 17, 2015 at 08:52:12PM -0500, Rod K wrote: I want to create a policy server that will process once per recipient. My understanding is that this would work when placed under smtpd_recipient_restrictions. Is this correct? Yes. My

smtp_recipient_restrictions policy server

2015-02-17 Thread Rod K
)? If either of the answers is negative, can someone point me in a direction to where I can achieve this with a policy server, or will I have to use a content filter? Thanks, Rod K

Re: Limit PHP web application to connect postfix on localhost

2014-10-24 Thread Rod K
On 10/24/2014 2:47 PM, Julio Cesar Covolato wrote: Hi. Hello! Is there a way to limit connections from web applications on the same server for postfix? The web application sends messages via smtp on localhost (127.0.0.1:25). Need to limit the maximum 5k messages per hour. Is that possible?

Re: Limit PHP web application to connect postfix on localhost

2014-10-24 Thread Rod K
On 10/24/2014 4:47 PM, li...@rhsoft.net wrote: Am 24.10.2014 um 22:41 schrieb Rod K: On 10/24/2014 2:47 PM, Julio Cesar Covolato wrote: Hi. Hello! Is there a way to limit connections from web applications on the same server for postfix? The web application sends messages via smtp

Policy server returns

2013-05-15 Thread Rod K
As I understand it Postfix only allows a single line return from a policy server. e.g. this is valid: REJECT Because I want to\n\n but this is not: PREPEND X-MYHEADER: this is my added header\nDUNNO\n\n If that is the case I want to clarify that a PREPEND or REDIRECT reply will result as a

Re: Case sensivity: Strict rfc5321 or reality compliance

2013-04-15 Thread Rod K
On 4/15/2013 8:24 AM, Jan P. Kessler wrote: Hi, sorry, I know this is not directly related to postfix but I know that there are several very experienced people reading this list. My question is how you (the people that use and administer mailservers) handle the localpart case sensivity

Re: Case sensivity: Strict rfc5321 or reality compliance

2013-04-15 Thread Rod K
On 4/15/2013 9:44 AM, Jan P. Kessler wrote: localpart case sensivity according to rfc5321: The local-part of a mailbox MUST BE treated as case sensitive. You are misunderstanding. Relaying MTAs MUST treat the local-part as case sensitive. IOW, until the message is received at the destination,

Re: NOQUEUE: reject: RCPT from ... 454 4.7.1 Relay access denied

2013-04-08 Thread Rod K
Postfix is not configured to accept mail for mhm.lv On 4/8/2013 9:30 PM, Indiana Jones wrote: Dear Sirs, From these error messages below, could you possibly advise what the reason might be that I am not able to receive messages into my Postfix-Dovecot mail server! OS: FreeBSD 9.1 Postfix

Re: Postscreen RBLs

2013-02-11 Thread Rod K
On 2/11/2013 11:13 AM, Nikolaos Milas wrote: Hello, I am using Postfix 2.9.4 on CentOS 6.3 as a gateway server with the following postscreen settings: postscreen_dnsbl_threshold = 2 postscreen_dnsbl_sites = b.barracudacentral.org*2, zen.spamhaus.org*2, psbl.surriel.com*2

BCC submission from specific user

2012-09-19 Thread Rod K
I have a client request that any outbound emails sent by a specific user be BCCd to another email address in the organization. Any ideas on how best to accomplish this?

Re: BCC submission from specific user

2012-09-19 Thread Rod K
Thanks! On 9/19/2012 12:24 PM, /dev/rob0 wrote: On Wed, Sep 19, 2012 at 11:25:18AM -0400, Rod K wrote: I have a client request that any outbound emails sent by a specific user be BCCd to another email address in the organization. Any ideas on how best to accomplish this? Sounds like you want

Re: 2instances Postfix on FreeBSD 9

2012-06-29 Thread Rod K
It would probably be in the startup script in /usr/local/etc/rc.d If all else fails you could always create a symlink. On 6/29/2012 11:12 AM, motty.cruz wrote: Hello, I have two instances of Postfix on the same machine running, all working fine, except when I reboot the machine I get the

Re: 2instances Postfix on FreeBSD 9

2012-06-29 Thread Rod K
-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Viktor Dukhovni Sent: Friday, June 29, 2012 8:20 AM To: postfix-users@postfix.org Subject: Re: 2instances Postfix on FreeBSD 9 On Fri, Jun 29, 2012 at 11:16:11AM -0400, Rod K wrote: It would probably be in the startup

Re: [OT] frequent TRY_AGAINs and 10s timeouts, but *only* with b.barracudacentral.org

2012-06-02 Thread Rod K
Yes, I've seen that this week as well. On 6/2/2012 12:44 PM, Sahil Tandon wrote: I am seeing hundreds (on higher volume days, over a thousand) of lines like: Jun 2 10:04:30 mx1 postfix/dnsblog[58868]: warning: dnsblog_query: lookup error for DNS query

Doubling DNSBL ranks in Postscreen

2012-05-30 Thread Rod K
The following appeared in my logs: May 28 01:08:24 smtp postfix/postscreen[12800]: CONNECT from [59.7.57.23]:46426 May 28 01:08:24 smtp postfix/dnsblog[13615]: addr 59.7.57.23 listed by domain bl.spamcop.net as 127.0.0.2 May 28 01:08:24 smtp postfix/dnsblog[13616]: addr 59.7.57.23 listed by

Re: Doubling DNSBL ranks in Postscreen

2012-05-30 Thread Rod K
On 5/30/2012 12:54 PM, /dev/rob0 wrote: On Wed, May 30, 2012 at 11:45:18AM -0500, I wrote: Yes, and it was brought up before and fixed. http://www.mail-archive.com/postfix-users@postfix.org/msg33631.html was the discussion, 2011-March. 2.8.7 Missed the previous mentions.

Problem with Postscreen

2012-05-19 Thread Rod K
I am receiving the following message when testing (not enabled) postscreen: smtp postfix/postscreen[1516]: warning: cannot connect to service private/smtpd: No such file or directory The following are my main.cf entries: smtp pass- - - - - smtpd

Re: Problem with Postscreen

2012-05-19 Thread Rod K
On 5/19/2012 6:20 PM, Rod K wrote: I am receiving the following message when testing (not enabled) postscreen: smtp postfix/postscreen[1516]: warning: cannot connect to service private/smtpd: No such file or directory The following are my main.cf entries: smtp pass

Re: Problem with Postscreen

2012-05-19 Thread Rod K
Heh, that d is elusive. Thanks. On 5/19/2012 9:09 PM, Wietse Venema wrote: Rod K: On 5/19/2012 6:20 PM, Rod K wrote: I am receiving the following message when testing (not enabled) postscreen: smtp postfix/postscreen[1516]: warning: cannot connect to service v private

Postscreen DNSBL weights

2012-05-04 Thread Rod K
Hi all, Was wondering if anyone would be willing to share what DNSBL and weights they are using with Postscreen. Thanks, Rod

Re: Suppressing received-from line when mail is from authenticated MUA

2012-02-13 Thread Rod K
Here's what I did: Create file 'stripauth' with the following line: /^(Received:.*)$/ REPLACE X-Recieved: From Authenticated User In master.cf: submission inet n - n - - smtpd -o smtpd_client_restrictions=permit_sasl_authenticated,reject -o