[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nnimap asks for username



Steinar Bang <sb@metis.no> writes:

> The problem is that it now asks me for the user on
> doohan.bang.priv.no, every time I do a get, even though I have both
> doohan and doohan.bang.priv.no in the ~/.authinfo file:
> 
> machine doohan.bang.priv.no login sb
> machine doohan login sb

Both those entries apply to the default port, 143, so if you change
the port you need to specify something like

machine doohan port 8143 password foo login bar

> I get the error message even without the doohan line.  I have not
> tried removing the doohan.bang.priv.no line.  When is the ~/.authinfo
> file read?  Once per session, or every time opening a connection?

Every time a connection is opened.