Re: Postifix 2.11.3 sends some mails (not spam) to postmater@

2016-03-19 Thread Josef Karliak
Yes, I use dmarc milter for postfix, opendmarc. J.K. > Josef Karliak: >> Hi, >> I found that only emails with "dmarc=fail" in the headers are sent to >> postmaster - as it is defined in our dmarc record, but that should be >> statistics, not emails... > > With Postfix, DMARC is impleme

Documentation clarification needed: postscreen_helo_required et al.

2016-03-19 Thread Bill Cole
In the postscreen(8) man page, postscreen_helo_required is described in the "AFTER 220 GREETING TESTS" and the POSTSCREEN_README says nothing of it. By implication, since it defaults to $smtpd_helo_required, the man page implies that if smtpd_helo_required=yes, any unfamiliar client would be su

Re: Postifix 2.11.3 sends some mails (not spam) to postmater@

2016-03-19 Thread Christian Kivalo
Am 17. März 2016 14:34:32 MEZ, schrieb Josef Karliak : > Hi, > I found that only emails with "dmarc=fail" in the headers are sent to >postmaster - as it is defined in our dmarc record, but that should be >statistics, not emails... > Thanks and best resgards > J.K. Do they dmarc fail at your

Re: (B)CC message to external email adres when sending to localaddress

2016-03-19 Thread Wietse Venema
Matt .: > Is there a way to send (B)CC messages to a specified external email > address when I send to a local address ? Wietse: > To add a recipient when sending mail to example.com: > > /etc/postfix/main.cf: > sender_bcc_maps = hash:/etc/postfix/sender_bcc > > /etc/postfix/sender_bcc: >

Re: Inserting a unique ID into the email header with Postfix alone

2016-03-19 Thread /dev/rob0
On Fri, Mar 18, 2016 at 09:05:51AM -0500, Noel Jones wrote: > On 3/18/2016 6:20 AM, Istvan Prosinger wrote: > > Hello Everyone! > > > > I need to insert something like > > > > X-MY-ID-some-unique-ID > > > > into each email's header for local tracking purposes. Why a separate header, why not jus

Re: Inserting a unique ID into the email header with Postfix alone

2016-03-19 Thread Istvan Prosinger
On 18.3.2016 17:27, Wietse Venema wrote: /dev/rob0: On Fri, Mar 18, 2016 at 09:05:51AM -0500, Noel Jones wrote: On 3/18/2016 6:20 AM, Istvan Prosinger wrote: Hello Everyone! I need to insert something like X-MY-ID-some-unique-ID into each email's header for local tracking purposes. Why

Re: Upgrade postfix 2.11 to 3.1

2016-03-19 Thread Matthias Fechner
Am 03.03.2016 um 13:25 schrieb Wietse Venema: If you don't want those lines to be logged, set the parameter (relayhost, or whatever it is that needs to be kept), and set "compatibility_level = 2". thanks a lot, as I get no compatibility error/warning, I disabled now the warning by setting the

Re: (B)CC message to external email adres when sending to localaddress

2016-03-19 Thread Matt .
Is there a way to only BCC when the mail stays "local" on the machine and doesn't out outside, so the domains it knows ? 2016-03-19 2:12 GMT+01:00 Wietse Venema : > Matt .: >> I will test it tomorrow right away with some mysql lookups. That works >> the same as for virtual lookups ? > > Wietse: >>

Re: Inserting a unique ID into the email header with Postfix alone

2016-03-19 Thread Istvan Prosinger
On 19.3.2016 1:18, Wietse Venema wrote: Istvan Prosinger: Why a separate header, why not just: enable_long_queue_ids = yes and use the queue ID that's already in your top Received: header? I would use a header_checks PREPEND action that prepends a header with the long queue ID from the Recei

Re: Inserting a unique ID into the email header with Postfix alone

2016-03-19 Thread Noel Jones
On 3/18/2016 6:20 AM, Istvan Prosinger wrote: > Hello Everyone! > > I need to insert something like > > X-MY-ID-some-unique-ID > > into each email's header for local tracking purposes. > > The unique ID doesn't have to be some complicated hash, it can be > something like the + or ... which > w

Re: Postifix 2.11.3 sends some mails (not spam) to postmater@

