Re: High Load average on NFS Spool - v.2.1.15 & 2.2.13

2018-12-18 Thread Albert E. Whale, CEH CHS CISA CISSP

I have, but I will be happy to review it once again.

On 12/18/18 2:14 PM, admin wrote:
Am Dienstag, den 18.12.2018, 14:06 -0500 schrieb Albert E. Whale, CEH 
CHS CISA CISSP:


I have two servers pointing to an NFS mounted mail spool with 
dovecot.  Since I recently switched from using Dovecot v1.X, I have 
been experiencing high CPU use with the two Dovecot servers.  I am 
not certain why they are not well behaved. Here is the configuration 
information.



This configuration is currently running at a load average of 17.

/usr/sbin/dovecot -n
# 2.1.15: /etc/dovecot/dovecot.conf
# OS: Linux 3.10.54-server-2.mga3 i686 Mageia 3
base_dir = /var/run/dovecot/
disable_plaintext_auth = no
lock_method = dotlock
login_greeting = SpamZapper Email ready.
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
mail_debug = yes
mail_fsync = always
mail_location = maildir:~/Maildir
mail_nfs_index = yes
mail_nfs_storage = yes
mail_privileged_group = mail
mbox_lock_timeout = 15 mins
mmap_disable = yes
passdb {
  driver = pam
}
protocols = imap pop3
service anvil {
  client_limit = 203
  process_limit = 1
}
service auth {
  user = root
}
service imap-login {
  chroot = login
  client_limit = 10
  user = dovecot
  vsz_limit = 256 M
}
service pop3-login {
  chroot = login
  client_limit = 20
  user = dovecot
}
ssl = no
syslog_facility = local2
userdb {
  driver = passwd
}
verbose_proctitle = yes
protocol pop3 {
  mail_max_userip_connections = 20
  pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
  pop3_uidl_format = %08Xv%08Xu
}
protocol lda {
  postmaster_address = postmas...@example.com
}
protocol imap {
  mail_max_userip_connections = 10
}

And the other server which is currently running with a load average 
of 10.


dovecot -n
# 2.2.13: /etc/dovecot/dovecot.conf
doveconf: Warning: service anvil { client_limit=100 } is lower than 
required under max. load (303)

# OS: Linux 4.1.15-server-2.mga5 x86_64 Mageia 4
base_dir = /var/run/dovecot/
disable_plaintext_auth = no
listen = *
lock_method = dotlock
login_greeting = SpamZapper Email ready.
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
mail_fsync = always
mail_location = maildir:~/Maildir
mail_nfs_index = yes
mail_nfs_storage = yes
mail_privileged_group = mail
mmap_disable = yes
passdb {
  driver = pam
}
protocols = imap pop3
service anvil {
  client_limit = 100
  process_limit = 1
}
service auth {
  user = root
}
service imap-login {
  chroot = login
  client_limit = 48
  user = dovecot
  vsz_limit = 256 M
}
service pop3-login {
  chroot = login
  client_limit = 50
  user = dovecot
}
ssl = no
syslog_facility = local2
userdb {
  driver = passwd
}
verbose_proctitle = yes
protocol pop3 {
  mail_max_userip_connections = 50
  pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
  pop3_uidl_format = %08Xv%08Xu
}
protocol lda {
  postmaster_address = postmas...@example.com
}
protocol imap {
  mail_max_userip_connections = 40
}

Can you please offer a suggestion on what is happening?  The timeouts 
to the imap server are frequent due to the load average.


Thank you.

--
--
--

Albert E. Whale, CEH CHS CISA CISSP
*President - Chief Info Security Officer*
IT Security, Inc. <http://www.IT-Security-inc.com> - A Service 
Disabled Veteran Owned Company - (*SDVOSB*)

*HUBZone Certified*
LinkedIn <https://www.linkedin.com/in/albertwhale> Profile


Phone: 412-515-3010 | Email: albert.wh...@it-security-inc.com
Cell: 412-889-6870



Did  you have a look at https://wiki2.dovecot.org/NFS ?

--
awib IT Solutions
i...@awib.it  <mailto:i...@awib.it>

--
--
--

