Re: Imap authentication

2008-01-01 Thread Lowell Gilbert
Chris Kottaridis <[EMAIL PROTECTED]> writes:

> I have been using pop to download email messages. I'd like to switch to
> imap.
>
> My mail server is running FreeBSD 5.3
>
> The imap executable is in /usr/local/libexec and inetd.conf is setup
> right. I can telnet to port 143 I am talking to the imapd daemon.
>
> However, I can't seem to get logged in. It seems to not like the
> username and password I provide. I am providing the username and
> password that will work to login interactively to the server.
>
> I assume there is a different authentication method besides the standard
> password file, but as yet I haven't been able to find what that might
> be.
>
> Clearly I am missing something here. Any pointers to how to set up imap
> accounts on the mail server would be appreciated.

It depends on the particular IMAP server you are using.  Most of them
will (by default) authenticate against the system password file.

The best hints are probably to be found in the log file, but you might
need to configure the daemon for greater verbosity first.  With dovecot,
I used "verbose_ssl = yes" to do so.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Imap authentication

2007-12-29 Thread Chris Kottaridis
I have been using pop to download email messages. I'd like to switch to
imap.

My mail server is running FreeBSD 5.3

The imap executable is in /usr/local/libexec and inetd.conf is setup
right. I can telnet to port 143 I am talking to the imapd daemon.

However, I can't seem to get logged in. It seems to not like the
username and password I provide. I am providing the username and
password that will work to login interactively to the server.

I assume there is a different authentication method besides the standard
password file, but as yet I haven't been able to find what that might
be.

Clearly I am missing something here. Any pointers to how to set up imap
accounts on the mail server would be appreciated.

Thanks

Chris Kottaridis([EMAIL PROTECTED])

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Courier-Imap authentication

2004-02-28 Thread Remko Lodder
Hi,

The courier imap program has to be able to reach the location,
it might be that the location you defined, is not reachable
by the user under which imapd runs, (for example imapd runs under
barry-mailserver, and the permissions for /home/barry/Maildir is
700, he is never ever going to access it...)

Hope this helps you a bit,

cheers

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the
hackerscene

mrtg.grunn.org Dutch mirror of MRTG

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] gareth bailey
Verzonden: zaterdag 28 februari 2004 13:37
Aan: [EMAIL PROTECTED]
Onderwerp: Courier-Imap authentication


I recently installed Postfix MTA and Courier-Imap. Postfix
is working correctly. I configured Courier-Imap, all seems
well except i get a message when trying to connect from
client saying "Fatal error: /home/barry/Maildir: Permission
denied"

I have created /usr/local/etcuserdb and run pw2userdb.
I chmod 700 /usr/local/etc/userdb
I created /home/barry/Maildir
I ran userdb "[EMAIL PROTECTED]" set home=/home/barry
mail=/home/barry/Maildir uid=x gid=x
Then i ran userdbpw | userdb "[EMAIL PROTECTED]" set
systempw
.. and finally ran makeuserdb

I think maybe i got the uid and gid incorrect. I thought
that these were the values are stated in /etc/passwd (but
maybe not?). What else could it be?

Thank you
Gareth
__
http://www.webmail.co.za/dialup Webmail ISP - Cool Connection, Cool Price
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Courier-Imap authentication

2004-02-28 Thread gareth bailey
I recently installed Postfix MTA and Courier-Imap. Postfix
is working correctly. I configured Courier-Imap, all seems
well except i get a message when trying to connect from
client saying "Fatal error: /home/barry/Maildir: Permission
denied" 

I have created /usr/local/etcuserdb and run pw2userdb.
I chmod 700 /usr/local/etc/userdb
I created /home/barry/Maildir
I ran userdb "[EMAIL PROTECTED]" set home=/home/barry
mail=/home/barry/Maildir uid=x gid=x
Then i ran userdbpw | userdb "[EMAIL PROTECTED]" set
systempw
.. and finally ran makeuserdb

