Re: Multiple PREPENDs

2015-09-03 Thread Phil Stracchino
On 09/03/15 18:32, Viktor Dukhovni wrote: > On Thu, Sep 03, 2015 at 04:07:09PM -0400, Phil Stracchino wrote: > /^Content-Transfer-Encoding:/i PREPEND X-Clacks-Overhead: GNU Terry Pratchett PREPEND X-Clacks-Overhead: GNU Iain M. Banks >>> >>> That won'

Re: Multiple PREPENDs

2015-09-03 Thread Viktor Dukhovni
On Thu, Sep 03, 2015 at 04:07:09PM -0400, Phil Stracchino wrote: > >> /^Content-Transfer-Encoding:/i PREPEND X-Clacks-Overhead: GNU Terry > >> Pratchett > >>PREPEND X-Clacks-Overhead: GNU Iain M. Banks > > > > That won't work either. > > I didn't think so. So my

Re: postfix3.0.2 compile error on AIX61/71

2015-09-03 Thread Viktor Dukhovni
On Thu, Sep 03, 2015 at 03:08:19PM -0700, Takae Harrington wrote: > and run as follows - but I still get the same error -- Am I missing > something or doing wrong here ? > [vq2ua613:/staging/Postfix-3.0.2]make -DDISABLE_DNSSEC No: make tidy make CFLAGS='-DDISABLE_DNSSEC ...' AUXL

Re: postfix3.0.2 compile error on AIX61/71

2015-09-03 Thread Takae Harrington
Hi Viktor, Thank you for your reply! So I added the following in src/dns/dns.h #endif /* * Disable DNSSEC at compile-time even if RES_USE_DNSSEC is available */ #ifdef DISABLE_DNSSEC #undef RES_USE_DNSSEC #endif /* * Compatibility with systems that lack RES_USE_DNSSEC and RES_USE_EDNS0

Re: postfix3.0.2 compile error on AIX61/71

2015-09-03 Thread Jim Reid
On 3 Sep 2015, at 22:11, Takae Harrington wrote: > When I compile postfix3.0.2 (the same issue has existed since 2.11.x) on > aix61 and aix71, I get this error: > > [vq2ua613:/staging/Postfix-3.0.2]make > dns_lookup.c: In function 'dns_query': > dns_lookup.c:339: error: 'HEADER' has no member

Re: postfix3.0.2 compile error on AIX61/71

2015-09-03 Thread Viktor Dukhovni
On Thu, Sep 03, 2015 at 02:11:55PM -0700, Takae Harrington wrote: > Hello, > > When I compile postfix3.0.2 (the same issue has existed since 2.11.x) on > aix61 and aix71, I get this error: > > [vq2ua613:/staging/Postfix-3.0.2]make > dns_lookup.c: In function 'dns_query': > dns_lookup.c:339: erro

postfix3.0.2 compile error on AIX61/71

2015-09-03 Thread Takae Harrington
Hello, When I compile postfix3.0.2 (the same issue has existed since 2.11.x) on aix61 and aix71, I get this error: [vq2ua613:/staging/Postfix-3.0.2]make dns_lookup.c: In function 'dns_query': dns_lookup.c:339: error: 'HEADER' has no member named 'ad' make: The error code from the last command is

Re: Multiple PREPENDs

2015-09-03 Thread Phil Stracchino
On 09/03/15 15:52, Viktor Dukhovni wrote: > On Thu, Sep 03, 2015 at 03:45:48PM -0400, Phil Stracchino wrote: > >> Now suppose I wanted to do the same for a second writer. Adding: >> >> /^Content-Transfer-Encoding:/i PREPEND X-Clacks-Overhead: GNU Iain M. Banks > > Headers are passed through "hea

Re: Multiple PREPENDs

2015-09-03 Thread Viktor Dukhovni
On Thu, Sep 03, 2015 at 03:45:48PM -0400, Phil Stracchino wrote: > Now suppose I wanted to do the same for a second writer. Adding: > > /^Content-Transfer-Encoding:/i PREPEND X-Clacks-Overhead: GNU Iain M. Banks Headers are passed through "header_checks" one at a time. For each input header at

Multiple PREPENDs

2015-09-03 Thread Phil Stracchino
Let's suppose I have the following directives in /etc/postfix/header-checks. (Because I do.) /^X-Clacks-Overhead:/ IGNORE /^Content-Transfer-Encoding:/i PREPEND X-Clacks-Overhead: GNU Terry Pratchett (If this header doesn't mean anything to you, it's a Discworld thing. "A man is not dead while h

Re: Out: 452 4.3.1 Insufficient system storage

2015-09-03 Thread Wietse Venema
Ed Greenberg: > In: MAIL FROM: SIZE=27466 > Out: 452 4.3.1 Insufficient system storage > > Session aborted, reason: lost connection > > For other details, see the local mail logfile LOOK in the LOG. Postfix does not report internal details to remote SMTP clients. Wietse

Re: Block specific outgoing email

2015-09-03 Thread Viktor Dukhovni
On Thu, Sep 03, 2015 at 11:48:20AM +0200, Antonio Alberola wrote: > I need execute > the filter after Postfix expand the alias, and apply this filter to all > recipients separately. I explain me with an example. Mail sent to local aliases(5) is expanded in the local delivery agent, and by default

Out: 452 4.3.1 Insufficient system storage

2015-09-03 Thread Ed Greenberg
I am running: postfix.x86_642:2.8.17-14042513 @PSA_12_0_18-dist I got this from postfix: Transcript of session follows. Out: 220 hosting10.shared.xxx.com ESMTP Postfix In: EHLO golfweek.com Out: 250-hosting10.shared.xxx.com Out: 250-PIPELINING Out: 250-SIZE 2560 Out: 250-ET

Re: please for submission port cfg review

2015-09-03 Thread Viktor Dukhovni
On Thu, Sep 03, 2015 at 03:05:07PM +0200, Tomas Macek wrote: > submission inet n - n - - smtpd > -o smtpd_etrn_restrictions=reject > -o smtpd_sasl_auth_enable=yes > -o content_filter=smtp-amavis:[127.0.0.1]:10024 > -o syslog_name=submiss

please for submission port cfg review

2015-09-03 Thread Tomas Macek
Hi, I'm using Postfix 2.8.x and trying to configure properly the submission port 587 in our very new Postfix installation. I tried to read the doc and the result is below. The submission port should be used by clients from both inside and outside of $mynetworks, so it will be exposed to the res

RE: Block specific outgoing email

2015-09-03 Thread Antonio Alberola
Hello, I made some tests with filters, simple content filter in particular. These tests were ok and my filters blocks these specific emails. But I have a new problem. When somebody send an email to an alias, my filter don’t work correctly. The content filter works before Postfix expand the reci