Re: smtpd_relay_restrictions

2012-09-28 Thread Michael Storz
Am 2012-09-27 23:38, schrieb Wietse Venema: Victor discussed smtpd_relay_restrictions 6 years, see http://archives.neohapsis.com/archives/postfix/2006-05/0598.html. The article also discussed a number of other ideas that have potential to increase the Postfix learning curve. I'll leave those f

Re: Danish letters in "bounce_template_file"

2012-09-28 Thread Titanus Eramius
On Thu, 27 Sep 2012 10:15:09 -0400 (EDT) Wietse Venema wrote: > > > > > > Instead it looks like this: > > > "Det her mailsystemet p?? v??rten mydomain." > > > > Bounce templates have supported non-ASCII from the start. I suspect > > that something after Postfix is stripping them. > > I just conf

Re: Danish letters in "bounce_template_file"

2012-09-28 Thread Titanus Eramius
On Thu, 27 Sep 2012 14:24:37 + Viktor Dukhovni wrote: > > "postconf -b" just stuffs the raw bits down your terminal, so this > just means that your terminal charset matches the encoding of Danish > characters in the file. What is your "$LANG" environment variable > set to? It may also be help

Re: Danish letters in "bounce_template_file"

2012-09-28 Thread Reindl Harald
Am 28.09.2012 11:11, schrieb Titanus Eramius: > I have tried to set the charset of bounce.cf to UTF-8 and then sent a > few mails to the server to test it. When a bounce returns we'll know if > UTF-8 did the trick. Thanks for the help so far and the additional > information. mail the shell mai

Do I need postscreen_blacklist_action = enforce to whitelist?

2012-09-28 Thread francis picabia
When the remote site attempts to deliver it is caught in blocklist: Sep 28 05:29:50 mx10 postfix/postscreen[15338]: NOQUEUE: reject: RCPT from [210.44.128.104]:33372: 550 5.7.1 Service unavailable; client [210.44.128.104] blocked using b.barracudacentral.org; from=, to=, proto=ESMTP, helo= I alre

Re: Do I need postscreen_blacklist_action = enforce to whitelist?

2012-09-28 Thread Wietse Venema
francis picabia: > # cat postscreen_access > 210.44.128.104PERMIT Do "postfix reload" after changing this table. Wietse

Re: smtpd_relay_restrictions

2012-09-28 Thread Wietse Venema
Michael Storz: > If one of the permit-restrictions from smtpd_relay_restrictions fires > which restriction will be evaluated next: > - the first restriction of smtpd_recipient_restrictions or > - the first restriction of smtpd_data_restrictions With smtpd_client, helo, sender, recipient, and data

Re: recipient bcc

2012-09-28 Thread Jason Hirsh
On Sep 27, 2012, at 10:07 PM, jeffrey j donovan wrote: > > On Sep 27, 2012, at 9:08 PM, Jason Hirsh wrote: > >> >> On Sep 27, 2012, at 8:49 PM, jeffrey j donovan wrote: >> >>> >>> On Sep 27, 2012, at 8:29 PM, Jason Hirsh wrote: >>> I am trying to have email coming into postfix be del

Re: smtpd_relay_restrictions

2012-09-28 Thread Noel Jones
On 9/27/2012 4:38 PM, Wietse Venema wrote: > Victor discussed smtpd_relay_restrictions 6 years, see > http://archives.neohapsis.com/archives/postfix/2006-05/0598.html. > > The article also discussed a number of other ideas that have potential > to increase the Postfix learning curve. I'll leave th

Re: smtpd_relay_restrictions

2012-09-28 Thread Wietse Venema
Noel Jones: [ Charset ISO-8859-1 unsupported, converting... ] > On 9/27/2012 4:38 PM, Wietse Venema wrote: > > Victor discussed smtpd_relay_restrictions 6 years, see > > http://archives.neohapsis.com/archives/postfix/2006-05/0598.html. > > > > The article also discussed a number of other ideas tha