Albert E. Whale, CEH CHS CISA CISSP
*President - Chief Info Security Officer*
IT Security, Inc. <http://www.IT-Security-inc.com> - A Service Disabled 
Veteran Owned Company - (*SDVOSB*)

*HUBZone Certified*
LinkedIn <https://www.linkedin.com/in/albertwhale> Profile


Phone: 412-515-3010 | Email: albert.wh...@it-security-inc.com
Cell: 412-889-6870



High Load average on NFS Spool - v.2.1.15 & 2.2.13

2018-12-18 Thread Albert E. Whale, CEH CHS CISA CISSP
I have two servers pointing to an NFS mounted mail spool with dovecot.  
Since I recently switched from using Dovecot v1.X, I have been 
experiencing high CPU use with the two Dovecot servers. I am not certain 
why they are not well behaved.  Here is the configuration information.



This configuration is currently running at a load average of 17.

/usr/sbin/dovecot -n
# 2.1.15: /etc/dovecot/dovecot.conf
# OS: Linux 3.10.54-server-2.mga3 i686 Mageia 3
base_dir = /var/run/dovecot/
disable_plaintext_auth = no
lock_method = dotlock
login_greeting = SpamZapper Email ready.
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
mail_debug = yes
mail_fsync = always
mail_location = maildir:~/Maildir
mail_nfs_index = yes
mail_nfs_storage = yes
mail_privileged_group = mail
mbox_lock_timeout = 15 mins
mmap_disable = yes
passdb {
  driver = pam
}
protocols = imap pop3
service anvil {
  client_limit = 203
  process_limit = 1
}
service auth {
  user = root
}
service imap-login {
  chroot = login
  client_limit = 10
  user = dovecot
  vsz_limit = 256 M
}
service pop3-login {
  chroot = login
  client_limit = 20
  user = dovecot
}
ssl = no
syslog_facility = local2
userdb {
  driver = passwd
}
verbose_proctitle = yes
protocol pop3 {
  mail_max_userip_connections = 20
  pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
  pop3_uidl_format = %08Xv%08Xu
}
protocol lda {
  postmaster_address = postmas...@example.com
}
protocol imap {
  mail_max_userip_connections = 10
}

And the other server which is currently running with a load average of 10.

dovecot -n
# 2.2.13: /etc/dovecot/dovecot.conf
doveconf: Warning: service anvil { client_limit=100 } is lower than 
required under max. load (303)

# OS: Linux 4.1.15-server-2.mga5 x86_64 Mageia 4
base_dir = /var/run/dovecot/
disable_plaintext_auth = no
listen = *
lock_method = dotlock
login_greeting = SpamZapper Email ready.
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
mail_fsync = always
mail_location = maildir:~/Maildir
mail_nfs_index = yes
mail_nfs_storage = yes
mail_privileged_group = mail
mmap_disable = yes
passdb {
  driver = pam
}
protocols = imap pop3
service anvil {
  client_limit = 100
  process_limit = 1
}
service auth {
  user = root
}
service imap-login {
  chroot = login
  client_limit = 48
  user = dovecot
  vsz_limit = 256 M
}
service pop3-login {
  chroot = login
  client_limit = 50
  user = dovecot
}
ssl = no
syslog_facility = local2
userdb {
  driver = passwd
}
verbose_proctitle = yes
protocol pop3 {
  mail_max_userip_connections = 50
  pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
  pop3_uidl_format = %08Xv%08Xu
}
protocol lda {
  postmaster_address = postmas...@example.com
}
protocol imap {
  mail_max_userip_connections = 40
}

Can you please offer a suggestion on what is happening?  The timeouts to 
the imap server are frequent due to the load average.


Thank you.

--
--
--

Albert E. Whale, CEH CHS CISA CISSP
*President - Chief Info Security Officer*
IT Security, Inc. <http://www.IT-Security-inc.com> - A Service Disabled 
Veteran Owned Company - (*SDVOSB*)

*HUBZone Certified*
LinkedIn <https://www.linkedin.com/in/albertwhale> Profile


Phone: 412-515-3010 | Email: albert.wh...@it-security-inc.com
Cell: 412-889-6870



Re: [Dovecot] Multiple domains to one inbox and temporary redirects...

