[Dovecot] Authentication a la Postfix's Mynetworks

Marcus Rueckert darix at opensu.se
Fri Nov 5 14:36:05 EET 2010


On 2010-11-05 08:27:30 -0400, Charles Marcus wrote:
> On 2010-11-04 7:28 PM, Marcus Rueckert wrote:
> > On 2010-11-04 15:57:31 -0700, Asai wrote:
> >> Is it possible to automatically authenticate Dovecot users using
> >> the same type of mechanism which makes Postfix able to simply check
> >> SMTP users using the  mynetworks variable?
> >>
> >> Basically I would like to be able to authenticate users on my
> >> designated networks automatically, and require a password for those
> >> outside this network.
> >>
> >> Is this possible?
> 
> > this doesnt make any sense.
> > how would you know what the inbox is for the user if he didnt provide a
> > username?
> 
> Well, he only said require a *password* - presumably he means still
> require a valid username but skip the password check for clients in the
> mynetworks subnet... which, imo, is a really, really bad idea security
> wise, so I won't even try to help with an answer...

well... the syntax for imap auth requires a password, while they could
pass a dummy password ... it is just a stupid idea, you could just pass
the real password and be done.

    darix

-- 
           openSUSE - SUSE Linux is my linux
               openSUSE is good for you
                   www.opensuse.org


More information about the dovecot mailing list