Current time: 11-25-2024, 09:48 PM Hello There, Guest! (LoginRegister)


Post Reply 
[Solved] I'm doing wrong in changing courier for dovecot?
Author Message
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #1
[Solved] I'm doing wrong in changing courier for dovecot?
Good afternoon everyone:

I changed local server to dovecot, mail server works perfectly

Code:
Mar 15 20:48:47 bst1 postfix/qmgr[5213]: E7BDE8BD90: from=<antonio.azaustre@bst1.com>, size=738, nrcpt=1 (queue active)
Mar 15 20:48:47 bst1 postfix/smtpd[5234]: disconnect from bst1.local.local[127.0.0.1]
Mar 15 20:48:48 bst1 postfix/smtp[5237]: E7BDE8BD90: to=<bongostudio@gmail.com>, relay=gmail-smtp-in.l.google.com[209.85.219.44]:25, delay=3.3, delays=1.5/0.04/0.71/0.98, dsn=2.0.0, status=sent (250 2.0.0 OK 1237140268 24si4907758ewy.1)
Mar 15 20:48:48 bst1 postfix/qmgr[5213]: E7BDE8BD90: removed


But in my logs it appears this record, creating a line for each email account



Code:
Mar 15 20:51:09 bst1 dovecot: auth(default): PAM: kill(5246) failed: No such process
Mar 15 20:51:09 bst1 dovecot: auth(default): pam(antonio.azaustre@bst1.com,127.0.0.1): PAM child process 5219 timed out, killing it
Mar 15 20:51:09 bst1 dovecot: auth(default): PAM: kill(5219) failed: No such process
Mar 15 20:51:09 bst1 dovecot: auth(default): pam(antonio.azaustre@bst1.com,127.0.0.1): PAM child process 5222 timed out, killing it
Mar 15 20:51:09 bst1 dovecot: auth(default): PAM: kill(5222) failed: No such process
Mar 15 20:51:09 bst1 dovecot: auth(default): pam(antonio.azaustre@bst1.com,127.0.0.1): PAM child process 5230 timed out, killing it
Mar 15 20:51:09 bst1 dovecot: auth(default): PAM: kill(5230) failed: No such process

Someone knows that I receive these messages?
I mounted the server operating system with new Debian etch 5, RC-1

Thanks
(This post was last modified: 03-16-2009 07:07 PM by kurgans.)
03-16-2009 04:18 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: I'm doing wrong in changing courier for dovecot?
Please post your dovecot config
Code:
# dovecot -n

Greez BeNe
03-16-2009 06:21 PM
Visit this user's website Find all posts by this user Quote this message in a reply
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #3
RE: I'm doing wrong in changing courier for dovecot?
Hey Bene good days,

Here you hit the data

Code:
bst1:/etc/dovecot# dovecot -n
# 1.0.15: /etc/dovecot/dovecot.conf
base_dir: /var/run/dovecot/
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap pop3
disable_plaintext_auth: no
login_dir: /var/run/dovecot//login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
mail_privileged_group: mail
mail_location: maildir:/var/mail/virtual/%d/%n
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
pop3_uidl_format(default):
pop3_uidl_format(imap):
pop3_uidl_format(pop3): %08Xu%08Xv
namespace:
  type: private
  prefix: INBOX.
  inbox: yes
auth default:
  mechanisms: plain login
  passdb:
    driver: pam
  passdb:
    driver: checkpassword
    args: /var/www/ispcp/engine/ispcp-dovecot-mngr
  userdb:
    driver: prefetch
  userdb:
    driver: passwd
  userdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql-domain.conf
  userdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql-aliasdomain.conf
  userdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql-subdomain.conf
  socket:
    type: listen
    client:
      path: /var/spool/postfix/private/auth
      mode: 432
      user: postfix
      group: postfix
    master:
      path: /var/run/dovecot/auth-master
      mode: 384
      user: vmail
      group: mail
(This post was last modified: 03-16-2009 06:55 PM by BeNe.)
03-16-2009 06:52 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #4
RE: I'm doing wrong in changing courier for dovecot?
You set 'pam' as driver in auth default - this is wrong!
Remove this part:
Code:
passdb:
    driver: pam
Here is my config to compare:
Code:
auth default:
  mechanisms: plain login
  verbose: yes
  passdb:
    driver: checkpassword
    args: /var/www/ispcp/engine/ispcp-dovecot-mngr
  userdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql-domain.conf
  userdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql-aliasdomain.conf
  userdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql-subdomain.conf
  socket:
    type: listen
    client:
      path: /var/spool/postfix/private/auth
      mode: 432
      user: postfix
      group: postfix
    master:
      path: /var/run/dovecot/auth-master
      mode: 432
      user: vmail
      group: mail

Greez BeNe
03-16-2009 06:58 PM
Visit this user's website Find all posts by this user Quote this message in a reply
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #5
RE: I'm doing wrong in changing courier for dovecot?
Fixed

Thank you very much for your help.

Greetings
Antonio
03-16-2009 07:06 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #6
RE: [Solved] I'm doing wrong in changing courier for dovecot?
Wink No Problem!

Greez BeNe
03-16-2009 07:10 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)