View Full Version : postfix doesn't want create the users directories
redem
29th June 2008, 18:37
Hi all!
I have followed this guide http://www.howtoforge.com/virtual_users_and_domains_with_postfix_debian_etch but at the end, when I insert a domain and a user in the database, i can't access to my mailbox (using SquirrelMail) because no user directory is created.
The directory /home/vmail is empty.
mail.log error:
imapd: Connection, ip=[::ffff:127.0.0.1]
imapd: chdir xxxxx.com/admin/: No such file or directory
Sorry for my bad english, thanks.
topdog
29th June 2008, 19:02
The directory is created when the first email is received
redem
29th June 2008, 19:03
There is any method to create the directory automatically?
redem
29th June 2008, 21:08
Ok, i have sended to my account some emails, but still not working.
Jun 29 20:03:18 xxxxxxxx postfix/smtpd[1625]: fatal: proxymap service is not configured for table "unix:passwd.byname"
Jun 29 20:03:19 xxxxxxxx postfix/master[1130]: warning: process /usr/lib/postfix/smtpd pid 1625 exit status 1
Jun 29 20:03:19 xxxxxxxx postfix/master[1130]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Jun 29 20:04:19 xxxxxxxx postfix/proxymap[1631]: warning: request for unapproved table: "unix:passwd.byname"
Jun 29 20:04:19 xxxxxxxx postfix/proxymap[1631]: warning: to approve this table for proxymap access, list proxy:unix:passwd.byname in main.cf:proxy_read_maps
Jun 29 20:04:19 xxxxxxxx postfix/smtpd[1630]: fatal: proxymap service is not configured for table "unix:passwd.byname"
Jun 29 20:04:20 xxxxxxxx postfix/master[1130]: warning: process /usr/lib/postfix/smtpd pid 1630 exit status 1
Jun 29 20:04:20 xxxxxxxx postfix/master[1130]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
What mean these errors?
redem
30th June 2008, 16:13
Ok, I fixed the main.cf :p, but now i getting these errors :confused:
Jun 30 15:05:36 xxxxxxxx postfix/master[9501]: terminating on signal 15
Jun 30 15:05:37 xxxxxxxx postfix/master[9630]: daemon started -- version 2.3.8, configuration /etc/postfix
Jun 30 15:05:58 xxxxxxxx postfix/smtpd[9637]: connect from hu-out-0506.google.com[72.14.214.238]
Jun 30 15:05:58 xxxxxxxx postfix/trivial-rewrite[9641]: warning: do not list domain xxxxxxxx.net in BOTH mydestination and virtual_mailbox_domains
Jun 30 15:05:58 xxxxxxxx postfix/trivial-rewrite[9641]: warning: do not list domain xxxxxxxx.net in BOTH mydestination and virtual_mailbox_domains
Jun 30 15:05:58 xxxxxxxx postfix/smtpd[9637]: 5401A4E9FC: client=hu-out-0506.google.com[72.14.214.238]
Jun 30 15:05:58 xxxxxxxx postfix/cleanup[9642]: 5401A4E9FC: message-id=<c9720a730806300605p1daab76ar63a249607b3a3886@mail. gmail.com>
Jun 30 15:05:58 xxxxxxxx postfix/qmgr[9636]: 5401A4E9FC: from=<admin@xxxxxxxx.net>, size=1760, nrcpt=1 (queue active)
Jun 30 15:05:58 xxxxxxxx postfix/smtp[9644]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
Jun 30 15:05:58 xxxxxxxx postfix/smtp[9644]: 5401A4E9FC: to=<user@xxxxxxxx.net>, relay=none, delay=0.19, delays=0.18/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
Jun 30 15:06:07 xxxxxxxx imapd: Connection, ip=[::ffff:127.0.0.1]
Jun 30 15:06:07 xxxxxxxx imapd: chdir xxxxxxxx.net/user/: No such file or directory
Jun 30 15:06:10 xxxxxxxx imapd: Connection, ip=[::ffff:127.0.0.1]
Jun 30 15:06:10 xxxxxxxx imapd: chdir xxxxxxxx.net/user/: No such file or directory
Jun 30 15:06:28 xxxxxxxx postfix/smtpd[9637]: disconnect from hu-out-0506.google.com[72.14.214.238]
falko
30th June 2008, 16:32
http://www.howtoforge.com/forums/showthread.php?t=24571&highlight=mydestination+virtual_mailbox_domains
redem
30th June 2008, 19:03
Sorry, im a n00b, still not working :(
here my main.cf
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
# TLS parameters
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
myhostname = mail.xxxxxxxxx.net
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = $myhostname, localhost, localhost.localdomain
relayhost =
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_reci$...
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
mail.log
Jun 30 18:03:59 xxxxxxxx postfix/master[2117]: terminating on signal 15
Jun 30 18:03:59 xxxxxxxx postfix/master[2223]: daemon started -- version 2.3.8, configuration /etc/postfix
Jun 30 18:03:59 xxxxxxxx postfix/qmgr[2225]: 9B55F4E9FA: from=<mail@gmail.com>, size=2058, nrcpt=1 (queue active)
Jun 30 18:03:59 xxxxxxxx postfix/qmgr[2225]: C16E94EA05: from=<mail@gmail.com>, size=2064, nrcpt=1 (queue active)
Jun 30 18:03:59 xxxxxxxx postfix/smtp[2230]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
Jun 30 18:03:59 xxxxxxxx postfix/smtp[2232]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
Jun 30 18:03:59 xxxxxxxx postfix/smtp[2230]: 9B55F4E9FA: to=<user@xxxxxxxx.net>, relay=none, delay=3916, delays=3916/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
Jun 30 18:03:59 xxxxxxxx postfix/smtp[2232]: C16E94EA05: to=<user@xxxxxxxx.net>, relay=none, delay=3745, delays=3745/0.03/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
Jun 30 18:04:13 xxxxxxxx postfix/smtpd[2234]: connect from wa-out-1112.google.com[209.85.146.182]
Jun 30 18:04:14 xxxxxxxx imapd: Connection, ip=[::ffff:127.0.0.1]
Jun 30 18:04:14 xxxxxxxx imapd: chdir xxxxxxxx.net/user/: No such file or directory
Jun 30 18:04:14 xxxxxxxx postfix/smtpd[2234]: F16CF4EA2B: client=wa-out-1112.google.com[209.85.146.182]
Jun 30 18:04:15 xxxxxxxx postfix/cleanup[2240]: F16CF4EA2B: message-id=<32c3a87f0806300904q28b4d83an907a1761aed567e0@mail. gmail.com>
Jun 30 18:04:15 xxxxxxxx postfix/qmgr[2225]: F16CF4EA2B: from=<mail@gmail.com>, size=2064, nrcpt=1 (queue active)
Jun 30 18:04:15 xxxxxxxx postfix/smtp[2232]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
Jun 30 18:04:15 xxxxxxxx postfix/smtp[2232]: F16CF4EA2B: to=<user@xxxxxxxx.net>, relay=none, delay=0.56, delays=0.56/0/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
Jun 30 18:04:16 xxxxxxxx imapd: Connection, ip=[::ffff:127.0.0.1]
Jun 30 18:04:16 xxxxxxxx imapd: chdir xxxxxxxx.net/user/: No such file or directory
Jun 30 18:04:18 xxxxxxxx imapd: Connection, ip=[::ffff:127.0.0.1]
Jun 30 18:04:18 xxxxxxxx imapd: chdir xxxxxxxx.net/user/: No such file or directory
Jun 30 18:04:19 xxxxxxxx imapd: Connection, ip=[::ffff:127.0.0.1]
Jun 30 18:04:19 xxxxxxxx imapd: chdir xxxxxxxx.net/user/: No such file or directory
Jun 30 18:04:21 xxxxxxxx imapd: Connection, ip=[::ffff:127.0.0.1]
Jun 30 18:04:21 xxxxxxxx imapd: chdir xxxxxxxx.net/user/: No such file or directory
Jun 30 18:04:23 xxxxxxxx imapd: Connection, ip=[::ffff:127.0.0.1]
Jun 30 18:04:23 xxxxxxxx imapd: chdir xxxxxxxx.net/user/: No such file or directory
Jun 30 18:04:24 xxxxxxxx imapd: Connection, ip=[::ffff:127.0.0.1]
Jun 30 18:04:24 xxxxxxxx imapd: chdir xxxxxxxx.net/user/: No such file or directory
Jun 30 18:04:45 xxxxxxxx postfix/smtpd[2234]: disconnect from wa-out-1112.google.com[209.85.146.182]
redem
1st July 2008, 18:20
any idea? :confused:
falko
1st July 2008, 23:03
Jun 30 18:03:59 xxxxxxxx postfix/smtp[2230]: 9B55F4E9FA: to=<user@xxxxxxxx.net>, relay=none, delay=3916, delays=3916/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
It seems as if amavisd isn't running. Please restart it.
redem
1st July 2008, 23:19
Thank you very much Falko, i have found an error in the file 15-content_filter_mode :p
Now all is working fine :)
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.