Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th September 2007, 18:29
chancer chancer is offline
Member
 
Join Date: Sep 2007
Posts: 88
Thanks: 6
Thanked 1 Time in 1 Post
Default Client has a mail authentication problem

I just talked a client through setting up their email client (Thunderbird) so I know it's set up correctly. They have never yet successfully connected to the ISPConfig mail server, so each time they try "Get Mail" the response is "Please enter password", so I know that's OK and I checked the username with them at the same time, exactly as I've entered them in ISPC. dig -t mx gives a sensible response and their web site is working.

The error response after clicking OK, having entered the password, is "Sending the password did not succeed. Mailserver myclient.co.uk responded: Login failed"

I'm getting earache. Anyone got any balm to salve it?
Reply With Quote
Sponsored Links
  #2  
Old 18th September 2007, 18:45
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,036
Thanks: 268
Thanked 152 Times in 132 Posts
Default

Did you client also enable "My server requires authentication"?
I do not know where to look for this in Thunderbird, but in Outlook Express it's under the "servers" tab (at the bottom)

Edit.. After looking at my setup, the info I gave you is for outgoing mail. So this is no good for you..
__________________
Never execute code written on a Friday or a Monday.

Last edited by edge; 18th September 2007 at 18:47.
Reply With Quote
  #3  
Old 18th September 2007, 18:53
catdude catdude is offline
Senior Member
 
Join Date: Jun 2007
Posts: 178
Thanks: 1
Thanked 12 Times in 11 Posts
Default

Quote:
Originally Posted by chancer
I just talked a client through setting up their email client (Thunderbird) so I know it's set up correctly. They have never yet successfully connected to the ISPConfig mail server, so each time they try "Get Mail" the response is "Please enter password", so I know that's OK and I checked the username with them at the same time, exactly as I've entered them in ISPC. dig -t mx gives a sensible response and their web site is working.

The error response after clicking OK, having entered the password, is "Sending the password did not succeed. Mailserver myclient.co.uk responded: Login failed"

I'm getting earache. Anyone got any balm to salve it?
Are you using [DOMAIN]_ as your User Prefix? Assuming you told the client to use "user_name@domain.tld" for his e-mail user name, try using "user_name%domain.tld". Some e-mail clients "help" users buy assuming that a user who enters his full e-mail address really meant to only enter the part before the "@" and strips off the part after.

As an extra verification, have you tried making a telnet connection to port 110 and loggin in manually as that user, just to be sure that the user name and password you're working with really are correct?
Reply With Quote
  #4  
Old 18th September 2007, 18:55
chancer chancer is offline
Member
 
Join Date: Sep 2007
Posts: 88
Thanks: 6
Thanked 1 Time in 1 Post
Default

As far as I can tell, it is not only for outgoing, it is a purely M$ device. It has 2 possible uses:

1. If you're stuck on a IIS server. Cure: flog it and use the money to get anything which will run any other OS. Have a few beers with the excess.

2. M$ sales hype. Ignore it. Buy some "yes, dears" with prezzies out of what you would have spent.

In other words,no use.
Reply With Quote
  #5  
Old 18th September 2007, 20:44
chancer chancer is offline
Member
 
Join Date: Sep 2007
Posts: 88
Thanks: 6
Thanked 1 Time in 1 Post
Default

I disabled automated prefixes for users. I couldn't see the point at the time, but that's another issue.

What the software is doing vis-a-vis alias, @ and domain.tld is not relevant yet. We can't get as far as logging on, which just needs username and password.

I'd love to try telnet. It's years since I have done and I can't work out the syntax now. I've been told by someone "who knows" that I shold ssh into the server first and use it from the cl. When I get there, I'm not sure what to type - been googling to get a clue.
Reply With Quote
  #6  
Old 18th September 2007, 20:59
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,036
Thanks: 268
Thanked 152 Times in 132 Posts
Default

