Re: Reading mail messages from local files

2010-09-08 Thread Stan Hoeppner
Diego Lima put forth on 9/8/2010 3:33 PM: > Hi Stan, > > This is actually a server for a mail marketing company, so I can > expect several thousands of messages per minute being sent from the > system. That's why I was wondering if there was any way to get postfix > to pick up the messages automat

Re: set envelope sender = sasl authenticated user ?

2010-09-08 Thread mouss
Le 08/09/2010 10:44, Jan-Frode Myklebust a écrit : On Tue, Sep 07, 2010 at 06:38:15PM -0500, Noel Jones wrote: If you have customers sending large amounts of abusive mail, seems as if there would be better ways to deal with that eg. sender quotas, monitoring of undeliverable mail, inbound spam/

Re: set envelope sender = sasl authenticated user ?

2010-09-08 Thread mouss
Le 07/09/2010 23:36, Jan-Frode Myklebust a écrit : On Tue, Sep 07, 2010 at 08:20:36PM +0200, Jeroen Geilman wrote: On 09/07/2010 06:57 PM, mouss wrote: OP is an ISP providing outbound relay to residential users. his problem is not easy to solve. Thanks for understanding. I´ve gotten informat

Re: Reading mail messages from local files

2010-09-08 Thread Victor Duchovni
On Wed, Sep 08, 2010 at 05:33:40PM -0300, Diego Lima wrote: > This is actually a server for a mail marketing company, so I can > expect several thousands of messages per minute being sent from the > system. A company in the business of sending email is expected to use tooling sufficiently sophist

Re: integrate dspam into postfix

2010-09-08 Thread Jeroen Geilman
On 09/08/2010 05:54 PM, Martijn de Munnik wrote: On Sep 8, 2010, at 5:34 PM, Wietse Venema wrote: Martijn de Munnik: So I'm using a mailbox_transport to call dspam. Unfortantly the mail doesn't show up in the logs after the lmtp part (I have lmtp -v in master.cf) and the mail isn't delivered.

Re: Remove Received: headers

2010-09-08 Thread Patrick Ben Koetter
* Jack Knowlton : > Hi all. > We have a local postfix server that relays to another postfix server via > VPN and I would like to remove the "Received:" headers so that only the > last one is included in the email message. > How do I proceed to do that? Do I need to set up altermime? $ man header_c

Remove Received: headers

2010-09-08 Thread Jack Knowlton
Hi all. We have a local postfix server that relays to another postfix server via VPN and I would like to remove the "Received:" headers so that only the last one is included in the email message. How do I proceed to do that? Do I need to set up altermime? Thanks -JK

Re: Reading mail messages from local files

2010-09-08 Thread Dieter Kluenter
Diego Lima writes: > Hi Dieter, > > I think I might have badly expressed myself :) The files on the disk > still need to be sent to the addresses in the "To" field. They have > simply been generated using an external program that can't talk smtp > directly with my postfix server and needs it to p

Re: Reading mail messages from local files

2010-09-08 Thread Patrick Ben Koetter
* Diego Lima : > Hi Stan, > > This is actually a server for a mail marketing company, so I can > expect several thousands of messages per minute being sent from the > system. That's why I was wondering if there was any way to get postfix > to pick up the messages automatically (the less programs/s

Re: Reading mail messages from local files

2010-09-08 Thread Diego Lima
Hi Stan, This is actually a server for a mail marketing company, so I can expect several thousands of messages per minute being sent from the system. That's why I was wondering if there was any way to get postfix to pick up the messages automatically (the less programs/scripts in the way, the bett

Re: Reading mail messages from local files

2010-09-08 Thread Vernon A. Fort
On Wed, 2010-09-08 at 17:11 -0300, Diego Lima wrote: > Hi Dieter, > > I think I might have badly expressed myself :) The files on the disk > still need to be sent to the addresses in the "To" field. They have > simply been generated using an external program that can't talk smtp > directly with my

