Re: logging when message_size_limit is exceeded

2014-06-24 Thread btb
On Jun 24, 2014, at 19.35, Wietse Venema wrote: > btb: >> Jun 24 11:20:21 mta postfix/postscreen[5758]: CONNECT from >> [173.201.193.182]:45771 to [10.3.70.5]:25 >> Jun 24 11:20:21 mta postfix/postscreen[5758]: PASS OLD >> [173.201.193.182]:45771 >> Jun 24 11:20:21 mta postfix/smtpd[7066]: conn

When milter (opendkim) is behind a proxy/relay, how to give it the original client IP?

2014-06-24 Thread Thomas R.
Hello, OpenDKIM bases its decision whether mail can be signed on, among other things, the connecting IP. However this only works if there has been no SMTP relay or proxy prior to the mail reaching the milter. If there has been, OpenDKIM sees the IP address of the relay/proxy and treats it as

Re: Limit number of deliveries for pipe delivery

2014-06-24 Thread Wietse Venema
Julian Mehnle: > Hi all! > > I have a transport "foo" defined in master.cf that delivers messages > via a pipe command. In an edge case Postfix is receiving messages > with multiple recipients (multiple RCPT TO commands). I'm looking > for a way to have such messages delivered to the pipe comman

Re: logging when message_size_limit is exceeded

