Re: Content filter with script

2018-03-08 Thread Karol Augustin
On 2018-03-07 21:47, Alex K wrote: > Hi all, > > Just checking if anyone can provide any hints on the below. > > Thanx, Alex > > On Tue, Mar 6, 2018 at 3:16 PM, Alex K wrote: > >> Hi all, >> >> I am trying to setup a simple script, which will be used to check

Re: Content filter with script

2018-03-08 Thread Alex K
Thank you Karol. I will check this. I am interested to log the mails (count in/out), check the size then log these to a DB to show them in some GUI and using these values to apply some policies (allow or reject according to set limits) Alex On Thu, Mar 8, 2018 at 11:59 AM, Karol Augustin

Re: Postfix is slow accepting incoming mails

2018-03-08 Thread Mike Guelfi
postconf -nWould be more useful...

Postfix is slow accepting incoming mails

2018-03-08 Thread Nikolai Dahlem
Hi all, I am running postfix 2.6.6 on CentOS 6.9 and I get a throughput of only 3-5 mails per second. It does not matter if I send via sendmail or SMTP to localhost with keep-alive. There must be a Problem somewhere in my postfix config, but I haven't been able to find it. I deactivated

Re: Postfix is slow accepting incoming mails

2018-03-08 Thread Wietse Venema
Nikolai Dahlem: > Hi all, > > I am running postfix 2.6.6 on CentOS 6.9 and I get a throughput of only > 3-5 mails per second. Would it be possible to say if this performance is sending or receiving mail? Either way, show the `delays='' logging, which reports the time spent in different stages

local data error while talking to smtp

2018-03-08 Thread luistkd4
Hi in postfix I have this configuration in main.cf: smtp_sender_dependent_authentication = yes smtp_sasl_auth_enable = yes smtp_sasl_password_maps = mysql:/etc/postfix/sender_passwd.cf relayhost = [smtp.sendgrid.net]:587 smtp_sasl_security_options = noanonymous /etc/postfix/sender_passwd.cf:

Re: local data error while talking to smtp

2018-03-08 Thread Viktor Dukhovni
> On Mar 8, 2018, at 9:25 AM, luistkd4 wrote: > > When I try make a stress test I can send many message but in certain moment > I have this error: > > Mar 8 11:06:22 UBMSASENDWEB01 postfix/smtp[5589]: warning: 5D8EC1400CC: > *smtp_sasl_password_maps lookup

Re: local data error while talking to smtp

2018-03-08 Thread Wietse Venema
luistkd4: > Hi in postfix I have this configuration in main.cf: > > smtp_sender_dependent_authentication = yes > smtp_sasl_auth_enable = yes > smtp_sasl_password_maps = mysql:/etc/postfix/sender_passwd.cf Use proxymap:mysql:/etc/postfix/sender_passwd.cf. Do the same thing with all mysql, ldap,

Re: Postscreen blacklist - Service currently unavailable

2018-03-08 Thread Bill Cole
On 8 Mar 2018, at 0:59 (-0500), Maurizio Caloro wrote: [Main.cf] postscreen_blacklist_action = drop postscreen_access_list = permit_mynetworks, hash:/etc/postfix/access postscreen_bare_newline_enable = yes Remove this. See http://www.postfix.org/POSTSCREEN_README.html#after_220 for the

Re: Postfix is slow accepting incoming mails

2018-03-08 Thread Nikolai Dahlem
Would it be possible to say if this performance is sending or receiving mail? It is receiving mail (time to finish the smtp dialog) Either way, show the `delays='' logging, which reports the time spent in different stages of delivery. The format of the "delays=a/b/c/d"