2011-08-31 Thread Albert E. Whale

I'm using Sendmail, sample config below:

On 8/31/2011 12:41 PM, Nick Rosier wrote:

Simon Brereton wrote:

Hi

Can anyone point me to a howto to arrange for multiple domains to 
deliver to one inbox with Dovecot?  For example, us...@example.com 
and us...@example.net should both be delivered to 
/var/spool/mail/virtual/example.net/user1


Currently, I have the dovecot LDA set as:

dovecot   unix  -   n   n   -   -   pipe
   flags=DRhu user=mailsystem argv=/usr/lib/dovecot/deliver -f 
${sender} -d ${user}@${nexthop}



and in dovecot.conf:

mail_location: maildir:/var/spool/mail/virtual/%d/%n

For some domains only, I need to override that mail_location.


Related to that, when user1 leave and user2 would like to receive 
user1's email, how can I get it so that email to us...@example.com is 
delivered to us...@example.com?  Previously when I was using Postfix 
to deliver the mails, I could change the maildirloc in the DB - but 
I’m not sure how to accomplish this with dovecot LDA.



I'm using Postfixadmin to manage users and have server alias-domains. 
All mail sent to an alias-domain is delivered to the other domain. 
Quite easy if you've got postfixadmin already setup.


Otherwise I think you could configure virtual_alias_maps in postfix to 
something like hash:virtual_domains


virtual_domains:
@example.net@example.com

N.



We deliver multiple multiple domains to the single user name of the domain.

ad...@nojunk-mail.com   admin
ad...@emailsecurity.us  admin
ad...@spam-zapper.com   admin
ad...@abs-comptech.com  admin
ad...@remote-pc-doc.com admin

We use our Server Administrator tool to manage the mailboxes.

Begin shameless plug:
(Server Administrator - http://www.abs-comptech.com/serveradministrator.htm)
end shameless plug

--

Albert E. Whale, CHS CISA CISSP
Senior Technology  Security Director
*ABS Computer Technology, Inc. *
412-635-7488 ext 100
aewh...@abs-comptech.com mailto:aewh...@abs-comptech.com
www.ABS-CompTech.com http://www.ABS-CompTech.com

attachment: aewhale.vcf

[Dovecot] UID/GID changed

2008-12-05 Thread Albert E. Whale
I have a problem with Dovecot 1.1.6 after having reset the UID/GID
information for a few email accounts.  I get the following error:

Dec  5 12:26:03 ns6 dovecot: POP3(mike):
stat(/home/popuser_mike/Maildir/tmp) failed: Permission denied
(euid=1366 egid=1366 missing +x perm: /home/popuser_mike/Maildir)
Dec  5 12:26:03 ns6 dovecot: POP3(mike): Couldn't open INBOX: Internal
error occurred. Refer to server log for more information. [2008-12-05
12:26:03]
Dec  5 12:27:40 ns6 dovecot: POP3(mike):
stat(/home/popuser_mike/Maildir/tmp) failed: Permission denied
(euid=1366 egid=1366 missing +x perm: /home/popuser_mike/Maildir)
Dec  5 12:27:40 ns6 dovecot: POP3(mike): Couldn't open INBOX: Internal
error occurred. Refer to server log for more information. [2008-12-05
12:27:40]

Permissions are:

[/home/popuser_mike/Maildir] ls -la
total 40
drwxrws---  5 mike mail 4096 Dec  5 12:23 ./
drwxr-xr-x  6 mike mike 4096 Nov  5 14:34 ../
drwx--S---  2 mike mail 4096 Dec  3 21:20 cur/
-rw-rw  1 mike mail 7560 Dec  4 08:02 dovecot.index.log.save
-rw-rw  1 mike mail  184 Dec  4 08:02 dovecot.index.save
-rw-rw  1  660 mail   18 Dec  4 08:02 dovecot-uidlist.save
-rw-rw  1 mike mail8 Nov  5 19:00 dovecot-uidvalidity
-rw-rw  1 mike mail0 Nov  5 19:00 dovecot-uidvalidity.4912338c
drwx--S---  2 mike mail 4096 Dec  5 11:46 new/
drwx--S---  2 mike mail 4096 Dec  5 11:46 tmp/


What am I missing?


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

ABS Computer Technology, Inc. http://www.ABS-CompTech.com - Email,
Internet and Security Consultants


[Dovecot] Authentication Error Message formats

2008-10-29 Thread Albert E. Whale
I have been using UW's IMAP server and I am converting to Dovecot for
Maildir support.

When a user fails authentication, or a user does not exist, it appears
that the same message is used for these events.

Is there a way to indicate that the user does not exist (Invalid user),
and authentication Failure (Failed Password)?

Clearly these two failures indicate a different error in the system. 
One that some forgot their password, the other indicates a dictionary
attack.
-- 
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*.


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*.


Re: [Dovecot] Authentication Error Message formats

2008-10-29 Thread Albert E. Whale
Charles Marcus wrote:
 On 10/29/2008, Albert E. Whale ([EMAIL PROTECTED]) wrote:
   
 When a user fails authentication, or a user does not exist, it appears
 that the same message is used for these events.
 

 When asking for help, it is always a good idea to provide some basic
 info... in  this case, sample log entries from failed events, and output
 of dovecot -n?

   
Thank Charles, my apologies.

Here is the Logging info:

Oct 29 09:43:12 192.168.50.5 dovecot: pop3-login: Aborted login (auth
failed, 1 attempts): user=darrel, method=PLAIN, rip=217.168.145.51,
lip=66.207.133.234
Oct 29 09:43:15 192.168.50.5 dovecot: auth-worker(default):
pam(darrel,217.168.145.51): pam_authenticate() failed: Authentication
failure
Oct 29 09:43:17 192.168.50.5 dovecot: pop3-login: Aborted login (auth
failed, 1 attempts): user=darrel, method=PLAIN, rip=217.168.145.51,
lip=66.207.133.234
Oct 29 09:43:20 192.168.50.5 dovecot: auth-worker(default):
pam(darrel,217.168.145.51): pam_authenticate() failed: Authentication
failure
Oct 29 09:43:22 192.168.50.5 dovecot: pop3-login: Aborted login (auth
failed, 1 attempts): user=darrel, method=PLAIN, rip=217.168.145.51,
lip=66.207.133.234

And my dovecot.conf is attached.

BTW, these entries are samples of invalid users.

-- 
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] Authentication Error Message formats

