Re: [Dovecot] Cannot use userdb to update Maildir

2008-10-29 Thread Albert E. Whale
e-frog wrote:

  more /home/dovecot.passwd
 health:$1$MCtvt/Tz$FmKqU/cbWlBhKnhc5W.Ko.:1152:1152:/home/health:userdb_mail=mai

 ldir:~/Maildir

 I guess you need two ':' between 1152 and /home/health and
 userdb_mail=maildir:~/Maildir

 So the line should look like this:

 health:$1$MCtvt/Tz$FmKqU/cbWlBhKnhc5W.Ko.:1152:1152::/home/health::userdb_mail=maildir:~/Maildir


Thank you to everyone that responded to this posting.  This issue is now
resolved.

-- 
Albert E. Whale, CHS CISA CISSP
Sr. Security, Network, Risk Assessment and Systems Consultant

ABS Computer Technology, Inc. http://www.ABS-CompTech.com - Email,
Internet and Security Consultants
SPAMZapper http://www.Spam-Zapper.com - No-JunkMail.com
http://www.No-JunkMail.com - *True Spam Elimination*.


[Dovecot] Cannot use userdb to update Maildir

2008-10-28 Thread Albert E. Whale
I cannot get to the Maildir info for a user.  The user's user_db is set
up in /home/dovecot.passwd.

Here is the transcript of the pop3 connection:

Oct 28 14:56:04 ns6 dovecot: auth(default): client in:
AUTH^I1^IPLAIN^Iservice=pop3^Ilip=66.207.133.228^Irip=71.162.15.2^Ilport=110^Irport=1874^Iresp=hidden
Oct 28 14:56:04 ns6 dovecot: auth(default): client out: CONT^I1^I
Oct 28 14:56:04 ns6 dovecot: auth(default): client in: CONThidden
Oct 28 14:56:04 ns6 dovecot: auth(default):
passwd-file(health,71.162.15.2): lookup: user=health
file=/home/dovecot.passwd
Oct 28 14:56:04 ns6 dovecot: auth(default): client out: OK^I1^Iuser=health
Oct 28 14:56:04 ns6 dovecot: auth(default): master in: REQUEST^I354^I7953^I1
Oct 28 14:56:04 ns6 dovecot: auth(default):
passwd-file(health,71.162.15.2): lookup: user=health
file=/home/dovecot.passwd
Oct 28 14:56:04 ns6 dovecot: auth(default): master out:
USER^I354^Ihealth^Iuid=1152^Igid=1152^Ihome=userdb_mail=maildir
Oct 28 14:56:04 ns6 dovecot: pop3-login: Login: user=health,
method=PLAIN, rip=71.162.15.2, lip=66.207.133.228
Oct 28 14:56:04 ns6 dovecot: POP3(health): Effective uid=1152, gid=1152
Oct 28 14:56:04 ns6 dovecot: POP3(health): mbox:
data=~/mail:INBOX=/var/spool/mail/health
Oct 28 14:56:04 ns6 dovecot: POP3(health): fs:
root=userdb_mail=maildir/mail, index=, control=,
inbox=/var/spool/mail/health
Oct 28 14:56:05 ns6 dovecot: auth(default): new auth connection: pid=8987
Oct 28 14:56:06 ns6 dovecot: POP3(health): Disconnected: Logged out
top=0/0, retr=0/0, del=0/0, size=0


The /home/dovecot.passwd has the following.

 more /home/dovecot.passwd
health:$1$MCtvt/Tz$FmKqU/cbWlBhKnhc5W.Ko.:1152:1152:/home/health:userdb_mail=mai
ldir:~/Maildir


WHY can I get the emails from ~health/Maildir/new ???


-- 
Albert E. Whale, CHS CISA CISSP
Sr. Security, Network, Risk Assessment and Systems Consultant

ABS Computer Technology, Inc. http://www.ABS-CompTech.com - Email,
Internet and Security Consultants
SPAMZapper http://www.Spam-Zapper.com - No-JunkMail.com
http://www.No-JunkMail.com - *True Spam Elimination*.