2016-03-19 Thread Juri Haberland
Josef Karliak wrote: > Hi, > I found that only emails with "dmarc=fail" in the headers are sent to > postmaster - as it is defined in our dmarc record, but that should be > statistics, not emails... Maybe you have "CopyFailuresTo" set in your opendmarc.conf? -- Juri

Re: Dane for smtpd

2016-03-19 Thread Patrick Ben Koetter
* Brad Chandler : > I've set up DNSSEC and the TLSA records for my domains. And I think > I have setup dane for smtp correctly in Postfix. I see "Verified TLS > connection established to" in my logs when connecting to a server > with TLSA records. > > Should I also be seeing "Verified TLS connecti

Postifix 2.11.3 sends some mails (not spam) to postmater@

2016-03-19 Thread Josef Karliak
Good morning, Postfix copy some mails (not spams) to postmaster@ email of our domain, what could cause it ? But only some mails. One idea - "postmaster" file contains : postmaster@ OK abuse@ OK This is new after reconfiguration to incoming MX server. But this file is also on

Re: Right way to force autresponder script to authenticate against postfix

2016-03-19 Thread Pau Peris
Hi, do someone know if it's possible to: * Pass as parameter to smtpd_sender_login_maps = proxy:mysql:/etc/postfix/mysql_sender_login_maps.cf so i can use this parameter inside the query? *Authenticate against Postfix through the crypted password? I mean, if know a cryped password and it semail

Re: (B)CC message to external email adres when sending to localaddress

2016-03-19 Thread Wietse Venema
Matt .: > I will test it tomorrow right away with some mysql lookups. That works > the same as for virtual lookups ? Wietse: > No. See http://www.postfix.org/postconf.5.html#sender_bcc_maps Matt .: > But when I send emails which don't leave the postfix mailserver it's > not going to work and I sh

Re: Inserting a unique ID into the email header with Postfix alone

2016-03-19 Thread Wietse Venema
Istvan Prosinger: [ Charset windows-1252 converted... ] > On 19.3.2016 1:18, Wietse Venema wrote: > > Istvan Prosinger: > Why a separate header, why not just: > > enable_long_queue_ids = yes > > and use the queue ID that's already in your top Received: header? > >>> > >>> I

Re: Documentation clarification needed: postscreen_helo_required et al.

2016-03-19 Thread /dev/rob0
On Fri, Mar 18, 2016 at 08:19:58PM -0400, Bill Cole wrote: > I wrote: > >Only the various enable switches [enable after-220 tests]. > > I understand that this is the actual behavior, but I can't see > anywhere that the documentation makes that clear. This is not for > lack of looking, so it woul

Re: (B)CC message to external email adres when sending to localaddress

2016-03-19 Thread Matt .
OK, thanks! 2016-03-19 15:08 GMT+01:00 Wietse Venema : > Matt .: >> I will test it tomorrow right away with some mysql lookups. That works >> the same as for virtual lookups ? > > Wietse: >> No. See http://www.postfix.org/postconf.5.html#sender_bcc_maps > > Matt .: >> But when I send emails which

Re: Inserting a unique ID into the email header with Postfix alone

2016-03-19 Thread Istvan Prosinger
On 19.3.2016 15:13, Wietse Venema wrote: Istvan Prosinger: [ Charset windows-1252 converted... ] On 19.3.2016 1:18, Wietse Venema wrote: Istvan Prosinger: Why a separate header, why not just: enable_long_queue_ids = yes and use the queue ID that's already in your top Received: header? I

Re: Right way to force autresponder script to authenticate against postfix

2016-03-19 Thread Wietse Venema
Pau Peris: > Hi, > > do someone know if it's possible to: > > * Pass as parameter to smtpd_sender_login_maps = > proxy:mysql:/etc/postfix/mysql_sender_login_maps.cf so i can use this > parameter inside the query? The Postfix SMTP server makes the following queries and stops at the first match.

Re: Inserting a unique ID into the email header with Postfix alone

2016-03-19 Thread /dev/rob0
On Sat, Mar 19, 2016 at 03:34:28PM +0100, Istvan Prosinger wrote: > I've tried what you ask, this is what I got: > > [root@email ~]# postmap -h -q - pcre:/etc/postfix/stamp.pcre < testheader > > Received: from localhost (localhost [127.0.0.1]) > by email-test.server.com (Postfix) with ESM

Re: Inserting a unique ID into the email header with Postfix alone

