Milter for handling messages bound for non-TLS-capable hosts?

2010-12-28 Thread email builder
Hello, I might need to learn how to write a milter that tries to divert outgoing messages (so a smtp/client milter) that have been sent with smtp_tls_security_level = encrypt but failed because the destination server doesn't support STARTTLS (I understand that this is something of a false

Re: Postfix and Myvzw.com POP3 email

2010-12-28 Thread Mark Khan
Hi Victor: Thank you again for your response. I used the following package to install postfix: CNDpostfix-2.7.1,REV=100609-SunOS5.10-sparc.pkg. If you could please review the information below ,I am hoping that you or someone else in the postfix world can provide some direction on how to

Re: X-Original-To: and smtpd_proxy_filter

2010-12-28 Thread Jeroen Geilman
On 12/28/10 7:58 AM, Alexander Moisseev wrote: m...@domain.tld has an alias al...@domain.tld and mail sent to alias. X-Original-To: al...@domain.tld prepends to the message. It's OK. If the before-queue content filter enabled as shown below then X-Original-To: is m...@domain.tld. Why did this

Re: Postfix and Myvzw.com POP3 email

2010-12-28 Thread mouss
Le 28/12/2010 13:34, Mark Khan a écrit : Hi Victor: Thank you again for your response. I used the following package to install postfix: CNDpostfix-2.7.1,REV=100609-SunOS5.10-sparc.pkg. If you could please review the information below ,I am hoping that you or someone else in the

Re: Postfix and Myvzw.com POP3 email

2010-12-28 Thread Jeroen Geilman
On 12/28/10 2:41 PM, mouss wrote: your postfix has support for AUTH. If you also have dovecot, then it's easier to use dovecot-auth. otherwise, use cyrus sasl. If he doesn't have dovecot, it is still easier than cyrus :) -- J.

Postfix queue in Mysql ?

2010-12-28 Thread Joan Moreau
Hi, the postfix queue manager (qmgr) is taking far too much resources when the number of email pending is growing. Is there a wait to move /var/spool/postfix in a MySQL database ? (dont tell me dbmail, I want to keep my dovecot imap/pop sever) Thanks Joan

Re: Postfix and Myvzw.com POP3 email

2010-12-28 Thread Jerry
On Tue, 28 Dec 2010 14:45:16 +0100 Jeroen Geilman jer...@adaptr.nl articulated: On 12/28/10 2:41 PM, mouss wrote: your postfix has support for AUTH. If you also have dovecot, then it's easier to use dovecot-auth. otherwise, use cyrus sasl. If he doesn't have dovecot, it is still easier

Re: Postfix queue in Mysql ?

2010-12-28 Thread Victor Duchovni
On Tue, Dec 28, 2010 at 08:28:48AM -0500, Joan Moreau wrote: the postfix queue manager (qmgr) is taking far too much resources What does too much resources mean? CPU? disk I/O? RAM? when the number of email pending is growing. Treat the disease not the symptoms, why is the deferred queue

Re: Milter for handling messages bound for non-TLS-capable hosts?

2010-12-28 Thread Victor Duchovni
On Tue, Dec 28, 2010 at 01:19:49AM -0800, email builder wrote: I might need to learn how to write a milter that tries to divert outgoing messages (so a smtp/client milter) that have been sent with smtp_tls_security_level = encrypt but failed because the destination server doesn't support

Re: Postfix queue in Mysql ?

2010-12-28 Thread Wietse Venema
Joan Moreau: Hi, the postfix queue manager (qmgr) is taking far too much resources when the number of email pending is growing. Sorry, you are jumping to conclusions. There are many reasons why mail can pile up in the queue, and you have not given a shred of information that allows people

Re: Postfix queue in Mysql ?

2010-12-28 Thread Joan Moreau
Well, more clearly, my question is : How can I plug Mysql as a backend of postfix to handle the mailq ? On Tue, 28 Dec 2010 12:00:04 -0500 (EST), Wietse Venema wrote: Joan Moreau: Hi, the postfix queue manager (qmgr) is taking far too much resources when the number of email pending is

Re: Postfix queue in Mysql ?

2010-12-28 Thread Wietse Venema
Joan Moreau: Well, more clearly, my question is : How can I plug Mysql as a backend of postfix to handle the mailq ? Please state the PROBLEM instead of the SOLUTION. Wietse On Tue, 28 Dec 2010 12:00:04 -0500 (EST), Wietse Venema wrote: Joan Moreau: Hi, the postfix

Re: Postfix queue in Mysql ?

2010-12-28 Thread Victor Duchovni
On Tue, Dec 28, 2010 at 12:19:23PM -0500, Joan Moreau wrote: Well, more clearly, my question is : How can I plug Mysql as a backend of postfix to handle the mailq ? It was clear enough before. The answer is that this is not possible. The queue is file-based by design. The queue design is