2014-06-24 Thread Wietse Venema
btb: > Jun 24 11:20:21 mta postfix/postscreen[5758]: CONNECT from > [173.201.193.182]:45771 to [10.3.70.5]:25 > Jun 24 11:20:21 mta postfix/postscreen[5758]: PASS OLD [173.201.193.182]:45771 > Jun 24 11:20:21 mta postfix/smtpd[7066]: connect from > p3plsmtp18-01-2.prod.phx3.secureserver.net[173.2

Limit number of deliveries for pipe delivery

2014-06-24 Thread Julian Mehnle
Hi all! I have a transport "foo" defined in master.cf that delivers messages via a pipe command. In an edge case Postfix is receiving messages with multiple recipients (multiple RCPT TO commands). I'm looking for a way to have such messages delivered to the pipe command only once, period, not

logging when message_size_limit is exceeded

2014-06-24 Thread btb
hi- when message_size_limit is exceeded, i see the following logs: Jun 24 11:20:21 mta postfix/postscreen[5758]: CONNECT from [173.201.193.182]:45771 to [10.3.70.5]:25 Jun 24 11:20:21 mta postfix/postscreen[5758]: PASS OLD [173.201.193.182]:45771 Jun 24 11:20:21 mta postfix/smtpd[7066]: connect

Re: maximal_queue_lifetime customized for 1 domain

2014-06-24 Thread Viktor Dukhovni
On Tue, Jun 24, 2014 at 02:21:30PM -0600, Douglas Mortensen wrote: > OK. So I could use my master.cf to create an instance with the > -o flag to add the appropriate override configuration I want, > correct? No, that's not a separate Postfix instance. http://www.postfix.org/MULTI_INSTANCE

RE: maximal_queue_lifetime customized for 1 domain

2014-06-24 Thread Douglas Mortensen
OK. So I could use my master.cf to create an instance with the -o flag to add the appropriate override configuration I want, correct? Then I could put that on a separate public IP address and have our client redirect their MX record to the new address. Does this sound like a correct way to do it

Re: maximal_queue_lifetime customized for 1 domain

2014-06-24 Thread Viktor Dukhovni
On Tue, Jun 24, 2014 at 01:18:43PM -0600, Douglas Mortensen wrote: > Is there a way to set a maximal_queue_lifetime value customized/specific > for 1 recipient email domain? Only by routing mail for that domain to an intermediate queue (separate Postfix instance) where the queue lifetime is diffe

RE: maximal_queue_lifetime customized for 1 domain

2014-06-24 Thread Douglas Mortensen
I realize it's not my problem. And the fact is that I really don't have control over the end-users' email servers either. So there's nothing I can do about it from the end of the server that is causing the problem. However if there is a way that I can actually manipulate the behavior a bit on my

Re: maximal_queue_lifetime customized for 1 domain

2014-06-24 Thread li...@rhsoft.net
Am 24.06.2014 21:18, schrieb Douglas Mortensen: > Is there a way to set a maximal_queue_lifetime value customized/specific for > 1 recipient email domain? > > I have 1 client who uses our spam filtering service & is constantly clogging > up my queues because they frequently have users whose ma

maximal_queue_lifetime customized for 1 domain

2014-06-24 Thread Douglas Mortensen
Is there a way to set a maximal_queue_lifetime value customized/specific for 1 recipient email domain? I have 1 client who uses our spam filtering service & is constantly clogging up my queues because they frequently have users whose mailbox is full (reached quota). These produce a deferral and

Re: postscreen_dnsbl_sites load list to memory from external file

2014-06-24 Thread Wietse Venema
Uffe Jakobsen: > > On 2014-06-24 18:35, Wietse Venema wrote: > > > >> But it was not was I was looking for - because for various reasons the > >> userid that writes the dnsbl sites file has no permissions to write > >> main.cf nor realod postfix. > > > > Including data from an non-root account int

Re: postscreen_dnsbl_sites load list to memory from external file

2014-06-24 Thread Uffe Jakobsen
On 2014-06-24 18:35, Wietse Venema wrote: But it was not was I was looking for - because for various reasons the userid that writes the dnsbl sites file has no permissions to write main.cf nor realod postfix. Including data from an non-root account into main.cf is not supported. Anyone who

Re: postscreen_dnsbl_sites load list to memory from external file

2014-06-24 Thread li...@rhsoft.net
Am 24.06.2014 18:41, schrieb Viktor Dukhovni: > On Tue, Jun 24, 2014 at 12:35:15PM -0400, Wietse Venema wrote: >> Uffe Jakobsen: >>> Your installation or platform must be differeent from mine (FreeBSD) - I >>> have no Makefile, GNUmakefile or BSDmakefile in /usr/local/etc/postfix/ >>> config di

Re: postscreen_dnsbl_sites load list to memory from external file

2014-06-24 Thread Viktor Dukhovni
On Tue, Jun 24, 2014 at 12:35:15PM -0400, Wietse Venema wrote: > Uffe Jakobsen: > > Your installation or platform must be differeent from mine (FreeBSD) - I > > have no Makefile, GNUmakefile or BSDmakefile in /usr/local/etc/postfix/ > > config dir. > > The idea is that you to create that Makefil

Re: postscreen_dnsbl_sites load list to memory from external file

2014-06-24 Thread Wietse Venema
Uffe Jakobsen: > Your installation or platform must be differeent from mine (FreeBSD) - I > have no Makefile, GNUmakefile or BSDmakefile in /usr/local/etc/postfix/ > config dir. The idea is that you to create that Makefile. > But it was not was I was looking for - because for various reasons th

Re: postscreen_dnsbl_sites load list to memory from external file

2014-06-24 Thread Uffe Jakobsen
On 2014-06-24 18:06, Viktor Dukhovni wrote: On Tue, Jun 24, 2014 at 05:55:47PM +0200, Uffe Jakobsen wrote: Feature request: It would be nice if the "postscreen_dnsbl_sites" list could be loaded into memory (once - upon start/reload) from an external file - that doesn't seem to be possible ri

Re: postscreen_dnsbl_sites load list to memory from external file

2014-06-24 Thread Viktor Dukhovni
On Tue, Jun 24, 2014 at 05:55:47PM +0200, Uffe Jakobsen wrote: > Feature request: > > It would be nice if the "postscreen_dnsbl_sites" list could be loaded into > memory (once - upon start/reload) from an external file - that doesn't seem > to be possible right now - or am I wrong ? # cd /et

postscreen_dnsbl_sites load list to memory from external file

2014-06-24 Thread Uffe Jakobsen
Hi, Feature request: It would be nice if the "postscreen_dnsbl_sites" list could be loaded into memory (once - upon start/reload) from an external file - that doesn't seem to be possible right now - or am I wrong ? /Uffe

Re: On DKIM and Content-Transfer-Encoding

2014-06-24 Thread Wietse Venema
Mauricio Tavares: > This email is mostly about understanding what is going on, how > the process works than whether my install of postfix is working > properly or the MUA is lying. In fact, I am using ssmtp to send the > email to postfix because I want to make my test as simple as possible >

Re: Multiple results from same dnsbl

2014-06-24 Thread Wietse Venema
Uffe Jakobsen: > DNSBL zen.spamhaus.org used from postscreen are returning multiple > results from one query (it is a combination of other spamhaus dnsbl lists) > > With multiple results returned from a query (no result filter applied) > the hit still counts as a one (1) positive hit (which gets

On DKIM and Content-Transfer-Encoding

2014-06-24 Thread Mauricio Tavares
This email is mostly about understanding what is going on, how the process works than whether my install of postfix is working properly or the MUA is lying. In fact, I am using ssmtp to send the email to postfix because I want to make my test as simple as possible (avoid "helpful" MUAs adding

Multiple results from same dnsbl

2014-06-24 Thread Uffe Jakobsen
Hi, DNSBL zen.spamhaus.org used from postscreen are returning multiple results from one query (it is a combination of other spamhaus dnsbl lists) With multiple results returned from a query (no result filter applied) the hit still counts as a one (1) positive hit (which gets multiplied by

Virtual Domain Hosting integrated with GNU Mailman

2014-06-24 Thread Jeremy Bowen
First up, please see the output from "postconf -n" appended below. I have just had to quickly rebuild a failed server and get it back into production. I have got basic functionality up and running but I've had to reconstruct the configuration as backups were incomplete (yeah I know!) It is now