Extracting delivery attempts from log files

2016-08-20 Thread Steve Atkins
I find I need to extract a list of deliveries, and delivery attempts, from postfix logs. Ideally I'd like to feed /var/log/mail.log into some script and get out something like {timestamp, peer ip, helo, envelope from, recipient, message-id} for every email. Does anyone know of a log analyzer or

Re: sender based routing and transport_maps

2016-08-20 Thread Wietse Venema
Andrea Cappelli: > 2016-08-20 23:40 GMT+02:00 Andrea Cappelli : > > > Hi All, > > I have a postfix 2.9.6 setup on Ubuntu 12.04 which serve a bounch of local > > mailbox and act as mail gateway with a tcp transport > > > > I want to use some external authenticated MTA based on sendere domain, so >

Re: sender based routing and transport_maps

2016-08-20 Thread Andrea Cappelli
2016-08-20 23:40 GMT+02:00 Andrea Cappelli : > Hi All, > I have a postfix 2.9.6 setup on Ubuntu 12.04 which serve a bounch of local > mailbox and act as mail gateway with a tcp transport > > I want to use some external authenticated MTA based on sendere domain, so > Ok, I think I found my problem

sender based routing and transport_maps

2016-08-20 Thread Andrea Cappelli
Hi All, I have a postfix 2.9.6 setup on Ubuntu 12.04 which serve a bounch of local mailbox and act as mail gateway with a tcp transport I want to use some external authenticated MTA based on sendere domain, so 1) domain1.com goes to MTA1 2) domain2 goes to MTA2 3) any other domain goes to tcp tra

RE: Cannot load Certification Authority data (one of these days I am going to write down how to debug this)

2016-08-20 Thread Security Admin (NetSec)
Problem fixed. Legacy entry in "main.cf" Apologies, never mind. -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Security Admin (NetSec) Sent: Saturday, August 20, 2016 11:43 AM To: Postfix users Subject: Cannot load Certifi

Re: Cannot load Certification Authority data (one of these days I am going to write down how to debug this)

2016-08-20 Thread Esteban Casuscelli
To get more information about it you can set smtpd_tls_loglevel = [log level] You can set it in the main.cf file http://www.postfix.org/postconf.5.html (search for smtpd_tls_loglevel and you will see the possible settings for it) hth, esteban.- On 08/20/2016 08:42 PM, Security Admin (NetS

Cannot load Certification Authority data (one of these days I am going to write down how to debug this)

2016-08-20 Thread Security Admin (NetSec)
Recently updated to Postfix 3.1 Noticed the following error in my "mail.log" file: "postfix/smtp [ ]: Cannot load Certification Authority data, CAfile'"/etc/postfix/localrootCA.pem": disabling TLS support Where "localrootCA.pem" is the public key of the root CA for my Windows AD domain. Pos

Re: Porn spam killer PCRE

2016-08-20 Thread Sean Greenslade
On Fri, Aug 19, 2016 at 04:30:38PM +0300, Nikolaos Milas wrote: > > We are already using postscreen, many RBLs, the fqrdns.pcre, amavis, > spamassassin with scamp and we are filtering about 60-70% of total incoming > mail as spam, but there is still much more that should be filtered out. > > Any

Re: Porn spam killer PCRE

2016-08-20 Thread Wietse Venema
Nikolaos Milas: > Hello, > > Has anyone developed and/or maintains PCRE filtering for porn spam senders? > > (Something like > https://github.com/stevejenkins/hardwarefreak.com-fqrdns.pcre) > > I guess many sender / client domains could be filtered-away if they > include keywords like "kiss",

Re: Porn spam killer PCRE

2016-08-20 Thread Christian Recktenwald
On Fri, Aug 19, 2016 at 04:30:38PM +0300, Nikolaos Milas wrote: > Hello, > > Has anyone developed and/or maintains PCRE filtering for porn spam senders? > > (Something like > https://github.com/stevejenkins/hardwarefreak.com-fqrdns.pcre) > > I guess many sender / client domains could be filtered