I think maybe i got the uid and gid incorrect. I thought
that these were the values are stated in /etc/passwd (but
maybe not?). What else could it be?

Thank you 
Gareth
__
http://www.webmail.co.za/dialup Webmail ISP - Cool Connection, Cool Price
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: IMAP Authentication

2002-12-30 Thread Miguel Mendez
On Sun, 29 Dec 2002 22:29:10 +0100
Roman Neuhauser <[EMAIL PROTECTED]> wrote:

Hi,

> Ugh. What kind of iron is that, and what version of FreeBSD? What
> impact on performance has the IMAP server? IOW, how long does it
> take to open such a maildir if you access it directly?

The mail is stored in a K6-2/300MHz running Cyrus IMAPD 2.0.17 on NetBSD
1.6. The client is a dual Pentium III running FreeBSD 5.0-RC. Since
Cyrus has its own way of storing mail, there's no such thing a direct
access.
 
> It takes my computer a few seconds to open my biggest mailboxes
> (~16,000 messages each, 68 and 54 megs, resp.), and I've been

Is that through IMAP or direct? I guess that's direct mbox access.

> thinking about going to Maildir because it lasts too long...  Of
> course, I don't access my ~/Mail through an IMAP server...

I once thought about using Maildir too, but when it came time to switch
to IMAP, I tried Cyrus first (my other choice was Courier), and since it
works so well, never looked back.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: IMAP Authentication

2002-12-29 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-28 16:15:37 +0100:
> On Sat, 28 Dec 2002 05:54:50 -0800 Adam Weinberger <[EMAIL PROTECTED]> wrote:
> > I use courier-imapd with SquirrelMail, and it rocks. It doesn't knock
> > my socks off when it's using really large directories, though. I save
> > every porn spam I get (dunno why... I get about 50/day), and it takes
> > my server about a good 5 minutes to parse the directory each time I
> > open the folder in mutt. Or squirrelmail.
> 
> That seems to be pretty common. Although it has gotten slightly better,
> sylpheed used to take a long time scanning folders with say, 500 or more
> messages in them. 0.8.7+ seem to have gotten a bit better. Surprisingly,
> Mozilla's mail client scans those folders in seconds, too bad I don't
> like the rest of its features.

Ugh. What kind of iron is that, and what version of FreeBSD? What
impact on performance has the IMAP server? IOW, how long does it
take to open such a maildir if you access it directly?

It takes my computer a few seconds to open my biggest mailboxes
(~16,000 messages each, 68 and 54 megs, resp.), and I've been
thinking about going to Maildir because it lasts too long...  Of
course, I don't access my ~/Mail through an IMAP server...

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: IMAP Authentication

2002-12-28 Thread Miguel Mendez
On Sat, 28 Dec 2002 05:54:50 -0800
Adam Weinberger <[EMAIL PROTECTED]> wrote:

Hi,

> I use courier-imapd with SquirrelMail, and it rocks. It doesn't knock
> my socks off when it's using really large directories, though. I save
> every porn spam I get (dunno why... I get about 50/day), and it takes
> my

Heh, I didn't know spam was a collectible now :-P Good lord, set a
higher threshold in spamassassin and ln -s ~/Mail/spam to /dev/null,
works like a charm :)

> server about a good 5 minutes to parse the directory each time I open
> the folder in mutt. Or squirrelmail.

That seems to be pretty common. Although it has gotten slightly better,
sylpheed used to take a long time scanning folders with say, 500 or more
messages in them. 0.8.7+ seem to have gotten a bit better. Surprisingly,
Mozilla's mail client scans those folders in seconds, too bad I don't
like the rest of its features.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: IMAP Authentication

2002-12-28 Thread Adam Weinberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

>> (12.28.2002 @ 0227 PST): Toomas Aas said, in 0.7K: <<
> >  In addition, does anyone have a preference on the use of a pop3/imap
> > setup for a mail server?  
> 
> It is my understanding that UW-IMAP is not the best possible IMAP 
> server out there. I've read about lots of security problems with it in 
> the past.

