Re: [Dovecot] Configuring mbox and maildir formats - dovecot-1.2.15

2011-10-27 Thread Scott Silva

on 10/27/2011 12:52 PM Albert E. Whale spake the following:

I am transitioning an existing server from using exclusively mbox, to being
able to support both mbox and then fully maildir formats.

I need to support the mbox format until I can get everyone switched over to
maildir.

What do I need to to use in the config of /etc/dovecot.conf to support the
default of mbox, and then the new Maildir format (users will get upgraded
individually from mbox to Maildir, and need to be upgraded).

Thank you.


When I did it, the automatic detection seemed to work OK. The only problem I 
had was because I used procmail for delivery. I had to have a custom 
procmailrc for each user as I did their migration. For each user, when you 
finish their migration, you have to rename their ~/mail folder to not show 
dupes. In my case as soon as there was a ~/Maildir folder, dovecot started 
using it and made new indexes.




Re: [Dovecot] Broken system.

2007-11-21 Thread Scott Silva

on 11/21/2007 5:06 AM Marcelo Iturbe spake the following:

Hello,
I had an Inbox with 975,604 emails on ext3 filesystem.
I keept getting dropped on the comand "copy 1:2000 inbox2", the syslog gave
me an error message indicating "out of memory" problems.
This despite the fact that the server has 800MB of ram free.

Anyways, I asked if I could manuanlly move the files at the filesystem level
or if that would mess up dovecot (break the GUIDs etc).
I was informed that dovecot does not use GUIDs and that I could go ahead and
move the emails at the shell level.

So I did that, now the /cur folder only has 40,000 emails, but when I
connect to the account via telnet, I still get the following:

telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK Dovecot ready.
110 login somelameuser somelamepass
110 OK Logged in.
111 select inbox
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags
permitted.
* 975604 EXISTS
* 0 RECENT
* OK [UNSEEN 1] First unseen.
* OK [UIDVALIDITY 118842] UIDs valid
* OK [UIDNEXT 979500] Predicted next UID
111 OK [READ-WRITE] Select completed.

So even though there are only 40,000 emails in /cur, dovecot still thinks
that there are 9756304 emails.

How can I fix this?

Thanks
Marcelo


Did you try and move/remove index files?


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



Re: [Dovecot] Re-download emails from pop3 server

2007-11-21 Thread Scott Silva

on 11/21/2007 7:07 AM Evaggelos Balaskas spake the following:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

i use dovecot-1.0.7 for pop3 & imap and virtual users (via text)
without any problem.

But when my thunderbird is setup not to delete from server (pop3)
every time i do get i redownload all my emails from the server.

Can anybody advice ?

What do you have for pop3_uidl_format?
I have %08Xu%08Xv and don't seem to have the problem unless someone accesses 
the same pop3 box with both Outlook and Outlook Express.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



Re: [Dovecot] Embracing .99

2007-11-26 Thread Scott Silva
on 11/26/2007 2:19 PM Joe Allesi -X (joallesi - Coyote Creek Consulting at 
Cisco) spake the following:

We're stuck on RHEL 4.x, so we're currently working on a plan to live in
harmony with .99 for another year or so. With that said, the plan is
below. Let me know if you have any other recommendations.

[ ]Convert to high-performance mode vice high-security to reduce overall
resource usage.
[ ]Implement iptables throttling for new connections to prevent denials
of service.
[ ]Covert from mbox to maildir to help reduce the likelihood of
corruption that lead to mailbox outages.

As our overall individual mailbox usage is low, maildir seems to be a
good option as mbox corruption has severely impacted a few of our
high-profile applications. However, does anyone know of a sane method to
use maildir on RHEL 4.x without switching over to Postfix?

Thanks!

You are not necessarily stuck with .99. You can upgrade dovecot and you only 
lose support on Dovecot issues. You can use maildir easily with sendmail also, 
as procmail in 4x supports it. You just have to create a procmailrc in /etc 
like below;

http://linuxmafia.com/faq/Mail/procmail-maildir.html


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



Re: [Dovecot] spf record

2007-11-28 Thread Scott Silva

11/28/2007 7:17 AM Jim Flowers spake the following:

Your spf record is broken:

dovecot.org.39942   IN  TXT "v=spf1 a -all"

--
Jim Flowers <[EMAIL PROTECTED]>



Checking to see if there is a valid SPF record.

Found v=spf1 record for dovecot.org
v=spf1 a -all

evaluating...
SPF record passed validation test with pySPF (Python SPF library)!on

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



Re: [Dovecot] spf record

2007-11-28 Thread Scott Silva

on 11/28/2007 10:46 AM Matt spake the following:

But as a matter of fact, I got corrected. The major problem with even
scoring is that the only things spammers have to do (and they really do
it!) is to register some new domain, enter valid SPF records for it and
then their scoring might even improve.


DKIM and domainkeys are really no better in that respect.  Spammers
typically do not go through that much effort though.

Matt


I do see some benefit, at least for us.
We get a lot of mail from a bank, but I cannot whitelist the bank by domain, 
because of phishing. So I either have to write some custom rules and 
experiment, whitelist each individuals address as they hit, or validate their 
domainkey and bump any scores back down enough to clear the filters. I think I 
will look at enabling the dkim plugin in spamassassin and see what happens.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



Re: [Dovecot] spf record

2007-11-28 Thread Scott Silva

on 11/28/2007 10:08 AM Udo Rader spake the following:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Rick Romero wrote:

On Nov 28, 2007, at 11:26 AM, Dean Brooks wrote:


On Wed, Nov 28, 2007 at 11:06:40AM -0600, Matt wrote:

Your spf record is broken:

dovecot.org.39942   IN  TXT "v=spf1 a -all"

Care to tell also why? dovecot.org's mails are sent from the same IP as
its A record.

Hmmm.  I would have listed mx as well but thats just me.  But just
listing a is likely better in that there are less lookups for the
receiving system.

One thing that bugs me is why we must now implement domainkeys on top
of SPF.  SPF pretty much does everything domainkeys does but simpler.

Because SPF is a broken hack that doesn't properly accomodate the
forwarding of email without the use of other complicating hacks
such as SRS which mangle the sender address.

SPF should have been scrapped years ago.  Instead, most large
organizations use "?all" in their SPF entry (typically because of the
forwarding problem), putting SPF in advisory mode which negates the
whole purpose of having it anyway.

I disagree.
The only way you should be using SPF on the receiving end is as an
additional weight for spam scoring.


Some time ago there was a similar discussion on the postfix ML and I had
pretty much the same arguments that you had.

But as a matter of fact, I got corrected. The major problem with even
scoring is that the only things spammers have to do (and they really do
it!) is to register some new domain, enter valid SPF records for it and
then their scoring might even improve.
That is why you don't score on pass, but incremental score on fails. That way 
a fail will bump the score a bit, but a pass won't negate the other hits.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



Re: [Dovecot] SPAM: Re: spf record

2007-11-28 Thread Scott Silva

on 11/28/2007 10:49 AM jflowers spake the following:

I may be sorry I brought this up.  There's nothing wrong with your TXT record.
 This server acts as a virus/spam processor for mail relayed from a legacy
server (for historical reasons).   It filters with MailScanner/SpamAssassin. 
Looking through the SpamAssassin debug code, it checks my relay as the

'Envelope-from' and fails on -all.  Although the information is there, the
SpamAssassin plugin isn't sophisticated enough to trace it back to the
originating server.


Look at trusted_relays in spamassassin.
http://wiki.apache.org/spamassassin/TrustedRelays



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



Re: [Dovecot] Dovecot Antispam Problem (Using mail sending backend)

2007-12-12 Thread Scott Silva

on 12/12/2007 6:52 AM Justin Refice spake the following:

Jim-

Thanks for the advice, but that didn't quite work.  It's worth noting that
if I call sendmail manually, the message goes through w/o a problem.  It
only seems to be when the antispam plugin calls sendmail that we run into a
problem...

-J

On 12/10/07, Jim Horner <[EMAIL PROTECTED]> wrote:

On Monday 10 December 2007 15:10:05 Justin Refice wrote:

And that's it.  I never hear from the plugin again, regardless of how
many times I create/delete the SPAM folder, or how many times I

move/copy

into/out of the folder.  The plugin is basically silent.
  I don't see the mails being sent/recieved, so I'm assuming that's it
isn't doing anything at all.

I can manually use the training addresses, so I know they're working.
Any help would be appreciated.


I do not know if this will help you or not but for some reason I could not
use
sendmail. The training emails looped forever. My setup is probably weird
but
I was able to get around the problem by using mailx:

antispam_mail_spam = spam-%u
antispam_mail_notspam = notspam-%u
#antispam_mail_sendmail = /usr/sbin/sendmail
antispam_mail_sendmail = /usr/bin/mailx




does the anti-spam plugin run as a non-root user?
Or dovecot?
Maybe you need to add that user to trusted users in sendmail. It works from 
commandline because root is already a trusted user.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



Re: [Dovecot] Dovecot Antispam Problem (Using mail sending backend)

2007-12-12 Thread Scott Silva

on 12/12/2007 9:18 AM Johannes Berg spake the following:

does the anti-spam plugin run as a non-root user?


yes, it always runs as the user you're logged in as.


Or dovecot?


Mostly not.

Maybe you need to add that user to trusted users in sendmail. It works from 
commandline because root is already a trusted user.


Interesting, my exim's sendmail works for all users.

johannes
Actual sendmail only lets the trusted users send mail with a different "from" 
than the user running the command. So if user "x" is trying to send something 
but trying to say it is from user "y" (maybe postmaster), sendmail won't allow 
it unless user "x" is in trusted users.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



Re: [Dovecot] Dovecot 1.08 seems very slow

2007-12-12 Thread Scott Silva

on 12/12/2007 8:43 AM Marc Perkel spake the following:
I know I'm late reporting this but 1.08 seems really slow. It seems like 
it is as slow as some of the early RCs were. Wish I had more info. Using 
Maildir format.




1.09 just came out, some errors under load crept in.

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



Re: [Dovecot] Indexes

2007-12-31 Thread Scott Silva

on 12/31/2007 10:54 AM Daniel L. Miller spake the following:
When something "bad" happens to the indexes, my e-mail client 
(Thunderbird) reports an "unable to succeed" error on opening a 
mailbox.  Leaving that mailbox and coming back works fine.  Is this 
expected behaviour?


You need to at least include which version of dovecot you are using, as there 
are some very old versions in use on some linux distros.

It could be thunderbird timing out as the indexes get rebuilt.

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



Re: [Dovecot] dovecot upgrade

2008-01-08 Thread Scott Silva

on 1/8/2008 9:58 AM Paul A spake the following:

Hi, I'm currently using Dovecot version 1.0 and I want to update it to the
latest version. I know from version .99 to version 1.0 I had to change a few
things on the dovecot config.

When compiling the latest stable version should I just be able to use the
same config I'm using for version 1.0 without making any changes ?




The dovecot wiki has a page on migrating versions;
http://wiki.dovecot.org/Upgrading?action=show&redirect=UpgradingDovecot
but doesn't seem to have anything on 1.0.x to 1.0.y, so you are probably safe.

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



Re: [Dovecot] Please help me resolve why mail isn't being delivered to virtual users

2008-01-10 Thread Scott Silva

on 1/9/2008 3:02 PM Andrew Falanga spake the following:

On Jan 9, 2008 3:24 PM, Pascal Volk <[EMAIL PROTECTED]>
wrote:


Am 09.01.2008 22:51 schrieb Asheesh Laroia:

As they say, I have been schooled. (-:

My apologies - I wasn't aware of these "virtual user with a UID" setups.
I was only aware of the "virtual users all share a UID" setup like the
thread starter described.

What should I say? The Dovecot wiki  is very
informative. :-)



Very informative yes, but at the same time it seems to make the same mistake
all people make when writing documentation.  There are many assumptions made
that a lot of fundamental knowledge of how mail works is known to the
reader.  For example, the term "mbox" is simply used.  It's not really
described anywhere (admittedly, that I could find) what mbox is.  It took
much looking, and in fact one respondent to my question, a week ago, about
what mbox and MAILDIR were, didn't respond with a dovecot wiki page but
instead a wikipedia page.  This really shouldn't be.  This is only meant as
constructive criticism, I'm not trying to be condemning here.

Andy

Anybody setting up something like a mailserver should HAVE the basic knowledge 
of these things. If you don't know the basics of how e-mail works, you should 
have someone else set up your system. It is too easy to mis-configure a mail 
server and have an open relay or a botted system.




--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



Re: [Dovecot] Is there a way to limit multiple POP3 connections?

2008-01-10 Thread Scott Silva

on 1/10/2008 8:37 AM Charles Marcus spake the following:

On 1/10/2008, arvids ([EMAIL PROTECTED]) wrote:
I updated http://wiki.dovecot.org/POP3Server. See maildir performance 
and session locking.


so according to this for POP3-only setups and v1.1 it is better to 
disable index files completely? Are there any drawbacks of disabling

index files for POP3-only setups?


Thats not exactly what it says...

It says IF your users don't keep messages on the server (this has always 
been fairly unreliable with POP as far as my experience goes anyway) 
then you may want to disable them completely or use the 
mbox_min_index_size setting.