ns6.ABS-CompTech.com root
[/root] dovecot -n
# 1.1.4: /etc/dovecot.conf
base_dir: /var/run/dovecot/
protocols: imap pop3
ssl_disable: yes
disable_plaintext_auth: no
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
login_greeting: SpamZapper Email ready.
mail_max_userip_connections(default): 10
mail_max_userip_connections(imap): 10
mail_max_userip_connections(pop3): 3
verbose_proctitle: yes
mail_privileged_group: mail
mail_location: mbox:~/mail:INBOX=/var/spool/mail/%u
mail_debug: yes
mmap_disable: yes
mail_nfs_storage: yes
mail_nfs_index: yes
lock_method: dotlock
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
pop3_uidl_format(default): %08Xu%08Xv
pop3_uidl_format(imap): %08Xu%08Xv
pop3_uidl_format(pop3): %08Xv%08Xu
auth default:
  username_format: %Lu
  verbose: yes
  debug: yes
  passdb:
driver: passwd-file
args: /home/dovecot.passwd
  passdb:
driver: pam
  userdb:
driver: passwd-file
args: /home/dovecot.passwd
  userdb:
driver: passwd




Re: [Dovecot] Cannot use userdb to update Maildir

2008-10-28 Thread e-frog



 more /home/dovecot.passwd
health:$1$MCtvt/Tz$FmKqU/cbWlBhKnhc5W.Ko.:1152:1152:/home/health:userdb_mail=mai
ldir:~/Maildir


I guess you need two ':' between 1152 and /home/health and 
userdb_mail=maildir:~/Maildir

So the line should look like this:

health:$1$MCtvt/Tz$FmKqU/cbWlBhKnhc5W.Ko.:1152:1152::/home/health::userdb_mail=maildir:~/Maildir


Re: [Dovecot] Cannot use userdb to update Maildir

2008-10-28 Thread Albert E. Whale
e-frog wrote:

  more /home/dovecot.passwd
 health:$1$MCtvt/Tz$FmKqU/cbWlBhKnhc5W.Ko.:1152:1152:/home/health:userdb_mail=mai

 ldir:~/Maildir

 I guess you need two ':' between 1152 and /home/health and
 userdb_mail=maildir:~/Maildir

 So the line should look like this:

 health:$1$MCtvt/Tz$FmKqU/cbWlBhKnhc5W.Ko.:1152:1152::/home/health::userdb_mail=maildir:~/Maildir


Great,  I thank you, however that has not changed the communications at all.

Oct 28 16:42:17 ns6 dovecot: auth(default): client in:
AUTH^I1^IPLAIN^Iservice=pop3^Ilip=66.207.133.228^Irip=71.162.15.2^Ilport=110^Irport=2635^Iresp=hidden
Oct 28 16:42:17 ns6 dovecot: auth(default): client out: CONT^I1^I
Oct 28 16:42:17 ns6 dovecot: auth(default): client in: CONThidden
Oct 28 16:42:17 ns6 dovecot: auth(default): passwd-file
/home/dovecot.passwd: Read 1 users
Oct 28 16:42:17 ns6 dovecot: auth(default):
passwd-file(health,71.162.15.2): lookup: user=health
file=/home/dovecot.passwd
Oct 28 16:42:17 ns6 dovecot: auth(default): client out:
OK^I1^Iuser=health^I~/Maildir=
Oct 28 16:42:17 ns6 dovecot: auth(default): master in:
REQUEST^I365^I27263^I1
Oct 28 16:42:17 ns6 dovecot: auth(default):
passwd-file(health,71.162.15.2): lookup: user=health
file=/home/dovecot.passwd
Oct 28 16:42:17 ns6 dovecot: auth(default): master out:
USER^I365^Ihealth^Iuid=1152^Igid=1152^Ihome=/home/health
Oct 28 16:42:17 ns6 dovecot: pop3-login: Login: user=health,
method=PLAIN, rip=71.162.15.2, lip=66.207.133.228
Oct 28 16:42:17 ns6 dovecot: POP3(health): Effective uid=1152, gid=1152
Oct 28 16:42:17 ns6 dovecot: POP3(health): mbox:
data=~/mail:INBOX=/var/spool/mail/health
Oct 28 16:42:17 ns6 dovecot: POP3(health): fs: root=/home/health/mail,
index=, control=, inbox=/var/spool/mail/health
Oct 28 16:42:17 ns6 dovecot: POP3(health): Disconnected: Logged out
top=0/0, retr=0/0, del=0/0, size=0
Oct 28 16:42:17 ns6 dovecot: auth(default): new auth connection: pid=31252



-- 
Albert E. Whale, CHS CISA CISSP
Sr. Security, Network, Risk Assessment and Systems Consultant

ABS Computer Technology, Inc. http://www.ABS-CompTech.com - Email,
Internet and Security Consultants
SPAMZapper http://www.Spam-Zapper.com - No-JunkMail.com
http://www.No-JunkMail.com - *True Spam Elimination*.