2008-10-29 Thread Albert E. Whale
Timo Sirainen wrote:
 On Wed, 2008-10-29 at 09:49 -0400, Albert E. Whale wrote:
   
 I have been using UW's IMAP server and I am converting to Dovecot for
 Maildir support.

 When a user fails authentication, or a user does not exist, it appears
 that the same message is used for these events.

 Is there a way to indicate that the user does not exist (Invalid user),
 and authentication Failure (Failed Password)?
 

 To user: no. In logs: yes, with auth_verbose=yes.

   
Timo, Thank you.  I already have auth_verbose=yes.

Here is what I am seeing:

Oct 29 09:43:31 192.168.50.5 dovecot: pop3-login: Aborted login (auth
failed, 1 attempts): user=darrin, method=PLAIN, rip=217.168.145.51,
lip=66.207.133.234
Oct 29 09:43:34 192.168.50.5 dovecot: auth-worker(default):
pam(darrin,217.168.145.51): pam_authenticate() failed: Authentication
failure
Oct 29 09:43:36 192.168.50.5 dovecot: pop3-login: Aborted login (auth
failed, 1 attempts): user=darrin, method=PLAIN, rip=217.168.145.51,
lip=66.207.133.234
Oct 29 09:43:38 192.168.50.5 dovecot: auth-worker(default):
pam(darrin,217.168.145.51): pam_authenticate() failed: Authentication
failure
Oct 29 09:43:40 192.168.50.5 dovecot: pop3-login: Aborted login (auth
failed, 1 attempts): user=darrin, method=PLAIN, rip=217.168.145.51,
lip=66.207.133.234

These attempts to authenticate Darrin will not complete, as this is not
a valid user.  The IP Address 217.168.145.51 was cycling through 1364
attempts.  I would like to identify this type of activity sooner, as
this is not a valid user.

-- 
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*.