Maybe you should read it again... I know I often end up having to read 
these things many times before I can get my head around them - not 
because they are badly written, but because my head has a very strange 
shape and doesn't mold itself well to other shapes... ;).



Then you are not banging it hard enough on the other shape! ;-P


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



Re: [Dovecot] Please help me resolve why mail isn't being delivered to virtual users

2008-01-10 Thread Scott Silva

on 1/10/2008 10:37 AM Brian T Glenn spake the following:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Jan 10, 2008 at 10:26:05AM -0700, Andrew Falanga may have written:

In an ideal world, perhaps, no one would setup a mail server unless they
knew how to.  The trouble is, this position doesn't take into account that
we *DON'T* live in an ideal world.  In our world, to know how to do
something means you've got to set it up.  But to set it up, you've got to be
familiar with it, but to be familiar with it, you've got to set it up.


I think that is what testing and lab enviroments are meant to 
accomplish. The Dovecot Wiki is for information about dovecot. It isn't 
for people to paste the results of Google searches you think would be 
helpful. Is it really that foreign of a concept to encounter a term you 
are not familiar with, copy it into your clipboard, and paste it into 
Google? I thought that was half of being successful at IT?



I had written something similar, but decided not to send it.
My employer pays me fairly well for what I do, and they expect a certain 
amount of either knowledge, or willingness to obtain that knowledge.
I don't expect to find that info in one book, or even 100 books, but it is 
there and most is free for the taking. But if you don't know how to do 
something, you either take the time to learn or pay someone else who did.
No one is born with this stuff. There isn't a great cosmic knowledgebase that 
you can channel into to get this, you have to spend some time learning.


Knowledge is like a pyramid. You have to lay the base before you can add 
levels. And every level depends on the strength of the level below it. You can 
try to build one from the top, but it won't work very well.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



Re: [Dovecot] Please help me resolve why mail isn't being delivered to virtual users

2008-01-10 Thread Scott Silva

on 1/10/2008 1:20 PM Evaggelos Balaskas spake the following:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I don't understand why people always want something more :D


Can you expand on that?  ;-P


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



Re: [Dovecot] Please help me resolve why mail isn't being delivered to virtual users

2008-01-11 Thread Scott Silva

on 1/11/2008 10:43 AM Andrew Falanga spake the following:

Hi everybody,

There are a few things that I think I need to explain.  Far too many people
gave me feedback after my remarks about the dovecot wiki for me to answer
all individually.  At first, I must admit to some prideful need to lash back
for not being understood.  This however, would be totally inappropriate and
completely worthless.  Now, hopefully, I can articulate my thoughts without
sounding prideful and egotistical (very hard to do without the added benefit
of inflection when talking face to face).

My original statement that sparked this lengthy thread now was really born
out of nothing more than my observation of documentation after working five
years at HP as a programmer (not as an HP employee though).  I have seen,
even from my own efforts of writing more documentation than I care to admit
to, that inevitably there are things that become so common place to the
person writing the doc that they don't even realize they are fundamental to
understanding how things work.

Unfortunately, I used as an example, mbox and MAILDIR to make my point.
Perhaps this was a bad choice because I felt this same frustration in
reading other areas of the wiki.  It wasn't that the information was bad, or
unusable.  I just had questions about how it all fit together for dovecot,
and couldn't find the answers on the dovecot site.  I don't think it's
unreasonable to ask that a particular software program explain how it's
pieces fit together, or how it (the software program) is supposed to work
with other pieces it makes use of but doesn't directly control.

Now, here comes the other problem.  I was in a crunch.  The church e-mail
system had died, and a replacement was needed ASAP.  Originally, I should
have had more than adequate time to find my answers.  Normally, I do spend
much more time trying to find the answers myself.  (At this point, I can
only ask you to believe that.)  I learned a painful lesson in this several
years ago while learning OpenBSD.  I learned that I really did expect folks
to take me by the hand and walk me through.  It's something that I've worked
hard to overcome, and sometimes still struggle with.

I'm sorry that I reverted, to some degree, to this tendency with this whole
dovecot endeavor.

I do have more than a rudimentary understanding of how mail works.  After
all, I didn't ask everyone to explain IMAP, POP or SMTP to me.  Nor did I
ask for an explanation for SSL/TLS or other things.  Further, I didn't ask
any questions here for how to make sendmail do SMTP authentication.  Coming
into this, I knew that SMTP was the MTA, things like sendmail and postfix
did this, while other programs, e.g. dovecot; allow users to login and get
mail from the server.  An interesting thing for me to ask myself is, "Why
did I look up postfix on google, but not mbox?"  I didn't know what postfix
was and did look that up on Google.  When trying to get things working, I
was assuming that mbox and maildir was something dovecot implemented itself,
not a standard of sorts that dovecot implemented from a standards outline.
That's why I thought it strange dovecot didn't define what they did.
(Perhaps even why it didn't dawn on me to Google the term.)  I must also
mention that another respondent did give me a link in the dovecot wiki to an
explanation of mbox and so on.  I missed that one when doing my research.

In short, I'm sorry that I gave the impression that I assumed dovecot
developers and documentation writers should explain every little detail to
me.  I do not think this, nor was I trying to persuade others that I did
think this way.  My remark about a disclaimer was taken to an extreme I did
not intend.  I do think disclaimers on every page is excessive is
ridiculous.

In the future, I shall endeavor to look more heavily for the answers before
posting, or at least before assuming that no one on this list is willing to
help.  Thank you to all for the help given.

Andy


Apologies back to you.
You unfortunately seemed to look like the ever increasing group of people that 
have been hitting the lists (at least the 7 or 8 I read) asking very basic 
questions and wanting someone to give them a complete cover to cover install 
guide, write and test their config files, and be available for whatever 
problems that might come up( Maybe a little exaggerated, but it has seemed to 
get that bad some days). All the while they don't want or are unable to do the 
basic admin tasks. Sorry again to lump you into that group.


In a crunch like that, why not grab one of the pre-built gateway distros like 
clarkconnect or sme server. Sure they aren't perfect for everybody, but you 
can get them up and accepting mail in less than an hour or two. I always keep 
a cd or two of them for an emergency. I like clark connect, but its free 
version is limited to 10 e-mail accounts. The negative to me on sme server is 
it's use of qmail as MTA. But they are complete, and quick to

Re: [Dovecot] New server error

2008-01-24 Thread Scott Silva

on 1/24/2008 10:47 AM Anne Wilson spake the following:

On Thursday 24 January 2008 18:23:49 Asheesh Laroia wrote:

On Thu, 24 Jan 2008, Anne Wilson wrote:

I'm setting up a replacement mail server on a CentOS 5.1 box.  The
dovecot version is 1.0.rc15.  'dovecot -n' returns

Can you try upgrading to a more recent Dovecot?  1.0.10 is the current
stable release.

I'm new to CentOS and still finding my way around.  It isn't being offered as 
an upgrade, but perhaps an FC6 package might work.   I'll see what I can find 
out. 


Anne



Try the atrpms repo.
http://www.atrpms.net/dist/el5/dovecot/


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] New server error

2008-01-24 Thread Scott Silva

on 1/24/2008 11:12 AM Anne Wilson spake the following:

On Thursday 24 January 2008 19:00:23 Timo Sirainen wrote:

On Thu, 2008-01-24 at 18:47 +, Anne Wilson wrote:

On Thursday 24 January 2008 18:23:49 Asheesh Laroia wrote:

On Thu, 24 Jan 2008, Anne Wilson wrote:

I'm setting up a replacement mail server on a CentOS 5.1 box.  The
dovecot version is 1.0.rc15.  'dovecot -n' returns

Can you try upgrading to a more recent Dovecot?  1.0.10 is the current
stable release.

I'm new to CentOS and still finding my way around.  It isn't being
offered as an upgrade, but perhaps an FC6 package might work.   I'll see
what I can find out.

Packages in http://atrpms.net/dist/el5/dovecot/ work for CentOS 5.


Hmm - I have some packages from rpmforge.  IIRC I had problems in FC6 with 
atrpms conflicting with other repos.  I wonder whether it is safe to use 
rpmforge and atrpms at the same time?  I do remember Axel saying that he was 
working to try to improve the situation.


Anne

You can either leave the repo disabled and only enable it for certain packages

"yum --enablerepo=atrpms-testing update dovecot"
Or just download the rpm from the website and "rpm -Uvh"

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] dovecot + antispam + sendmail

2008-01-24 Thread Scott Silva

on 1/24/2008 4:14 PM Anil spake the following:

Whats a good antispam solution?
I am using sendmail and dovecot 1.1. I came across dovecot's antispam
plugin, but it seems it does not support 1.1 yet. I am also looking
for something non-perl based.

I am already doing some greylisting with sendmail milter.

Any other good suggestions? If not, I guess I might have to downgrade
back to 1.0 dovecot.

Thanks

MailScanner is great! But it is for stopping spam BEFORE it gets to the point 
that dovecot would need to handle it.


Dealing with spam at dovecot's level is sort of like locking the barn after 
the horse is gone.

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Thunderbird Problem - What causes this?

2008-01-27 Thread Scott Silva

on 1/27/2008 2:40 PM Marc Perkel spake the following:



Anne Wilson wrote:

On Sunday 27 January 2008 20:49:42 Anne Wilson wrote:
 

On Sunday 27 January 2008 15:41:04 Marc Perkel wrote:
   

Strange problem and I'm not sure what's causing it. I'm using IMAP. A
new message arives in the inbox. I see it displayed in the message list
in bold. I click on the message and it looks like it's reading it by 
the

previous message that was in the window remains and the new message is
still bold (unread). However I can then click on an old message and 
then

click on the new message again and it reads.
  
I have reported the same behaviour in KMail over Dovecot - and 
someone else

also reported it.  That seems to suggest that it's a Dovecot problem.


I should have said that I reported it on the kde-pim list, as I 
thought it was a Konntact problem.  I classed it as a minor annoyance, 
and didn't follow it up when no-one seemed to know why it was happening.


Anne


  


OK - I didn't know that I might be reporting something new. Here's some 
more details. I leave my computer on at might (Windows XP) and it's 
worse in the morning when I wake up. Thunderbird's checks the email 
every 1 minute and it's set up to check several IMAP folders. I'm 
running the latest Thunderbird release as will as the latest Dovecot 
(not the beta versions).
Hammering the server every minute can be hard on the server. Especially if all 
the users do the same. I personally make users check no more than every 10 
minutes automatically.




In the morning it is as if it can't access dovecot at all. I get an hour 
glass as if it is waiting for something that's never going to respond. 
But if I shut down Thunderbird and restart it then everything works 
normal for a while.
I use Xp and also leave it on all the time. Sometimes Thunderbird will seem to 
run out of memor, and a restart is the only thing that will help. But in my 
case it isn't dovecot because I can still read my mail from other clients and 
other machines.




My server is doing a lot of work but the load levels are low. Running 
Fedora 8, dual core AMD 6000+ processor with 8 gigs of ram.


My experimenting with adding more authentication processes seems to help 
but I could be fooling myself. That's why I'm experimenting to try to 
figure out what's making it slow.


Trimming the accesses down from every minute should help this also.




Like someone else said, I saw something like this happen with several 
RCs but at the time I thought it was MBOX related. I'm not using Maildir.


Hope this extra info helps.





--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Follow-up re: gcc 2.96 - Re: PATCH: compile dovecot-1.1.beta14 with gcc 2.95

2008-02-27 Thread Scott Silva

on 2/27/2008 2:06 PM Sven Anderson spake the following:


Am 27.02.2008 um 15:31 schrieb Timo Sirainen:


Why are you people still using so old gcc versions? I guess I could 
accept a patch something like:


I'm using an old custom-made vserver system, and it's running fine, so 
why spend a lot of time to migrate to a newer distribution?


Sven


It's running fine until it gets rooted/compromised. Then what do you do?



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Follow-up re: gcc 2.96 - Re: PATCH: compile dovecot-1.1.beta14 with gcc 2.95

2008-02-27 Thread Scott Silva

on 2/27/2008 1:46 PM Kevin A. McGrail spake the following:
Well, for me, it's a vast number of boxes deployed and often maintained 
by others that are running stabling for 8+ years making the nuance of 
upgrading to a newer version of GCC fairly mute from a lay persons 
perspective. Seriously, how can you argue with a non-technical user that 
their box installed in 2001 has a "problem" when everything is working 
"fine"?


How much longer can a system be expected to run? 8+ years at 24/7 is about a 
half a million hours. Drives are getting old and expensive to replace. 
Processors are probably slow. Energy use is high. Motherboard capacitors are 
probably drying up. The systems are past a safe point and are getting closer 
to the "great e-waste pile in the sky".


And why would someone install the same old OS on new hardware, and would it 
support it.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] mbox to maildir conversion does not work

2008-02-28 Thread Scott Silva

on 2-28-2008 10:02 AM Scott Bruce spake the following:

Hello,

I have got it working using
convert_mail = mbox:~/mail:INBOX=/var/mail/%u
and it converts fine to maildir.

The one problem that I am having now is that client downloads some of
the emails again, after conversion.

