[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Postfix/Sarge: permissions up the woopee



I have just been investigating postfix as a "simpler" alternative to
sendmail on sarge.  My syslog is full of messages like:

Jun 26 18:02:30 debian postfix/smtpd[5028]: fatal: open lock file
pid/inet.smtp: cannot create file exclusively: No such file or directory
Jun 26 18:02:31 debian postfix/master[2740]: warning: process
/usr/lib/postfix/smtpd pid 5028 exit status 1
Jun 26 18:02:31 debian postfix/master[2740]: warning:
/usr/lib/postfix/smtpd: bad command startup -- throttling
Jun 26 18:02:48 debian postfix/master[2740]: warning:
master_wakeup_timer_event: service public/pickup: No such file or directory

I've tried tricks like # postfix set-permissions
.. which gives the following:
chown: cannot access `/usr/lib/postfix/dict_ldap.so': No such file or
directory

.. but still no luck.

My main.cf (NB: mydomain.com.au is fictitious):

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
myhostname = debian
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mydomain.com.au, debian.mydomain.com.au,
localhost.mydomain.com.au, localhost, debian
relayhost =
mynetworks = 127.0.0.0/8 192.168.2.0/24
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
mail_owner = postfix
setgid_group = postdrop
queue_directory = /var/spool/postfix

Has anybody got this working???  I get the impression that most problems are 
due to the fact that postfix is running in a chrooted environment.





Reply to: