Re: email sent to bad address, is it possible to change recipient

2014-06-26 Thread Noel Jones
On 6/25/2014 5:10 PM, Robert Fantini wrote: > Hello > > due to a bug in some other software we have mail occasionally get > stuck in the queue. > > I've tried editing /var/spool/postfix/defer/1/176CD2193E to fix > the address, but after running 'postfix flush' , that files reverts > to its or

Re: Updated note for Postfix maintainers

2014-06-26 Thread Wietse Venema
Wietse Venema: > In response to maintainer feedback, I have cleaned up Postfix > shared-library and database plugin support. The result of several > iterations is postfix-2.12-20140625. See RELEASE_NOTES and INSTALL > for an updated introduction. Updated to postfix-2.12-20140626, to c

Re: Using Postfix for buffering > 1million mails

2014-06-26 Thread Viktor Dukhovni
On Thu, Jun 26, 2014 at 07:24:03PM +0200, DTNX Postmaster wrote: > Might even be able to replace the standard bounce process with > something that does the hold action for you, ensuring that nothing ever > bounces back to the Exchange boxes. Would need to be investigated > though, that, in term

Re: Using Postfix for buffering > 1million mails

2014-06-26 Thread DTNX Postmaster
On 26 Jun 2014, at 18:25, Viktor Dukhovni wrote: > On Thu, Jun 26, 2014 at 03:58:40PM +, robin.wakefi...@ubs.com wrote: > >> We have been asked to consider using a set of 6 Postfix servers >> to provide a buffer between Exchange and our Compliance Archive >> servers, > > Have seen this done

Re: Using Postfix for buffering > 1million mails

2014-06-26 Thread Viktor Dukhovni
On Thu, Jun 26, 2014 at 03:58:40PM +, robin.wakefi...@ubs.com wrote: > We have been asked to consider using a set of 6 Postfix servers > to provide a buffer between Exchange and our Compliance Archive > servers, Have seen this done before, Postfix queue between Exchange and downstream archive

Re: Problem with mysql postfix backend with amavisd

2014-06-26 Thread Viktor Dukhovni
On Thu, Jun 26, 2014 at 05:08:28PM +0200, rsmits-l wrote: > >>virtual_alias_maps = hash:/home/postfix/namen, > >>mysql:/home/postfix/forwardsqlconnect.cf > >> > >>Can anyone help with this error? Mysql database performance issue is not > >>the case. After extensive monitoring we found that max

Using Postfix for buffering > 1million mails

2014-06-26 Thread robin.wakefield
Hi, We have been asked to consider using a set of 6 Postfix servers to provide a buffer between Exchange and our Compliance Archive servers, as follows: . Normally Exchange will route directly to the archive servers, but can route via Postfix if required. . If all the archive servers are down f

Re: Problem with mysql postfix backend with amavisd

2014-06-26 Thread rsmits-l
On 06/26/2014 04:03 PM, Viktor Dukhovni wrote: On Thu, Jun 26, 2014 at 03:01:56PM +0200, rsmits-l wrote: Errors : virtual_alias_maps = hash:/home/postfix/namen, mysql:/home/postfix/forwardsqlconnect.cf Can anyone help with this error? Mysql database performance issue is not the case. A

Re: smtp_tls_security_level = may with Exchange

2014-06-26 Thread Robert Schetterer
Am 26.06.2014 16:11, schrieb Viktor Dukhovni: > On Thu, Jun 26, 2014 at 11:52:33AM +0200, Andrea wrote: > >> Hello, >> with postfix 2.9.6-2 I'm using smtp_tls_security_level = may. >> >> No problems with it, but sending mails to some Exchange servers I see this >> error: >> *lost connection with m

Sender Rewrite Scheme : bounce back to the original sender

2014-06-26 Thread Alexandre Ellert
Hello, Some of our users are using forward to get a copy of their emails in a third party mailbox (gmail, yahoo, …). That’s why I have implemented the Sender Rewrite Scheme to be SPF compliant in that case. But the solution I have is actually half working and I have some problem when he final d

Re: smtp_tls_security_level = may with Exchange

2014-06-26 Thread Viktor Dukhovni
On Thu, Jun 26, 2014 at 11:52:33AM +0200, Andrea wrote: > Hello, > with postfix 2.9.6-2 I'm using smtp_tls_security_level = may. > > No problems with it, but sending mails to some Exchange servers I see this > error: > *lost connection with mail.domain.com [...] while > se