2016-03-19 Thread Wietse Venema
Istvan Prosinger: > [root@email ~]# postmap -h -q - pcre:/etc/postfix/stamp.pcre < testheader > > Received: from localhost (localhost [127.0.0.1]) > by email-test.server.com (Postfix) with ESMTP id 3qRyhf4pqCzKmYs > for ; Sat, 19 Mar 2016 06:17:54 > -0400 (EDT) Prepend X-DIYL-3q

Re: Inserting a unique ID into the email header with Postfix alone

2016-03-19 Thread Istvan Prosinger
On 19.3.2016 16:02, Wietse Venema wrote: Istvan Prosinger: [root@email ~]# postmap -h -q - pcre:/etc/postfix/stamp.pcre < testheader Received: from localhost (localhost [127.0.0.1]) by email-test.server.com (Postfix) with ESMTP id 3qRyhf4pqCzKmYs for ; Sat, 19 Mar 2016 06:

Re: Inserting a unique ID into the email header with Postfix alone

2016-03-19 Thread Istvan Prosinger
On 19.3.2016 15:53, /dev/rob0 wrote: On Sat, Mar 19, 2016 at 03:34:28PM +0100, Istvan Prosinger wrote: I've tried what you ask, this is what I got: [root@email ~]# postmap -h -q - pcre:/etc/postfix/stamp.pcre < testheader Received: from localhost (localhost [127.0.0.1]) by email-tes

Re: Inserting a unique ID into the email header with Postfix alone

2016-03-19 Thread btb
On Mar 18, 2016, at 07.20, Istvan Prosinger wrote: > > Hello Everyone! > > I need to insert something like > > X-MY-ID-some-unique-ID > > into each email's header for local tracking purposes. > > The unique ID doesn't have to be some complicated hash, it can be something > like the + or ...

Re: virtual_alias_maps accounts are bypassing smtpd_recipient_restrictions

2016-03-19 Thread /dev/rob0
On Fri, Mar 18, 2016 at 10:57:03AM -0300, Lucas Castro wrote: > please, post your postconf -n. Without the relevant logging to demonstrate the issue observed by the OP, this wouldn't help. -- http://rob0.nodns4.us/ Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:

Dane for smtpd

2016-03-19 Thread Brad Chandler
I've set up DNSSEC and the TLSA records for my domains. And I think I have setup dane for smtp correctly in Postfix. I see "Verified TLS connection established to" in my logs when connecting to a server with TLSA records. Should I also be seeing "Verified TLS connection established from" when

Re: virtual_alias_maps accounts are bypassing smtpd_recipient_restrictions

2016-03-19 Thread Noel Jones
On 3/18/2016 8:51 AM, Alfredo Saldanha wrote: > Hi Wietse, > > So it means that there is a postfix wrong behavior? > > Alfredo No one here understands your question. You can help us by describing exactly what is happening, compared to what you expected to happen. Include postfix logging showin

virtual_alias_maps accounts are bypassing smtpd_recipient_restrictions

2016-03-19 Thread Alfredo Saldanha
Hello all, Why my virtual_alias_maps accounts are bypassing smtpd_recipient_restrictions? Example: accou...@mydomain.tld accou...@mydomain.tld, accou...@mydomain.tld, accou...@mydomain.tld The account1 is ok, it pass in smtpd_recipient_restrinctions, but the others don't. Some tip? Thanks.

Re: Postifix 2.11.3 sends some mails (not spam) to postmater@

2016-03-19 Thread Wietse Venema
Josef Karliak: > Hi, > I found that only emails with "dmarc=fail" in the headers are sent to > postmaster - as it is defined in our dmarc record, but that should be > statistics, not emails... With Postfix, DMARC is implemented by Milters or content filters. Postfix itself is DMARC-agnostic.

Re: (B)CC message to external email adres when sending to localaddress

2016-03-19 Thread Wietse Venema
Matt .: > Nice! > > I will test it tomorrow right away with some mysql lookups. That works > the same as for virtual lookups ? No. See http://www.postfix.org/postconf.5.html#sender_bcc_maps Wietse

Postfix message_size_limit

2016-03-19 Thread Daniel Wasilewski
Hi, At the beginning it's my first email on mailing list, so if I does wrong please forgive me. Is somebody can explain why postfix still using default values ? root@vps1:~# postconf -e mailbox_size_limit=0 root@vps1:~# postconf -e message_size_limit=0 root@vps1:~# /etc/init.d/postfix restart