Let me described the situation,
I'm trying to migrate from qpopper pop3 to dovecot pop3, which works 
with  no problems, using the 'pop3_reuse_xuidl = yes' setting. And
'mail_location = mbox:~/mail:INBOX=/var/mail/%u'. At this point no email 
is downloaded twice.


But when I go to convert the /var/mail/%u to /var/imap/%u/.imap/, using
the convert mail plugin, only the mail the has been delivered once 
before using the dovecot pop3 deamon is been sent again, not the email 
that was set using the qpopper deamon. All of the mail is being converted.


Do you know why this would be?

What it looks like I will be doing is going strait from qpopper to 
dovecot converting to maildir, but I was hoping to use dovecot with the 
mboxs as an intermittent stage.


Thank you again for your time,
Scott
You might need to set dovecot to use the qpopper UIDL format, it you can find 
what it is.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] EXPUNGE delay

2008-02-28 Thread Scott Silva

on 2-28-2008 1:53 PM Eugene spake the following:

Hi people!

I just switched one of my servers from Courier to Dovecot. Planned to do it
anyway but had to do it faster after the discovery that courier [the 
version

I had installed, at least] returns malformed headers for a few messages,
causing Outlook Express to completely ignore them. Curiously, they were
visible in Squirrelmail and Nokia Series60 e-mail client.

Overal I am quite happy but have one little problem. More often than not, I
have to press 'Purge' button two or more times in order to actually remove
the deleted messages. The fragment of Outlook's IMAP log is below. 
Interestingly, Dovecot 1.0.7 (on another server) does not have such 
problem.


Are you sure that they weren't removed the first time but Outlook didn't 
refresh its header listing?


I have seen outlook take its sweet time in updating its header listings with 
IMAP. I never thought that its support for IMAP could be worse than its 
support for POP3.


I have to deal with it just because of the varied users I support, so I have 
Outlook, outlook express and thunderbird all configured to see my message 
store just for experimentations sake. But I use thunderbird daily.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Follow-up re: gcc 2.96 - Re: PATCH: compile dovecot-1.1.beta14 with gcc 2.95

2008-02-29 Thread Scott Silva

on 2-29-2008 2:36 AM Stephen Usher spake the following:

Scott Silva wrote:
How much longer can a system be expected to run? 8+ years at 24/7 is 
about a half a million hours. Drives are getting old and expensive to 
replace. Processors are probably slow. Energy use is high. Motherboard 
capacitors are probably drying up. The systems are past a safe point 
and are getting closer to the "great e-waste pile in the sky".


I retired a 13 year old DEC AlphaStation 5/266 yesterday... Legacy 
systems are still doing useful things. You just have to make sure that 
they're isolated from the outside as they can't be patched or upgraded. 
(e.g. newer versions of OpenSSH won't compile under Digital UNIX 4.2C)


Steve

P.S. For the record, the DEC box has only ever needed to be shut down 
for power outages and (in its early life) OS upgrades. It ran 24/7 and 
never had a hardware fault (and still doesn't). Now that's reliable 
hardware!

True,
but just because it hasn't failed in 13 years doesn't mean that it wont fail 
tomorrow. Or next week. Everything wears out sooner or later. I don't feel 
right using a server for critical systems for more than 5 years. I usually 
will warranty them to that age, and then move them on.


The servers that used to handle our e-mail needs a few years ago are now 
terabyte backup targets. A new raid controller and some new drives, and the 
critical part of them is as good as new. If a MB or power supply dies I can 
move the drive cage to another system and get to the data in less than an hour.



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] links causing dovecot endless search through user's homedirs

2008-02-29 Thread Scott Silva

on 2-29-2008 10:24 AM John Gray spake the following:

Timo Sirainen wrote:

On Fri, 2008-02-29 at 12:19 -0500, Paul Letta wrote:

 

Since I can't get a hold of my users and make them all put their imap
folders in /home/username/mail and configure dovecot to just search
there...



Couldn't you do this automatically? Move all files that look like mboxes
to mail/ directory.

  
If somebody has a nice tool moving everything that looks like a mbox to 
the mail directory, I'd sure love it have it.


I've been toying with this for some time.

John

I think most mbox files would start with "From " or the UWimap header if they 
were converted.

You could also parse the users .subscriptions file and move what is in it.



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] User Unknown Sendmail Error

2008-03-04 Thread Scott Silva

on 3-4-2008 4:22 PM Paul Roberts spake the following:
Sorry I wasn't clearer...when I send mail to that user from an external 
account (in this case my gmail account) I get the "user unknown" error 
from sendmail.


-Paul


Still not a dovecot issue. It is your MTA that is at fault, or its 
configuration.

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Problem with Thunderbird hang, multiple retry to .Sent/.Draft

2008-03-05 Thread Scott Silva

on 3-4-2008 6:17 PM Charles Marcus spake the following:

On 3/4/2008 tlum wrote:
dovecot --version = 1.0.rc15 




Upgrade, upgrade, upgrade...

I need to make a template to make this easier...




I think it needs to be added to each message by the list software.
Something like;

" If you are not running a current version of Dovecot, please try upgrading. 
The version included with your Distro may not be the most current, and could 
be over a year old. Please see www.dovecot.org for more info."



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] IMAP storage - mail_location = maildir:~/Maildir:mbox:~/mail/

2008-03-11 Thread Scott Silva

on 3-10-2008 6:09 PM Tim Alberts spake the following:
I'm moving to IMAP and trying to understand all the details of where to 
save email.  The system is CentOS running sendmail - procmail which 
delivers as:


DEFAULT=$HOME/Maildir/

I'm trying also to use Usermin as the webmail client.  I can get mail to 
deliver to $HOME/Maildir/ and I can get clients (thunderbird outlook 
etc) to view them.  However Usermin seems stuck with saving 'Drafts' 
'Sent' and 'Trash' in $HOME/mail/ as mbox and Dovecot won't find them 
even when I use the setting:


maildir:~/Maildir:mbox:~/mail/

I don't know what exact question to ask to I'll just ask for any 
thoughts on this?


Second question, different topic.  Are there problems with running POP3 
and IMAP?  I've always run POP3 and I'm thinking to move to IMAP for 
some clients so the Usermin webmail will be better 'synchronized' with 
the users inbox.


Do you have usermin set to access mail by IMAP or the default of accessing the 
mail directly on the filesystem?


On your second question, I run bothPOP3 and IMAP on the server. Some people 
with light traffic just want to get the mail to their PC, and other users want 
IMAP so they can work with their mail from multiple locations and computers.



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] IMAP storage - mail_location = maildir:~/Maildir:mbox:~/mail/

2008-03-12 Thread Scott Silva

on 3-12-2008 11:07 AM Tim Alberts spake the following:



Scott Silva wrote:

on 3-10-2008 6:09 PM Tim Alberts spake the following:
I'm moving to IMAP and trying to understand all the details of where 
to save email.  The system is CentOS running sendmail - procmail 
which delivers as:


DEFAULT=$HOME/Maildir/

I'm trying also to use Usermin as the webmail client.  I can get mail 
to deliver to $HOME/Maildir/ and I can get clients (thunderbird 
outlook etc) to view them.  However Usermin seems stuck with saving 
'Drafts' 'Sent' and 'Trash' in $HOME/mail/ as mbox and Dovecot won't 
find them even when I use the setting:


maildir:~/Maildir:mbox:~/mail/

I don't know what exact question to ask to I'll just ask for any 
thoughts on this?


Second question, different topic.  Are there problems with running 
POP3 and IMAP?  I've always run POP3 and I'm thinking to move to IMAP 
for some clients so the Usermin webmail will be better 'synchronized' 
with the users inbox.


Do you have usermin set to access mail by IMAP or the default of 
accessing the mail directly on the filesystem?


I did have Usermin configured to read directly.  I have changed this so 
Usermin goes through the local IMAP server (dovecot) and Usermin seems 
to be working much better with the mail.


However, I have a new problem...

I've changed my mail location back to mbox as follows:

mail_location: mbox:~/mail/:INBOX=/var/mail/%u

This is working great with two exceptions.

First, using mozilla thunderbird as a client, I can create folders, but 
I can't create sub-folders.  Why might this be?

How are you trying to create the folders?
With mbox you have to create the folders with a trailing slash "foldername/".
You can only have either a folder or another mbox, but you can't have both.


Second, I have Usermin configured to save a copy of sent mail in a 
folder 'Sent'. mozilla thunderbird is doing this OK, but Usermin is 
not.  It gives me the following error on the web interface:






 Failed to send mail : Failed to set IMAP flags : Error in IMAP
 command UID: Invalid arguments.
I never thought usermin as a webmail client was very good anyway. It seemed as 
more of a kludge then polished software, especially when accessing mail by IMAP.






Checking through the logs, I don't see any other errors so I'm having 
trouble find out why?  The email does get delivered, but no copy is saved.






On your second question, I run bothPOP3 and IMAP on the server. Some 
people with light traffic just want to get the mail to their PC, and 
other users want IMAP so they can work with their mail from multiple 
locations and computers.


That's exactly what I'm going for.  Good to hear I can expect it to work 
fine.




I still have problems with outlook on pop3, especially if the mail is left on 
the server and also accessed with another MUA like outlook express -- don't 
ask -- stupid PHB decision -- but I haven't had other problems. I have 
Thunderbird as my MUA of choice, but also have both outlook and outlook 
express accessing my IMAP store occasionally for testing and debugging 
purposes. I'm also testing several webmail softwares on the same mail store 
and I haven't seen any gotchas.



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Help! OT: Blackberry IMAP client suggestions/experience needed

2008-03-13 Thread Scott Silva

on 3-13-2008 11:14 AM Knute Johnson spake the following:

so far:
LogicMail...V0.4.0 (not even V1.x, but O.x...is this beta?)
http://www.logicprobe.org/proj/logicmail
http://www.berryreview.com/2007/10/30/faq-alternative-3rd-party-email-applications-for-blackberry/
http://www.berryreview.com/2007/08/22/logicmail-free-imap-pop3-client-for-blackberry/

in beta, Tiggit
http://www.berryreview.com/2008/02/15/tiggit-beta-another-3rd-part-email-client-for-blackberry/
Knute Johnson wrote:
I don't know of any IMAP apps to get for a BB but if you come across 
a good one, please post a note here.


LogicMail looks interesting but it won't do StartTLS which I need.

My setup uses mbox and I haven't seen any problems with multiple 
clients.  What is the problem that I should be having?


Thanks,

So am I. The only time I had a problem is if multiple programs are trying to 
access the mbox file directly at the same time. As long as the multiple 
clients all go through dovecot, I don't have any problems. In fact, I often 
leave an instance of thunderbird running over my mailstore at my main office, 
and will hit the same store from my lappy, or from my other office.


I have also had thunderbird and outlook running on the same machine looking at 
the mailstore while I try and reproduce an error that one of my users is 
having, and although it can sometimes slow down a bit, I don't see any problems.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Help! OT: Blackberry IMAP client suggestions/experience needed

2008-03-13 Thread Scott Silva

on 3-13-2008 12:02 PM Stewart Dean spake the following:
It's been a while so I don't have the logs any more except for what was 
in my Sent folder
As an example of what I am talking about, here is BB polling every 15 
minutes in the maillog:

Is your dovecot version fairly current?
This looks like some of the problems I saw in the betas.



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Help! OT: Blackberry IMAP client suggestions/experience needed

2008-03-13 Thread Scott Silva

on 3-13-2008 12:58 PM Stewart Dean spake the following:
I didn't field DC until 1.0 and have kept pretty much up to date...these 
problems were present with UWIMAP but got somewhat better since the 
switchover to DC.
I can't imagine how DC could deal with two clients working on the same 
mbox inbox, where the first instance has changes that are local to the 
PC and not yet put on the server without DC breaking the lock of the 
first instance (and thus invalidating the incomplete changes on the PC) 
and giving it to the second...or is there some magic?


I just tried to do a mass move on a mailbox with thunderbird, and tried to 
access the same box with outlook and it just took a little while to show up, 
then refreshed the headers and showed the deleted messages marked as deleted.

And nothing unusual in the logs.
Strange.

Scott Silva wrote:

on 3-13-2008 12:02 PM Stewart Dean spake the following:
It's been a while so I don't have the logs any more except for what 
was in my Sent folder
As an example of what I am talking about, here is BB polling every 15 
minutes in the maillog:

Is your dovecot version fairly current?
This looks like some of the problems I saw in the betas.








--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] A tail of joy...

2008-03-17 Thread Scott Silva

on 3-17-2008 3:54 PM Curtis Maloney spake the following:
So, I _finally_ got the time to upgrade from 0.99.14 ... which I told 
myself I'd upgrade from once 1.0 was released... (yep, I've been _that_ 
busy :)


So I read the Wiki page on 0.99->1.0 transition, and went through the 
config file - for all of about 5 or 10 minutes.


I logged in at 11pm when nobody else should be using it, restarted 
dovecot with the new version, and logged in.  Snap snap snap went my 
folders opening.. wow, so fast!


And as I got into work this morning... nobody knew a thing.  If I hadn't 
asked a few people to let me know, nobody would have known a thing.


My thanks to you, Timo.  Thank you for making my life easier.

