Re: [Dovecot] IMAP Folders Don't Make Sense

2010-02-25 Thread Carlos Williams
On Thu, Feb 25, 2010 at 4:10 PM, Brian Hayden  wrote:
> You need to:
>
> 1. Remove your subscriptions file.

This I did. Now I can no longer see from the client side any of my IMAP folders.

> 2. Set your client to ignore subscriptions and view all folders.

I logged into my webmail and in the main mailbox view all my IMAP
folders except for Inbox and the default ones were missing. I then
opened up the folders settings option and 'subscribed' to all the
folders I didn't see in my main mailbox view. Once I enabled
'subscription' via webmail, I could then see all my folders again. Is
this wrong? You stated the opposite should be done. I would think if
they were not selected for subscription, I would see them but it
appears to be the other way around. How can I see my messages on my
email client with out the 'subscriptions' file in my Maildir? I am
assuming this questions' answer varies depending on what client we're
talking about, no?

> 3. Then, and only then, settle on a server configuration (including any
> namespaces you may choose to use), and then re-subscribe to folders in your
> client (if you are going to insist on using subscriptions).
>
> It's impossible to get your server configuration correct if you're judging
> the user-visible side by a client using legacy subscriptions, particularly
> if the subscriptions file is in an unreliable state (as it sounds like yours
> is--as most of them almost always are).

I just can't see how to get any IMAP client to read IMAP folders w/o
that 'subscriptions' file. It appears that it looks for it or is in
some way dependent on this file. Am I wrong?


Re: [Dovecot] IMAP Folders Don't Make Sense

2010-02-25 Thread Carlos Williams
On Thu, Feb 25, 2010 at 3:21 PM, Rick Romero  wrote:
> The subscriptions file is only used by the MUAs, and you can set them to
> ignore it.  I would just tell the MUAs to ignore it.  You can safely delete
> it - except if you have an MUA that is using it then the folders will
> disappear...
>
> I suppose if you have a PDA and a huge folder structure you might have the
> PDA use subscriptions and trim down the folder list...
>
> I would 'start fresh' and remove it.

When I remove this file, my mail clients (webmail & Thunderbird) no
longer see any of my sub folders. How can I remove this file if it
holds obsolete data and still be able to see my Inbox sub folders?

I reverted back to my original dovecot.conf file as when I posted my
original. No changes basically have been made. When I add your
suggestion for namespace to my config, I for some reason then have a
main Inbox folder in my mail client and then it has a subdirectory
called inbox and that has all my IMAP folders listed. So it's a bit
redundant for the Inbox folder only.


Re: [Dovecot] IMAP Folders Don't Make Sense

