Doing this (unpriv to n) and restarting service I get the following from
/var/log/mail.log :

error: incorrect SMTP server privileges: uid=0 euid=0
fatal: the Postfix SMTP server must run with $mail_owner privileges
warning: process /usr/lib/postfix/smtpd pid 14987 exit status 1
warning: /usr/lib/postfix/smtpd: bad command startup -- throttling

$ postconf | grep -e 'mail_owner'
mail_owner = postfix


El 01/07/14 16:30, Wietse Venema ha escrit:
> Narcis Garcia:
>> Hello;
>>
>> I'm working with Debian GNU/Linux 7 and Postfix 2.9.6
>> I've configured a Postfix service with this (real rbl instead of example):
>>
>> $ postconf -e 'smtpd_recipient_restrictions =
>> permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination,reject_rbl_client
>> rbl.example.net'
>>
>> $ postconf -e 'postscreen_dnsbl_sites = rbl.example.net'
>>
>> $ service postfix reload
>>
>> Spam delivery has been reduced with this, but I cannot investigate false
>> positives because nothing of this (RBL) is logged to /var/log/mail.log
>> nor /var/log/syslog
>>
>> What do I need to do to Postfix logs DNSBL/RBL events?
> 
> Postfix logs all rejects, and all successful/failed deliveries with
> severity mail.info. It is possible that you have Postfix chroot
> turned on without proper configuration.
> 
> In master.cf, change the fourth column into 'n' in the line "smtp
> .... smtpd".  Then type "postfix reload" and see if your SMTP server
> logging is fixed.
> 
> Then, fix the fourth column of all other Postfix services, too.
> 
>       Wietse
> 

Reply via email to