That is the experience I had when 1.0.0 stable came out. And newer versions 
were even better, but not as dramatic an increase in speed.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] outlook2007 shows frequent imap disconnect no matter what outlook-idle setting in dovecot.conf

2008-03-26 Thread Scott Silva

on 3-26-2008 1:33 AM Kielbasiewicz, Peter spake the following:

Hello,
I saw the problem quite often in various posts but could not find a real 
solution .
Problem is that I frequently get annoying popups from outlook 2007 about imap 
idle timeouts which block working with outlook until the popup is acknowledged.

The popup says:
 Your IMAP server closed the connection. This can occur if you leave the 
connection idle for too long.
 Protocol: IMAP
 Server: testhost
 Port: 143
 Error Code: 0x800CCCDD

I tried to run dovecot with or without  "imap_client_workarounds = 
outlook-idle" but do not see any difference.
I am running dovecot on Red Hat Enterprise Linux Client release 5.1 (Tikanga).
Below is the output of some commands to get a clue about my config.

Background info:
Our primary mailboxes are on exchange servers.
As there is a size limit on the server mailboxes I am evaluating a local 
storage solution for our users.
Thus  I set up an additional mailbox in outlook using IMAP.
Local .pst files can not be backuped easily (especially when outlook is 
running) and I am investigating a local IMAP server where users can move their 
mails to. This server can easily be backuped (even incrementally when using 
Maildir) and users do  always have access to their mails.
The drawbacks are that users must have an extra login to the imap server 
because I have no ldap access to the company AD server from our local site 
domain.
The solution will not be accepted though if I can not prevent the frequent 
disconnect popups.

Peter


#dovecot --version
1.0.rc15
First try upgrading to a more current version. 1.0.rc15 has got to be a year 
old by now. You can get a newer rpm at atrpms.net.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Proxy Problems

2008-03-27 Thread Scott Silva

on 3-27-2008 11:46 AM Richard Cooper spake the following:

Hi,

I'm trying to use dovecot as a proxy as described on 
http://wiki.dovecot.org/PasswordDatabase/ExtraFields/Proxy but without 
much success. The problem is that when I send a IMAP login command 
dovecot is responding with "BYE Internal login failure. Refer to server 
log for more information." Can anyone help me shed light on this problem?


Here's the log (Username, password and IPs have been anonymised):

dovecot: Mar 27 13:07:11 Info: Dovecot v1.0.rc15 starting up
dovecot: Mar 27 13:07:12 Info: auth(default): passwd-file 
/root/dovecot-proxy-test.passwd: Read 1 users
dovecot: Mar 27 13:07:29 Info: auth(default): client in: AUTH1
PLAINservice=IMAPlip=192.168.0.1rip=192.168.0.2
resp=WWVzIEkgYW5vbnltaXNlZCB0aGlzIHRvbyA7LSk=
dovecot: Mar 27 13:07:29 Info: auth(default): client out: OK1
user=test_proxyproxyhost=192.168.0.3port=143pass=password
dovecot: Mar 27 13:07:29 Info: auth(default): master in: REQUEST1
117861
dovecot: Mar 27 13:07:29 Error: auth(default): Master request 11786.1 
not found

dovecot: Mar 27 13:07:29 Info: auth(default): master out: NOTFOUND1
dovecot: Mar 27 13:07:29 Info: imap-login: Internal login failure: 
user=, method=PLAIN, rip=192.168.0.2, lip=192.168.0.1


And here's my config according to dovecot -n

# /root/dovecot-proxy-test.conf
base_dir: /var/run/dovecot-proxy-test
log_path: /dev/stderr
protocols: imap
listen: *:10143
login_dir: /var/run/dovecot-proxy-test/login
login_executable: /usr/libexec/dovecot/imap-login
auth default:
  verbose: yes
  debug: yes
  debug_passwords: yes
  passdb:
driver: passwd-file
args: /root/dovecot-proxy-test.passwd
  userdb:
driver: static
args: uid=0 gid=0

/root/dovecot-proxy-test.passwd contains a single line:

test_proxy:::proxy=y host=192.168.0.3 port=143


I am on Cent OS 5 using dovecot version 1.0.rc15 from their official yum 
repositories. If I connect my client directly to 192.168.0.3:143 using 
the same username and password everything works correctly.


Thanks in advance.

- Richard


Try getting a newer version of dovecot from atrpms.net and see if it works.
Current is 1.0.13, at least a year newer then the release candidate you are 
using.

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] xexec and dovecot 1.1

2008-03-27 Thread Scott Silva

on 3-27-2008 11:50 AM Charles Marcus spake the following:

On 3/27/2008, Marc Perkel ([EMAIL PROTECTED]) wrote:
After dovecot receives he outgoing message it will just do an SMTP 
connection to a server that is set up to receive it and relay it. 


The question I have is how would you configure the Client to do this? I 
guess just point it to the same server address as the incoming server?



Someone would have to re-write the clients also.
This looks like something else that Outlook will break.

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] xexec and dovecot 1.1

2008-03-27 Thread Scott Silva

on 3-27-2008 12:30 PM Charles Marcus spake the following:

On 3/27/2008, Marc Perkel ([EMAIL PROTECTED]) wrote:
Clients would have to be rewritten to support the new IMAP extensions. 
If the IMAP server supported outgoing email then the client would know 
it through CAPABILITIES. It would then not need to have any outgoing 
email settings. It would cut client configuration in half. 


My server currently uses:

Incoming: imap.example.com
Outgoing: smtp.example.com

If dovecot 'understands' smtp, then why couldn't you just point the 
outgoing to 'imap.example.com', so no Client mods would be needed?


But the clients send to port 25 on the outgoing server, unless you force them 
to use something different. Port 25 is SMTP. You can have incoming and 
outgoing on the same server, you just need a MTA running along with the 
dovecot server.




signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] mbox with sub-folders and messages?

2008-03-28 Thread Scott Silva

on 3-28-2008 11:47 AM Timo Sirainen spake the following:

On Fri, 2008-03-28 at 14:25 -0400, Richard Lefebvre wrote:

Hi,

Is it possible to have dovecot configured to use mbox format and yet
have folders that contains sub-folders and messages? I'm thinking of
a simple setup where any files directory with extension .sbd are
presented to the IMAP client without the extension. So if you have a
mbox file named BOX01 and a directory name BOX01.sdb would show has one
on the client side (note: that is the way Thunderbird keeps it's mail
locally).

I know that the Maildir format does the sub-folders+messages, but I'm
not really interested by the one file per email.


With v1.1 you could have maildir++ directory layout with mboxes
(mbox:~/mail:LAYOUT=maildir):

~/mail/.mbox1
~/mail/.mbox1.submbox

Now you are scaring me. Fixing something even BEFORE someone asks. You are 
good!!  ;-P



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] DoveCot IMAP and "inconsistent state" messages

2008-03-31 Thread Scott Silva

on 3-31-2008 1:31 PM Chris Richards spake the following:

Charles Marcus wrote:

On 3/31/2008, Chris Richards ([EMAIL PROTECTED]) wrote:
Dovecot is version 1.0.rc15 


Upgrade please - rc15 is very old...



Err, that's the newest thing in the yum repository, and if I go 
compiling code that isn't 'official' (i.e. doesn't come from the yum 
repository), I'll get myself in an awful lot of trouble.  Management 
seems to be under the strange belief that only code from the repository 
it is 'safe'.


So, the question is, how hard do I need to fight in order to get this done?

Later,
Chris

If you are using a RHEL or clone, atrpms.net has a newer version in their 
repository.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] stalling on LOGIN

2008-04-01 Thread Scott Silva

on 4-1-2008 12:34 PM Brandon Keepers spake the following:
I'm getting strange timeouts occasionally on Dovecot 1.0.rc15 on Debian 
4.0, and haven't been able to figure out the cause.


$ ./src/imaptest [EMAIL PROTECTED] host=localhost pass=foo 
mbox=~/dovecot-crlf - select=0

Logi Logo
100% 100%
   24   7/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
 - 3 stalled for 16 secs in command: 2 LOGIN 
"[EMAIL PROTECTED]" "test"
 - 4 stalled for 16 secs in command: 2 LOGIN 
"[EMAIL PROTECTED]" "test"
 - 5 stalled for 16 secs in command: 2 LOGIN 
"[EMAIL PROTECTED]" "test"
 - 6 stalled for 16 secs in command: 2 LOGIN 
"[EMAIL PROTECTED]" "test"
 - 7 stalled for 16 secs in command: 2 LOGIN 
"[EMAIL PROTECTED]" "test"
 - 8 stalled for 16 secs in command: 2 LOGIN 
"[EMAIL PROTECTED]" "test"
 - 9 stalled for 16 secs in command: 2 LOGIN 
"[EMAIL PROTECTED]" "test"
 - 10 stalled for 16 secs in command: 2 LOGIN 
"[EMAIL PROTECTED]" "test"
 - 11 stalled for 16 secs in command: 2 LOGIN 
"[EMAIL PROTECTED]" "test"
 - 12 stalled for 16 secs in command: 2 LOGIN 
"[EMAIL PROTECTED]" "test"


Eventually, I get:

Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE 
Disconnected for inactivity.
Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE 
Disconnected for inactivity.
Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE 
Disconnected for inactivity.
Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE 
Disconnected for inactivity.
Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE 
Disconnected for inactivity.
Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE 
Disconnected for inactivity.
Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE 
Disconnected for inactivity.
Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE 
Disconnected for inactivity.
Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE 
Disconnected for inactivity.
Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE 
Disconnected for inactivity.



$ sudo /usr/sbin/dovecot -n
# /etc/dovecot/dovecot.conf
protocols: imap
listen: *:143
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable: /usr/lib/dovecot/imap-login
first_valid_uid: 8
last_valid_uid: 8
mail_location: maildir:/var/mail/%1d/%d/%1n/%n
mail_debug: yes
auth default:
  mechanisms: plain login
  debug: yes
  passdb:
driver: ldap
args: /etc/dovecot/dovecot-ldap.conf
  userdb:
driver: ldap
args: /etc/dovecot/dovecot-ldap.conf
  socket:
type: listen
client:
master:
  path: /var/run/dovecot/auth-master
  mode: 432
  user: mail
  group: mail

# dovecot-ldap.conf
hosts = localhost:389
dn = cn=admin,dc=example,dc=com
dnpass = secret
auth_bind = yes
auth_bind_userdn = 
uid=%n,ou=people,associatedDomain=%d,o=accounts,dc=example,dc=com

ldap_version = 3
base = dc=example.com,dc=com
user_filter = (mail=%u)
user_global_uid = mail
user_global_gid = mail


I've tried enabling all the debugging, but there don't seem to be any 
errors.


Any ideas?

Thanks,
Brandon

Upgrade. rc15 way over a year old. I think backports has newer version.

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] shared Sent and Junk folders

2008-04-02 Thread Scott Silva

on 4-2-2008 4:01 AM Tolga spake the following:



Charles Marcus wrote:

On 4/2/2008 3:38 AM, Tolga wrote:
For some odd reason, two of my users share the same Sent and Junk 
folders, therefore I keep getting errors about Sent folder reading 
permissions and one user reading the other user's Junk folder. What 
can I do about this odd problem?


Do you really think anyone can even guess what might cause something 
like this based on the information given?


How about some hints, like:

dovecot version, platform, output of dovecot -n, and maybe even - gasp 
- some log entries given when these users are experiencing the problem...

Dovecot version is 1.0.7, on Linux gentoo, below is dovecot -n

log_path: /var/log/dovecot.log
info_log_path: /var/log/dovecot.log
listen: [::]
ssl_cert_file: /etc/ssl/dovecot/server.pem
ssl_key_file: /etc/ssl/dovecot/server.key
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/imap-login
mail_extra_groups: mail
mail_location: 
mbox:/var/mail/:INBOX=/var/mail/%u:INDEX=/var/mail/folders/%u
Here you need something like mbox:/var/mail/%u/ or mbox:/var/%u/mail/ to keep 
all the users other mailboxes separate.



auth default:
 passdb:
   driver: pam
   args: *
 userdb:
   driver: passwd

logs: open() failed with mbox file /var/mail/Sent: Permission denied.

Please let me know if you need anything else




Sorry to sound harsh, but sometimes it just amazes me how people seem 
to think others will just be able to read their minds...

Not a problem at all

Regards,




--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] How to fetch mails in Spam dir by MUA via POP3?

2008-04-02 Thread Scott Silva

on 4-2-2008 5:02 AM Zhang Huangbin spake the following:

Hi, all.

How can i fetch mails in Spam directory by MUA (Such as Thunderbird) via 
POP3?


Thanks very much.

If you want to use pop3, you might need to mark mails instead of moving them 
to another box. I don't think pop3 has any concept of multiple mailboxes.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] DoveCot IMAP and "inconsistent state" messages

2008-04-02 Thread Scott Silva

on 4-2-2008 1:29 PM Chris Richards spake the following:


Mar 31 14:00:58 myserver dovecot: IMAP(me): Maildir /home/me/.Maildir 
sync: UID inserted in the middle of mailbox (85953 > 85053, file = 
msg.XL7B:2,)