Quote:
Originally Posted by chancer
I'd love to try telnet. It's years since I have done and I can't work out the syntax now. I've been told by someone "who knows" that I shold ssh into the server first and use it from the cl. When I get there, I'm not sure what to type - been googling to get a clue.
Telnet to hostname on port 25
HELO your_domain_name or whatever
MAIL FROM:you@hostname.com
RCPT TO:them@someplace_else.com
DATA
You type your message then CRLF period CRLF (ie, type a period on a line by itself then hit ENTER)
QUIT
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
  #7  
Old 18th September 2007, 21:10
catdude catdude is offline
Senior Member
 
Join Date: Jun 2007
Posts: 178
Thanks: 1
Thanked 12 Times in 11 Posts
Default

Or to check POP access:

telnet <serverip> 110
+OK Hello there. <server sends this>
user username
+OK Password required. <server sends this>
pass [b]user's password/ib]

If you have entered the user name and password correctly, you'll get:
+OK logged in.
If not, you'll get:
-ERR Login failed.

Either way, "quit" will disconnect you from the server.

To test IMAP access:
telnet <server ip> 143
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc. See COPYING for distribution information.
10 login (user name) (password)
If you entered user name and password correctly, you'll get:
10 OK LOGIN Ok.
Otherwise you'll get:
10 NO Login failed.

Either way, entering:
20 logout
will disconnect you from the IMAP server.
Reply With Quote
The Following User Says Thank You to catdude For This Useful Post:
chancer (18th September 2007)
  #8  
Old 18th September 2007, 21:29
chancer chancer is offline
Member
 
Join Date: Sep 2007
Posts: 88
Thanks: 6
Thanked 1 Time in 1 Post
Default

Thanks once more, catdude. There is something wrong. I put in the password and the host returned -ERR Invalid command

I went in to ISPConfig, re-entered the password correctly - I can't log in as the client because I have no idea what password the damned thing is holding for the client - and still couldn't get in via telnet.

Am I right in thinking I can do it on the server command line as root with passwd username? Or has ISPconfig got its own system?
Reply With Quote
  #9  
Old 18th September 2007, 21:35
chancer chancer is offline
Member
 
Join Date: Sep 2007
Posts: 88
Thanks: 6
Thanked 1 Time in 1 Post
Default

No, I entered it wrongly - didn't put pass first. Got in.

So the problem isn't with u/n or pw, then. Any more ideas?

<edit> In my browser, I am seeing this post before an earlier one - totally confusing! </edit>

Last edited by chancer; 18th September 2007 at 21:38.
Reply With Quote
  #10  
Old 18th September 2007, 21:42
catdude catdude is offline
Senior Member
 
Join Date: Jun 2007
Posts: 178
Thanks: 1
Thanked 12 Times in 11 Posts
 
Default

Quote:
Originally Posted by chancer
No, I entered it wrongly - didn't put pass first. Got in.

So the problem isn't with u/n or pw, then. Any more ideas?
That suggests the problem is with the client setup. I believe you said he's running Thunderbird? In the left-hadn column of the TBird screen, click on the name of the e-mail account. In the box that opens up, click on Server Settings. In the "Server Name" box, specify your host name or IP address. In the "User Name" box, enter the user name you used in your telner testing. If that user name includes an "@", replace it with a "%". Click "OK", and you should then be able to fetch e-mail.

At this point, if it still gives you a password error, make sure that you're really connecting to the server you think you are (i.e. if you've got "mail.mydomain.com" in "Server Name", make sure that "dig mail.mydomain.com" returns the IP address of your server).
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
Problem with mail and plugin djmostek Installation/Configuration 10 3rd September 2007 21:12
Mail Server Problem after "How To Fight Spam Using Your Postfix Configuration" bluegrass Installation/Configuration 3 27th December 2006 16:03
My turn - Email problems Wickednix Server Operation 1 16th December 2006 23:48
Big Problem with mail forms. vocoder Installation/Configuration 5 12th July 2006 13:11
Traffic Exceedance Mail Problem krishol General 4 17th February 2006 10:38


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


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