2010-02-25 Thread Carlos Williams
On Thu, Feb 25, 2010 at 3:08 PM, Rick Romero  wrote:
> Yikes!  I thought this was a private install. :(  The namespace would be a
> pretty radical change.  It tells dovecot how to present folders.
>
> I'm not a namespace guru - but I'm fairly sure that's the issue.
> http://wiki.dovecot.org/Namespaces
>
> I would suggest creating an alternate config file, using different ports and
> system directories, to test a namespace change.

It's OK. It appears to not have impacted any existing data. Perhaps
just changes how the new folders are managed. I did see a file in my
Maildir called 'subscriptions' and when I opened it with a text
editor, it had the old invalid IMAP directory structure...should I
delete or rename this file on my mailbox and then restart the client
to force it to re-build this subscriptions file?


Re: [Dovecot] IMAP Folders Don't Make Sense

2010-02-25 Thread Carlos Williams
On Thu, Feb 25, 2010 at 2:55 PM, Carlos Williams  wrote:
> On Thu, Feb 25, 2010 at 2:41 PM, Rick Romero  wrote:
>> Try adding a namespace.
>>
>> namespace private {
>>  separator = .
>>  prefix = INBOX.
>>  inbox = yes
>> }
>
> I made that change and reloaded Dovecot and all my users on the mail
> server lost the folders...

Sorry - I was wrong. This didn't remove anything from my server. I
guess it helps when you issue the ls -la command. I was just being
paranoid. My question now is how do I clean up my Maildir/ to how it
should be?

Right now after the change and successfully restarting IMAP, I have
the following directory when I login to Linux. I haven't opened up any
mail clients yet...

[r...@mail Maildir]# ls -la
total 496
drwx-- 32 cwilliams it   4096 Feb 25 15:01 .
drwx--  5 cwilliams it   4096 Feb 23 13:24 ..
drwx--  2 cwilliams it  53248 Feb 25 13:41 cur
-rw---  1 cwilliams it   1288 Feb 25 13:41 dovecot.index
-rw---  1 cwilliams it  65952 Feb 25 13:41 dovecot.index.cache
-rw---  1 cwilliams it  55636 Feb 25 13:42 dovecot.index.log
-rw---  1 cwilliams it 131124 Feb 10 16:18 dovecot.index.log.2
-rw---  1 cwilliams it121 Jul 15  2009 dovecot-keywords
-rw---  1 cwilliams it   8190 Feb 25 13:13 dovecot-uidlist
drwx--  5 cwilliams it   4096 Feb 25 12:47 .Drafts
drwx--  2 cwilliams it   4096 Feb 25 13:27 .INBOX
drwx--  5 cwilliams it   4096 Feb 25 14:53 .INBOX.CDW
drwx--  5 cwilliams it   4096 Feb 25 08:55 .INBOX.ClamAV
drwx--  5 cwilliams it   4096 Feb 25 14:54 .INBOX.Dell
drwx--  5 cwilliams it   4096 Feb 25 14:54 .INBOX.Dell.Certification
drwx--  5 cwilliams it   4096 Feb 25 14:54 .INBOX.Dell.Quotes
drwx--  5 cwilliams it   4096 Feb 25 08:54 .INBOX.Dell.Warranty
drwx--  5 cwilliams it   4096 Feb 25 08:55 .INBOX.IBM
drwx--  5 cwilliams it   4096 Feb 25 14:54 .INBOX.Logs.Clearcase
drwx--  5 cwilliams it   4096 Feb 25 08:54 .INBOX.Logs.Clearquest
drwx--  5 cwilliams it   4096 Feb 25 14:54 .INBOX.Maintenance Weekend
drwx--  5 cwilliams it   4096 Feb 25 14:54 .INBOX.Red Hat
drwx--  5 cwilliams it   4096 Feb 23 09:26 .INBOX.Symantec
drwx--  5 cwilliams it   4096 Feb 25 14:54 .INBOX.Verisign
drwx--  2 cwilliams it  32768 Feb 25 13:13 new
drwx--  5 cwilliams it   4096 Feb 25 14:53 .Sent
drwx--  5 cwilliams it   4096 Feb 17 08:37 .Spam
-rw---  1 cwilliams it393 Feb 23 10:23 subscriptions
drwx--  2 cwilliams it   4096 Feb 25 13:13 tmp
drwx--  5 cwilliams it   4096 Feb 25 14:11 .Trash


Re: [Dovecot] IMAP Folders Don't Make Sense

2010-02-25 Thread Carlos Williams
On Thu, Feb 25, 2010 at 2:41 PM, Rick Romero  wrote:
> Try adding a namespace.
>
> namespace private {
>  separator = .
>  prefix = INBOX.
>  inbox = yes
> }

I made that change and reloaded Dovecot and all my users on the mail
server lost the folders...


Re: [Dovecot] IMAP Folders Don't Make Sense

2010-02-25 Thread Carlos Williams
On Thu, Feb 25, 2010 at 2:19 PM, Rick Romero  wrote:
> The entire structure doesn't look correct for Maildir.
> The folders you listed, puts you already in the INBOX, so your MUA should be
> seeing:
> INBOX\
>      Drafts
>      INBOX\
>            ClamAV
>            Dell.Quotes
>            Dell.Warranty
>            etc.etc.etc..
>      Sent
>      Spam
>      Trash
>
> If you are not seeing the folders in that order, then I think your
> dovecot.conf isn't quite right.  Please post the output of dovecot -n

No I don't appear to be seeing this and I think the fact that I have
used different mail clients (Thunderbird, Evolution, etc etc etc) and
think that their default folder structure may have made a mess on my
IMAP Maildir structure over the years.

Below is my dovecot -n:

[r...@mail Maildir]# dovecot -n
# 1.0.7: /etc/dovecot.conf
protocols: imap
ssl_cert_file: /srv/ssl/ghost.crt
ssl_key_file: /srv/ssl/ghost.key
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/imap-login
mail_location: maildir:~/Maildir
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

---

Beyond that I don't know why it's messed up and more importantly, how
I can fix it. Any suggestions?


Re: [Dovecot] IMAP Folders Don't Make Sense

2010-02-25 Thread Carlos Williams
On Thu, Feb 25, 2010 at 2:07 PM, Frank Elsner
 wrote:
> It might be useful to tell Thunderbird not only to show subscribed folders.
> Edit -> Account settings -> Server settings -> Advanced, first check box.
>
> There are some MUAs which create folders but do not add subscriptions
> for the folders. The sylpheed I currently use is such a beast :-)