Re: [Dovecot] mail_location: mbox: mkdir failed

2008-10-29 Thread Albert E. Whale
Timo Sirainen wrote:
 On Mon, 2008-10-27 at 12:30 -0400, Albert E. Whale wrote:
   
 Timo Sirainen wrote:
 
 On Oct 27, 2008, at 2:15 PM, Albert E. Whale wrote:

   
 Is there an automatic solution to this?

 Oct 27 08:00:48 192.168.50.5 dovecot: POP3(evelina2): mail_location:
 mbox: mkdir(/home/popuser_evelina2/mail) failed: Permission denied
 
 You mean /home/popuser_evelina2 doesn't exist and Dovecot doesn't have
 write permissions to /home? Choices would be:

 a) Create the directory automatically whenever you add new users
 b) Give Dovecot write permissions to /home
 c) If you're using PAM, use pam_mkhomedir

   
 Actually the /home/popuser_evelina2 directory exists.  I had thought
 that we were making the directory.  It's just the mail subdirectory that
 is missing.
 

 Then I guess your userdb isn't returning correct UID for the user.
 You're using system users?

   
Yes, the system users (/etc/passwd) files.  Here's that dovecot.conf
file.  I would have hoped that it would have been able to create the
mail folder, if it was not there.

-- 
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



[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 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*.


[Dovecot] mail_location: mbox: mkdir failed

2008-10-27 Thread Albert E. Whale
Is there an automatic solution to this?

Oct 27 08:00:48 192.168.50.5 dovecot: POP3(evelina2): mail_location:
mbox: mkdir(/home/popuser_evelina2/mail) failed: Permission denied
Oct 27 08:00:48 192.168.50.5 dovecot: Fatal: POP3(evelina2): Namespace
initialization failed
Oct 27 08:00:51 192.168.50.5 dovecot: POP3(evelina2): mail_location:
mbox: mkdir(/home/popuser_evelina2/mail) failed: Permission denied
Oct 27 08:00:51 192.168.50.5 dovecot: Fatal: POP3(evelina2): Namespace
initialization failed

-- 
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*.


Re: [Dovecot] mail_location: mbox: mkdir failed

2008-10-27 Thread Albert E. Whale
Timo Sirainen wrote:
 On Oct 27, 2008, at 2:15 PM, Albert E. Whale wrote:

 Is there an automatic solution to this?

 Oct 27 08:00:48 192.168.50.5 dovecot: POP3(evelina2): mail_location:
 mbox: mkdir(/home/popuser_evelina2/mail) failed: Permission denied

 You mean /home/popuser_evelina2 doesn't exist and Dovecot doesn't have
 write permissions to /home? Choices would be:

 a) Create the directory automatically whenever you add new users
 b) Give Dovecot write permissions to /home
 c) If you're using PAM, use pam_mkhomedir

Actually the /home/popuser_evelina2 directory exists.  I had thought
that we were making the directory.  It's just the mail subdirectory that
is missing.

-- 
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*.


Re: [Dovecot] cannot use password-file for userdb

2008-10-27 Thread Albert E. Whale
Timo Sirainen wrote:
 On Oct 26, 2008, at 11:28 PM, Albert E. Whale wrote:

 Oct 26 17:26:54 ns6 dovecot: auth(default): new auth connection:
 pid=5142
 Oct 26 17:26:54 ns6 dovecot: auth(default): client in:
 AUTH^I1^IPLAIN^Iservice=pop3^Ilip=66.207.133.228^Irip=71.162.15.2^Ilport=110^Irport=4238^Iresp=hidden

 Oct 26 17:26:54 ns6 dovecot: auth(default): client out: CONT^I1^I
 Oct 26 17:26:54 ns6 dovecot: auth(default): client in: CONThidden
 Oct 26 17:26:54 ns6 dovecot: auth(default):
 passwd-file(health,71.162.15.2): lookup: user=health
 file=/home/dovecot.passwd

 This shows the passdb lookup part. Does it continue? If so, post it
 too. It should show more for the userdb lookup.
At present it does not continue.  Which is probably the issue.

 How do I get this to recognize the :userdb_mail=maildir:~/Maildir in the
 dovecot.passwd file??

 Post your current dovecot -n output.