Re: Postfix and Myvzw.com POP3 email

2010-12-28 Thread mouss
Le 28/12/2010 15:25, Jerry a écrit : On Tue, 28 Dec 2010 14:45:16 +0100 Jeroen Geilman jer...@adaptr.nl articulated: On 12/28/10 2:41 PM, mouss wrote: your postfix has support for AUTH. If you also have dovecot, then it's easier to use dovecot-auth. otherwise, use cyrus sasl. If he

Re: Postfix and Myvzw.com POP3 email

2010-12-28 Thread Victor Duchovni
On Tue, Dec 28, 2010 at 06:51:23PM +0100, mouss wrote: I have never had a problem with cyrus-sasl configuration and usage. I am presently using cyrus-sasl with mysql and it works flawlessly. I have had problems in the past with Dovecot and authentication when Dovecot was updated. I

Re: Postfix queue in Mysql ?

2010-12-28 Thread Joan Moreau
Well, no need to get angry. I am just looking for a MySQL bakcend to replace the hard-disk storage of the postfix mailqueue. This is not a problem, this is something I am looking for. Best, Joan On Tue, 28 Dec 2010 12:28:57 -0500 (EST), Wietse Venema wrote: Joan Moreau: Well, more

Re: Milter for handling messages bound for non-TLS-capable hosts?

2010-12-28 Thread email builder
1) does the milter API and its placement in the server's execution provide a place where I can determine that STARTTLS has failed? No. Milter processing happens as mail enters the queue, delivery and STARTTLS success or failure happen when mail is leaving the queue. (and

Re: Postfix queue in Mysql ?

2010-12-28 Thread Magnus Bäck
On Tuesday, December 28, 2010 at 22:29 CET, Joan Moreau j...@grosjo.net wrote: I am just looking for a MySQL bakcend to replace the hard-disk storage of the postfix mailqueue. This is not a problem, this is something I am looking for. Judging by your initial message in this thread I'd

Re: Postfix queue in Mysql ?

2010-12-28 Thread Victor Duchovni
On Tue, Dec 28, 2010 at 04:29:34PM -0500, Joan Moreau wrote: I am just looking for a MySQL bakcend to replace the hard-disk storage of the postfix mailqueue. This is not a problem, this is something I am looking for. This is surely a means and not an end. What real purpose would storing the

Re: Postfix queue in Mysql ?

2010-12-28 Thread James Gray
On Tue, 28 Dec 2010 12:28:57 -0500 (EST), Wietse Venema wrote: Joan Moreau: Well, more clearly, my question is : How can I plug Mysql as a backend of postfix to handle the mailq ? Please state the PROBLEM instead of the SOLUTION. Wietse On 29/12/2010, at 8:29 AM, Joan Moreau wrote: I

postscreen STARTTLS support

2010-12-28 Thread Wietse Venema
I have built an event-driven TLS proxy for postscreen(8). This addresses the problem that postscreen(8) could not be used when SMTP clients require STARTTLS support. The new daemon is called starttlsd(8). When a non-whitelisted (*) SMTP client sends a STARTTLS command, postscreen(8) will hand

Re: Postfix queue in Mysql ?

2010-12-28 Thread Stan Hoeppner
Joan Moreau put forth on 12/28/2010 3:29 PM: Well, no need to get angry. No one is angry. You're misreading tone as you're not a regular member of this list. Replace angry with direct and you've got the correct tone. I am just looking for a MySQL bakcend to replace the hard-disk storage

Re: Postfix queue in Mysql ?

2010-12-28 Thread Joan Moreau
Well, I am surprised by the tone of those emails. I am just asking if it exists a back-end that would replace the storage and management of the queue into mysql (i.e. put /var/spool/postfix into mysql tables). (yes, a file system is made for storing files, but it is not at all made to

Re: Postfix queue in Mysql ?

2010-12-28 Thread James Gray
On 29/12/2010, at 4:02 PM, Joan Moreau wrote: Well, I am surprised by the tone of those emails. Why? Do you tell you mechanic how to fix your car before he's even been informed what vehicle you drive? I am just asking if it exists a back-end that would replace the storage and management

Re: X-Original-To: and smtpd_proxy_filter

2010-12-28 Thread Alexander Moisseev
Jeroen Geilman wrote: On 12/28/10 7:58 AM, Alexander Moisseev wrote: m...@domain.tld has an alias al...@domain.tld and mail sent to alias. X-Original-To: al...@domain.tld prepends to the message. It's OK. If the before-queue content filter enabled as shown below then X-Original-To: is