Re: Problem with mysql postfix backend with amavisd

2014-06-26 Thread Viktor Dukhovni
On Thu, Jun 26, 2014 at 03:01:56PM +0200, rsmits-l wrote: > Errors : > virtual_alias_maps = hash:/home/postfix/namen, > mysql:/home/postfix/forwardsqlconnect.cf > > Can anyone help with this error? Mysql database performance issue is not > the case. After extensive monitoring we found that m

Re: Problem with mysql postfix backend with amavisd

2014-06-26 Thread li...@rhsoft.net
Am 26.06.2014 15:01, schrieb rsmits-l: > We have an issue with our mailrelay system. Amavisd with spamassassin. > Backend is Postfix with HASH db and mysql > database. When the mail starts coming in, everything looks fine, but after a > few minutes we see a lot of these errors. > > ---

Problem with mysql postfix backend with amavisd

2014-06-26 Thread rsmits-l
Hello, We have an issue with our mailrelay system. Amavisd with spamassassin. Backend is Postfix with HASH db and mysql database. When the mail starts coming in, everything looks fine, but after a few minutes we see a lot of these errors. -- Main.cf : Works fi

Re: error_limits fine tuning

2014-06-26 Thread Wietse Venema
Martin Vegter: > Hello, > I am wondering why the default error limits in Postfix are set so high: > > smtpd_soft_error_limit (default: 10) > smtpd_hard_error_limit (default: 20) Because SMTP is a multi-recipient protocol. If the limit is set too low then mailing lists will be grossly dela

Re: rewrite milter result DISCARD to REJECT

2014-06-26 Thread Wietse Venema
Robert Sander: > I have a setup where a commercial anti-virus checker is connected via > milter with postfix. > > I would like to reject virus positive mails on the SMTP level, but the > commercial product is sending a DISCARD back to postfix, causing it to > silently drop the mail. > > It seems

Re: rewrite milter result DISCARD to REJECT

2014-06-26 Thread Benny Pedersen
On 26. jun. 2014 11.04.00 CEST, Robert Sander wrote: >I have a setup where a commercial anti-virus checker is connected via >milter with postfix. Link? >I would like to reject virus positive mails on the SMTP level, but the >commercial product is sending a DISCARD back to postfix, causing it to

smtp_tls_security_level = may with Exchange

2014-06-26 Thread Andrea
Hello, with postfix 2.9.6-2 I'm using smtp_tls_security_level = may. No problems with it, but sending mails to some Exchange servers I see this error: *lost connection with mail.domain.com [...] while sending MAIL FROM* If I try to send a mail from bash using: openssl s_cl

Re: rewrite milter result DISCARD to REJECT

2014-06-26 Thread Robert Schetterer
Am 26.06.2014 11:04, schrieb Robert Sander: > Hi, > > I have a setup where a commercial anti-virus checker is connected via > milter with postfix. > > I would like to reject virus positive mails on the SMTP level, but the > commercial product is sending a DISCARD back to postfix, causing it to >

rewrite milter result DISCARD to REJECT

2014-06-26 Thread Robert Sander
Hi, I have a setup where a commercial anti-virus checker is connected via milter with postfix. I would like to reject virus positive mails on the SMTP level, but the commercial product is sending a DISCARD back to postfix, causing it to silently drop the mail. It seems that there is no way to ch

RE: error_limits fine tuning

2014-06-26 Thread Marius Gologan
I run this combination (postfix & iptables): smtpd_soft_error_limit = ${stress?1}${stress:3} smtpd_hard_error_limit = ${stress?1}${stress:5} smtpd_delay_reject = ${stress?no}${stress:yes} smtpd_client_connection_count_limit = ${stress?3}${stress:6} smtpd_client_connection_rate_limit = ${stress?30}

Re: error_limits fine tuning

2014-06-26 Thread li...@rhsoft.net
Am 26.06.2014 10:25, schrieb Martin Vegter: > And speaking of "relay access denied", what is the recommended way to > fight "relay access denied" attacks? what do you want to fight? the client got rejected, you won, period if you don't want to see that messages you need to get an open relay :-)

error_limits fine tuning

2014-06-26 Thread Martin Vegter
Hello, I am wondering why the default error limits in Postfix are set so high: smtpd_soft_error_limit (default: 10) smtpd_hard_error_limit (default: 20) I have changed them to "3" and "${stress?1}${stress:5}" respectively, and my servers is still being flooded with "relay access denied".