On 4/8/2010 5:00 PM, postfix-us...@tja-server.de wrote:
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
Ah, antique postfix version. That parameter was added a
couple years ago in postfix 2.5
http://www.postfix.org/postconf.5.html#data_directory
Even though your version doesn't have data_directory built-in,
you can add it to your main.cf:
data_directory = /var/lib/postfix
then type:
# mkdir /var/lib/postfix
# chown postfix /var/lib/postfix
-- Noel Jones