Same problem as before...I delete and create a new user...
It´s not a problem with all users , it´s only happening with a part or
them, aparently with no pattern .
Any other hint ?
El , mouss <mo...@ml.netoyen.net> escribió:
Le 10/09/2010 17:45, augustocasagra...@gmail.com a écrit :
Hi,
I'm using Postfix 2.2.9 . Recently , i ' ve started receiving some
strange messages in my /var/log/messages log.
postfix/local[26604]: DEF9B441D6: to=u...@domain.com>,
orig_to=alias.u...@domain.com>, relay=local, delay=1, status=bounced
(cannot access
mailbox /var/mail/user for user user. cannot open file: Permission denied.
My first solution was to change the file permission :
chown user:users /var/mail/user ,
but another user starts with the same problem ... what can be wrong?Any
ideas?
in general, adduser and the like create the mailbox with the right owner.
so create a new user and try again (just to see if the problem is due to
you playing with existing accounts...).
My postconf -n :
alias_maps = hash:/etc/aliases, hash:/etc/aliases.d/mailman
biff = no
broken_sasl_auth_clients = yes
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
disable_mime_output_conversion = no
header_checks = regexp:/etc/postfix/header_checks
html_directory = /usr/share/doc/packages/postfix/html
inet_interfaces = 172.xxx.xxx.xxx, localhost
inet_protocols = all
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command =
mailbox_size_limit = 102400000
mailbox_transport =
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
message_size_limit = 10240000
mydestination = $myhostname, localhost.$mydomain $mydomain, domain.com
mydomain = domain.com
myhostname = mail.domain.com
mynetworks = 172.xxx.xxx.xxx
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relayhost = smtp_ext.domain.com
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_tls_note_starttls_offer = yes
smtpd_banner = Domain.com
smtpd_client_restrictions = permit_sasl_authenticated,check_client_access
hash:/etc/postfix/access, reject
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = check_sender_access
hash:/etc/postfix/restricted_senders, permit_sasl_authenticated,
permit_mynetworks, reject_unauth_destination, check_relay_domains
smtpd_restriction_classes = local_only
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = permit_sasl_authenticated,permit_mynetworks,
permit
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
strict_8bitmime = no
strict_rfc821_envelopes = no
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_domains = hash:/etc/postfix/virtual
virtual_alias_maps = hash:/etc/postfix/virtual