This is a procmail configuration problem:
http://wiki.dovecot.org/MailboxFormat/Maildir#procmail

Just wanted to say thanks for the help.  You guys have made me a hero.

After reading the PostFix group and this group, and spending about a day 
sorting through a bunch of spam configuration stuff, I've got our mail 
server purring like a kitten.  So I went to see the CTO this afternoon 
and explained the situation with the policy about RPMs.  After him 
commenting that he had noticed a substantial drop in spam, his response 
was basically "You seem to have a clue; do whatever you think is 
appropriate."



Thanks again, guys.

Later,
Chris

So you did it backwards, you dazzled him with brilliance instead of baffling 
him with bull$h!t!  ;-P

Congrats and keep up the good work!



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Dovecot features

2008-04-09 Thread Scott Silva

on 4-8-2008 7:11 PM Phan Thanh Diện spake the following:

Curtis Maloney sent this message on 4/9/2008 5:54 AM:

Phan Thanh Diện wrote:

Hi,

We would like to switch from courier-imap to dovecot. I have installed
dovecot on a machine running FreeBSD 6.3 and now testing it. My
questions are below:

1. Can I configure dovecot to delete all files that are older, say 10
days, from defined mail boxes (for example Trash or Spam).


Yes - take a look at the "expire" plugin: http://wiki.dovecot.org/Plugins


2. After I access mail box (using web mail squirrel imap) all emails
moved from 'new' directory to 'cur'. Then messages are not accessible
for pop3. Such behavor doesn't occur with courier-imap. Can I force
dovecot to behave like courier-imap?


That shouldn't be.  If you're using Dovecot for both POP3 and IMAP, your
mail client will be able to see all the mail no matter which protocol you
access it with.

However, your mail client may be ignoring mail that's been "Seen".  
I'm not

sure why courier would behave differently with this.

Have you read the migration guide? 
http://wiki.dovecot.org/Migration/Courier



Many thanks for help.
Dien Phan



--
Curtis Maloney
[EMAIL PROTECTED]




Hello,

Thank you for your email.
We have been using XMail (www.xmailserver.org) for smtp and pop3, 
courier-imap for imap. This works for many years and we don't want to 
change. The only change we would like is to switch from courier-imap to 
dovecot. So configuration must be unchange: xmail for pop3 and smtp, 
dovecot for imap.
Unfortunately we are facing the problem I wrote about: after a user 
access mail box via web client (www.squirrel.org) he can not see emails 
any more via pop3. The reason is emails moved from 'new' to 'cur' 
although nothing done. Dovecot automatically moves. Currently with 
courier-imap, no matter we access via web mail or imap client (such as 
ThunderBird or Outlook) users can retrive emails via pop3. So my 
question is: does courier-imap behave abnormally or my dovecot 
mis-configured?


Dien Phan

More than likely the pop3 client downloads the messages and then deletes them. 
That is how pop3 works.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Feature Request - starting dovecot, config file behavior

2008-04-21 Thread Scott Silva

on 4-18-2008 3:43 AM Charles Marcus spake the following:

Hey Timo,

I was wondering how much trouble it would be to again emulate the way 
postfix does something - in this case, the way it reads its config file 
when starting up.


Current behavior:

Postfix:
If postfix encounters the same setting defined more than once, the last 
one wins.


Dovecot:
If dovecot encounters the same setting defined more than once it gives 
an error (also when using the 'dovecot -n' command).


I like to add all of my changes to the very bottom of the config file, 
but otherwise leave the config file as is... this makes it very easy 
when updating - I can easily keep all of the new default config file, 
and simply merge my customizations at the end.


So - how hard would it be to make dovecot simply accept the last defined 
setting read, instead of refusing to start?


Thanks much, and glad to have you back in action!

That seems like a major change in function. To some admins it would be like 
suddenly having to drive your car from the other side. Maybe Timo will see it 
your way, but maybe not. And anything else that is parsing the config file 
might also get confused, like someones custom web frontend to config files.


If this major a change was added, it might be better to add it to the 2.0 tree.



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Dovecot + iPhone

2008-04-23 Thread Scott Silva

on 4-23-2008 1:04 PM Tim Riley spake the following:
I viewed the message left in the inbox and it does contain X-Status: D. So 
the flag is set.


I'll call Apple tech support and see if there's a way to get the iPhone's 
mail client to expunge mail.


I'm still interested in seeing if there's a plugin for Dovecot to expunge 
mail.so if anyone out there knows of oneI would really appreciate 
some direction.


Thanks for the help!

Microsoft's Outlook is similar in that it doesn't call an expunge 
automatically. Does the iPhone client have an expunge setting or a hidden 
button somewhere?



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Dovecot + iPhone

2008-04-23 Thread Scott Silva

on 4-23-2008 2:14 PM Dean Brooks spake the following:

On Wed, Apr 23, 2008 at 01:45:03PM -0700, Scott Silva wrote:

on 4-23-2008 1:04 PM Tim Riley spake the following:
I viewed the message left in the inbox and it does contain X-Status: D. So 
the flag is set.


I'll call Apple tech support and see if there's a way to get the iPhone's 
mail client to expunge mail.


I'm still interested in seeing if there's a plugin for Dovecot to expunge 
mail.so if anyone out there knows of oneI would really appreciate 
some direction.


Thanks for the help!

Microsoft's Outlook is similar in that it doesn't call an expunge 
automatically. Does the iPhone client have an expunge setting or a hidden 
button somewhere?


There is a setting under Advanced options on the iPhone where you can
"Delete messages after XX days", but the lowest you can set it to
is "1 day".  I have no idea why there isn't an "Immediately" option.

I'm also unsure if that is actually the expunge action, or if the phone
is doing some sort of manual move to the Trash folder instead after
that period of time.

I don't think you will get dovecot to do any expunging without a plugin, 
because only the client is supposed to expunge in the IMAP spec.

You could look at the plugins info at http://wiki.dovecot.org/Plugins

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] (no subject)

2008-05-02 Thread Scott Silva

on 5-2-2008 5:12 AM Charles Marcus spake the following:

On 5/1/2008, Chris Beech ([EMAIL PROTECTED]) wrote:

## Dovecot configuration file


Please only post output of dovecot -n ...

It provides clean, easily readable config output - and tells you if 
there is a syntax error too...


And of course that instruction is at the very top of his config file. But do 
people actually read anymore?




--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] imapsync + gnupg?

2008-05-05 Thread Scott Silva

on 5-4-2008 2:05 AM Neal Becker spake the following:

I'd like to mirror my dovecot server (which only serves myself).  I'm
thinking to use gmail.  Problem is, I don't want all my mail going to gmail
in plain text.  I'd like to gpg+mime encrypt each mail using my public key.

Any thoughts on how to do this?


I think gmail only allows an ssl connection to their imap servers so 
technically it won't be in plaintext (unless you meant the final mails being 
stored in plaintext).



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] deliver custom maildir creation

2008-05-05 Thread Scott Silva

on 5-5-2008 8:01 AM Steve Roemen spake the following:

/ I'm testing a new setup of postfix using deliver to put the messages
into the user's maildir, and am curious if there is a way to make
deliver create custom maildirs when it delivers to a valid user without
a maildir?

Right now it only creates the inbox, I'd like it to create the .sent/
.Trash/ and .SPAM dirs.  Is this possible?


Thanks
--
/ /Steve Roemen//   
/


You could create a login script that tests for and creates them if they don't 
exist.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Time moved backwards

2008-05-13 Thread Scott Silva

on 5-13-2008 12:13 PM Adam McDougall spake the following:

Charles Marcus wrote:

On 5/13/2008, Eugene ([EMAIL PROTECTED]) wrote:
 
I guess terminating all current connections and restarting all 
processes

would be pretty safe, but it's not really a high priority change for
me..
  


 

Nevertheless, it would be very nice if you could fix it. It's a
fairly big availability problem (for us, at least).



The problem is not so much how dovecot deals with this issue, the
problem is, why is your server having such drastic problems keeping its
time sane?

Fix that, and your problem disappears.

  
I would just like to mention a circumstance that happened to me this 
Sunday.  We had a total power outage in our building, longer than our 
UPS's could last and we don't have a generator for servers (nor is it 
economical or needed).  When the power came back on, my local NTP server 
came on at the same time as my mail servers, as well a majority of my 
other servers.  My servers tried to step their time to be in sync with 
my local NTP server, which was still busy trying to sync itself with 
outside sources, which takes a while, so my mail servers did not get an 
answer.  Later, dovecot died because the time finally synced, and I 
found out why pretty quick (have seen this before) but this was an 
unusual situation.
My point is, we had an unusual circumstance, and even though I've taken 
steps to have my mail servers sync their time at boot and run ntpd 
afterwards, there are some circumstances in which this is not enough, 
and dovecot still died.  Its not always because someone was lazy about 
their time setup.  But it doesn't cause me "big availability problems" 
since in general, my time is fine.


This would be a good case for running ntpdate on startup at least on the ntp 
server. Just point it to a reliable outside server. AFAIR RedHat and clones do 
this in the init script for ntpd.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Disallow folder delete

2008-05-20 Thread Scott Silva

on 5-19-2008 4:07 PM Kenneth Porter spake the following:
Is there a straightforward way to disallow the deletion of all IMAP 
mailboxes?


I have a user who's deleted an important IMAP mailbox and I'm now 
recovering a recent copy from the backup. But I'd rather just blanket 
disallow all folder deletions.


The user is using Thunderbird and this has happened more than once so I 
suspect Tbird is willing to let a folder get deleted too easily. Perhaps 
there was a delay in the confirmation dialog and the user clicked ahead 
and confirmed something he shouldn't have.


You mean thunderbird LET a user do something stupid? Even after asking" Are 
you sure"?


Go figure!

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Disallow folder delete

2008-05-20 Thread Scott Silva

on 5-20-2008 6:43 AM Jacek Osiecki spake the following:

On Tue, 20 May 2008, mouss wrote:


Kenneth Porter wrote:
 On Monday, May 19, 2008 9:43 PM -0400 Charles Marcus >  Thats pretty 
drastic - I'd have a rebellion on my hands if I tried that

 were that to happen. Most users aren't that sophisticated and aren't
 creating folders in the first place. (Their inboxes tend to be horribly 
a probably better approach is to backup the mailstore and let users do 
what they want in their mailer.


Look how the thread began - it's not about losing folders, it's about 
lusers

deleting their folders and admin losing time on recovering folders from
backups :)

Greetings,
You can only do so much to protect people from their own stupidity. I usually 
make users wait a while before restoring their mistakes. A few hours of 
thinking about it might make them think about it. But then I can be a BOFH 
sometimes! ;-P




--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Disallow folder delete

2008-05-21 Thread Scott Silva

on 5-20-2008 6:50 PM Kenneth Porter spake the following:
On Tuesday, May 20, 2008 8:39 AM -0700 Scott Silva <[EMAIL PROTECTED]> 
wrote:



I usually make users wait a while before restoring their mistakes. A few
hours of thinking about it might make them think about it


Assuming it was a mistake. How long do you then wait in turn before he 
gives you your paycheck? ;)





You know that the people that sign your paychecks are under an
"entirety different" set of rules. They usually also get;
1) Higher mail limits.
2) Exemptions from the filters on the web proxy.
3) Immediate service.
4) Any other butt kissing you think necessary to keep them happy.

Sometimes it can legitimately take a while, especially for older archived stuff.

Once a VP couldn't understand why his search for a "titanium driver for his 
golf clubs triggered the content filters. At least not until I showed him the 
part of "TIT"anium that triggered it. Then he was totally on board, and 
usually just e-mailed me on any sites that gave him trouble.
My bosses usually embrace technology, they just don't have a lot of experience 
with it. They are all lawyers and accountants, except for the VP of 
engineering and operations, who of course is an engineer.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] VMware and Time moved backwards

2008-05-21 Thread Scott Silva

on 5-21-2008 2:39 PM Bjørn T Johansen spake the following:

Why not? I have been running ntp inside vmware for many years now, without any 
problems

And I occasionally fail to come to a full stop at a stop sign, and don't get a 
ticket, but is it the proper thing to do?




--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Don't Understand Error Entry

2008-05-23 Thread Scott Silva

on 5-23-2008 2:21 PM Carlos Williams spake the following:

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?
 What he is saying is that the old versions aren't supported anymore. You 
will find little help on them as any one on this list who can help you knows 
not to use such ancient software in production.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Problem deleting folders with Thunderbird?

2008-05-29 Thread Scott Silva

on 5-28-2008 9:37 PM Knute Johnson spake the following:

Knute Johnson wrote:

I think I solved both questions.  With Thunderbird one needs to uncheck 
the "Server supports folders that contain sub-folders and messages" from 
the Advanced Account Settings dialog.  And I guess that answers my 
question about dovecot supporting sub-folders.


You need to clear that checkbox with mbox storage for sure. It might be OK if 
you are using Maildir.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Purging Deleted Messages

2008-06-02 Thread Scott Silva

on 6-2-2008 10:36 AM Carlos Williams spake the following:

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?

They stay until they are purged. There are plugins that will help if you are 
using maildir, but I don't know of anything for mbox if you are using that.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] auth issues on centos5 with ldap backend