See attached.  Thank you.

-- 
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



[Dovecot] cannot use password-file for userdb

2008-10-26 Thread Albert E. Whale
OK, I am attempting to use the userdb connection to facilitate per user
migration to Maildir format from mbox.  Here's the first user:

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

The configuration was set up as:

  userdb passwd {
   }

I changed this to:

  userdb passwd-file {
args = /home/dovecot.conf
  }

And unfortunately the dovecot daemon dies after successfully launching.

Suggestions?



-- 
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*.


Re: [Dovecot] cannot use password-file for userdb

2008-10-26 Thread Albert E. Whale
Albert E. Whale wrote:
 OK, I am attempting to use the userdb connection to facilitate per user
 migration to Maildir format from mbox.  Here's the first user:

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

 The configuration was set up as:

   userdb passwd {
}

 I changed this to:

   userdb passwd-file {
 args = /home/dovecot.conf
   }

 And unfortunately the dovecot daemon dies after successfully launching.

 Suggestions?



   
The dovecot password file is really /home/dovecot.passwd, but this still
does not resolve the authentication issue for user health.

Still seeking suggestions.

-- 
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*.


Re: [Dovecot] cannot use password-file for userdb

2008-10-26 Thread Albert E. Whale
Timo Sirainen wrote:
 On Sun, 2008-10-26 at 10:01 -0400, Albert E. Whale wrote:
   
 And unfortunately the dovecot daemon dies after successfully launching.
 

 What does it log? http://wiki.dovecot.org/Logging


   
Actually the userdb was wrong, but now I am seeing the following:

Oct 26 17:26:54 ns6 dovecot: auth(default): new auth connection: pid=5142
Oct 26 17:26:54 ns6 dovecot: auth(default): client in:
AUTH^I1^IPLAIN^Iservice=pop3^Ilip=66.207.133.228^Irip=71.162.15.2^Ilport=110^Irport=4238^Iresp=hidden
Oct 26 17:26:54 ns6 dovecot: auth(default): client out: CONT^I1^I
Oct 26 17:26:54 ns6 dovecot: auth(default): client in: CONThidden
Oct 26 17:26:54 ns6 dovecot: auth(default):
passwd-file(health,71.162.15.2): lookup: user=health
file=/home/dovecot.passwd

How do I get this to recognize the :userdb_mail=maildir:~/Maildir in the
dovecot.passwd file??




-- 
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] Maildir connection issues

2008-10-24 Thread Albert E. Whale
I recently am attempting a mbox to Maildir conversion, initially for a
single email address, and then for everyone.

To further this diagnostic here is the dovecot -n:

 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
mail_privileged_group: mail
mail_location: mbox:~/mail:INBOX=/var/spool/mail/%u
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
  passdb:
driver: passwd-file
args: /home/dovecot.passwd
  passdb:
driver: pam
  userdb:
driver: passwd
ns6.ABS-CompTech.com root
[/root] ll /home/dovecot.passwd
-rw-r--r--  1 418 418 95 Oct 22 22:18 /home/dovecot.passwd

The problem I am having is that the user health cannot get new email
messages.

Suggestions?

-- 
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*.


Re: [Dovecot] Maildir connection issues

2008-10-24 Thread Albert E. Whale
mouss wrote:
 Albert E. Whale a écrit :
   
 I recently am attempting a mbox to Maildir conversion, initially for a
 single email address, and then for everyone.

 To further this diagnostic here is the dovecot -n:

  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
 mail_privileged_group: mail
 mail_location: mbox:~/mail:INBOX=/var/spool/mail/%u
 

 so you're still using mbox.


   
I was under the impression that you could migrate individual mailboxes
and set up the information via the dovecot.passwd file, i.e.

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

Is this not valid?

How do I set up individual Mailboxes for Maildir until I have them
converted?


-- 
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*.


Re: [Dovecot] Maildir connection issues

2008-10-24 Thread Albert E. Whale
Timo Sirainen wrote:
 On Oct 24, 2008, at 8:40 PM, Albert E. Whale wrote:

 I was under the impression that you could migrate individual mailboxes
 and set up the information via the dovecot.passwd file, i.e.

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


 Is this not valid?

 That looks ok, but:

  passdb:
