DSN to include original email's subject

2013-09-10 Thread Kev
Hi!

I have an issue, we have DSN enabled by default on postfix, and it works
great, but we have an issue when sending multiple emails, its difficult to
see what email got deliver, so is there anyway to include the subject of
the original email in the DSN notifications ?

rgds
Kev



smtpd_restriction_classes & Copy rejected emails

2017-02-24 Thread Kev
Hi Team,

I use smtpd_restriction_classes extensively to set who can receive from
who and who can send it to, this is a company policy and its needed.

setup is simple

Spam Filter (Postfix - Multiple Servers) ---> Internal Email Server
(Postfix + Dovecot)

We use recipient bcc maps on the MX servers to copy the filtered users
email to monitoring email box. i get both rejected and non rejected
email on to this. is there anyway i can setup postfix only to copy the
rejected email to the monitoring email account ?

rgds




postfix log in mysql

2017-08-27 Thread Kev
Hi postfixers,

We have spam filter servers for our down, 5 of them to be exact. we use
amavisd, bitdefender & clamav for spam and virus filter. 

we have a self help portal done in php/mysql for users to manage
whitelist/blacklist etc, now i want to allow users to check there email
logs to they can find if any wanted email is blocked,

so the question is, how can i log postfix to a mysql db where i can write
an interface for users to search for email and see what did the
blocking, such as rbl, amavis etc ? 

ive seen some solutions to use syslog in to mysql but i was thinking
something much simpler where i will still have logs in place even if
mysql fails.

rgds




Re[2]: postfix log in mysql

2017-08-29 Thread Kev
> You might want to look into something like the Logstash 
> (https://www.elastic.co/products/logstash).  

looks promising! thanks you!

On Mon, 28 Aug 2017 10:11:14 -0600
James Reynolds  wrote:

> You might want to look into something like the Logstash 
> (https://www.elastic.co/products/logstash).  
> 
> James
> 
> > On Aug 27, 2017, at 9:51 PM, Kev  wrote:
> > 
> > Hi postfixers,
> > 
> > We have spam filter servers for our down, 5 of them to be exact. we use
> > amavisd, bitdefender & clamav for spam and virus filter. 
> > 
> > we have a self help portal done in php/mysql for users to manage
> > whitelist/blacklist etc, now i want to allow users to check there email
> > logs to they can find if any wanted email is blocked,
> > 
> > so the question is, how can i log postfix to a mysql db where i can write
> > an interface for users to search for email and see what did the
> > blocking, such as rbl, amavis etc ? 
> > 
> > ive seen some solutions to use syslog in to mysql but i was thinking
> > something much simpler where i will still have logs in place even if
> > mysql fails.
> > 
> > rgds
> > 
> >