2008-06-04 Thread Scott Silva

on 6-4-2008 4:21 PM Jurvis LaSalle spake the following:

Hi,

We've had some issues with auth.  /var/log/secure is full of 1000s 
of these lines:


Jun  4 19:12:08 khan dovecot-auth: pam_unix(dovecot:auth): 
authentication failure; logname= uid=0 euid=0 tty=dovecot ruser= 
rhost=127.0.0.1  user=user123


Users can usually login OK with their ldap credentials, but occasionally 
logins slow to a crawl if not outright fail, esp people checking mail 
through Squirrelmail.  Things get better after a dovecot restart.  
Googling around, I thought if we switched the order or disabled the 
second passdb we had configured for our dovecotadmin account, these 
failures would go away but that did not happen.  Any thoughts or 
additional info I can provide?  Pardon the unusual install prefix. We're 
trying to keep the source install separated from the ancient dovecot rpm 
shipped in rhel5.


Thanks,
Jurvis

[EMAIL PROTECTED] ~]# /etc/dovecot/sbin/dovecot -n
# 1.0.13: /etc/dovecot-1.0.13/etc/dovecot.conf
log_path: /var/log/dovecot.log
info_log_path: /var/log/dovecot-info.log
ssl_cert_file: /etc/pki/dovecot/certs/star.idi.harvard.edu.crt
ssl_key_file: /etc/pki/dovecot/private/star.idi.harvard.edu.key
login_dir: /etc/dovecot-1.0.13/var/run/dovecot/login
login_executable: /etc/dovecot/libexec/dovecot/imap-login
mail_location: maildir:/RAID5/mailboxes/%u
maildir_stat_dirs: yes
maildir_copy_with_hardlinks: yes
imap_client_workarounds: outlook-idle delay-newmail
auth default:
  executable: /etc/dovecot/libexec/dovecot/dovecot-auth
  master_user_separator: *
  debug: yes
  debug_passwords: yes
  passdb:
driver: pam
args: blocking=yes
  userdb:
driver: passwd
args: blocking=yes







Do you need something special compiled in?
If not, you could save some hassle by using a dovecot rpm from atrpms.net.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] outlook windows problem

2008-06-11 Thread Scott Silva

on 6-11-2008 11:48 AM rashantha de silva spake the following:

iz:~ rush$ dovecot -n
-bash: dovecot: command not found

Maybe you need to prepend the full path of your dovecot binary if it isn't in 
your standard path.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Mutually exclusive Exim setup instructions

2008-06-11 Thread Scott Silva

on 6-11-2008 4:10 PM [EMAIL PROTECTED] spake the following:

The correct way has to be one or the other:


http://wiki.dovecot.org/LDA/Exim

are mutually exclusive with

http://wiki.dovecot.org/HowTo/DebianStable

It appears that exim can either call dovecot's LDA or make the delivery
itself.  There may
be good reasons to do it one way or the other.


Sorry to be diving into this issue so late, but I just noticed this email.
 You may be able to answer a question I have.  At the moment, I use Exim
and Dovecot, and have things set up to use imapd, using Dovecot as the
LDA.  It worked fine for a while, but with upgrades I am now unable to
send email out using Thunderbird (for example - this applies to KMail and
Sylpheed as well).  Exim treats it as a relay, and bans it.  Curiously,
using these from another machine works fine.  Also fine is sending mail
internally, from a cron job for example, or to external addresses from my
website.

It seems that the router setting in Exim is the problem, and the better
solution is to use Exim as the LDA, but if one does not use Dovecot as the
LDA, what's the point of having it?  I installed it originally to be able
to use Squirrelmail when I'm on the road.  Now I'm using it all the time.

What am I missing here?

Dovecot is not just an LDA, it also serves POP3(S) and IMAP(S) services.. The 
benefit of using dovecot for the LDA is to keep the indexes and other files 
updated. I am using dovecot on CentOS, with procmail as the LDA, and 
everything still works fine.
But you can only have one LDA ( or at least should only use one), so those 
docs would be mutually exclusive.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Need help configuering Dovecot to support folders that contain sub-folders and messages

2008-06-13 Thread Scott Silva

on 6-13-2008 10:24 AM Dan Roberts spake the following:
The intent on my part was not to be trapped, but to simplify life.   I 
don't work at a command line or system level on a regular enough basis 
these days to be 100% confident that I won't screw it up, so relying on 
a system that is pseudo capable of keeping itself together was a 
saccrifice I was willing to make.


I have had the bad misfortune of running RMPs in the past only to have 
things go very wrong - and they should not have, but for a screw up in 
the RPM to begin with.  Back then, I was more than capable of fixing 
things - but that was a long time ago.  So I want to proceed cautiously 
and not blow a hole in the working system.


That said, if upgraded is it possible to resolve this issue, or should I 
truly be contemplating a switch to another IMAP system?Dovecot is 
very popular so I find it odd that Apple would not foresee this issue.   
So it would seem that a solution exists, but I don't have that 
configuration in play - at least I hope so.


Cheers -
Dan

Is your IMAP server using mbox or maildir for the mailstore?
Maildir should be able to handle the folders.

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Installation Problem -

2008-06-16 Thread Scott Silva

on 6-15-2008 11:05 PM Kaushal Gandhi spake the following:

Hello,

I have installed dovecot Version 1.0.14 on Centos Linux 4.6.

When I do ./configure --with-pam, I get below mentioned error.

Please help

Best Regards
Kaushal

ww.atrpms.net has current dovecot rpms.

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] SSL + compression?

2008-06-21 Thread Scott Silva

on 6-20-2008 12:46 PM Johannes Berg spake the following:
I don't think it does be default. The only what I know is to establish a 
compressed SSH tunnel to your server and then access the server over the 
tunnel. It will compress and give you an extra layer of encryption.


Umm, no. It will not compress. Think about it, encrypted data is
fundamentally not compressible, that's the whole point.

johannes
It will compress if you use a non-encrypted protocol while you are going 
through the tunnel.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Dovecot + Postfix for Squirrel Webmail??

2008-07-01 Thread Scott Silva

on 6-30-2008 9:31 AM Marcos Cabrera Goñi spake the following:

Hi,

 


I would like to use Dovecot as IMAP Server in order to Develope a Squirrel 
Webmail.

 

I have a problem with the Dovecot configuration; I have my Postfix server in the host: 192.168.100.100, and I have installed Dovecot in the host: 192.168.1.253. Everything goes right, but I can't see any mail that I had received in my mailbox. 

 


How can I configure the dovecot.conf in order to use an mbox placed in a 
different host??

 


Thanks.

 


Bye
Easiest way is to put dovecot on the server where postfix is. Squirrelmail can 
be on the other server.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] POP3 Mails Not Deleted

2008-07-03 Thread Scott Silva

on 7-2-2008 9:26 PM imacat spake the following:

Dear all,

Hi.  This is imacat from Taiwan.  We are running Dovecot 1.1.1.  I
received complaints from one of my colleagues.  She checks her mails
both from home and from office, so she left her mails in the server for
3 days.  This morning she got lots of received mails again.  I tracked
the syslog, and found the following records:


Is she by any chance using Outlook?
If so try increasing her timeouts.

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Unable to post snippet of dovecot.conf in body of email - WAS: Re: Vacation?

2008-07-11 Thread Scott Silva

on 7-11-2008 9:06 AM Charles Marcus spake the following:

On 7/11/2008 12:02 PM, Charles Marcus wrote:

This is well documented in the example dovecot config file:




Weird... I had to attach the snippet from dovecot.conf showing the 
documented configuration for the listen directive - it kept bouncing 
telling me not to post my entire dovecot.conf file... maybe this 
'filter' can be tweaked to allow small portions of it to be included?



Doesn't dovecot -n show your settings?


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Root folder path problem

2008-07-14 Thread Scott Silva

on 7-12-2008 1:17 PM Yavuz Maslak spake the following:

As I said previous my mail, if I don't set any value in "Root folder path"
option, my sent mails are stored in main "sent items" of Outlook Express.
These mails aren't stored "sent items" of imap section.



On Sat, 2008-07-12 at 22:18 +0300, Yavuz Maslak wrote:

I use dovecot1.x. for imap on qmail.
I also use OExpress to receive my mails.
My sent mails is stored in main "sent items" of Outlook Express.


OK.


Therefore I set "INBOX" in "Root folder path" option.


Why? My guess is that it doesn't work because you set this.


I don't think Outlook or OE has the capability to store its "work folders" out 
of its local mailroot. AFAIR you have to write message rules to move it.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Root folder path problem

2008-07-14 Thread Scott Silva

on 7-14-2008 11:24 AM Jeff Grossman spake the following:

On Mon, 14 Jul 2008 09:11:23 -0700 Scott Silva <[EMAIL PROTECTED]> wrote


on 7-12-2008 1:17 PM Yavuz Maslak spake the following:

As I said previous my mail, if I don't set any value in "Root folder path"
option, my sent mails are stored in main "sent items" of Outlook Express.
These mails aren't stored "sent items" of imap section.



On Sat, 2008-07-12 at 22:18 +0300, Yavuz Maslak wrote:

I use dovecot1.x. for imap on qmail.
I also use OExpress to receive my mails.
My sent mails is stored in main "sent items" of Outlook Express.

OK.


Therefore I set "INBOX" in "Root folder path" option.

Why? My guess is that it doesn't work because you set this.



I don't think Outlook or OE has the capability to store its "work folders"
out
of its local mailroot. AFAIR you have to write message rules to move it.


OE does.  In the server configuration options you can select to save Drafts,
Sent Items, and Deleted Items on the server.  It then lets you select which
folders for each of those settings.

Jeff




I guess I've just been using Thunderbird long enough to forget what OE did.

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] dovecot.conf permissions

2008-07-24 Thread Scott Silva

on 7-24-2008 1:18 AM Dan Horák spake the following:

Hi,

I have a little problem with defining the right permissions for
dovecot.conf. The main problem is that the password for SSL certificates
is stored there and the conf file is world readable by default, which
makes a security problem [1]. It is not a problem to restrict the
permissions to 0600, dovecot will still work, but then deliver cannot
work as it reads the conf too, but it runs under arbitrary user. So my
last iteration is 0640 as permission and root:mail as ownership, but
that expects that deliver is run with group = mail. For the long term
solution I would prefer to move the password into a separate config file
so the permissions can be properly restricted there. What are your
opinions?


With regards,
Dan


[1] https://bugzilla.redhat.com/show_bug.cgi?id=436287
You can always have no passwords on ssl certs. Probably just as secure as a 
world readable password.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Delivery notifications

2008-07-24 Thread Scott Silva

on 7-24-2008 9:03 AM Brandon Keepers spake the following:
I'm working on an application that is backed by Postfix 2.3.8 and 
Dovecot 1.0.13, configured with virtual domains, for handling messaging.


I need to be able to send the notification (such as "You've received a 
new message on SomeAwesomeService. Click here to check it out", It's 
evil, I know) to a different email address, such as a mobile device. 
Eventually, we want to do other things like clear web page caches when a 
message is received, or sending IM notifications, but that's for another 
day.


So basically, we want to notify our application whenever a new mail is 
received, and it can do all the magical things that it needs to do.


I was hoping to get some feedback on the different approaches I'm 
looking at. From what I can tell, there's not a way to deliver to 
multiple virtual transports in postfix, so here's the options I see:


* Content filter
I could set up a "content filter" that just delivers the mail to the 
application, and then re-injects it back into postfix. This seems like 
more work than the other options just because I have to worry about 
re-injecting the message


* Intercept delivery
Replace the dovecot deliver command with a custom one that calls the 
dovecot deliver and then passes the message on to the application.  I've 
written a little proof of concept for this and it seems to work, but 
just seem shady.


* Sieve
Dovecot supports Sieve, so I could just have a global sieve script that 
sends the notifications.  This is definitely the solution I'm leaning 
towards.


Are there any better options? Do you think this will have a significant 
impact on performance? Am I crazy?