driver: passwd-file
args: /home/dovecot.passwd
  passdb:
driver: pam
  userdb:
driver: passwd

 You're using passwd-file only as passdb. That means it uses only the
 username and password field of the file. You'll need to use it as a
 userdb also.

 But can the users read their mail anyway? You said that they can't get
 new mails. Are you using Dovecot's deliver as MDA?

ok, being that I've never done this before, how do I fix this?


The users cannot find the Email in the Maildir because the setting is
not read.  Clues?


-- 
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*.


Re: [Dovecot] mbox to Maildir conversion

2008-10-23 Thread Albert E. Whale
Kyle Wheeler wrote:
 On Wednesday, October 22 at 11:35 PM, quoth Albert E. Whale:
 I am currently testing a single user, and have successfully converted
 the mail messages from mbox to Maildir format, and now I am setting
 up the procmail tool to place the messages into the correct folder. 
 I have been following the
 http://wiki.dovecot.org/Migration/MailFormat formula, but now have a
 question.

 New Messages are now being placed into the ~user/Maildir/new folder.

 Procmail understands Maildir natively; you don't have to tell it to
 put messages into the new folder, you should just tell it to put
 things into the Maildir folder and end the line with a /, like so:

 # correct!
 :0
 ~user/Maildir/

 # incorrect
 :0
 ~user/Maildir/new/

 # also incorrect
 :0
 ~user/Maildir/new

 If you specify the new directory, you're either telling procmail to
 treat that directory like an MH folder, which is wrong, or you're
 telling procmail that the new directory is a Maildir, in which case
 it will create another new directory within that directory (along
 with a tmp and cur directories).

 ~Kyle
Thanks Kyle, the Procmailrc script I am using is as follows:

more ~health/.procmailrc
# Maildir procmail setup

SHELL=/bin/sh
PATH=$HOME/bin:/usr/bin:/usr/local/bin:/usr/include:/usr/local/sbin:/bin:/sbin:
/usr/sbin
MAILDIR=$HOME/Maildir/
ORGMAIL=$HOME/Maildir/
DEFAULT=$ORGMAIL
LOGFILE=/var/Procmail/log
LOGABSTRACT=all
VERBOSE=yes

:0
$ORGMAIL


I believe that this matches your correct example.  That is just where
Procmail places them.

-- 
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*.


Re: [Dovecot] mbox to Maildir conversion

2008-10-23 Thread Albert E. Whale
Scott Silva wrote:
 on 10-23-2008 1:35 PM Neil spake the following:
   
 On 23 Oct 2008, at 16:17, Albert E. Whale wrote:

 
 Neil wrote:
   
 On 22 Oct 2008, at 23:35, Albert E. Whale wrote:

 
 I've been running a mbox solution using UW's IMAP server.  I've run it
 for years.

 Now do to heavy message volumes, I've decided to to take the plunge to
 convert to the Maildir format.

 I am currently testing a single user, and have successfully converted
 the mail messages from mbox to Maildir format, and now I am setting up
 the procmail tool to place the messages into the correct folder.  I
 have
 been following the http://wiki.dovecot.org/Migration/MailFormat
 formula,
 but now have a question.

 New Messages are now being placed into the ~user/Maildir/new folder.
 However, when I attempt to retrieve those messages, Dovecot does not
 find them.  Why not?
   
 How are you attempting to retrieve them?

 
 I am trying to retrieve them using the POP3 section of Thunderbird.

 Is Maildir an IMAP format?
   
 No, the protocol (IMAP/POP3) is irrelevant.  The important part to note
 (and where I suspect your problem is) is that the folder, as far as your
 client (Thunderbird) is concerned, is Maildir/, the Maildir/new/
 directory is part of Maildir's internal format.

 That is to say, you should never be putting Maildir/(new|cur|tmp) as a
 mailbox name into a client, just Maildir/.

 -N.

 
 With Dovecot set up properly, you should be leaving any client settings for
 directory blank. In thunderbird you shouldn't have to set IMAP server 
 directory.

   
Good, because I am still using the POP3 server.

-- 
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] mbox to Maildir conversion