I absolutely, positively, could not get imap-uw to work with mutt, no
matter what I tried. So I gave up, and went with courier-imapd.

> Regarding my preference - Cyrus IMAPD has always worked well for my 
> webmail server (not using Squirrelmail, though).

I use courier-imapd with SquirrelMail, and it rocks. It doesn't knock my
socks off when it's using really large directories, though. I save every
porn spam I get (dunno why... I get about 50/day), and it takes my
server about a good 5 minutes to parse the directory each time I open
the folder in mutt. Or squirrelmail.

# Adam


- --
Adam Weinberger
vectors.cx  >>  [EMAIL PROTECTED]
FreeBSD.org <<  [EMAIL PROTECTED]
Bayer Berkeley  >>  [EMAIL PROTECTED]
#vim:set ts=8: 8-char tabs prevent tooth decay.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+Da0qo8KM2ULHQ/0RAq7qAKDPvpKW7ERHzFY1fRo7Rp7MCwxjcQCgr9VL
W2J6OHW9xgQyOfWFmgPqJJg=
=CaB9
-END PGP SIGNATURE-

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: IMAP Authentication

2002-12-28 Thread Toomas Aas
Hi!

>  In addition, does anyone have a preference on the use of a pop3/imap
> setup for a mail server?  

Well, you've opened the can of worms :-)

It is my understanding that UW-IMAP is not the best possible IMAP 
server out there. I've read about lots of security problems with it in 
the past.

Regarding my preference - Cyrus IMAPD has always worked well for my 
webmail server (not using Squirrelmail, though).
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* If they combined country with rap, would they call it crap?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: IMAP Authentication

2002-12-27 Thread Jonathan Chen
On Fri, Dec 27, 2002 at 03:46:07PM -0500, [EMAIL PROTECTED] wrote:

[...]
> Ive install the
> imap-uw port and added the lines in pam.conf that they suggest in the
> pkg-message in the ports directory, but, when users try to login, I see a
> "imapd[x]: Login disabled user=user auth=user host=localhost.mydomain.com
> [127.0.0.1] (substitute "user for a username" and "localhost.mydomain" for the
> hostname/domainname of the box).

You need to deinstall your imap-uw installation and rebuild it with:

make -DWITH_SSL_AND_PLAINTEXT install clean
-- 
Jonathan Chen <[EMAIL PROTECTED]>
---
"I love deadlines. I like the whooshing sound they make as they fly by"
- Douglas Adams

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



IMAP Authentication

2002-12-27 Thread craig

All,

Im fairly new to FreeBSD but am getting the basics down.  Im trying to setup a
new FreeBSD server for email use here at work for external customers.  Our
customer's currently use Squirrelmail on Linux boxes.  Ive got FreeBSD 4.7 with
Postfix and qpopper working with virtual domains.  With Squirrelmail, you use
the IMAP protocol, but, I cant seem to get users authenticated.  Ive install the
imap-uw port and added the lines in pam.conf that they suggest in the
pkg-message in the ports directory, but, when users try to login, I see a
"imapd[x]: Login disabled user=user auth=user host=localhost.mydomain.com
[127.0.0.1] (substitute "user for a username" and "localhost.mydomain" for the
hostname/domainname of the box).

Being new to IMAP (cuz damnit, the POP3 is working!), Im not sure what the
problem is.  Ive looked on the UW IMAP site, but, I couldnt find anything useful.

Im sure someone knows, you guys are smart.  :)  In addition, does anyone have a
preference on the use of a pop3/imap setup for a mail server?  All this box will
do is pop mail and provide a web interface to their mailbox.  I dont really care
what pop3/imap setup I use, so long as it works, but, if one is better than
another for my situation, does anyone have a suggestion?

Thanks in advance,

Craig

-
This mail sent through IMP: http://horde.org/imp/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message