Re: Postfix message_size_limit

2016-03-19 Thread Christian Kivalo
Am 19. März 2016 20:22:13 MEZ, schrieb Daniel Wasilewski : >Hi, > >At the beginning it's my first email on mailing list, so if I does >wrong >please forgive me. > >Is somebody can explain why postfix still using default values ? > >root@vps1:~# postconf -e mailbox_size_limit=0 >root@vps1:~# post

Re: virtual_alias_maps accounts are bypassing smtpd_recipient_restrictions

2016-03-19 Thread Wietse Venema
Alfredo Saldanha: > Hello all, > > Why my virtual_alias_maps accounts are bypassing smtpd_recipient_restrictions? > > Example: > > accou...@mydomain.tld accou...@mydomain.tld, accou...@mydomain.tld, > accou...@mydomain.tld > > The account1 is ok, it pass in smtpd_recipient_restrinctions, but t

Inserting a unique ID into the email header with Postfix alone

2016-03-19 Thread Istvan Prosinger
Hello Everyone! I need to insert something like X-MY-ID-some-unique-ID into each email's header for local tracking purposes. The unique ID doesn't have to be some complicated hash, it can be something like the + or ... which would be mostly unique. Any ideas if such a thing could be done

Re: (B)CC message to external email adres when sending to localaddress

2016-03-19 Thread Matt .
Nice! I will test it tomorrow right away with some mysql lookups. That works the same as for virtual lookups ? 2016-03-18 1:08 GMT+01:00 Wietse Venema : > Matt .: >> Is there a way to send (B)CC messages to a specified external email >> address when I send to a local address ? > > Wietse: >> To a

Re: Postifix 2.11.3 sends some mails (not spam) to postmater@

