[Dovecot] Error - Dovecot Permission denied
kbajwa
kbajwa at tibonline.net
Sat Jul 26 19:06:31 EEST 2008
CentOS 5.2
Postfix 2.3.3 (Came Packed with CentOS)
Dovecot 1.1.1
Dovecot-Sieve 1.1.5
Did a complete new fresh install. When I send a message to:
test at wildpeacockstudios.com, I get two error messages as listed in the
/var/log/maillog:
(1) (lost connection with mail.tibonline.net[12.179.81.11] while receiving
the initial server greeting)
(2) status=bounced (local configuration error. Command output: Fatal:
open(/etc/dovecot.conf) failed: Permission denied )
Attached are copies of (a) Postfix, (b) Dovecot, (c) Dovecot-Sieve in
'/home/test/' and (d) /var/log/maillog
----------------------
[root at www ~]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailbox_command = /usr/libexec/dovecot/deliver
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = wildpeacockstudios.com
myhostname = mail.wildpeacockstudios.com
mynetworks = 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
relay_domains =
relayhost =
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,
reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
unknown_local_recipient_reject_code = 550
[root at www ~]#
[root at www ~]#
----------------------
[root at www ~]# dovecot -n
# 1.1.2: /etc/dovecot.conf
login_dir: /var/run/dovecot/login
login_executable(default): /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
mail_location: maildir:~/Maildir
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/lib/dovecot/imap
mail_plugin_dir(imap): /usr/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/pop3
imap_client_workarounds(default): delay-newmail outlook-idle netscape-eoh
imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh
imap_client_workarounds(pop3):
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
auth default:
mechanisms: plain login
passdb:
driver: pam
userdb:
driver: passwd
socket:
type: listen
client:
path: /var/spool/postfix/private/auth
mode: 432
user: postfix
group: postfix
[root at www ~]#
----------------------
/home/test/.dovecot-sieve
require ["fileinto", "vacation"];
# Move spam to spam folder
if exists "X-Spam-Flag" {
fileinto "spam";
# Stop here so that we do not reply on spams
stop;
}
vacation
# Reply at most once a day to a same sender
:days 1
:subject "Out of office reply"
# List of recipient addresses which are included in the auto replying.
# If a mail's recipient is not on this list, no vacation reply is sent for
it.
:addresses ["test at wildpeacockstudios.com"]
"I'm out of office, please contact Joan Doe instead.
Best regards
John Doe";
----------------------
/var/log/maillog
Jul 26 09:39:28 www dovecot: Dovecot v1.1.2 starting up
Jul 26 09:39:29 www postfix/postfix-script: starting the Postfix mail system
Jul 26 09:39:29 www postfix/master[4963]: daemon started -- version 2.3.3,
configuration /etc/postfix
Jul 26 09:39:29 www postfix/qmgr[4969]: 6EBA241C0007:
from=<test at wildpeacockstudios.com>, size=722, nrcpt=1 (queue active)
Jul 26 09:39:31 www postfix/smtp[4996]: 6EBA241C0007:
to=<kbajwa at tibonline.net>, relay=mail.tibonline.net[12.179.81.11]:25,
delay=1011, delays=1009/0.15/2.3/0, dsn=4.4.2, status=deferred (lost
connection with mail.tibonline.net[12.179.81.11] while receiving the initial
server greeting)
Jul 26 09:41:07 www dovecot: pop3-login: Login: user=<test>, method=PLAIN,
rip=192.168.0.64, lip=65.103.190.107
Jul 26 09:41:08 www dovecot: POP3(test): Disconnected: Logged out top=0/0,
retr=0/0, del=0/0, size=0
Jul 26 09:41:17 www postfix/smtpd[5583]: connect from unknown[192.168.0.64]
Jul 26 09:41:17 www postfix/smtpd[5583]: D7F3F41C001C:
client=unknown[192.168.0.64], sasl_method=PLAIN, sasl_username=kirtib
Jul 26 09:41:17 www postfix/cleanup[5587]: D7F3F41C001C:
message-id=<488B459C.90600 at wildpeacockstudios.com>
Jul 26 09:41:17 www postfix/qmgr[4969]: D7F3F41C001C:
from=<test at wildpeacockstudios.com>, size=720, nrcpt=1 (queue active)
Jul 26 09:41:17 www postfix/smtpd[5583]: disconnect from
unknown[192.168.0.64]
Jul 26 09:41:18 www postfix/smtp[5588]: D7F3F41C001C:
to=<kbajwa at tibonline.net>, relay=mail.tibonline.net[12.179.81.11]:25,
delay=0.43, delays=0.06/0.01/0.37/0, dsn=4.4.2, status=deferred (lost
connection with mail.tibonline.net[12.179.81.11] while receiving the initial
server greeting)
Jul 26 09:42:05 www postfix/smtpd[5583]: connect from
mail.spaceportusa.net[12.179.81.11]
Jul 26 09:42:05 www postfix/smtpd[5583]: 8675D41C0028:
client=mail.spaceportusa.net[12.179.81.11]
Jul 26 09:42:06 www postfix/cleanup[5587]: 8675D41C0028:
message-id=<87B5712FBA1548208A9A393D2D28A036 at Sunshine>
Jul 26 09:42:06 www postfix/qmgr[4969]: 8675D41C0028:
from=<kbajwa at tibonline.net>, size=880, nrcpt=1 (queue active)
Jul 26 09:42:06 www postfix/smtpd[5583]: disconnect from
mail.spaceportusa.net[12.179.81.11]
Jul 26 09:42:06 www postfix/local[5596]: 8675D41C0028:
to=<test at wildpeacockstudios.com>, relay=local, delay=1,
delays=0.72/0.26/0/0.07, dsn=5.3.5, status=bounced (local configuration
error. Command output: Fatal: open(/etc/dovecot.conf) failed: Permission
denied )
Jul 26 09:42:06 www postfix/cleanup[5587]: 6C2DA41C002A:
message-id=<20080726154206.6C2DA41C002A at mail.wildpeacockstudios.com>
Jul 26 09:42:06 www postfix/qmgr[4969]: 6C2DA41C002A: from=<>, size=2882,
nrcpt=1 (queue active)
Jul 26 09:42:06 www postfix/bounce[5598]: 8675D41C0028: sender non-delivery
notification: 6C2DA41C002A
Jul 26 09:42:06 www postfix/qmgr[4969]: 8675D41C0028: removed
Jul 26 09:42:06 www postfix/smtp[5588]: 6C2DA41C002A:
to=<kbajwa at tibonline.net>, relay=mail.tibonline.net[12.179.81.11]:25,
delay=0.37, delays=0/0/0.37/0, dsn=4.4.2, status=deferred (lost connection
with mail.tibonline.net[12.179.81.11] while receiving the initial server
greeting)
---------------------------------
Help in fixing these errors is highly appreciated.
FYI: New to Postfix & Dovecot.
Thanks.
Kirti
More information about the dovecot
mailing list