Re: Reading mail messages from local files

2010-09-08 Thread Stan Hoeppner
Diego Lima put forth on 9/8/2010 2:46 PM: > I considered creating a > shellscript that checks the directory for new files and then sends > them using sendmail -t, but that isn't really good performance-wise. Performance-wise? How many emails are you sending per minute? Unless you have others pr

Re: Reading mail messages from local files

2010-09-08 Thread Diego Lima
Hi Dieter, I think I might have badly expressed myself :) The files on the disk still need to be sent to the addresses in the "To" field. They have simply been generated using an external program that can't talk smtp directly with my postfix server and needs it to pick up and deliever the messages

Re: Reading mail messages from local files

2010-09-08 Thread Dieter Kluenter
Diego Lima writes: > Hello all, > > I'm setting up a mail server that needs to read messages that are > created on the disk as individual files. This is an example file: > > From: Test 123 > To: Diego Lima > Content-Type: text/plain; charset=iso-8859-1 > MIME-Type: text/plain > MIME-Version: 1.

Reading mail messages from local files

2010-09-08 Thread Diego Lima
Hello all, I'm setting up a mail server that needs to read messages that are created on the disk as individual files. This is an example file: From: Test 123 To: Diego Lima Content-Type: text/plain; charset=iso-8859-1 MIME-Type: text/plain MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Test

Re: reject_unknown_client_hostname light?

2010-09-08 Thread Stan Hoeppner
pf at alt-ctrl-del.org put forth on 9/7/2010 11:02 PM: > Am I missing something obvious? > > With many ISPs providing generic PTR, > reject_unknown_reverse_client_hostname is too gentle. > > I'd really like to implement reject_unknown_client_hostname, but I've > seen too many cases where address-

Re: Can postfix work with a TLS, authenticated smtp relay server?

2010-09-08 Thread Victor Duchovni
On Wed, Sep 08, 2010 at 11:12:45AM +0800, Richard Chapman wrote: >>> AFAIK smtp.google.com requires an authenticated TLS connection. >> If you have a Google Apps hosted domain, you use fixed MTA credentials, >> (possibly just an IP whitelist) negotiated with Google and send to >> alternate servers

Re: integrate dspam into postfix

2010-09-08 Thread Martijn de Munnik
On Sep 8, 2010, at 5:34 PM, Wietse Venema wrote: Martijn de Munnik: So I'm using a mailbox_transport to call dspam. Unfortantly the mail doesn't show up in the logs after the lmtp part (I have lmtp -v in master.cf) and the mail isn't delivered. When I remove the The mailbox_transport deliver

Re: integrate dspam into postfix

2010-09-08 Thread Wietse Venema
Martijn de Munnik: > So I'm using a mailbox_transport to call dspam. Unfortantly the mail > doesn't show up in the logs after the lmtp part (I have lmtp -v in > master.cf) and the mail isn't delivered. When I remove the The mailbox_transport delivers the mail to dspam, therefore the mail no

Re: integrate dspam into postfix

2010-09-08 Thread Martijn de Munnik
Hi List, I'm still struggling with dspam integration with postfix. Now I have: -- address_verify_map = btree:${data_directory}/verify alias_maps = dbm:/etc/opt/redknot/postfix/aliases config_directory = /etc/opt/redknot/postfix disable_vrfy_command = yes home_mailbox = Maildir/ mailbox_command

Re: set envelope sender = sasl authenticated user ?

2010-09-08 Thread Frank Doege
On 09/08/2010 12:36 AM, Jan-Frode Myklebust wrote: On Tue, Sep 07, 2010 at 08:20:36PM +0200, Jeroen Geilman wrote: On 09/07/2010 06:57 PM, mouss wrote: OP is an ISP providing outbound relay to residential users. his problem is not easy to solve. Thanks for understanding. I´ve gotten informa

Re: integrate dspam into postfix