2016-03-19 Thread Wietse Venema
Josef Karliak: > Good morning, > Postfix copy some mails (not spams) to postmaster@ email of our domain, > what could cause it ? But only some mails. The Postfix SMTP server always accepts mail for "postmaster". That was added in Postfix 1.1.0. /* * XXX 2821: Section 3.6 requires tha

dumb question about recipient_bcc_maps

2016-03-19 Thread @lbutlr
When using recipient_bcc_maps could I do something in a pcre table like: Main.cf: recipient_bcc_maps = pcre:/path/to/rbccmap.pcre rbccmap.pcre: if !/backups@my\.domain$/ /^(.*)/ backups+${1}@my.domain endif That passes the restriction that the map can only return a single address, right?

Re: Postfix message_size_limit

2016-03-19 Thread Wietse Venema
>root@vps1:~# postconf -d | grep size_limit Where did you get the "postconf -d" from? If it is from a website then I would like to get it fixed. Wietse

Re: dumb question about recipient_bcc_maps

2016-03-19 Thread Wietse Venema
@lbutlr: > When using recipient_bcc_maps could I do something in a pcre table like: > > Main.cf: > recipient_bcc_maps =3D pcre:/path/to/rbccmap.pcre > > rbccmap.pcre: > if !/backups@my\.domain$/=20 >/^(.*)/ backups+${1}@my.domain=20 > endif > > That passes the restriction that the map can

Re: Inserting a unique ID into the email header with Postfix alone

2016-03-19 Thread Istvan Prosinger
Thanks Ben. It was a generic example On 18.3.2016 21:14, b...@bitrate.net wrote: On Mar 18, 2016, at 07.20, Istvan Prosinger wrote: Hello Everyone! I need to insert something like X-MY-ID-some-unique-ID into each email's header for local tracking purposes. The unique ID doesn't have to be

Re: Postfix 3.1 and TLS Cert Files

2016-03-19 Thread Tom Browder
On Fri, Mar 11, 2016 at 7:04 AM, Tom Browder wrote: > On Wednesday, March 9, 2016, Curtis Villamizar > wrote: >> In message >> > ... >> ps - maybe this will help get you started. > ... Okay, I now have a successful start, but need some advice to get farther: On my local server I can successf

Re: dumb question about recipient_bcc_maps

2016-03-19 Thread @lbutlr
> On Mar 19, 2016, at 5:02 PM, Wietse Venema wrote: > > @lbutlr: >> When using recipient_bcc_maps could I do something in a pcre table like: >> >> Main.cf: >> recipient_bcc_maps =3D pcre:/path/to/rbccmap.pcre >> >> rbccmap.pcre: >> if !/backups@my\.domain$/=20 >> /^(.*)/ backups+${1}@my.do

Re: dumb question about recipient_bcc_maps

2016-03-19 Thread Wietse Venema
@lbutlr: > > The result is one malformed email address with multiple @ characters. > > The result is backup+u...@domain.tld@domain1.tld which does get = > delivered to bac...@domain1.tld and put into a folder .u...@domain.tld, = > which frankly surprised me. With an malformed address, you may not

Re: Postfix 3.1 and TLS Cert Files

2016-03-19 Thread Wietse Venema
Tom Browder: > What minimum additional Postfix settings on the remote server do I > need to use that connection so that the remote server can than send > mail to the wild internet? http://www.postfix.org/SASL_README.html#server_sasl_authz Wietse

Re: dumb question about recipient_bcc_maps

2016-03-19 Thread @lbutlr
On Mar 19, 2016, at 5:40 PM, Wietse Venema wrote: > Perhaps you have a content filter, and forgot to disable > address mapping with receive_override_options on one side > of the filter. See http://www.postfix.org/FILTER_README.html. Yes, amavisd. Thanks! If I add -o receive_override_options =

Re: (B)CC message to external email adres when sending to localaddress

2016-03-19 Thread Matt .
Hi Wietse, Sorry for the late response, flu going around. But is this only on domain base or also per user doable ? 2016-03-08 15:23 GMT+01:00 Wietse Venema : > Matt .: >> Hi, >> >> Is there a way to send (B)CC messages to a specified external email >> address when I send to a local address ?

Re: dumb question about recipient_bcc_maps

2016-03-19 Thread Wietse Venema
@lbutlr: > On Mar 19, 2016, at 5:40 PM, Wietse Venema wrote: > > Perhaps you have a content filter, and forgot to disable > > address mapping with receive_override_options on one side > > of the filter. See http://www.postfix.org/FILTER_README.html. > > Yes, amavisd. Thanks! > > If I add > >

Re: Inserting a unique ID into the email header with Postfix alone

2016-03-19 Thread Istvan Prosinger
On 18.3.2016 15:42, /dev/rob0 wrote: On Fri, Mar 18, 2016 at 09:05:51AM -0500, Noel Jones wrote: On 3/18/2016 6:20 AM, Istvan Prosinger wrote: Hello Everyone! I need to insert something like X-MY-ID-some-unique-ID into each email's header for local tracking purposes. Why a separate heade

Re: Mails in active queue are never tried to be sent

2016-03-19 Thread Pedro David Marco
Hi!! no Wietse... i have studied the traffic with tcpdump and it does not seem a Postfix issue... i see lots of TCP retransmissions from postfix that do not have their correspioding ACK.. I am suspecting of a but in the Symantec appliancce used at destination... Thanks! David. --

Re: virtual_alias_maps accounts are bypassing smtpd_recipient_restrictions

2016-03-19 Thread Lucas Castro
I still don't know what it is or was the problem. On 18-03-2016 12:20, Alfredo Saldanha wrote: > Sorry guys, now I realize what was wrong. > The problem is my configuration mistake. > My bad. > > Best regards, > > Alfredo > > - Mensagem original - > De: "Noel Jones" > Para: "postfix-users

Re: Postifix 2.11.3 sends some mails (not spam) to postmater@

2016-03-19 Thread Josef Karliak
Hi, I found that only emails with "dmarc=fail" in the headers are sent to postmaster - as it is defined in our dmarc record, but that should be statistics, not emails... Thanks and best resgards J.K. > Josef Karliak: >> Good morning, >> Postfix copy some mails (not spams) to postmast

Re: virtual_alias_maps accounts are bypassing smtpd_recipient_restrictions

2016-03-19 Thread Lucas Castro
please, post your postconf -n. On 18-03-2016 10:51, Alfredo Saldanha wrote: > Hi Wietse, > > So it means that there is a postfix wrong behavior? > > Alfredo > > - Mensagem original - > De: "Wietse Venema" > Para: "postfix-users" > Enviadas: Quinta-feira, 17 de março de 2016 21:09:15 > As