Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cyrus pop server authentication issues

Status
Not open for further replies.

Midiean

IS-IT--Management
Jul 18, 2001
112
US
I am putting together an email server using sendmail and cyrus imap/pop. Sendmail currently has no issues with it. I can connect, authenticatate and send mail all day long. The problem is with cyrus. I can see the server, telnet to port 110. However, i can't authenticate using any mail client program. I've tried on KMail and MS Outlook and both are coming back with invalid password responses.

I've tried changing the config files in pam.d
pop
imap
lmtp
sieve

to the same folder address for authentication as sendmails, thinking it may be an issue of improper authentication files, but that hasn't worked. I've dumped the rpm and reinstalled to take out the possibility of bad install. I've been pounding my head on this for a coulpe days, anyone have any ideas as to what would be causing an authentication error like this?

I have also tried fetchmail and i am receiving the following errors:

Server CommonName mismatch:localhost.localdomain != (ip address)
Server CommonName mismatch:localhost.localdomain != (ip address)
Authorization faliur on root@(ip address)
Query status=3 (AUTHFAIL)
 
1) can you telnet to the port and authenticate?
2) have you set up an account under cyrus? It doesn't use the normal password authentication by default, I believe it wants to use SASL-AUTHD.
 
I can telnet, but not authenticate.
It did just dawn on me about 10 minutes ago that it uses it's own authentication system. However, I don't know what the authentication system is or how to run the app. I've found something called cyradm in an orielly book but can't locate the file.

can cyrus be setup to use the unix username and password?
 
I don't know. I'm hosting mail for a couple hundred so I use saslauthd to hit against a mysql database.
 
i've installed cyrus with the Redhat Package Manager in the gui, this of course gives you no options as to what to install. Using cyradm, i cannot log it due to improper password. does sasl set a default password, and what is it.
 
does sasl set a default password
no it doesnt

try running saslauthd as eric, may instantly fix your probs. Take also a look at the cyrus documentation, about the different authing mechs provided and how they can be accessed (as auxprop, sasldb..)
I couldnt find an url for you on a fast google.. I had myself cyrus running once, with many auth problems.
It was running fine without saslauthd on the start, later when i messed with it, it refused to work unless saslauthd was running.

. Mac for productivity
.. Linux for developement
... Windows for solitaire
 
i've dumped cyrus for reasons of not being able to authenticate to the server. I've gone to qpopper, still having the same issues, but i've noticed that in the setup i'm to modify the inetd.conf file. This file should be located in the etc/ folder, however, the only thing that closely resembles it is xinetd.conf and it has nothing resembling the string commands that i need to modify. Below is the string I need to place in the script file

pop-3 <tab> stream <tab> tcp <tab> nowait <tab> root <tab> /usr/local/lib/popper qpopper -s

any thoughts on why this file would not be in Core 3 and what file replaced it?
 
This is due to fedora using xinetd instead inetd (good idea). Either form that pop-3 into the new format (/etc/xinetd.d/*) or place it in /etc/inetd.conf as usually, but run xinetd with -inetd_compat.

. Mac for productivity
.. Linux for developement
... Windows for solitaire
 
Hi,

I was able to get cyrus IMAP server working with FC2. I am running sendmail as my MTA, using cyrus as my IMAP server, using saslauhd for email authentication, and sieve as my server sided filter. I use squirrelmail as the GUI to set sieve filters on the mail server. I found the following on the web that help me put it together:




Regards,

LelandJ

Leland F. Jackson, CPA
Software - Master (TM)
Nothing Runs Like the Fox
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top