2008-10-22 Thread Albert E. Whale
I've been running a mbox solution using UW's IMAP server.  I've run it
for years.

Now do to heavy message volumes, I've decided to to take the plunge to
convert to the Maildir format.

I am currently testing a single user, and have successfully converted
the mail messages from mbox to Maildir format, and now I am setting up
the procmail tool to place the messages into the correct folder.  I have
been following the http://wiki.dovecot.org/Migration/MailFormat formula,
but now have a question.

New Messages are now being placed into the ~user/Maildir/new folder. 
However, when I attempt to retrieve those messages, Dovecot does not
find them.  Why not?
-- 
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*.


Re: [Dovecot] Can I translate the userid to match the UW-POP3 server?

2008-10-12 Thread Albert E. Whale
Timo Sirainen wrote:
 On Oct 12, 2008, at 7:05 AM, Albert E. Whale wrote:

 Now the Dovecot server is very flexible and currently I have not found
 how to translate the upper case characters to lowercase.

 What configuration setting will translate the userids to lowercase?

 Easiest way is to use

 auth_username_format = %Lu

Perfect.  Thank you.

-- 
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] Can I translate the userid to match the UW-POP3 server?

2008-10-11 Thread Albert E. Whale
OK, I have been running the UW-POP3 server which currently translates
all login ids as lowercase (i.e. Anthony becomes anthony).

Now the Dovecot server is very flexible and currently I have not found
how to translate the upper case characters to lowercase.

What configuration setting will translate the userids to lowercase?
-- 
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] Dovecot 1.1.3 / 1.1.4 - not deleteing

2008-10-05 Thread Albert E. Whale
Not sure what happened here, but today, all of a sudden, pop3 emails are
not being deleted.  I was using the 1.1.3 version then upgraded to 1.1.4
now it no longer deletes emails.

Suggestions?
-- 
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] File_lock_dotlock error

2008-10-05 Thread Albert E. Whale
Oct  5 22:51:59 ns6 dovecot: POP3(aewhale): file_lock_dotlock() failed
with mbox file /var/spool/mail/aewhale: Permission denied

Any suggestions?
-- 
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] Migration Issues UW-POP3

2007-10-07 Thread Albert E. Whale
I am migrating from UW's POP3 server (mbox), to Dovecote (mbox - maildir).

Anyway, I am concerned about the Logging details offered by Dovecot, as
I manage several details from the logging information provided by UW's
Syslog information.  Here's a sample of the UW information:

Oct  7 22:08:39 ns6 ipop3d[15432]: pop3 service init from 66.207.133.233
Oct  7 22:08:39 ns6 ipop3d[15432]: Auth user=aewhale
host=ns.ABS-CompTech.com [66.207.133.233] nmsgs=0/0
Oct  7 22:08:39 ns6 ipop3d[15432]: Logout user=aewhale
host=ns.ABS-CompTech.com [66.207.133.233] nmsgs=0 ndele=0

The first time I connected to the server to test the information, I got
the following:

Oct  7 20:22:17 ns6 dovecot: Dovecot v1.0.rc26 starting up
Oct  7 20:22:37 ns6 dovecot: pop3-login: Login: user=aewhale,
method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Oct  7 20:23:44 ns6 dovecot: POP3(aewhale): Disconnected: Logged out
top=0/0, retr=0/0, del=0/800,size=1576887

None of the other connections reported information about the mailbox or
the connections.  Here is what I see:

Oct  7 20:39:14 ns6 dovecot: pop3-login: Disconnected: method=PLAIN,
rip=66.207.133.233, lip=66.207.133.228
Oct  7 20:59:42 ns6 dovecot: pop3-login: Disconnected: method=LOGIN,
rip=71.162.15.2, lip=66.207.133.228
Oct  7 21:39:12 ns6 dovecot: pop3-login: Disconnected: method=LOGIN,
rip=66.207.133.233, lip=66.207.133.228
Oct  7 21:39:42 ns6 dovecot: pop3-login: Disconnected: method=LOGIN,
rip=71.162.15.2, lip=66.207.133.228

I never see the POP3 or Login messages any more.  Can someone tell me
why?  Is this not correctly working on my server yet?
-- 
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*.