Thanks,
Brandon
In my opinion (which is worth every penny you didn't pay for it) If I want 
notices of my new messages on a phone or other mobile device, I might as well 
just get the message sent or copied there.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Server-side sieve for client-side copies

2008-07-28 Thread Scott Silva

on 7-28-2008 9:38 AM Daniel L. Miller spake the following:
I know I could test this - but I'd rather ask first.  To my knowledge, 
we haven't come up with a good server-side implementation for savings 
copies of sent messages (by all means correct my ignorance in this 
regard).  So the typical way is to enable it in clients like Thunderbird 
(this prompted a whole discussion of how to save these messages without 
sending them to the server multiple times).


My understanding is that sending a message from a client (use 
Thunderbird for simplicity of this conversation) is performed via SMTP.  
Saving a copy into a sent folder is performed via IMAP (hence the 
multiple transfers to the server).  Now that I've laid a background - 
let's make it Dovecot specific.  I don't know how "behind-the-scenes" 
Dovecot performs the act of saving mail messages that it receives from 
IMAP, instead of SMTP.  Specifically, if I'm using sieve filters via 
deliver - can I setup a filter that will place mail copies to specific 
recipients into specific subfolders?
Not easy, but set client to BCC yourself, and set filters for messages from 
you/to you.
Until they modify the IMAP spec, and then every mail client is updated, it 
just isn't going to be an easy fix.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] POP3 locking

2008-08-01 Thread Scott Silva

on 7-31-2008 11:46 PM Ed W spake the following:

Adrian Overbury wrote:
Okay, then. Has anyone built packages for Ubuntu Dapper Drake from the 
latest sources, then?  I'd appreciate being able to get my hands on 
thoses.



What's wrong with the Ubunutu  ones?  Two seconds on google gets me:
http://packages.ubuntu.com/hardy/dovecot-imapd

(I might be missing the point because I'm a gentoo user)

Ed W


Poster did ask about latest, not a few versions back.
I guess 2 seconds doesn't buy as much as it used to! ;-D


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Can't connect to IMAP

2008-08-06 Thread Scott Silva

on 8-6-2008 7:18 AM David Hall spake the following:

Pascal Volk skrev:

Hi David,

Am 06.08.2008 10:59 schrieb David Hall:
 

…
My problem since a few days back is that IMAP doesn't seem to be 
started.


The logfiles says's everything is in order, but port 143 isn't up and
Squirrelmail can't connect, i have no clue what's causing this
everything runned smoothly a couple of days ago.

Im using postfix/amavis & spamassasin.



Is Dovecot really running on your system? Please show the output from
`ps -ef | grep dovecot` and `netstat -tlpn | egrep ':(143|993)`.
How do you try to connect to the imapd?
http://wiki.dovecot.org/TestInstallation

 

Here's some information

Dovecot v1.1.2

[output from `dovecot -n` snipped ]

And once again.

I don't get any errors in the logfiles.

Mail.log last 5 lines after a restart
…
Aug  6 07:47:58 localhost postfix/virtual[32190]: C4FD1406024:
to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>, relay=virtual,
delay=0.07, delays=0.03/0.02/0/0.02, dsn=2.0.0, status=sent (delivered
to maildir)
…



This Mail was delivered with Postfix's virtual transport, not with
Dovecot's LDA http://wiki.dovecot.org/LDA/Postfix()

 

Aug  6 10:55:56 localhost dovecot: Killed with signal 15
Aug  6 10:55:56 localhost dovecot: Dovecot v1.1.2 starting up
Aug  6 10:55:57 localhost dovecot: auth-worker(default): mysql:
Connected to localhost (postfix)



Looks good.


Regards,
Pascal

  

Problem solved.

it was listen = and not listen = * that caused it.

strange thing is that i haven't changed those lines.



Did you recently upgrade from the 1.0 tree?
That setting now has different defaults then the 1.0 branch

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] dovecot sieve sends vacation messages with null envelope sender

2008-08-13 Thread Scott Silva

on 8-12-2008 7:26 AM CJ Keist spake the following:

Josef,
   This is exactly same situation in our environment as well. I had to
make the same change as you stated.  Our central virus/spam email
gateway also cans any message with out a valid from address in the mail
headers.  I would think most virus/spam systems will do the same.
   I understand the concept of having the from empty, namely to keep
another automated system from replying back to your vacation reply, but
what do we do to keep our vacation replies being canned by anti-spam
systems??  Maybe this should be a option in the configuration file to
let the Admin decide whether to fill in the from address field, or a
"[EMAIL PROTECTED]" default, or just empty?

IMHO if someone's e-mail is so important that you would have to notify people 
that they are on vacation, then a human should be checking their account 
everyday. A vacation message just tells me to go somewhere else, which would 
probably end up being a competitor. If I know the person, I probably already 
know they are on vacation. If I don't know them, I probably don't care.


I will let people have a vacation message, but I will tell them that they 
might not get delivered. If someone leaves, I alias their mail to their 
successor, or just delete their account.



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] dovecot: Fatal: Time just moved backwards by 3603 seconds.

2008-08-19 Thread Scott Silva

on 8-18-2008 1:54 PM Charles Marcus spake the following:

On 8/18/2008, Ville Walveranta ([EMAIL PROTECTED]) wrote:

ntp client as a service (daemon) is the way to go... I had the same
problem; I wasn't aware of the fact that dovecot would be sensitive to
time going backwards. I was running ntpdate via cron, and the first
time the time-check resulted in backwards correction, dovecot bombed.


This is nothing new... time has *always* been considered extremely
critical on servers - and ntpdate has *always* been seen as the WRONG
way to keep a server in time - it moves time in much too large increments.

An ntp client has always been the way to go...

But you should also make sure your hardware clock is not totally crapped
out, as that can make a [successful] cold start problematic...

During a cold start is probably the ONLY time ntpdate would be appropriate. 
Call ntpdate right after the network starts, but before the other services get 
started and your time should be very close. Then a ntp client can keep it that 
way.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] How Can I Tell How Dovecot Was Installed?

2008-08-21 Thread Scott Silva

on 8-20-2008 2:47 PM Kenneth Porter spake the following:
--On Wednesday, August 20, 2008 7:35 AM -0400 Blake Carver 
<[EMAIL PROTECTED]> wrote:



I guess I'm not quite sure how to interpret this to help me figure out
my problem, there are changes rpm reports, does this mean that an RPM
was installed but so was a source package?

rpm -V -v dovecot
 c /etc/dovecot.conf


This is a config file, as denoted by the "c". The row of dots means the 
file is pristine (hasn't been modified since it was installed).



S.5T c /etc/rc.d/init.d/dovecot


This config file is different from the package. I don't recall what all 
the flags mean but the "5" means an MD5 checksum mismatch. As a rule, 
initscripts shouldn't be modified unless you're doing something tricky, 
so this was likely replaced from a tarball install.



prelink: /usr/libexec/dovecot/dict: at least one of file's
dependencies has changed since prelinking
S.?.   /usr/libexec/dovecot/dict
prelink: /usr/libexec/dovecot/dovecot-auth: at least one of file's
dependencies has changed since prelinking
S.?.   /usr/libexec/dovecot/dovecot-auth


All of these prelink errors suggest that your binaries were overwritten 
from a tarball installation. The easy fix is to erase ("rpm -e") the 
package and re-install it, likely upgrading to a newer package at the 
same time.
But a rpm install will not overwrite the tarball install since tarball 
installs usually go to /usr/local or under /opt while rpm installs will go 
into /usr directly. I don't know if the tarball has a make uninstall command, 
but the previous admin "should" have left the unpacked source around from the 
install somewhere in either /root or in his home directory. That can give more 
clues.





 d /usr/share/doc/dovecot-1.0/REDHAT-FAQ.txt


"d" files are documentation, and if you're tight on disk space, you can 
suppress installation of documentation when the package is installed.





--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] auth failed, 0 attempts RESOLVED

2008-08-25 Thread Scott Silva




Figured it out.  Some user had inadvertently removed their password from 
their mail setup.


Sorry for the noise.


Evil users!  ;-P



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Problems to sync

2008-09-09 Thread Scott Silva



The problem is that I get to sync with INBOX, but I can't get to sync with
the other files...

I don't know if this line is correct:

mail_location = mailbox:/usr/home/%u/mail/:INBOX=/var/mail/%u

If I create a new file by the outlook, this file is created in the server
normally.

If someone could helpthanks...
No one can tell you if the above mail location is correct unless that is where 
the mail is stored. It looks as if the INBOX parameter is correct, since you 
see the inbox.
Since you said you used Outlook, did you try updating your folder list, or 
going into IMAP folders setting?




--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] error in 1.1.2

2008-09-10 Thread Scott Silva

on 9-10-2008 11:55 AM Cor Bosman spake the following:

./imaptest logout=0 copy=100 copybox=Trash
./imaptest box=Trash append=0


Ok, running those 2 now.


Still need dovecot -n?

I guess it could still show something useful. :)


# 1.1.2: /usr/local/etc/dovecot.conf
base_dir: /var/run/dovecot/
ssl_ca_file: /etc/ssl/certs/verisign.pem
ssl_cert_file: /etc/ssl/certs/userimap.pem
ssl_key_file: /etc/ssl/private/userimap.pem
disable_plaintext_auth: no



login_dir: /var/run/dovecot//login

Is the // above a typo?


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Question about subfolders

2008-09-10 Thread Scott Silva

on 9-10-2008 5:58 AM Oliver Fromme spake the following:

Hi,

I've got an old dovecot installation (0.99.10.5) which
is used as the back-end for a squirrelmail web mailer.
Now I need to decide whether to update it to a newer
version of dovecot or to switch to a different software.

One feature that I really need is to be able to place
messages and subfolders in a folder at the same time.
This is with mbox format files (I can't use maildir).
The old version of dovecot doesn't seem to support that,
you can have either subfolders or messages in a folder,
but not both.

Does the current version 1.1.3 support it?

Best regards
   Oliver

PS:  Please CC me because I'm not subscribed to the
list.  Thank you very much!

You can't do that with mbox in any version of dovecot, and I don't think you 
can do that in any other IMAP or POP3 server that I know of.
 IMHO if you want messages and sub-folders in the same folder you will need 
maildir or maybe dbox when it is 100% stable.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Connecting to dovecot

2008-09-17 Thread Scott Silva

on 9-17-2008 7:25 AM Grant Lowe spake the following:

Hi All,

I've got a brand new dovecot installation.  I'm new to dovecot, so please be 
gentle  :-)

Anyway,
I'm getting some errors when I try to connect to dovecot. I've tried
searching the web and haven't been able to find a lot of information. 
Here's the config info:


# dovecot --version
1.1.2
# dovecot -n
sudo dovecot -n
# 1.1.2: /usr/local/etc/dovecot.conf
base_dir: /var/run/dovecot/
log_path: /var/log/dovecot.log
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /var/run/dovecot//login
login_executable: /usr/local/libexec/dovecot/imap-login
mail_location: /var/mail/%u

You need to fix your mail location setting;
see http://wiki.dovecot.org/MailLocation


auth default:
  verbose: yes
  passdb:
driver: passwd-file
args: /etc/dovecot/passwd
  userdb:
driver: static
args: uid=vmail gid=vmail home=/var/mail/%u
Since you are also setting mail location here with home setting, you are 
probably resolving to /var/mail/%u/var/mail/%u



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Connecting to dovecot

2008-09-17 Thread Scott Silva

on 9-17-2008 7:48 AM Scott Silva spake the following:

on 9-17-2008 7:25 AM Grant Lowe spake the following:

Hi All,

I've got a brand new dovecot installation.  I'm new to dovecot, so 
please be gentle  :-)


Anyway,
I'm getting some errors when I try to connect to dovecot. I've tried
searching the web and haven't been able to find a lot of information. 
Here's the config info:


# dovecot --version
1.1.2
# dovecot -n
sudo dovecot -n
# 1.1.2: /usr/local/etc/dovecot.conf
base_dir: /var/run/dovecot/
log_path: /var/log/dovecot.log
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /var/run/dovecot//login
login_executable: /usr/local/libexec/dovecot/imap-login
mail_location: /var/mail/%u

You need to fix your mail location setting;
see http://wiki.dovecot.org/MailLocation


auth default:
  verbose: yes
  passdb:
driver: passwd-file
args: /etc/dovecot/passwd
  userdb:
driver: static
args: uid=vmail gid=vmail home=/var/mail/%u
Since you are also setting mail location here with home setting, you are 
probably resolving to /var/mail/%u/var/mail/%u

Forget this last comment, but the mail location is not set properly.

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Connecting to dovecot

2008-09-17 Thread Scott Silva

on 9-17-2008 8:37 AM Grant Lowe spake the following:
So should I comment out the "mail_location = /var/mail/%u" line?  

Read the wiki I posted. You need to prepend it with what type of mail storage 
format you are using like mail_location = mbox:/var/mail/%u or

mail_location = Maildir:/var/mail/%u depending on your mail storage type.
You also might need to add lines for index.

http://wiki.dovecot.org/MailLocation is full of helpful info.

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Converting from MBOX to Maildir broke procmail and Spamassasin and halted incoming mail

2008-09-17 Thread Scott Silva

on 9-17-2008 11:39 AM Dan Roberts spake the following:

I could use some help here -

As I use Dovecot I started here when trying to figure out why I could 
not add new mail folders under my Mac's Mail program, but could under 
Thunderbird.


It was quickly pointed out that my system was set up to use MBOX and not 
MAILDIR, and some helpful links and notes were sent back and forth 
giving me a good clue as to how to perform the conversion process.


I did have success in getting my mail accounts converted from mbox to 
maildir, but then ran aground.


I could see all of my existing mail and create new folders, but I could 
not see any of my incoming mail.


What I was late in realizing was that I needed to also adjust the 
settings for my LDA, which as I am using sendmail is procmail, and it 
was suggested that I needed to adjust /etc/procmail to include the line


DEFAULT=$HOME/Maildir/

I did that, but new mail still didn't show up correctly.   I can only 
assume that I have something still not properly adjusted in my procmail 
settings.


Given that I got everything else to work, and even successfully upgraded 
dovecot, it was very frustrating to set everything back to square one 
with mbox so that I had a functioning system once again.   I am about to 
have some time on my hands and am going to try again - but this time I 
thought I would ask for help before I possibly loose my ability to 
receive new mail - makes reading those suggestions very hard.


