R: R: smtpd_recipient_restrictions in error

2015-12-22 Thread Nicola Piazzi
At now my "smtpd_recipient_restrictions" is configured to use sqlgrey and is working : smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_non_fqdn_recipient, reject_unknown_recipient_domain, check_recipient_access hash:/etc/postfix/rec

Re: R: smtpd_recipient_restrictions in error

2015-12-22 Thread Viktor Dukhovni
On Wed, Dec 23, 2015 at 07:41:26AM +, Nicola Piazzi wrote: > > > After I am using it I am unable to insert also the word > > > reject_unverified_recipients If I put it I get 451 4.3.5 > > > server configuration error from postfix in composing rcpt to: > > > > http://www.postfix.org/postconf

R: smtpd_recipient_restrictions in error

2015-12-22 Thread Nicola Piazzi
Viktor, this link if hoh to use but not give a solution to problem Nicola Piazzi CED - Sistemi COMET s.p.a. Via Michelino, 105 - 40127 Bologna - Italia Tel.  +39 051.6079.293 Cell. +39 328.21.73.470 Web: www.gruppocomet.it -Messaggio originale- Da: owner-postfix-us...@postfix.org [mail

Re: smtpd_recipient_restrictions in error

2015-12-22 Thread Viktor Dukhovni
On Tue, Dec 22, 2015 at 03:52:31PM +, Nicola Piazzi wrote: > After I am using it I am unable to insert also the word > reject_unverified_recipients > If I put it I get 451 4.3.5 server configuration error from postfix in > composing rcpt to: http://www.postfix.org/postconf.5.html#reject_un

Re: Example of postfix's pcre \A \z /A false positive

2015-12-22 Thread Wietse Venema
sb: > > Let test.eml be a complete e-mail, and > let test-body.eml be the body of test.eml only. > > The following matches any e-mail body with a single link > surrounded by spaces and newlines: >From the header_checks(5) and bodu_checks(5) manpages: Each message header or message body l

Re: Example of postfix's pcre \A \z /A false positive

2015-12-22 Thread Viktor Dukhovni
On Tue, Dec 22, 2015 at 05:27:01PM +0100, sb wrote: > Let test.eml be a complete e-mail, and > let test-body.eml be the body of test.eml only. > > The following matches any e-mail body with a single link > surrounded by spaces and newlines: Postfix does not apply regular expressions to the entir

Example of postfix's pcre \A \z /A false positive

2015-12-22 Thread sb
Let test.eml be a complete e-mail, and let test-body.eml be the body of test.eml only. The following matches any e-mail body with a single link surrounded by spaces and newlines: perl -n0e '/\A\s*]+\s*\z/mi and print' test-body.eml Therefore, we add the following to postfix's body_checks: /\A

smtpd_recipient_restrictions in error

2015-12-22 Thread Nicola Piazzi
I am using sqlgrey in a box between internet and my exchange server Sqlgrey put into smtpd_recipient_restrictions the word check_policy_service inet:127.0.0.1:2501 After I am using it I am unable to insert also the word reject_unverified_recipients If I put it I get 451 4.3.5 server configurat

Re: Problems with mailbox_command

2015-12-22 Thread Wietse Venema
Michael Jung: > On 2015-12-17 20:06, wie...@porcupine.org wrote: > > Michael Jung: > >> mailbox_command = /usr/local/bin/spamc -s 200 -y -R --pipe-to > >> /usr/bin/mail -s spam-report "{$sender)" > > > > "{$sender)" looks like a syntax error to me. > > > > Regardless, $sender is not defined.

Re: Problems with mailbox_command

2015-12-22 Thread Michael Jung
On 2015-12-17 20:06, wie...@porcupine.org wrote: Michael Jung: mailbox_command = /usr/local/bin/spamc -s 200 -y -R --pipe-to /usr/bin/mail -s spam-report "{$sender)" "{$sender)" looks like a syntax error to me. Regardless, $sender is not defined. The valid names are documented in http:/

Re: Blank EHLO/HELO commands

2015-12-22 Thread Jeffrey 'jf' Lim
On Tue, Dec 22, 2015 at 2:50 PM, Noel Jones wrote: > On 12/21/2015 6:44 PM, Jeffrey 'jf' Lim wrote: > > On Tue, Dec 22, 2015 at 7:26 AM, Noel Jones > > > I quit using reject_unknown_helo_hostname a couple years ago when it > > quickly became clear that a significant percentage of the cli