[Dovecot] Unable to Login to Dovecot.
I am unable to login to dovecot . I have edited dovecot.conf as per the Basic Configuration.txt in the wiki.I am using Suse 10.2 on I586 and OS is Linux 2.6.18.2-34-default i686. Any help will be appreciated. Lisiting of Dovecot.conf Saisuse:~ # dovecot -n # 1.1.3: /usr/local/etc/dovecot.conf log_path: /var/log/dovecot.log info_log_path: /var/log/info.dovecot disable_plaintext_auth: no login_dir: /usr/local/var/run/dovecot/login login_executable: /usr/local/libexec/dovecot/imap-login login_greeting: Hi Buddy got Password!. mail_privileged_group: mail auth default: verbose: yes debug: yes debug_passwords: yes passdb: driver: passwd-file args: /etc/passwd.dovecot userdb: driver: passwd Lisiting of Dovecot.log dovecot: Oct 02 12:43:52 Error: auth(default): userdb(Rajiv,127.0.0.1): user not found from userdb Lisitng of info.dovecot dovecot: Oct 02 12:43:26 Info: Dovecot v1.1.3 starting up dovecot: Oct 02 12:43:26 Info: auth(default): passwd-file /etc/passwd.dovecot: Read 1 users dovecot: Oct 02 12:43:27 Info: auth(default): new auth connection: pid=19922 dovecot: Oct 02 12:43:27 Info: auth(default): new auth connection: pid=19923 dovecot: Oct 02 12:43:27 Info: auth(default): new auth connection: pid=19924 dovecot: Oct 02 12:43:43 Info: auth(default): new auth connection: pid=19930 dovecot: Oct 02 12:43:52 Info: auth(default): client in: AUTH 1 PLAIN service=imapsecured lip=127.0.0.1 rip=127.0.0.1 lport=143 rport=52353 resp=AFJhaml2AHBhc3N3b3Jk dovecot: Oct 02 12:43:52 Info: auth(default): passwd-file(Rajiv,127.0.0.1): lookup: user=Rajiv file=/etc/passwd.dovecot dovecot: Oct 02 12:43:52 Info: auth(default): client out: OK1 user=Rajiv dovecot: Oct 02 12:43:52 Info: auth(default): master in: REQUEST1 19924 1 dovecot: Oct 02 12:43:52 Info: auth(default): passwd(Rajiv,127.0.0.1): lookup dovecot: Oct 02 12:43:52 Info: auth(default): passwd(Rajiv,127.0.0.1): unknown user dovecot: Oct 02 12:43:52 Info: auth(default): master out: NOTFOUND 1 dovecot: Oct 02 12:43:52 Info: imap-login: Internal login failure (auth failed, 1 attempts): user=Rajiv, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured dovecot: Oct 02 12:46:18 Info: auth(default): new auth connection: pid=19976 Thanks -- -- Rajiv Gore
Re: [Dovecot] Unable To Move IMAP Folder (Dovecot)
On 10/1/2008 6:40 PM, Roderick A. Anderson wrote: Carlos Williams wrote: On Wed, Oct 1, 2008 at 4:43 PM, pod [EMAIL PROTECTED] wrote: Maybe you need to subscribe to your new test folder from your Thunderbird session. I am not sure I follow. When I am in Thunderbird and I create a new subfolder under my Inbox, it shows up on the emal server as: /home/user/Maildir/.new_folder When I do this from the client, I don't think I force my client (Thunderbird) to subscribe to the folder. When I cp the folder from the server, do I need to force the my client to subscribe? I believe in Thunderbird there is a setting (the default) to automatically subscribe to 'Thunderbird' newly created folders. Actually, the only setting I know of in Tbird for handling subscribed folders is: Account Settings Server Settings Advanced Show only subscribed folders (checkbox) There is a setting for automatically setting new folders to 'offline' mode. -- Best regards, Charles
[Dovecot] Bug in dovecot 1.2 dict
Hi Timo, Hi *, in 1.2 the dict server (tested with sqlite backend) is somewhat broken. It bails out regularly with Fatal: dict: Socket already exists: ... (looks like a race condition as it doesn't fail always). We discovered that this new code in dict-server.c seems to be the problem: server-fd = net_listen_unix_unlink_stale(path, 64); if (server-fd == -1) { if (errno == EADDRINUSE) i_fatal(Socket already exists: %s, path); else i_fatal(net_listen_unix(%s) failed: %m, path); } replacing it with the old code: int i = 0; [...] while (server-fd == -1) { server-fd = net_listen_unix(path, 64); if (server-fd != -1) break; if (errno != EADDRINUSE || ++i == 2) i_fatal(net_listen_unix(%s) failed: %m, path); /* see if it really exists */ if (net_connect_unix(path) != -1 || errno != ECONNREFUSED) i_fatal(Socket already exists: %s, path); /* delete and try again */ if (unlink(path) 0) i_fatal(unlink(%s) failed: %m, path); } fixes the problem. But I think the real fix would have to be done in the new function `net_listen_unix_unlink_stale'. cheers sascha -- Sascha Wilde OpenPGP key: 4BB86568 Intevation GmbH, Osnabrück http://www.intevation.de/~wilde/ Amtsgericht Osnabrück, HR B 18998 http://www.intevation.de/ Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner pgpAC1O2gXijB.pgp Description: PGP signature
Re: [Dovecot] Annotation plugin for dovecot
Bernhard Herzog [EMAIL PROTECTED] writes: The plugin is available as a mercurial repository at http://hg.intevation.org/kolab/dovecot-metadata-plugin/ We just updated the repository to work with dovecot 1.2 -- which in turn breaks it for 1.1.x. If you want to use it with dovecot 1.1.x use the version tagged as works-with-dovecot-1.1. sascha -- Sascha Wilde OpenPGP key: 4BB86568 Intevation GmbH, Osnabrück http://www.intevation.de/~wilde/ Amtsgericht Osnabrück, HR B 18998 http://www.intevation.de/ Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner pgp8OeCrQnRVP.pgp Description: PGP signature
Re: [Dovecot] Step-by-set Postfix/Dovecot/LDA?
Hi, I set up my Services using this howto: http://workaround.org/articles/ispmail-etch/ BR, Markus Anyone know of a /complete/ step-by-step HOWTO for setting up a system using Postfix, Dovecot, and Deliver? I'm looking to put a new mail server together that will host three domains with pretty low volumes of email. Later adding three or four more for some non-profits that I host. I'm finding my self skipping all around the Postfix and Dovecot sites trying to come up with this setup. I have set up Postfix in several different configurations: inbound spool, outbound SMTP, regular mail server, etc. And with Dovecot I was lucky as it ran for me pretty much out of the box. Of course that was on a single domain mail server. (Not to mention it is a really old version.) Since it went up I've added a couple of domains to my personal collection and rather than add a new mail server for each I thought I'd go the virtual route. Anyone have a complete set of example .conf files they could share? main.cf, master.cf dovecot.conf Isn't it about time for a Dovecot book? TIA, Rod --
Re: [Dovecot] Step-by-set Postfix/Dovecot/LDA?
Markus Reymann wrote: Hi, I set up my Services using this howto: http://workaround.org/articles/ispmail-etch/ Thanks Markus. This looks very promising. Between an example I received and what I've done so far hopefully I'll have it today. The interesting issue right now is I think I've got my firewall in a knot. I can't even telnet to the mail server port. So I can't even test if what I've got so far is any where near good. !#$% Rod -- BR, Markus Anyone know of a /complete/ step-by-step HOWTO for setting up a system using Postfix, Dovecot, and Deliver? I'm looking to put a new mail server together that will host three domains with pretty low volumes of email. Later adding three or four more for some non-profits that I host. I'm finding my self skipping all around the Postfix and Dovecot sites trying to come up with this setup. I have set up Postfix in several different configurations: inbound spool, outbound SMTP, regular mail server, etc. And with Dovecot I was lucky as it ran for me pretty much out of the box. Of course that was on a single domain mail server. (Not to mention it is a really old version.) Since it went up I've added a couple of domains to my personal collection and rather than add a new mail server for each I thought I'd go the virtual route. Anyone have a complete set of example .conf files they could share? main.cf, master.cf dovecot.conf Isn't it about time for a Dovecot book? TIA, Rod --
[Dovecot] Expunge working on folders, but not main mailbox
I've recently installed dovecot, and while the behavior on folders is correct, the inbox cannot be expunged. This is 1.1.3 running on Fedora release 8 (Werewolf) on ext3 filesystems, using both thunderbird and squirrel clients. Any assistance would be appreciated. X # 1.1.3: /usr/local/etc/dovecot.conf info_log_path: /tmp/dovecot.log protocols: imap imaps pop3 pop3s disable_plaintext_auth: no login_dir: /usr/local/var/run/dovecot/login login_executable(default): /usr/local/libexec/dovecot/imap-login login_executable(imap): /usr/local/libexec/dovecot/imap-login login_executable(pop3): /usr/local/libexec/dovecot/pop3-login mail_location: mbox:~/Mail:INBOX=/var/spool/mail/%u mail_debug: yes mail_executable(default): /usr/local/libexec/dovecot/imap mail_executable(imap): /usr/local/libexec/dovecot/imap mail_executable(pop3): /usr/local/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/local/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3 auth default: verbose: yes passdb: driver: pam userdb: driver: passwd plugin: mail_log_events: all
Re: [Dovecot] disbale to responded to an unrequested SSL Certificate
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 30 Sep 2008, Andre Hübner wrote: I may sound like a total ox, but I wonder if the client _requests_ a certificate at all? Till now I thought that the client starts the TLS handshake and the server responses with a certificate, if approrpiate for the cipher both had agreed on. The server has no way to know which symbolic name the client originally used when resolving into an IP. So, to run several Dovecot instances, each configured with one certificate matching the symbolic name of the interface, sounds pretty straight forward to me. Bye, - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFI5OHOVJMDrex4hCIRAkHoAJ4w9NhOXYjKHV1qRWVN0iInH6T+dwCfbkdj 9QYTPIgcapxuNpHLz/Kd3ok= =+2EI -END PGP SIGNATURE-
Re: [Dovecot] Expunge working on folders, but not main mailbox
On 9/29/2008, Xev Gittler ([EMAIL PROTECTED]) wrote: Any assistance would be appreciated. Logs of an attempt to expunge the Inbox? -- Best regards, Charles
Re: [Dovecot] Unable to Login to Dovecot.
Dnia czwartek, 2 października 2008, Rajiv Gore napisał: [...] Lisiting of Dovecot.log dovecot: Oct 02 12:43:52 Error: auth(default): userdb(Rajiv,127.0.0.1): user not found from userdb Lisitng of info.dovecot dovecot: Oct 02 12:43:26 Info: Dovecot v1.1.3 starting up dovecot: Oct 02 12:43:26 Info: auth(default): passwd-file /etc/passwd.dovecot: Read 1 users [...] dovecot: Oct 02 12:43:52 Info: auth(default): passwd-file(Rajiv,127.0.0.1): lookup: user=Rajiv file=/etc/passwd.dovecot dovecot: Oct 02 12:43:52 Info: auth(default): client out: OK1 user=Rajiv passdb has verified user's password dovecot: Oct 02 12:43:52 Info: auth(default): master in: REQUEST1 19924 1 dovecot: Oct 02 12:43:52 Info: auth(default): passwd(Rajiv,127.0.0.1): lookup dovecot: Oct 02 12:43:52 Info: auth(default): passwd(Rajiv,127.0.0.1): unknown user userdb doesn't know about this user passdb: driver: passwd-file args: /etc/passwd.dovecot userdb: driver: passwd the passwd userdb looks up user info in /etc/passwd, and it seems that you don't have user Rajiv in /etc/passwd. You might want to read: http://wiki.dovecot.org/UserDatabase and perhaps: http://wiki.dovecot.org/AuthDatabase/PasswdFile -- Mateusz signature.asc Description: This is a digitally signed message part.
Re: [Dovecot] Bug in dovecot 1.2 dict
On 02.10.2008, Sascha Wilde wrote: We discovered that this new code in dict-server.c seems to be the problem: server-fd = net_listen_unix_unlink_stale(path, 64); if (server-fd == -1) { if (errno == EADDRINUSE) i_fatal(Socket already exists: %s, path); else i_fatal(net_listen_unix(%s) failed: %m, path); } It turns out the problem is that net_listen_unix_unlink_stale is called even if a file descriptor is passed into dict_server_init. The attached patch fixes it for me. Regards, Bernhard -- Bernhard Herzog | ++49-541-335 08 30 | http://www.intevation.de/ Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998 Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner diff -r 1155c1f7fed8 src/dict/dict-server.c --- a/src/dict/dict-server.c Wed Oct 01 16:07:57 2008 +0300 +++ b/src/dict/dict-server.c Thu Oct 02 20:07:57 2008 +0200 @@ -526,12 +526,14 @@ struct dict_server *dict_server_init(con server-path = i_strdup(path); server-fd = fd; - server-fd = net_listen_unix_unlink_stale(path, 64); if (server-fd == -1) { - if (errno == EADDRINUSE) - i_fatal(Socket already exists: %s, path); - else - i_fatal(net_listen_unix(%s) failed: %m, path); + server-fd = net_listen_unix_unlink_stale(path, 64); + if (server-fd == -1) { + if (errno == EADDRINUSE) +i_fatal(Socket already exists: %s, path); + else +i_fatal(net_listen_unix(%s) failed: %m, path); + } } server-io = io_add(server-fd, IO_READ, signature.asc Description: This is a digitally signed message part.
[Dovecot] Any suggestions for backing up an imap server and whould maildir or dbox be better than mbox?
Hi, we run a Red Hat EL 5.2 mailserver with dovecot as the imap server. Mails are stored in mbox format and there are about 134GB of mail. At the moment users copy their importent mail to their workstation accounts wich are backed up nightly. What are your suggestions to back up the mails not copied? Thanks for any comments. BTW: Dose changing the mailbox format from mbox to Maildir or dbox dose have any advantages? Best regards Götz Reinicke -- Götz Reinicke IT-Koordinator Tel. +49 7141 969 420 Fax +49 7141 969 55 420 E-Mail [EMAIL PROTECTED] Filmakademie Baden-Württemberg GmbH Mathildenstr. 20 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzende des Aufsichtsrats: Prof. Dr. Claudia Hübner Staatsrätin für Demographischen Wandel und für Senioren im Staatsministerium Geschäftsführer: Prof. Thomas Schadt
Re: [Dovecot] dovecot-ldap.conf and gosaMailAlternateAddress
william Famy a écrit : Hi. __ [wf:] No idea? any help welcome. regards. I am looking how to allow gosaMailAlternateAddress connection. I use postfix mail server under debian computer. this is my dovecot-ldap.conf hosts = 192.168.0.3 auth_bind = yes ldap_version = 3 base = dc=mydc user_attrs = gosaMailServer=postfix #user_filter = ((objectClass=gosaMailAccount)(mail=%s)) user_filter = ((objectClass=gosaMailAccount)(|(mail=%u)(gosaMailAlternateAddress=%u))) #((objectClass=gosaMailAccount)(mail=%u)) pass_attrs = mail=user,userPassword=password #pass_filter = ((objectClass=gosaMailAccount)(mail=%s)) pass_filter = ((objectClass=gosaMailAccount)(|(mail=%u)(gosaMailAlternateAddress=%u))) #((objectClass=gosaMailAccount)(mail=%u)) default_pass_scheme = CRYPT user_global_uid = vmail user_global_gid = vmail i can receveil mail to gosaMailAlternateAddress the filter is OK. But when i connect to imap to [EMAIL PROTECTED] i try to connect with my mail [EMAIL PROTECTED] instead of [EMAIL PROTECTED] So how to change my dovecot-ldap.conf pass_attrs = mail=user,userPassword=password to allow alternate IMAP connection? regards. vs_ldap:/# ldapsearch -v -h 192.168.0.3 -x -W -D cn=ldap, dc=mydc -b dc=mydc ((objectClass=gosaMailAccount)(|([EMAIL PROTECTED])([EMAIL PROTECTED]))) ldap_initialize( ldap://192.168.0.3 ) Enter LDAP Password: filter: ((objectClass=gosaMailAccount)(|([EMAIL PROTECTED])([EMAIL PROTECTED]))) requesting: All userApplication attributes # extended LDIF # # LDAPv3 # base dc=mydc with scope subtree # filter: ((objectClass=gosaMailAccount)(|([EMAIL PROTECTED])([EMAIL PROTECTED]))) # requesting: ALL # # william famy, people, mydc dn: cn=william famy,ou=people,dc=mydc sn: famy givenName: william uid: wfamy cn: william famy gosaMailServer: postfix gosaMailQuota: 0 gosaMailDeliveryMode: [L] gosaSpamSortLevel: 0 gosaSpamMailbox: INBOX objectClass: gosaMailAccount objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson objectClass: gosaAccount mail: [EMAIL PROTECTED] gosaMailAlternateAddress: [EMAIL PROTECTED] sambaLMPassword: sambaNTPassword: sambaPwdLastSet: x sambaBadPasswordCount: 0 sambaBadPasswordTime: 0 userPassword:: xxx # search result search: 2 result: 0 Success # numResponses: 2 # numEntries: 1
Re: [Dovecot] Any suggestions for backing up an imap server and whould maildir or dbox be better than mbox?
From: Götz Reinicke Hi, we run a Red Hat EL 5.2 mailserver with dovecot as the imap server. Mails are stored in mbox format and there are about 134GB of mail. At the moment users copy their importent mail to their workstation accounts wich are backed up nightly. What are your suggestions to back up the mails not copied? Thanks for any comments. You can simply rsync the whole mail store. Gets pretty efficient after the first run. Or take a look at rdiff-backup if you need to store previous copies. BTW: Dose changing the mailbox format from mbox to Maildir or dbox dose have any advantages? I don't think it makes any difference in this case.
Re: [Dovecot] Step-by-set Postfix/Dovecot/LDA?
Quey wrote: Hi Rod, what OS are you using? the one Markus showed is good for debian as its design is based on debian, but there is another one for using other distros, much more generic so its best for slackware and centos etc at http://kb.ausics.net/pf.php Thanks. Some more interesting takes on the process. Right now I'm fighting Postfix and TLS. Mostly missing (never generated) files. Turned off TLS and now I'm getting a dovecot-deliver.log file error from Postfix. Oh well. I'll keep on plugging at it. Rod -- On 02/10/08 23:23:06, Roderick A. Anderson wrote: Markus Reymann wrote: Hi, I set up my Services using this howto: http://workaround.org/articles/ispmail-etch/ Thanks Markus. This looks very promising. Between an example I received and what I've done so far hopefully I'll have it today. The interesting issue right now is I think I've got my firewall in a knot. I can't even telnet to the mail server port. So I can't even test if what I've got so far is any where near good. !#$% Rod -- BR, Markus Anyone know of a /complete/ step-by-step HOWTO for setting up a system using Postfix, Dovecot, and Deliver? I'm looking to put a new mail server together that will host three domains with pretty low volumes of email. Later adding three or four more for some non-profits that I host. I'm finding my self skipping all around the Postfix and Dovecot sites trying to come up with this setup. I have set up Postfix in several different configurations: inbound spool, outbound SMTP, regular mail server, etc. And with Dovecot I was lucky as it ran for me pretty much out of the box. Of course that was on a single domain mail server. (Not to mention it is a really old version.) Since it went up I've added a couple of domains to my personal collection and rather than add a new mail server for each I thought I'd go the virtual route. Anyone have a complete set of example .conf files they could share? main.cf, master.cf dovecot.conf Isn't it about time for a Dovecot book? TIA, Rod --
Re: [Dovecot] Any suggestions for backing up an imap server and whould maildir or dbox be better than mbox?
BTW: Dose changing the mailbox format from mbox to Maildir or dbox dose have any advantages? I don't think it makes any difference in this case. It would make a difference if you were to Rsync. Since Rsync is done on a file level; with mbox every new message means that the entire mbox file will need to be copied out. If you are using Maildir or dbox when you run an rsync it will only copy over the new messages since last Rsync run, being that it's a single new file per message. Of course this holds true with any incremental type backups. signature.asc Description: OpenPGP digital signature
[Dovecot] Slashdot mention: Dovecot swap usage
http://ask.slashdot.org/comments.pl?sid=982541cid=25230889