Results 1 to 2 of 2
Hi there !
I want to configure postfix in a virtual hosting context. The domains and the users are all virtual.
My main.cf:
Code:
1 queue_directory = /var/spool/postfix
2 command_directory ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-24-2008 #1Just Joined!
- Join Date
- Jan 2005
- Location
- Germany
- Posts
- 69
postfix virtual hosting problem
Hi there !
I want to configure postfix in a virtual hosting context. The domains and the users are all virtual.
My main.cf:
The lines I've modified are 7-12.Code:1 queue_directory = /var/spool/postfix 2 command_directory = /usr/local/sbin 3 daemon_directory = /usr/local/libexec/postfix 4 data_directory = /var/db/postfix 5 mail_owner = postfix 6 myhostname = localhost 7 virtual_mailbox_domain = /usr/local/etc/postfix/vhost.txt 8 virtual_mailbox_base = /var/spool/vmail 9 virtual_mailbox_maps = hash:/usr/local/etc/posftix/vmaps.txt 10 virtual_uid_maps = static:1000 11 virtual_gid_maps = static:1000 12 virtual_alias_maps = hash:/usr/local/etc/postfix/valias.txt 13 unknown_local_recipient_reject_code = 550 14 mynetworks_style = host 15 16 17 debug_peer_level = 2 18 debugger_command = 19 PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin 20 ddd $daemon_directory/$process_name $process_id & sleep 5 21 sendmail_path = /usr/local/sbin/sendmail 22 newaliases_path = /usr/local/bin/newaliases 23 mailq_path = /usr/local/bin/mailq 24 setgid_group = maildrop 25 html_directory = no 26 manpage_directory = /usr/local/man 27 sample_directory = /usr/local/etc/postfix 28 readme_directory = no
In the postfix logs I get:
All the files are in the right location. Why it can't find vmaps.txt.db (it was created from the text file using postmap)?Code:Dec 24 18:14:12 softexp postfix/smtpd[35876]: fatal: open database /usr/local/etc/posftix/vmaps.txt.db: No such file or directory Dec 24 18:14:13 softexp postfix/master[691]: warning: process /usr/local/libexec/postfix/smtpd pid 35876 exit status 1 Dec 24 18:14:13 softexp postfix/master[691]: warning: /usr/local/libexec/postfix/smtpd: bad command startup -- throttling
Could it be a permission problem? The owner is root:wheel and the dir has 755 and the files 644.
I've compiled postfix using DB Berkeley support.
Thanks you.
- 12-24-2008 #2Just Joined!
- Join Date
- Jan 2005
- Location
- Germany
- Posts
- 69
it was a spelling problem. thank you


Reply With Quote
