Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th May 2008, 15:46
bup413 bup413 is offline
Junior Member
 
Join Date: May 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mail Server Setup With Exim, MySQL, Cyrus-Imapd, Horde Webmail On Centos 5.1

I have been banging my head for days and think I have finally narrowed things down. Following the HowTo listed in the title everything appeared to be going fine until I tried to login to Horde. I am down to this:
if I login to horde with user test_user@domain.net and watch the logs I see it is not passing the domain.net through to authenticate. I then went into MySQL and removed domain.net from that user. It now authenticates fine, however when trying to send an email I get the following error: "There was an error sending your message: Validation failed for: test_user@.SYNTAX-ERROR"
Honestly there is only one domain being used and always will be that way I would just assume users not have to put in the domain.net. Is there a way to knock out both problems at once?
Reply With Quote
Sponsored Links
  #2  
Old 29th May 2008, 19:23
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

You should be able to authenticate with the full email address, the domain part is passed as the realm to the auth process.
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #3  
Old 29th May 2008, 21:56
bup413 bup413 is offline
Junior Member
 
Join Date: May 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default That was my thinking

That is what I thought, however when watching the logs is is parsing the complete email and tossing the domain. The realm comes through ' '

-A
Reply With Quote
  #4  
Old 30th May 2008, 13:22
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

are you running saslauthd with the -r option ?
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #5  
Old 30th May 2008, 13:55
bup413 bup413 is offline
Junior Member
 
Join Date: May 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I added the -r flag in /etc/sysconfig/saslauthd and tried again.
Here is the tail from the log file.

saslauthd[31401]: do_auth : auth failure: [user=test_user] [service=imap] [realm=] [mech=pam] [reason=PAM auth error]
Reply With Quote
  #6  
Old 30th May 2008, 14:12
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

I had this exact issue when i wrote the tutorial, problem is i dont remember how i fixed i thought it was the -r flag but it seems not to be, do u have a default domain in your imapd.conf file ?
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Filtering emails using Spamassassin and Clamav for Exchange 2000 Server Rocky Server Operation 19 11th March 2008 08:27
strange mail log entries cruz Server Operation 1 4th November 2007 10:28
Postfix reject connections gabrix Server Operation 27 25th January 2007 08:37
Install ISPConfig on CentOS Server, in brief gfts Tips/Tricks/Mods 11 4th April 2006 08:29
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 02:30


All times are GMT +2. The time now is 16:58.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.