View Full Version : No SMTP Auth?
WALoeIII
05-02-2004, 12:05 AM
I can't auth to send messages from external clients:
The SMTP server “mydomain.com” rejected the password for user “user@mydomain.com”
(I changed the values) What should I check for this? I CAN send mail in squirrelmail.
WALoeIII
05-04-2004, 10:19 PM
Does anyone have any idea what I should check? I know the source was patched before I installed qmail.
snowsam
06-07-2004, 01:32 AM
The first place I would start is to look at some of your log files when trying to send an email.
For example:
tail -f /var/log/auth.log
tail -f /var/log/syslog
etc.
What happens if you try to telnet into port 25 on your mail server and send mail manually? If you don't know how just do a quick google search.
WALoeIII
06-07-2004, 04:13 AM
I figured it out, it turns out the path to vchkpw was wrong, it was looking in /home/vpopmail which is not where my vpopmail installation was. I think this was related to the fact that I had vpopmail installed as a debian package NOT from source. Anyways, SMTP Auth seems very slow, is there always a delay? My server loads average under .01 so its not that!
I'm thinking about switching to a non vpopmail setup with just Postfix and Courier-Imap since I don't need many of the features offered by this installation anyways.
snowsam
06-07-2004, 11:19 PM
I would think the delay would be coming from DNS lookups that might be timing out. That is always my first guess when it comes to login or response delays.
Sam
WALoeIII
06-08-2004, 02:53 PM
I would think the delay would be coming from DNS lookups that might be timing out. That is always my first guess when it comes to login or response delays.
Sam
How would I check this?
snowsam
06-08-2004, 05:02 PM
*from* the machine you are trying to send mail, do this test by telneting into the email server. If you are testing from a windows machine you may not be able to see what you type, so you might want to prepare them and then copy and paste.
Some sites that walk you through examples:
http://www.garnetchaney.com/how_to_telnet_to_a_mail_server.shtml
http://www.yuki-onna.co.uk/email/smtp.html
What you want to look for a the same long delay from the command line that you are seeing from your mail program. If you see it, try doing the same test from the command line of your server: telnet localhost 25
Do you get the same delay? If not, the main difference between the tests is the location that you did the test from. Take a look at http://gossamer-threads.com/lists/qmail/users/ and either scan the subjects for "slow" or do a search (top right). I bet you will find the fix.
Sam
vBulletin® v3.6.8, Copyright ©2000-2010, Jelsoft Enterprises Ltd.