[Dovecot] Outlook anonymous IMAP login
Hello guys,
I'm trying to setup anonymous IMAP login on a bunch of Outlook clients, but it doesn't seems to work.
I'm using dovecot-0.99.14-r1, on a Gentoo Linux OS.
Using command line anonymous login, it's working just fine:
youri / # telnet localhost 143 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'.
- OK dovecot ready. . CAPABILITY
- CAPABILITY IMAP4rev1 SORT THREAD=REFERENCES MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDREN LISTEXT LIST-SUBSCRIBED NAMESPACE STARTTLS AUTH=PLAIN AUTH=ANONYMOUS . OK Capability completed. . AUTHENTICATE ANONYMOUS
. OK Logged in.
But with Outlook it's not working at all. I tried using no password, or just some random stream, it makes no difference.
The error I got in dovecot's logs are: Feb 07 12:31:16 Info: PAM: pam_authenticate(anonymous) failed: Authentication failure Feb 07 12:31:19 Info: PAM: pam_authenticate(anonymous) failed: Authentication failure Feb 07 12:31:28 Info: PAM: pam_authenticate(anonymous) failed: Authentication failure
My assumption is that Outlook doesn't provide anonymous IMAP support. Could someone confirm this ? Do you know if any workaround/anonymous plugin exist ?
Thanks !
--- Everything takes longer, costs more, and is less useful. -- Erwin Tomash
On Tue, 2006-02-07 at 12:43 +0100, Vincent Jaussaud wrote:
My assumption is that Outlook doesn't provide anonymous IMAP support.
That's right. Most IMAP clients don't since it's so rarely used.
Could someone confirm this ? Do you know if any workaround/anonymous plugin exist ?
You could create anonymous user with empty password, which would then be used.
If you upgraded to 1.0beta, you could do this:
passdb passwd-file { args = /etc/anon.passwd } passdb pam { } userdb passwd-file { args = /etc/anon.passwd } userdb passwd { }
Where /etc/anon.passwd contains something like:
anonymous:{PLAIN}:1000:1000:,,,:/home/anonymous:/bin/false
If you upgraded to 1.0beta, you could do this:
passdb passwd-file { args = /etc/anon.passwd } passdb pam { } userdb passwd-file { args = /etc/anon.passwd } userdb passwd { }
Where /etc/anon.passwd contains something like:
anonymous:{PLAIN}:1000:1000:,,,:/home/anonymous:/bin/false
Ok, thanks for the reply, and the suggestion. It's a production server, so I guess I'll just find another solution.
I was just looking for a way to my users to feed the SpamAssassin autolearn feature, when some SPAM managed to come through. Anonymous IMAP was a nice idea as a central SPAM folder repository for everyone; from which I could regularily feed the SpamAassassin autolearn feature.
I guess I'll just have to find something else.
Cheers, Vincent
--- The more you sweat in peace, the less you bleed in war.
Hello Vincent,
At 17.32 07/02/2006, Vincent Jaussaud wrote:
I was just looking for a way to my users to feed the SpamAssassin autolearn feature, when some SPAM managed to come through. Anonymous ...
I use sendmail, but probably something similar could be done using other MTAs. I created a fake "spam" alias which simple feeds any incoming e-mail to the spamassassin autolearn program: The alias looks like this:
spam: "|spamassassin -x -r", "/var/spam/spam.log"
This makes also a copy of all spam to the "spam.log" mbox. For this to work you need a working bounce command in your mail client software.
Bye,
Denis Sbragion
InfoTecna
Tel: +39 0362 805396, Fax: +39 0362 805404
URL: http://www.infotecna.it
I use sendmail, but probably something similar could be done using other MTAs. I created a fake "spam" alias which simple feeds any incoming e-mail to the spamassassin autolearn program: The alias looks like this:
spam: "|spamassassin -x -r", "/var/spam/spam.log"
This makes also a copy of all spam to the "spam.log" mbox. For this to work you need a working bounce command in your mail client software.
I thought about it; but in such a case, the headers doesn't remain intact. Original headers will be most likely removed by the MUA, while new ones will be added instead.
Isn't SA learning from the headers as well ?
Thanks. Vincent
Bye,
Denis Sbragion InfoTecna Tel: +39 0362 805396, Fax: +39 0362 805404 URL: http://www.infotecna.it --- Declared guilty... of displaying feelings of an almost human nature. -- Pink Floyd, "The Wall"
participants (3)
-
Denis Sbragion
-
Timo Sirainen
-
Vincent Jaussaud