2010-09-08 Thread Martijn de Munnik
Is there a way to use virtual_tranport with virtual_alias for this case? On Sep 3, 2010, at 1:35 AM, Martijn de Munnik wrote: Hi list, I'm trying to integrate dspam filtering into my postfix system. The way I have it now works for local users but when a user has an alias to an external dom

Re: set envelope sender = sasl authenticated user ?

2010-09-08 Thread Mikael Bak
Jan-Frode Myklebust wrote: > >> and I still fail to understand how controlling your customers >> envelope sender will help with backscatterer.org. > > It will make sure that when viruses/malware on the customers computer is > sending out spam from fake addresses, the bounces goes back to the > cu

Re: Can postfix work with a TLS, authenticated smtp relay server?

2010-09-08 Thread Mikael Bak
Richard Chapman wrote: > Perhaps you are describing an alternative method for google apps smtp > which I am unaware of. If so - can you point me to a description of this > alternative option? > I fail to see why you need postfix if your domain is hosted on Google Apps. Google Apps provide you wit

Re: sender and recipient dependend routing in a single postfix engine

2010-09-08 Thread Ilja Beeskow
Am 08.09.2010 13:13, schrieb Wietse Venema: Ilja Beeskow: Hello @all I wonder if there is a possibility to tell postfix how to route e-mails sender and recipient dependent. Our scenario is as follows. You may have to use an SMTPD policy daemon that replies with "FILTER transport:nexthop". No

Re: sender and recipient dependend routing in a single postfix engine

2010-09-08 Thread Ilja Beeskow
Am 08.09.2010 12:40, schrieb Robert Schetterer: Am 08.09.2010 11:36, schrieb Ilja Beeskow: Hello @all I wonder if there is a possibility to tell postfix how to route e-mails sender and recipient dependent. Our scenario is as follows. [...] Ilja http://www.postfix.org/postconf.5.html#sender

Re: reject_unknown_client_hostname light?

2010-09-08 Thread Wietse Venema
pf at alt-ctrl-del.org: > Am I missing something obvious? Yes. http://www.postfix.org/postconf.5.html#reject_unknown_reverse_client_hostname Wietse

Re: Aggregating/rate-limiting emails

2010-09-08 Thread Wietse Venema
Yang Zhang: > Are there any extensions to Postfix that can aggregate multiple > outgoing emails into a single email within some time window? ... > aggregating messages together into a periodic digest that is emitted > at most once per minute. Any other (low-effort) solution ideas would > be apprec

Re: Aggregating/rate-limiting emails

2010-09-08 Thread Victoriano Giralt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wietse Venema wrote: | Yang Zhang: |> Are there any extensions to Postfix that can aggregate multiple |> outgoing emails into a single email within some time window? 8<-8< |> aggregating messages together into a periodic digest that is emitted |>

Re: Aggregating/rate-limiting emails

2010-09-08 Thread Wietse Venema
Yang Zhang: > Are there any extensions to Postfix that can aggregate multiple > outgoing emails into a single email within some time window? > > We're developing an application that runs on multiple hosts and emails > notifications to us (the developers @gmail.com) whenever something > goes wrong,

Re: sender and recipient dependend routing in a single postfix engine

2010-09-08 Thread Wietse Venema
Ilja Beeskow: > Hello @all > > I wonder if there is a possibility to tell postfix how to route e-mails > sender > and recipient dependent. Our scenario is as follows. You may have to use an SMTPD policy daemon that replies with "FILTER transport:nexthop". Not every mail routing problem can be

Re: sender and recipient dependend routing in a single postfix engine

2010-09-08 Thread Robert Schetterer
Am 08.09.2010 11:36, schrieb Ilja Beeskow: > Hello @all > > I wonder if there is a possibility to tell postfix how to route e-mails > sender and recipient dependent. Our scenario is as follows. > > Postfix is anti spam and anti virus gateway for a couple of domains. > Incoming mail for all these