In Thunderbird that option is already checked and it wouldn't explain
why webmail (RoundCube) shows the exact same thing. I can't delete the
folder from Thunderbird and I don't see it when I login to the mail
server via shell. I am thinking there is something wrong with the
folder listing or something like that.


[Dovecot] IMAP Folders Don't Make Sense

2010-02-25 Thread Carlos Williams
I noticed for some reason that I am missing an IMAP folder called
'Symantec' that was under my Inbox. I see all my other folders listed
on my mail client except 'Symantec'. I then login to my mail server
which runs Postfix / Dovecot & there I can see it:

/home/cwilliams/Maildir
[r...@mail Maildir]# ls -la
total 608
drwx-- 33 cwilliams it   4096 Feb 25 13:23 .
drwx--  5 cwilliams it   4096 Feb 23 13:24 ..
drwx--  2 cwilliams it  53248 Feb 25 13:22 cur
-rw---  1 cwilliams it   3048 Feb 25 12:42 dovecot.index
-rw---  1 cwilliams it 178176 Feb 25 13:22 dovecot.index.cache
-rw---  1 cwilliams it  54936 Feb 25 13:23 dovecot.index.log
-rw---  1 cwilliams it 131124 Feb 10 16:18 dovecot.index.log.2
-rw---  1 cwilliams it121 Jul 15  2009 dovecot-keywords
-rw---  1 cwilliams it   8190 Feb 25 13:13 dovecot-uidlist
drwx--  5 cwilliams it   4096 Feb 25 12:47 .Drafts
drwx--  2 cwilliams it   4096 Feb 25 13:27 .INBOX
drwx--  5 cwilliams it   4096 Feb 25 08:55 .INBOX.ClamAV
drwx--  5 cwilliams it   4096 Feb 25 08:54 .INBOX.Dell.Quotes
drwx--  5 cwilliams it   4096 Feb 25 08:54 .INBOX.Dell.Warranty
drwx--  5 cwilliams it   4096 Feb 25 08:55 .INBOX.IBM
drwx--  5 cwilliams it   4096 Oct  2  2008 .INBOX.Logs
drwx--  5 cwilliams it   4096 Feb 25 08:55 .INBOX.Red Hat
drwx--  5 cwilliams it   4096 Feb 23 09:26 .INBOX.Symantec
drwx--  2 cwilliams it  32768 Feb 25 13:13 new
drwx--  5 cwilliams it   4096 Feb 25 13:25 .Sent
drwx--  5 cwilliams it   4096 Feb 17 08:37 .Spam
-rw---  1 cwilliams it393 Feb 23 10:23 subscriptions
drwx--  2 cwilliams it   4096 Feb 25 13:13 tmp
drwx--  5 cwilliams it   4096 Feb 25 13:22 .Trash

As you can see above there is a .INBOX.Symantec directory and I can
'cd' into it and see all my messages:

/home/cwilliams/Maildir/.INBOX.Symantec
[r...@mail .INBOX.Symantec]# ls -l
total 280
drwx-- 2 cwilliams it  12288 Jan 21 17:39 cur
-rw--- 1 cwilliams it   2352 Jan 21 17:39 dovecot.index
-rw--- 1 cwilliams it 233472 Feb 22 08:17 dovecot.index.cache
-rw--- 1 cwilliams it   8428 Feb 22 08:17 dovecot.index.log
-rw--- 1 cwilliams it 41 Oct 12 09:50 dovecot-keywords
-rw--- 1 cwilliams it   6665 Jan 21 17:39 dovecot-uidlist
drwx-- 2 cwilliams it   4096 Oct  2  2008 new
drwx-- 2 cwilliams it   4096 Jan 21 17:39 tmp

However when I open Thunderbird & Webmail (both use IMAP), I see my
Symantec folder under a 'Drafts' folder. When I try and click on the
Symantec folder as a sub folder in 'Drafts', I get an error:

"The mail server responded:Mailbox doesn't exist: Drafts.Symantec"

So why does it show up there and why can't I see it normally with all
my other IMAP folders under my Inbox. I am confused. Please help!

Thanks!


[Dovecot] Failed IMAP Login Attempts in Logs

2010-01-05 Thread Carlos Williams
I had a user telling me that they can't login to the Postfix email
server via Webmail (RoundCube) and I decided to see if I could locate
this issue in the logs and understand if the user was simply using a
wrong password credential and or something more serious. More than
likely the person is just using a wrong password but in search of this
on my logs, I don't understand why Dovecot doesn't log failed login
attempts. When I attempted to login with a wrong password, I show the
following in my logs:

[r...@mail log]# cat /var/log/maillog | grep 'Jan  5' | grep -i
'dovecot' | grep -i 'carlos'
Jan  5 11:00:13 mail dovecot: imap-login: Disconnected: user=,
method=PLAIN, rip=:::192.168.0.10, lip=:::192.168.0.10

Is there a log level or something I am not searching for that will
allow me to see failed or invalid logins for Dovecot (IMAP)?

Thanks!


Re: [Dovecot] SSL / TLS

2009-07-09 Thread Carlos Williams
Thanks for everyones help. Looks like I have a active and successful
TLS connection between clients and the IMAP server. Now to move on to
getting TLS and Postfix working...

I really appreciate everyones help!


Re: [Dovecot] SSL / TLS

2009-07-09 Thread Carlos Williams
On Thu, Jul 9, 2009 at 11:15 AM, Charles
Marcus wrote:
> Personally, I never enable unencrypted imap port...
>
> Forcing encrypted port (imaps) for everyone really doesn't add anything
> in the way of overhead on modern systems, and I just don't like the idea
> of unencrypted sessions, even on on 'trusted' networks.

What are you saying? Should I remove the imap protocol and just leave imaps?

> protocols = imaps


Re: [Dovecot] SSL / TLS

2009-07-09 Thread Carlos Williams
On Thu, Jul 9, 2009 at 10:51 AM, Carlos Williams wrote:
> When I edit me dovecot.conf file, I uncommented the
> following with the values you see below:
>
>> ssl_cert_file = /etc/ssl/mail.crt
>> ssl_key_file = /etc/ssl/mail.key
>> ssl_listen: 993
>> ssl_key_password: ***
>> ssl_disable = no
>> ssl_parameters_regenerate = 168

When I comment / remove the following parameters from dovecot.conf,
nothing breaks with my Thunderbird client still configured for "TLS":

> ssl_listen: 993
> ssl_disable = no

Both above are now commented   out and I restarted Dovecot and was
wondering what does that mean? Nothing broke and I can still open a
secure connection between my client and the IMAP server. Did I change
any parameters with my TLS connection via Dovecot?


Re: [Dovecot] SSL / TLS

2009-07-09 Thread Carlos Williams
On Thu, Jul 9, 2009 at 10:58 AM, Federico
Nicolelli wrote:
>
> If you want to have all protocols enabled add the following line in your
> dovecot.conf
>
> protocols = pop3 pop3s imap imaps
>
> this will enable "normal" pop3 and imap connections too.

