Hi listers
maildir creation  problem:

Oct 20 10:36:43 myhost postfix/virtual[10041]: warning: maildir access problem for UID/GID=89/89: create maildir file /data/postfix/maildrop//mydomain/anax/tmp/1256027803.P10041.myhost.mydomain.com: Permission denied Oct 20 10:36:43 myhost postfix/virtual[10041]: warning: perhaps you need to create the maildirs in advance Oct 20 10:36:43 myhost postfix/virtual[10041]: 8E006748052: to=<a...@myhost.mydomain.com>, relay=virtual, delay=81753, delays=81753/0.21/0/0.05, dsn=4.2.0, status=deferred (maildir delivery failed: create maildir file /data/postfix/maildrop//mydomain/anax/tmp/1256027803.P10041.myhost.mydomain.com: Permission denied)

[myu...@myhost ~]$ id postfix
uid=89(postfix) gid=89(postfix) groups=89(postfix),12(mail),1(bin)
[myu...@myhost ~]$

[myu...@myhost ~]$ ls -la /data/postfix/maildrop/
total 12
drwxr-xr-x 3 postfix postfix 4096 2009-10-20 10:38 .
drwxr-xr-x 5 postfix postfix 4096 2009-10-19 12:52 ..
[myu...@myhost ~]$

Usually, the entire chain of maildir is created automatically, just only in this one case, it refused to work. It was only after creating /data/postfix/maildrop/mydomain directory manually, that delivery worked fine.

[myu...@myhost ~]$ ls -la /data/postfix/maildrop/
total 12
drwxr-xr-x 3 postfix postfix 4096 2009-10-20 10:38 .
drwxr-xr-x 5 postfix postfix 4096 2009-10-19 12:52 ..
drwxr-xr-x 4 postfix postfix 4096 2009-10-20 10:41 mydomain
[myu...@myhost ~]$

Has someone made similar experiences? What is the cause that maildir creation does not work? On other servers, I never had such problems.

suomi

[myu...@myhost ~]$ uname -a
Linux myhost.mydomain.com 2.6.30.8-64.fc11.i686.PAE #1 SMP Fri Sep 25 04:56:58 EDT 2009 i686 athlon i386 GNU/Linux
[myu...@myhost ~]$

[myu...@myhost ~]$ rpm -q postfix
postfix-2.5.6-3.fc11.i586
[myu...@myhost ~]$

[myu...@myhost ~]$ postconf -n
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
anvil_rate_time_unit = 60s
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter =
daemon_directory = /usr/libexec/postfix
data_directory = /data/postfix/cache
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
html_directory = no
inet_protocols = all
local_recipient_maps = proxy:ldap:/etc/postfix/ldap-alias.cf
mail_owner = postfix
mailbox_command =
mailbox_transport =
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
mydestination = localhost.$mydomain
mydomain = $myhostname
myhostname = myhost.mydomain.com
mynetworks = 192.168.97.0/24, 194.158.243.160/27
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /data/postfix/queues
readme_directory = /usr/share/doc/postfix-2.5.6/README_FILES
relay_domains = permit_sasl_authenticated, permit_mynetworks
relayhost =
sample_directory = /usr/share/doc/postfix-2.5.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_client_connection_count_limit = 5
smtpd_client_connection_rate_limit = 22
smtpd_client_event_limit_exceptions = $mynetworks
smtpd_client_recipient_rate_limit = 100
smtpd_client_restrictions = permit_sasl_authenticated, hash:/etc/postfix/whitelist, hash:/etc/postfix/access
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, check_helo_access hash:/etc/postfix/helo_checks, reject_invalid_hostname smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access hash:/etc/postfix/check_recipients, check_recipient_access hash:/etc/postfix/access, reject_rbl_client mail-abuse.org, reject_rbl_client sbl-xbl.spamhaus.org, reject_rbl_client blackholes.easynet.nl, reject_rbl_client cbl.abuseat.org, reject_rhsbl_client mail-abuse.org, reject_rhsbl_client sbl-xbl.spamhaus.org, reject_rhsbl_client blackholes.easynet.nl, reject_rhsbl_client cbl.abuseat.org check_recipient_access ldap:/etc/postfix/ldap-spamfilter.cf, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = postfix
smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unknown_sender_domain, hash:/etc/postfix/whitelist, check_sender_access hash:/etc/postfix/access, reject_rhsbl_sender dsn.rfc-ignorant.org
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_maps = proxy:ldap:/etc/postfix/ldap-alias.cf
virtual_gid_maps = static:89
virtual_mailbox_base = /data/postfix/maildrop/
virtual_mailbox_domains = proxy:ldap:/etc/postfix/ldap-domain.cf
virtual_mailbox_maps = proxy:ldap:/etc/postfix/ldap-mailbox.cf
virtual_minimum_uid = 51
virtual_transport = virtual
virtual_uid_maps = static:89
[myu...@myhost ~]$

Reply via email to