Re: smtpd_relay_restrictions

2012-09-28 Thread Michael Storz
Am 2012-09-28 14:44, schrieb Wietse Venema: Michael Storz: If one of the permit-restrictions from smtpd_relay_restrictions fires which restriction will be evaluated next: - the first restriction of smtpd_recipient_restrictions or - the first restriction of smtpd_data_restrictions With smtpd_c

Re: smtpd_relay_restrictions

2012-09-28 Thread Wietse Venema
> smtpd_recipient_restrictions = > uce_restriction1 > ... > uce_restrictionn +-+-+ | In Postfix versions <= 2.9 | In Postfix versions >= 2.10 | +-+---

Postfix over ldap stalled

2012-09-28 Thread Nikolaos Milas
Hi, I am running CentOS 5.8 with postfix-2.9.1-1.pcre.sasl2.dovecot.rhel5 (a build based on Simon J. Mudd's SRPM) using LTB openldap server (openldap-ltb-2.4.31-1.el5) to host user accounts / aliases. The setup has been working fine for many months. Today, after a user sent (on 14:53:39) a m

Re: Postfix over ldap stalled

2012-09-28 Thread Wietse Venema
Nikolaos Milas: > Hi, > > I am running CentOS 5.8 with postfix-2.9.1-1.pcre.sasl2.dovecot.rhel5 (a > build based on Simon J. Mudd's SRPM) using LTB openldap server > (openldap-ltb-2.4.31-1.el5) to host user accounts / aliases. > > The setup has been working fine for many months. > > Today, aft

Re: Danish letters in "bounce_template_file"

2012-09-28 Thread Titanus Eramius
On Fri, 28 Sep 2012 11:13:15 +0200 Reindl Harald wrote: > > Am 28.09.2012 11:11, schrieb Titanus Eramius: > > I have tried to set the charset of bounce.cf to UTF-8 and then sent > > a few mails to the server to test it. When a bounce returns we'll > > know if UTF-8 did the trick. Thanks for the h

Re: Danish letters in "bounce_template_file"

2012-09-28 Thread Viktor Dukhovni
On Fri, Sep 28, 2012 at 11:11:51AM +0200, Titanus Eramius wrote: > Viktor Dukhovni wrote: > > > > "postconf -b" just stuffs the raw bits down your terminal, so this > > just means that your terminal charset matches the encoding of Danish > > characters in the file. What is your "$LANG" environme

Re: smtpd_relay_restrictions

2012-09-28 Thread Noel Jones
On 9/28/2012 8:37 AM, Michael Storz wrote: > Am 2012-09-28 14:44, schrieb Wietse Venema: >> Michael Storz: > If smtpd_relay_restrictions behaves like all the other restriction > classes, > that means after the permit has fired, the first restriction of > smtpd_recipient_restrictions is executed, th

Re: smtpd_relay_restrictions

2012-09-28 Thread Noel Jones
On 9/28/2012 8:32 AM, Wietse Venema wrote: > Noel Jones: >> I think a better upgrade compatibility shim would be to set >> smtpd_relay_restrictions empty, ie. perform relay checks in >> smtpd_recipient_restrictions as they are now; no behavior change. > > That would not help the transition at all.

Re: Postfix over ldap stalled

2012-09-28 Thread Nikolaos Milas
On 28/9/2012 5:30 μμ, Wietse Venema wrote: I suggest that you reduce the Postfix default_process_limit until you can get a more powerful machine. The default limit is 100. Try 25 to start with. Thank you Wietse, I did the change. Any other limits that might be useful? Like "smtpd_client_con

Re: Postfix over ldap stalled

2012-09-28 Thread Wietse Venema
Nikolaos Milas: > On 28/9/2012 5:30 ??, Wietse Venema wrote: > > > I suggest that you reduce the Postfix > > default_process_limit until you can get a more powerful machine. > > The default limit is 100. Try 25 to start with. > > Thank you Wietse, > > I did the change. That will reduce the peak

Re: smtpd_relay_restrictions

2012-09-28 Thread Michael Storz
Am 2012-09-28 18:39, schrieb Noel Jones: On 9/28/2012 8:37 AM, Michael Storz wrote: Am 2012-09-28 14:44, schrieb Wietse Venema: Michael Storz: If smtpd_relay_restrictions behaves like all the other restriction classes, that means after the permit has fired, the first restriction of smtpd_recip

Re: smtpd_relay_restrictions

2012-09-28 Thread Viktor Dukhovni
On Thu, Sep 27, 2012 at 05:38:20PM -0400, Wietse Venema wrote: > Victor discussed smtpd_relay_restrictions 6 years, see > http://archives.neohapsis.com/archives/postfix/2006-05/0598.html. > > The article also discussed a number of other ideas that have potential > to increase the Postfix learning

Re: smtpd_relay_restrictions

2012-09-28 Thread /dev/rob0
On Fri, Sep 28, 2012 at 07:41:22PM +0200, Michael Storz wrote: > > -- Noel Jones > >No, this is wrong. The new feature means you may *optionally* > >separate relay decisions from smtpd_recipient_restrictions, > >providing a little more safety and flexibility than currently > >available. It is

Re: smtpd_relay_restrictions

2012-09-28 Thread /dev/rob0
On Fri, Sep 28, 2012 at 06:58:44PM +, Viktor Dukhovni wrote: > On Thu, Sep 27, 2012 at 05:38:20PM -0400, Wietse Venema wrote: > > > Victor discussed smtpd_relay_restrictions 6 years, see > > http://archives.neohapsis.com/archives/postfix/2006-05/0598.html > > > > The article also discussed a

Re: smtpd_relay_restrictions

2012-09-28 Thread Wietse Venema
/dev/rob0: > On Fri, Sep 28, 2012 at 07:41:22PM +0200, Michael Storz wrote: > > > -- Noel Jones > > >No, this is wrong. The new feature means you may *optionally* > > >separate relay decisions from smtpd_recipient_restrictions, > > >providing a little more safety and flexibility than currently

Re: smtpd_relay_restrictions

2012-09-28 Thread Wietse Venema
/dev/rob0: > On Fri, Sep 28, 2012 at 06:58:44PM +, Viktor Dukhovni wrote: > > On Thu, Sep 27, 2012 at 05:38:20PM -0400, Wietse Venema wrote: > > > > > Victor discussed smtpd_relay_restrictions 6 years, see > > > http://archives.neohapsis.com/archives/postfix/2006-05/0598.html > > > > > > The

Re: smtpd_relay_restrictions

2012-09-28 Thread Wietse Venema
Viktor Dukhovni: > # Empty? Use legacy behaviour controlled by smtpd_delay_reject > # > smtpd_rcpt_restriction_classes = > > # Non-empty, do exactly what the user said: > # > smtpd_rcpt_restriction_classes = > smtpd_relay_restrictions, >

Re: Do I need postscreen_blacklist_action = enforce to whitelist?

2012-09-28 Thread /dev/rob0
On Fri, Sep 28, 2012 at 08:58:33AM -0300, francis picabia wrote: > When the remote site attempts to deliver it is caught in blocklist: > > Sep 28 05:29:50 mx10 postfix/postscreen[15338]: NOQUEUE: reject: RCPT > from [210.44.128.104]:33372: 550 5.7.1 Service unavailable; client > [210.44.128.104] b

Re: smtpd_relay_restrictions

2012-09-28 Thread Viktor Dukhovni
On Fri, Sep 28, 2012 at 04:18:16PM -0400, Wietse Venema wrote: > Viktor Dukhovni: > > # Empty? Use legacy behaviour controlled by smtpd_delay_reject > > # > > smtpd_rcpt_restriction_classes = > > > > # Non-empty, do exactly what the user said: > > # > > smtpd_rcpt_restric