No we don't allow any kind of pop3 access. It's imap4 only. I just
wanted to make sure I enabled the correct port for TLS usage and
everything else looks good.


Re: [Dovecot] SSL / TLS

2009-07-09 Thread Carlos Williams
On Tue, Jun 30, 2009 at 11:02 AM, Steffen
Kaiser wrote:
> We do not use Verisign, so I don't know. However, OpenSSL uses PEM-format as
> does Apache. So I'd guess "Apache" is OK.
>
> Maybe, you find infos regarding PEM format on Verisign pages.

I am downloading my SSL certificate from Verisign.com right now.
Verisign advised me that I need to download the x.509 since I am using
a non-microsoft platform for my SSL certificates. I downloaded the
certificate from the site and pasted it into a file /etc/ssl/mail.crt

I already had a mail.key file which is what I assume to be my private
key I sent to Verisign which they used to create the public key I just
pasted into mail.crt. Now I have mail.crt and mail.key files in my
ssl/ directory. My next question is applying them so Dovecot can use
them for TLS. When I edit me dovecot.conf file, I uncommented the
following with the values you see below:

> ssl_cert_file = /etc/ssl/mail.crt
> ssl_key_file = /etc/ssl/mail.key
> ssl_listen: 993
> ssl_key_password: ***
> ssl_disable = no
> ssl_parameters_regenerate = 168

Now it works fine. I can open up my mail client (Mozilla Thunderbird)
and configure it to use TLS. Now I see a little "pad lock" icon near
my mail account to show it's using security settings.

My question now after it appears to be working, did I configure this
properly for TLS? Users can still log into the IMAP server and get
their mail via plain text or with the SSL certificate. Did I set the
correct port for ssl_listen or is that for SSL only and not TLS?

Comments / Suggestions?


Re: [Dovecot] SSL / TLS

2009-06-30 Thread Carlos Williams
On Tue, Jun 30, 2009 at 10:30 AM, Steffen
Kaiser wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Tue, 30 Jun 2009, Carlos Williams wrote:
>
>> No I do not. I don't even have a /etc/ssl/ direcory on my mail server
>
> hmm, do you have openssl installed at all :) ?
> I had guessed that any openssl package comes with at least a bunch of CA
> certs.

So I have OpenSSL installed. I am creating the SSL certificate to use
for my mail server via
TLS. When I am on Verisign's website, they ask for "Server Platform"
and normally I would
select "Apache" but I don't have "Apache" installed on this machine. I
just want to use this
SSL certificate for TLS authentication and nothing more.

I must determine what option I need to select for "Server Platform"
and then generate a
CSR (Certificate Signing Request) on the Verisign website in order to
get a public key.

Am I doing this all wrong or do I simply need to pick anything under
"Server Platform"?


Re: [Dovecot] SSL / TLS

2009-06-29 Thread Carlos Williams
Thanks everyone who contributed to this message. I am going to use TLS
on my Postfix / Dovecot server and just hope for the best. Now if I
use TLS, is this configured in my Postfix config files or Dovecot
config files?
When TLS occurs and my SSL certificate is used, I am assuming that I
need to add the SSL certificate somewhere in my /etc/dovecot.conf,
correct?

Secondly, as it stands right now. When someone tries to use encryption
- Dovecot uses a generic certificate and I don't know why...

I checked my Dovecot config file and I really don't understand where
and why users who are trying to read the certificate for my server are
seeing the following? Can anyone look at the attachment and tell me
where it's reading this from?

I checked my dovecot.conf and don't see anything that leads to a
generic self signed SSL certificate:

[r...@mail ~]# dovecot -n
# 1.0.7: /etc/dovecot.conf
protocols: imap imaps
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/imap-login
mail_location: maildir:~/Maildir
auth default:
  passdb:
driver: pam
  userdb:
driver: passwd


Re: [Dovecot] SSL / TLS