At present, my etc/procmailrc file is like this.
---
[EMAIL PROTECTED] etc]$ cat procmailrc
# send mail through SpamAssassin
:0 fw
* < 256000
| /usr/bin/spamc -f
---

In each users Home directory I have a .procmailrc file that further 
directs things on a user level.

For my directory this file is currently
---
[EMAIL PROTECTED] ~]$ cat .procmailrc
MAILDIR=$HOME/mail

PROBABLYJUNK = /home/dan/mail/probably-spam

:O H
* ^X-Spam-Status:.*Yes
{
EXITCODE=67
:0:
probably-spam
}
---

I admit that I set up Spamassasin some years ago and though I have 
updated things now and then, I don't recall all of the reasoning behind 
the setup - just know that it has been working.


Whether I put the new line "DEFAULT=$HOME/Maildir/" in one file, the 
other or both - I got no incoming mail.  My guess was that I had 
offended promail in one way or another.


So, as I prepare to do the MBOX to MAILDIR conversion once again, does 
anyone have any guidance to offer for how to properly adjust the 
procmail files so that I can continue to filter spam?


Much appreciated.

Cheers -
dan


How old is the distro on the system?
Older versions of procmail don't support maildir.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Converting from MBOX to Maildir broke procmail and Spamassasin and halted incoming mail

2008-09-17 Thread Scott Silva

on 9-17-2008 11:39 AM Dan Roberts spake the following:

I could use some help here -

As I use Dovecot I started here when trying to figure out why I could 
not add new mail folders under my Mac's Mail program, but could under 
Thunderbird.


It was quickly pointed out that my system was set up to use MBOX and not 
MAILDIR, and some helpful links and notes were sent back and forth 
giving me a good clue as to how to perform the conversion process.


I did have success in getting my mail accounts converted from mbox to 
maildir, but then ran aground.


I could see all of my existing mail and create new folders, but I could 
not see any of my incoming mail.


What I was late in realizing was that I needed to also adjust the 
settings for my LDA, which as I am using sendmail is procmail, and it 
was suggested that I needed to adjust /etc/procmail to include the line


DEFAULT=$HOME/Maildir/

I did that, but new mail still didn't show up correctly.   I can only 
assume that I have something still not properly adjusted in my procmail 
settings.


Given that I got everything else to work, and even successfully upgraded 
dovecot, it was very frustrating to set everything back to square one 
with mbox so that I had a functioning system once again.   I am about to 
have some time on my hands and am going to try again - but this time I 
thought I would ask for help before I possibly loose my ability to 
receive new mail - makes reading those suggestions very hard.


At present, my etc/procmailrc file is like this.
---
[EMAIL PROTECTED] etc]$ cat procmailrc
# send mail through SpamAssassin
:0 fw
* < 256000
| /usr/bin/spamc -f
---

In each users Home directory I have a .procmailrc file that further 
directs things on a user level.

For my directory this file is currently
---
[EMAIL PROTECTED] ~]$ cat .procmailrc
MAILDIR=$HOME/mail

PROBABLYJUNK = /home/dan/mail/probably-spam

:O H
* ^X-Spam-Status:.*Yes
{
EXITCODE=67
:0:
probably-spam
}
---

I admit that I set up Spamassasin some years ago and though I have 
updated things now and then, I don't recall all of the reasoning behind 
the setup - just know that it has been working.


Whether I put the new line "DEFAULT=$HOME/Maildir/" in one file, the 
other or both - I got no incoming mail.  My guess was that I had 
offended promail in one way or another.


So, as I prepare to do the MBOX to MAILDIR conversion once again, does 
anyone have any guidance to offer for how to properly adjust the 
procmail files so that I can continue to filter spam?


Much appreciated.

Cheers -
dan


Dan,
I found this page with lots of procmail stuff.

http://www.ii.com/internet/robots/procmail/qs/

Have a look!



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Connecting to dovecot

2008-09-17 Thread Scott Silva

on 9-17-2008 12:44 PM Grant Lowe spake the following:

Hi Scott.

Thanks for the help!  Appricate the feedback.

I reset the dovecot.conf.  Here's the output of dovecot -n now:

#
# 1.1.2: /usr/local/etc/dovecot.conf
base_dir: /var/run/dovecot/
log_path: /var/log/dovecot.log
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable: /usr/local/libexec/dovecot/imap-login
auth default:
  verbose: yes
  passdb:
driver: pam
  userdb:
driver: passwd
#

I'm still getting the same error as before:

ovecot: Sep 17 12:42:43 Info: imap-login: Login: user=, method=PLAIN, 
rip=127.0.0.1, lip=127.0.0.1, secured
dovecot: Sep 17 12:42:43 Error: IMAP(wfoatst): mail_location not set and 
autodetection failed: Mail storage autodetection failed with 
home=/var/mail/wfoatst
dovecot: Sep 17 12:42:43 Fatal: IMAP(wfoatst): Namespace initialization failed

Any more thoughts?


How about a "ls -la /var/mail/wfoatst"

What do you use for your LDA?


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Converting from MBOX to Maildir broke procmail and Spamassasin and halted incoming mail

2008-09-17 Thread Scott Silva

on 9-17-2008 12:52 PM Dan Roberts spake the following:

Hi Scott -

How would I tell?   I built the box from scratch and set up CentOS Linux 
5 up on it - over one year, probably not more than three.


I had been running with a RedHat system prior to that - and I may well 
have copied the procmailrc settings from that -- don't actually 
recall.   But Dovecot, Procmail and Spamassasin all came up fresh with 
the install of CentOS.



Everything should be new enough to work.
I can't help you with the procmail recipe as I do all my spam and virus 
scanning with MailScanner. All done before the LDA.


Your setting of DEFAULT=$HOME/Maildir/ should have worked unless either the 
Maildir directory in the users home was not there or not accessible due to 
permissions.


The link to the procmail page might nudge you in the right direction.

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Connecting to dovecot

2008-09-17 Thread Scott Silva

on 9-17-2008 1:13 PM Grant Lowe spake the following:

As far as ls -la:

# ls -la /var/mail/wfoatst
-rw---   1 wfoatst  users   1406 Sep 16 15:13 /var/mail/wfoatst
#

As far as the LDA, I'm using the dovecot LDA.  Here's the line from 
/etc/mail/sendmail.cf:

##*##
###   DOVECOT Mailer specification  ###
##*##
Mdovecot,   P=/usr/local/libexec/dovecot/deliver, F=DFMPhnu9,
 S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP/HdrFromSMTP,
 T=DNS/RFC822/X-Unix,
 A=deliver -d $u




Are you trying to have *all* mail in /var/mail/%u or just inboxes?
Your ls looks like you have mbox format storage.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Connecting to dovecot

2008-09-17 Thread Scott Silva

on 9-17-2008 2:43 PM Grant Lowe spake the following:

We want to have just inboxes in /var/mail/%u.


I'm not sure how well that is going to work. You might need some sort of home 
directory, but your earlier conf had mail location and home directory pointing 
to the same place. That location can't be a directory AND a file.


Do users have home directories on this server or is it all virtual?

Maybe this has more clues;

http://wiki.dovecot.org/MailLocation



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Connecting to dovecot

2008-09-17 Thread Scott Silva

on 9-17-2008 3:48 PM Grant Lowe spake the following:

We have home directories on the server.  Virtual user's can login (at least 
I've been able to verify that from using telnet to port 143).  Yes the earlier 
mail was different.  I can go back to that configuration if I need to.  
Meanwhile I'll take a look at the link you sent.  Thank you!


Then try this;
mail_location = mbox:~/mail:INBOX=/var/mail/%u

Make sure the home directories map properly and not to /var/mail/%u from 
however you auth. The above puts IMAP folders in a folder called mail in the 
users home directory, and the inbox in /var/mail/%u.


Dovecot will also store its indexes in the ~/mail directory, so it has to be a 
folder.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] dovecot-1.1.3 failure to install

2008-09-26 Thread Scott Silva

on 9-26-2008 1:28 PM tonj spake the following:

I'm using Fedora 9
I downloaded dovecot-1.1.3.tar.gz and extracted it. I then opened a 
terminal in the extracted window. Your install instructions say:


For most people, the usual:
 ./configure
 make
 sudo make install

but when I did them I got

[EMAIL PROTECTED] dovecot-1.1.3]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

[EMAIL PROTECTED] dovecot-1.1.3]# make
make: *** No targets specified and no makefile found.  Stop.

[EMAIL PROTECTED] dovecot-1.1.3]# sudo make install
make: *** No rule to make target `install'.  Stop.
[EMAIL PROTECTED] dovecot-1.1.3]#

can you tell me why the install won't work? thanks for any advice.


Did you try yum install dovecot?



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] dovecot-1.1.3 failure to install

2008-09-28 Thread Scott Silva

on 9-26-2008 3:50 PM tonj spake the following:


- Original Message - From: "Seth Mattinen" <[EMAIL PROTECTED]>
To: 
Sent: Friday, September 26, 2008 11:47 PM
Subject: Re: [Dovecot] dovecot-1.1.3 failure to install



tonj wrote:


- Original Message - From: "Ralf Hildebrandt"
<[EMAIL PROTECTED]>
To: 
Sent: Friday, September 26, 2008 11:33 PM
Subject: Re: [Dovecot] dovecot-1.1.3 failure to install



* tonj <[EMAIL PROTECTED]>:


checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH


No compiler, no compilation. Easy?


not for a newbie no.
what's a complier?


It compiles source code into a binary executable.


so where does a newbie get this complier?

Please be careful here. If you are that new that you don't know what a 
compiler is or where it is found, you need to do some reading so you don't 
leave your equipment vulnerable to be attacked by the scum of the earth. Once 
they hack your server, it is their server, and will flood the rest of humanity 
with spam and viruses...and you will get the blame by your ip addresses being 
added to every blacklist that exists.


Linux is a fun and interesting way to learn, but it is also a very full 
toolset that can wreak havoc if you are not careful!




--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Importing Microsoft PST into Dovecot Imap

2008-10-03 Thread Scott Silva
on 10-3-2008 8:16 AM Ilo Lorusso spake the following:
> Hi ,
> 
> I think the question has been asked before ... but I need to be adviced on
> what would be the best way to import
> microsoft PST's into Dovecot.. ?
> 
> What software can I use..  can a anyone make any recommendations? even if
> one has to spend some money on
> some commecial software.. but it has to work.. so Im looking for someone who
> has tried from experience as ive tried some freeware or trial software off
> the internet with little or no success.
> 
> 
> Thanks and regards...
> 
> Ilo
> 
Are the pst's openable by outlook?
If so, you can add an IMAP connection to the server and copy them over.

-- 
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Feature wish: "Virtual" POP3 folder with IMAP

2008-10-03 Thread Scott Silva
on 10-3-2008 11:44 AM [EMAIL PROTECTED] spake the following:
> Hallo,
> 
> is it possible to implement a "flat folder view" for POP3 users?  
> 
> The problem is that POP3 only knows one folder: INBOX.  Now, if a user logs
> in via POP3, he won't see messages that live outside the INBOX folder - this
> could be e.g. a *SPAM*-flagged message moved to another folder via
> Sieve/LDA/other mechanism.
> 
> What about adding a feature `pop3_remap_folders` to virtually place *all*
> messages spread across different folders inside INBOX, only for the POP3
> session, and without impact on the actual folder structure as seen thru
> IMAP?
> 
> I see some issues though:
> 
>   - How would SENT and TRASH be handled?  These special folders
> shouldn't be part of the game.
> 
>   - What happens if the POP3 client deletes a message, which is the
> default behavior of Outlook and friends?  Proposed logic: really delete
> message if not logged in via IMAP since ($filemtime_of_message -
> $user_configurable_amount_of_seconds), else gracefully ignore client's
> delete request.  This *could* become a problem if quotas are enabled, but
> then again it should be the admin's decision to offer this feature to his
> users.
> 
>   - Message IDs: Would the above Delete-only-if workaround confuse
> some mail clients and make them download the same messages over and over?
> 
>   - Perhaps another way: create a separate POP3 directory inside the
> mailbox, only used by dovecot-pop3.  Inside reside symlinks to the actual
> messages spread across different IMAP folders, which can safely be deleted
> by a POP3 client and also following the real-delete logic described above.
> 
> The benefit of such a virtual folder remapping would be great for systems
> also using webmail and/or Sieve.
> 
A pop3 user probably wouldn't be using any server side filtering. If you have
mostly pop3 users you should be just adding headers or modifying the subject
so they can client side filter them.

I don't think there should be any default server side filtering except for
either tagging or deleting said flotsam. A user should be technically able to
know how and what the filters are and how to use them, and be using IMAP if he
wants server side filtering that moves mail around.

Besides what you propose probably violates a few RFC's.

-- 
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] mbox to Maildir conversion

2008-10-23 Thread Scott Silva
on 10-22-2008 9:11 PM Kyle Wheeler spake the following:
> 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
I have been thinking about converting also. Will the standard auto detect
routines work with both types during the conversion, or will I need to deal
with namespaces?


-- 
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] mbox to Maildir conversion

2008-10-23 Thread Scott Silva
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".

-- 
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


  1   2   3   >