Код: Выделить всё
Feb 23 16:00:33 **** dovecot: POP3(robot@****.ru): mkdir(/var/vmail/****/robot@****/cur) failed: Permission denied (euid=1000(vmail) egid=12(mail) missing +w perm: /var/vmail)
Feb 23 16:00:33 **** dovecot: POP3(robot@****.ru): Couldn't open INBOX: Internal error occurred. Refer to server log for more information. [2011-02-23 16:00:33]
Feb 23 16:00:33 **** dovecot: POP3(robot@****.ru): Couldn't open INBOX top=0/0, retr=0/0, del=0/0, size=0
Код: Выделить всё
base_dir = /var/run/dovecot/
protocols = imap pop3
protocol imap {
listen = *:143
}
protocol pop3 {
listen = *:110
}
mail_uid = vmail
mail_gid = mail
log_timestamp = "%Y-%m-%d %H:%M:%"
syslog_facility = mail
mail_location = maildir:/var/vmail/%d/%u
first_valid_uid = 1000
last_valid_uid = 1000
maildir_copy_with_hardlinks = yes
protocol imap {
login_executable = /usr/libexec/dovecot/imap-login
mail_executable = /usr/libexec/dovecot/imap
imap_max_line_length = 65536
}
protocol pop3 {
login_executable = /usr/libexec/dovecot/pop3-login
mail_executable = /usr/libexec/dovecot/pop3
pop3_uidl_format = %08Xu%08Xv
}
protocol lda {
postmaster_address = postmaster@***.ru
sendmail_path = /usr/lib/sendmail
auth_socket_path = /var/run/dovecot/auth-master
}
auth_verbose = yes
auth_debug = yes
auth_debug_passwords = yes
auth default {
mechanisms = plain
passdb sql {
args = /etc/dovecot-sql.conf
}
user = nobody
socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0660
user = vmail
group = mail
}
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postdrop
}
}
}
dict {
}
plugin {
}
Код: Выделить всё
soft_bounce = no
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
default_privs = nobody
myhostname = mail.***.ru
mydomain = ***.ru
myorigin = $mydomain
inet_interfaces = all
inet_protocols = all
mydestination = $myhostname, localhost.$mydomain, localhost
unknown_local_recipient_reject_code = 550
mynetworks = 127.0.0.0/8
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mail_spool_directory = /var/spool/mail
#mail_spool_directory = /var/spool/mail
#mail_spool_directory = /var/vmail/
smtpd_banner = $myhostname ESMTP
debug_peer_level = 2
#debug_peer_list = 127.0.0.1
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.6.7/samples
readme_directory = /usr/share/doc/postfix-2.6.7/README_FILES
config_directory = /etc/postfix
virtual_mailbox_domains = mysql:$config_directory/sql/vdomains.cf
virtual_mailbox_base = /var/vmail
virtual_mailbox_maps = mysql:$config_directory/sql/vmailbox.cf
virtual_alias_maps = mysql:$config_directory/sql/valias.cf
virtual_minimum_uid = 1000
virtual_uid_maps = static:1000
virtual_gid_maps = static:12
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
smtpd_sasl_auth_enable = yes
smtpd_sasl_exceptions_networks = $mynetworks
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_type = dovecot
#smtpd_sasl_path = smtpd
smtpd_sasl_path = private/auth
#smtpd_sasl_application_name = smtpd
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_non_fqdn_recipient, reject_unverified_recipient, reject_rbl_client cbl.abuseat.org
Код: Выделить всё
# ls -ld /var/vmail
drwxrwxrwx 2 vmail mail 4096 Feb 23 15:28 /var/vmail
# ls -la /var/vmail
total 40
drwxrwxrwx 2 vmail mail 4096 Feb 23 15:28 .
drwxr-xr-x 22 root root 4096 Feb 23 15:28 ..
-rwxrwxrwx 1 vmail mail 33 Feb 23 15:28 .bash_logout
-rwxrwxrwx 1 vmail mail 176 Feb 23 15:28 .bash_profile
-rwxrwxrwx 1 vmail mail 124 Feb 23 15:28 .bashrc