2009-06-26 Thread Carlos Williams
On Fri, Jun 26, 2009 at 5:46 PM, Michael Orlitzky wrote:
> A typical "TLS" session will work as follows:
>
> 1  The client connects to the IMAP service on port 143, unencrypted.
> 2  The server announces that it speaks TLS.
> 3  The client says "Ok, let's talk encrypted."
> 4  Magic occurs, and the session becomes encrypted. This step is where
>   your "SSL" certificate is used.
> 5  The rest of the session is encrypted.

Thats a great and informative breakdown. I guess I just don't see a
benefit of using either over another.
It would appear that using SSL where the session is assumed before
established to be encrypted rather
than switching to encrypted just saves time. They both appear to do
the same thing. Obviously from what
I read, TLS is newer than SSL but sometimes thats not always a good
thing. I just don't know in this case.
Do you recommend I do one over the other? I don't really have a
requirement here at all yet so that being
said, I would rather someone who has better understand of this tell me
what they would do for a simple
Postfix / Dovecot install on a Linux server.

Any recommendations?


[Dovecot] SSL / TLS

2009-06-26 Thread Carlos Williams
I am running Postfix and Dovecot on my mail server. I am required now
to have SSL/TLS on my mail server. I did check and found out that I
have a SSL certificate with Verisign issued to my mail servers FQDN.
Now my question is when reading the Dovecot Wiki, I noticed it said
that it is not common to use SSL but rather TLS on most mail servers.
Even though SSL will work, which should I use on my server? We already
have a purchased SSL certificate but does that really matter? Should I
simply just revoke that certificate & use TLS instead?

So when I read this link:

http://wiki.dovecot.org/SSL/DovecotConfiguration

Is it talking about a actual SSL certificate or TLS?

Thanks for any clarification!

- Carlos


Re: [Dovecot] Unable To Send Mail

2009-05-05 Thread Carlos Williams
Thanks all. It appears that it is an issue with Thunderbird. Looks
like it's working well. Thanks for the help and pointing me in the
right direction!

- Carlos


Re: [Dovecot] Unable To Send Mail

2009-05-05 Thread Carlos Williams
I think it also helps if you have the output of dovecot -n

***

# 1.0.7: /etc/dovecot.conf
base_dir: /var/run/dovecot/
protocols: imap imaps
listen: *
login_dir: /var/run/dovecot//login
login_executable: /usr/libexec/dovecot/imap-login
mail_location: maildir:~/mail
imap_client_workarounds: delay-newmail outlook-idle netscape-eoh
auth default:
  passdb:
driver: pam
  userdb:
driver: passwd


Re: [Dovecot] Unable To Send Mail

2009-05-05 Thread Carlos Williams
On Tue, May 5, 2009 at 3:27 PM, Seth Mattinen  wrote:
> Dovecot does not speak SMTP to other mail servers, unless you mean "send
> mail" in a different sense than I'm used to.
>
> ~Seth

I mean that I can send (SMPT) via Telnet which Postfix does fine.
However when I configure Thunderbird mail client to use the IMAP
(Dovecot) settings and attempt to compose a new message, the user
(recipient) never receives the message. I am thinking as well as users
of the Postfix list that this issue is related to my Dovecot config
file not being properly set up. I could be wrong...


Re: [Dovecot] Unable To Send Mail

2009-05-05 Thread Carlos Williams
On Tue, May 5, 2009 at 3:21 PM, Seth Mattinen  wrote:
> Try the postfix user list.
>
> http://www.postfix.org/lists.html

I did and was told this appears to be a Dovecot config issues since
the MTA (Postfix) is sending mail just fine via Telnet. What makes you
suggest this to be a MTA issue?


[Dovecot] Unable To Send Mail

2009-05-05 Thread Carlos Williams
I just installed CentOS 5 + Postfix + Dovecot. Now When I send mail
via telnet from one user to another via Postfix (MTA), I have no
problem. The recipient gets the message perfectly. Now this tells me
that Postfix is working fine (I assume) but then I configured Dovecot
to use IMAP4 and then configured my Thunderbird client. Now all the
messages I previously sent using Telnet showed up in Thunderbird Inbox
but then when I attempt to send a message via Thunderbird, the message
appears to send fine however the recipient never gets it and I get no
delivery failrures back of any kind. I check the Postfix (MTA) mail
queue and it shows empty. What is causing this anyone? Does anyone
know why this is not working?