sender and recipient dependend routing in a single postfix engine

2010-09-08 Thread Ilja Beeskow
Hello @all I wonder if there is a possibility to tell postfix how to route e-mails sender and recipient dependent. Our scenario is as follows. Postfix is anti spam and anti virus gateway for a couple of domains. Incoming mail for all these domains is forwarded by the Provider to this gateway

Re: Aggregating/rate-limiting emails

2010-09-08 Thread Xavier Gillard
Le Wed, 8 Sep 2010 00:29:03 -0700, Yang Zhang a écrit : > On Wed, Sep 8, 2010 at 12:16 AM, Mihira Fernando > wrote: > >  On 09/08/2010 12:33 PM, Yang Zhang wrote: > >> > >> Are there any extensions to Postfix that can aggregate multiple > >> outgoing emails into a single email within some time w

Re: set envelope sender = sasl authenticated user ?

2010-09-08 Thread Jan-Frode Myklebust
On Tue, Sep 07, 2010 at 06:38:15PM -0500, Noel Jones wrote: > If you have customers sending large amounts of abusive mail, seems > as if there would be better ways to deal with that eg. sender > quotas, monitoring of undeliverable mail, inbound spam/virus > scanning, etc. But I'm not an ISP; I can

Re: reject_unknown_client_hostname light?

2010-09-08 Thread Jasper Jongmans
On 2010-09-08 06:02, pf at alt-ctrl-del.org wrote: > Am I missing something obvious? > > With many ISPs providing generic PTR, > reject_unknown_reverse_client_hostname is too gentle. > > I'd really like to implement reject_unknown_client_hostname, but I've > seen too many cases where address->name

Re: Aggregating/rate-limiting emails

2010-09-08 Thread Yang Zhang
On Wed, Sep 8, 2010 at 12:15 AM, Ralf Hildebrandt wrote: > * Yang Zhang : >> This is why we're interested first and foremost throttling messages, > > That's easy: either via a policy server OR you use something like > > smtp_destination_rate_delay = 10s > (one mail very 10s) I failed to mention t

Re: Aggregating/rate-limiting emails

2010-09-08 Thread Yang Zhang
On Wed, Sep 8, 2010 at 12:16 AM, Mihira Fernando wrote: >  On 09/08/2010 12:33 PM, Yang Zhang wrote: >> >> Are there any extensions to Postfix that can aggregate multiple >> outgoing emails into a single email within some time window? >> >> We're developing an application that runs on multiple hos

Re: timeout trouble with postfix and amavisd in BQCF

2010-09-08 Thread Patrick Proniewski
On 3 sept. 2010, at 19:49, Mark Martinec wrote: >> Machine does not look busy at all during those problems. Load is under 0.5 >> and CPU is 90% idle. >> Even small emails are affected. > > If the host is not busy, again, my primary suspect is a berkeley db. > These multiples of 20..25 second del

Re: Aggregating/rate-limiting emails

2010-09-08 Thread Mihira Fernando
On 09/08/2010 12:33 PM, Yang Zhang wrote: Are there any extensions to Postfix that can aggregate multiple outgoing emails into a single email within some time window? We're developing an application that runs on multiple hosts and emails notifications to us (the developers @gmail.com) whenever

Re: Aggregating/rate-limiting emails

2010-09-08 Thread Ralf Hildebrandt
* Yang Zhang : > Are there any extensions to Postfix that can aggregate multiple > outgoing emails into a single email within some time window? Not that I'm aware of. You're thinking of something like a mailing-list digest? > We're developing an application that runs on multiple hosts and emails

Aggregating/rate-limiting emails

2010-09-08 Thread Yang Zhang
Are there any extensions to Postfix that can aggregate multiple outgoing emails into a single email within some time window? We're developing an application that runs on multiple hosts and emails notifications to us (the developers @gmail.com) whenever something goes wrong, via a postfix server.