Noel Jones schrieb:
This should use $data_directory rather than $queue_directory.
$data_directory must be a directory owned by $mail_owner (default
"postfix") and not used by any other programs. On most systems this
defaults to /var/lib/postfix.
On my systems (Debian 4 and 5), data_directory is not set!
And nothing points to /var/lib/postfix, which not even exists :-O
postconf | grep directory | grep \/ | grep -v
execution_directory_expansion_filter | grep -v '\$'
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
mail_spool_directory = /var/mail
manpage_directory = /usr/share/man
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix
sample_directory = /usr/share/doc/postfix/examples
postconf mail_version
mail_version = 2.3.8
All smtpd_*_restrictions should start with "permit_mynetworks,
permit_sasl_authenticated" to prevent rejecting authorized clients.
smtpd_helo_restrictions = reject_invalid_helo_hostname
Same comment as above.
OK.
I added that!
Also to smtpd_sender_restrictions, as you mentioned above.
smtpd_use_tls = yes
This parameter is obsolete. Rather use
smtpd_tls_security_level = may
OK.
I added that too and removed smtpd_tls_auth_only as this will be set anyway.
Thank you very much!
I begin to like my configurations now :)