Here is my postconf -n for Postfix (MTA)

[r...@nat home]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
home_mailbox = mail/
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = wtf.com
myhostname = nat.wtf.com
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name
unknown_local_recipient_reject_code = 550



Here is what is 'UNCOMMENTED' in my /etc/dovecot.conf

protocols = imap imaps
mail_location = maildir:~/mail
protocol imap {
imap_client_workarounds = delay-newmail outlook-idle netscape-eoh
}
login_process_size = 64
protocol pop3 {
protocol lda {
protocol lda {
postmaster_address = car...@wtf.com
}
auth default {
mechanisms = plain
passdb pam {
}
userdb passwd {
}
user = root
}
dict {
}
plugin {
}

Anyone know what is causing this problem above? Sending internal email
works fine via Telnet however when I try using my mail client / imap4,
nothing happens.


Re: [Dovecot] Unable To Move IMAP Folder (Dovecot)

2008-10-01 Thread Carlos Williams
On Wed, Oct 1, 2008 at 4:43 PM, pod <[EMAIL PROTECTED]> wrote:
> Maybe you need to subscribe to your new "test" folder from your
> Thunderbird session.

I am not sure I follow. When I am in Thunderbird and I create a new
"subfolder" under my Inbox, it shows up on the emal server as:

/home/user/Maildir/.new_folder

When I do this from the client, I don't think I force my client
(Thunderbird) to subscribe to the folder. When I "cp" the folder from
the server, do I need to force the my client to subscribe?

Thanks for your help!


[Dovecot] Unable To Move IMAP Folder (Dovecot)

2008-10-01 Thread Carlos Williams
I have a user who has a folder in his Maildir/ called "test"

/home/user/Maildir/.test

This folder shows up as a sub folder to his Inbox on his Thunderbird
client and I tried using the "cp" command to move this over to my
Maildir/ directory on the same server and when I launch Thunderbird,
that folder is not visible for me. I made sure permissions are correct
and even reloaded Dovecot.

mail:/home/user/Maildir# cp -R .test/ /home/me/Maildir/

mail:/home/user/Maildir# chown -R me:users .test/

The permissions and ownership seem to be identical to all the folders
I created as subfolders myself but for some reason, I can NOT see
"test/".

Does anyone know what I am doing wrong?


Re: [Dovecot] Sorting Mail

2008-07-07 Thread Carlos Williams
On Mon, Jul 7, 2008 at 4:49 PM, Eduardo M KALINOWSKI
<[EMAIL PROTECTED]> wrote:
> The Dovecot LDA has Sieve filtering support. It can save spam in a different
> folder based on a header added by SpamAssassin.

Is there any docs or information on how I can do something like this?
Any kind of guide for Dovecot?


[Dovecot] Sorting Mail

2008-07-07 Thread Carlos Williams
I was wondering if Dovecot has the ability to sort email scored by
Spamassassin? I know many people use Procmail for sorting but I was
wondering if Dovecot can do the job or should I just use Procmail on
my Linux (Postfix) server to sort email in specific folders?

I have not yet installed Dovecot and or Procmail on the Postfix / Debian server.

I would be installing the latest version avialable in apt-get = 1.0.13.

Thanks for any info!



-- 
Man your battle stations...


[Dovecot] Disable POP

2008-07-07 Thread Carlos Williams
I am running Dovecot and wanted to make sure that to disable POP3
access on the MDA is as simple as removing the POP lines:

protocols = imap imaps pop3 pop3s
imap_listen = *
pop3_listen = *
imaps_listen = *
pop3s_listen = *

Do I need to modify anything else or am I looking in the totally wrong section:

-- 
Man your battle stations...


[Dovecot] Purging Deleted Messages

2008-06-02 Thread Carlos Williams
I noticed today I checked a users mailbox with the mutt command:

mutt -f /home/bob/email/

There I saw he had 100 messages that had been deleted but not yet
purged from his inbox so they're still using up disk storage on my
email server.
My question is does Dovecot have a process to automatically delete
these messages after a certain period of time? I would like to think
that they don't
just sit in a users mailbox for years waiting to be purged, right?
Does anyone know exactly how this works?

I checked my own mailbox using mutt and I see 11 messages that are
deleted from my Thunderbird client but are still on the server (marked
for deletion).

How long do these messages stay there?

-- 
Man your battle stations...


Re: [Dovecot] Upgrade To New Version

2008-05-28 Thread Carlos Williams
On Wed, May 28, 2008 at 8:19 PM, Curtis Maloney <[EMAIL PROTECTED]>
wrote:

>
> I recently upgraded from 0.99.14 to 1.0.13.  A quick run through the
> config file to make sure they matched, and that was it.  Timo's included
> enough support that Dovecot will migrate/update a lot of things for you
> (like subscription files, etc).
>
> It really was less painful than I'd anticipated.
>
> --
> Curtis Maloney
> [EMAIL PROTECTED]
>
>
So are you saying all I have to really do is backup my current 0.99
/etc/dovecot.conf - then install the latest 1.0.13 & then that should be
all?

I read the WIKI link previously suggested and it was very dry and left me
with a lot of questions...


-- 
Man your battle stations...


[Dovecot] Upgrade To New Version

2008-05-28 Thread Carlos Williams
I am currently running Dovecot on DoD production email server (Postfix) and
the latest version the software available from Redhat is
dovecot-0.99.11-8.EL4. According to you guys, this is ancient and I was
wondering what is the safest and easiest way to get my version updated
without breaking it...

Thanks for any help and or points in the right direction...

[EMAIL PROTECTED] ~]# dovecot -n
Usage: dovecot [-F] [-c ]


Re: [Dovecot] Don't Understand Error Entry

2008-05-23 Thread Carlos Williams
On Fri, May 23, 2008 at 4:04 PM, Charles Marcus <[EMAIL PROTECTED]>
wrote:

>
> One word... upgrade. This is ancient.
>
> atrpms.net
>
> Just be *sure* that you read the upgrade docs very carefully, as tnings
> changed in the config...
>
> http://wiki.dovecot.org/Upgrading/1.0
>
> and if you decide to go straight to 1.1 (not a bad idea since it is at rc5
> and release is imminent):
>
> http://wiki.dovecot.org/Upgrading/1.1
>

Thanks for the upgrade suggestion but I would like to think the error is due
to something besides my version just being old. Does the error make sense
and are you saying that if I had the latest version, this would not happen?
-- 
Man your battle stations...


[Dovecot] Don't Understand Error Entry

2008-05-23 Thread Carlos Williams
I am using dovecot-0.99.11-8.EL4 on my system and decided to check the logs
since I just took over as the administrator on this system and I noticed the
same error entry over and over in the logs. I went to /var/log/dovecot.err
and see:

imap(rangry): May 22 13:33:31 Error: Error parsing IMAP envelope: "Thu, 20
Apr 2006 10:10:01 -0400" "Re: Hi there I have a question" (("Rodney Angry"
NIL "rodney.s.angry" "example.com")) (("Rodney Angry" NIL "rodney.s.angry" "
example.com")) ((NIL NIL "rodney.s.angry" "example.com")) (("Gryder, Connie"
NIL "CONSTANCE.L.GRYDER" "example.com")) NIL NIL "<
[EMAIL PROTECTED]>" NIL

I don't understand what this error message means and why its flooding my
logs. I do know the that the name in parenthesis on line one is a user on my
email server.  is a user on my domain with a valid email account but
I can't tell if the problem is coming from example.com or originating from
.

Anyone happen to know what is causing this? I don't know if you guys need my
config here so I don't want to flood this message. If this makes sense to
anyone, please let me know what I can do to resolve this or keep this from
flooding my email server.

Thanks!