Re: [Dovecot] alias best practice

2009-07-03 Thread Odhiambo ワシントン
On Fri, Jul 3, 2009 at 5:47 PM, Luigi Rosa li...@luigirosa.com wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Given a Linux mail server with Postfix+Dovecot using MySQL as userbase, a
 single
 Linux user for file system access, two mail domains configured (acme1.com
 acme2.com) and a maildir structure as follows

 \var\spool\mail\acme1.com-
 \user1
 \user2
 \user3
 \var\spool\mail\acme2.com-
 \user1
 \user2
 \user3


 I want that the mail of us...@acme1.com and us...@acme2.com goes in
 \var\spool\mail\acme1.com\user1


That's the job for your MTA. Simply make acme2.com and alias to acme1.com



 Note that there could be some users not equal between two domains.


You mean that there can be us...@acme2.com but no us...@acme1.com? Well, in
the case of aliasing, or address rewriting (BTW, I only know how to use Exim
so I am talking about the conceptualization here), if acme2.com is an alias
of acme1.com, then users only need to exist on acme1.com. Suppose there is
john...@acme2.com and no account exists for john...@acme1.com then in the
case of aliasing the mail to johndoe will fail!


 What is the best practice?

 1) Alias at Postfix level


I was going to say yes, but please note my explanation above.




 2) The same maildir path specified in MySQL record


Not really. Doesn't sound good. Deliver mail based on the existence/validity
of e-mail account.



 3) ln -s between \var\spool\mail\acme1.com\user1 and \var\spool\mail\
 acme2.com\user1


Forget this.



 4) Else? (Dovecot virtual mailbox)


I haven't tried this at all.




-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
If you have nothing good to say about someone, just shut up!.
  -- Lucky Dube


[Dovecot] courier-imap 2 Dovecot Migration

2009-06-24 Thread Odhiambo ワシントン
I have a question about migration from courier-imap.

I have a server running courier-imap which I'd like to change to dovecot.
The problem at hand is that there are POP3 users as well as IMAP4 users.Some
of the POP3 users have the option to leave a copy of the message on the
server set in their MuAs.

Is it possible to migrate from courier-imap -- Dovecot and not have these
people re fetching all their old e-mails all over again?


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
If you have nothing good to say about someone, just shut up!.
  -- Lucky Dube


Re: [Dovecot] How do I get my mail from fetchmail into dovecot?

2009-04-29 Thread Odhiambo ワシントン
On Wed, Apr 29, 2009 at 4:46 PM, Michael Steinbeck-Reeves 
mich...@steinbeck-reeves.uk.com wrote:

 I have dovecot (with squirrel mail etc.) running without any problems
 but cannot understand how to get e-mail from a pop server into dovecot.
 I have fetchmail configured to pick up the mail from the pop3 server but
 don't understand how to get it from there into my dovecot mbox


Where does fetchmail put the e-mails?
Point dovecot there with mail_location =... then use your favorite MuA to
access the e-mail.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Clothes make the man.  Naked people have little or no influence on
society.
  -- Mark Twain


[Dovecot] Testing HEAD

2009-04-27 Thread Odhiambo ワシントン
I have successfully compiled HEAD on FreeBSD-7 and I hope I am not doing
anything weird.
./configure \
--cache-file=../cache_file \
--prefix=/opt/dovecot2 \
--with-ioloop=kqueue \
--with-notify=kqueue \
--with-sql=yes \
--with-mysql \
--with-zlib \
--with-bzlib \
--with-ssl=openssl \
--with-sql-drivers

FreeBSD-7# pwd
/opt/dovecot2
FreeBSD-7# ls -al sbin/dovecot*
-rwxr-xr-x  1 root  wheel  132924 Apr 27 16:59 sbin/dovecot
-rwxr-xr-x  1 root  wheel  100452 Apr 27 16:59 sbin/dovecotpw
FreeBSD-7# ./sbin/dovecot -n
dovecot: illegal option -- n
Usage: dovecot [-F] [-c config file] [-p] [-n] [-a]
   [-cb config binary path] [--version] [--build-options]
FreeBSD-7# ./bin/doveconf
doveconf: Fatal: Error in configuration file /opt/dovecot2/etc/dovecot.conf
line 1048: Unknown setting: user

PS: This is the default config it shipped with. Nothing changed so far.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Clothes make the man.  Naked people have little or no influence on
society.
  -- Mark Twain


Re: [Dovecot] Dovecot v2.0 hg tree

2009-04-24 Thread Odhiambo ワシントン
On Fri, Apr 24, 2009 at 3:04 AM, Timo Sirainen t...@iki.fi wrote:

 http://hg.dovecot.org/dovecot-2.0/

 I just did the initial commit for master process rewrite, which marks
 the beginning of Dovecot v2.0. Several things are still missing/broken,
 but at least I was just able to successfully log in using imap :)


How do I retrieve a copy for testing? Can I do svn co ... ?

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Clothes make the man.  Naked people have little or no influence on
society.
  -- Mark Twain