Submitted by compserv on Tue, 09/22/2009 - 18:05
norman@ubuntu:~$ sudo service saslauthd start
* Starting SASL Authentication Daemon saslauthd
* No run directory defined for saslauthd, not starting
Where does the run directory go? The install script should have defined this.
May be related to my other posts about not being able to send email.
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Tue, 09/22/2009 - 18:47 Comment #1
Eric - I think you are already looking into this one..
Submitted by andreychek on Tue, 09/22/2009 - 18:52 Comment #2
What are the contents of your /etc/default/saslauthd file?
Submitted by compserv on Tue, 09/22/2009 - 18:54 Comment #3
Got it fixed the PRAMS varible was defined wrong. It should have been OPTIONS="-c -r -m /var/run/saslauthd" NOT OPTIONS="-m /var/run/saslauthd -r"
Issue Fixed. Still can't sent email.
norman@ubuntu:~$ telnet mail.familymatters.me 25 Trying 24.92.16.168... Connected to mail.familymatters.me. Escape character is '^]'. Connection closed by foreign host. norman@ubuntu:~$
DNS report reports the same thing.
Submitted by andreychek on Tue, 09/22/2009 - 18:59 Comment #4
Yeah, no obvious problems are standing out -- the next step would be for us to log in over SSH and take a look.
If that's okay, you can either enable the remote support module, or email root login details to eric@virtualmin.com. If the do the latter, include a link to this support request in the message body.
Thanks!
Submitted by compserv on Tue, 09/22/2009 - 19:57 Comment #5
Noticed something odd:
i have four domains. Familymatters.me, HowardHosting.biz, Tampaweb.biz, controlpanel1.net
mail.howardhosting.biz mail.tampweb.biz mail.familymatters.biz
From the browser url All point to the www.controlpanel1.net webpage. WTF?
How Do i fix this? Is this related to me not being able to send email?
Submitted by andreychek on Tue, 09/22/2009 - 20:05 Comment #6
Those are unrelated issues.
If you'd like us to help with the email problem, we'll need SSH access as mentioned above.
We can fix additional issues you're seeing on your server at that point, one step at a time ;-)
Submitted by compserv on Tue, 09/22/2009 - 20:38 Comment #7
How would that be done?
Submitted by andreychek on Tue, 09/22/2009 - 20:39 Comment #8
Hrm, I explained that in comment #4 above :-)
Submitted by compserv on Tue, 09/22/2009 - 21:46 Comment #9
Doing that now.
Scheduling removal of keys at 25/Sep/2009 23:59 .. .. done.
Creating master administrator Webmin login virtualmin-support .. .. done.
Sending notification of remote access to remote@virtualmin.com .. .. sent
What time zone are you in?
Submitted by andreychek on Tue, 09/22/2009 - 22:03 Comment #10
Howdy -- it looks like you figured this all out, but lots of details about the Remote Support Module are available here:
http://www.virtualmin.com/documentation/id,support_requests_and_remote_l...
I'm on the east coast of the US, so Eastern Time. Joe and Jamie are on the west coast, with Pacific Time.
Submitted by compserv on Tue, 09/22/2009 - 22:07 Comment #11
ok. Just wanted to know how long to leave th servers on. Will you be able to take a look at it tonight? I gotta have email working for the ISP launch.
Submitted by andreychek on Tue, 09/22/2009 - 22:32 Comment #12
Okay, the email seems to be working now.
There were two parameters configured in Postfix that were causing problems.
The first was "smtpd_sasl_security_options = noanonymous noplaintext". I commented that out, which causes Postfix to just use the default value of "noanonymous".
The other was the "relayhost = localhost" option, which was causing a mail loop. I commented that out as well.
I'm now able to connect to port 25, and was able to sent a test email.
Now, regarding the website issues you were talking about --
The alias "mail.DOMAIN.com" isn't setup for any of your domains; so it'll display the default website for that IP address.
If you're looking to use webmail, the alias setup for that is actually "webmail.DOMAIN.com".
Submitted by compserv on Tue, 09/22/2009 - 23:03 Comment #13
THANKS! : )
I was able to send email from the webmail.familymatters.me page to my gmail account. Strangely enough, I still can't send mail from roundcube install. Any ideas?
Once again, thanks a lot!!
Submitted by andreychek on Tue, 09/22/2009 - 23:10 Comment #14
Sure thing.
Whenever something doesn't work, the key is to look in the logs and figure out what the logs are saying, as well as to provide all relevant error messages you saw at the time.
So if you tried to to send an email and it didn't go through, look in /var/log/mail.log, find the address you tried to send a message to, and look to see if there is an error of some kind associated with it.
I will offer that your hostname, "ubuntu.tampabay.rr.com", doesn't have any DNS associated with it, so some servers may reject emails from your server based on that. You might want to setup an "A" record for that name.
Submitted by compserv on Tue, 09/22/2009 - 23:16 Comment #15
THANKS!!
You've been a life saver!
Submitted by andreychek on Tue, 09/22/2009 - 23:19 Comment #16
No problem... if you're having trouble with RoundCube still, by all means let us know!
Just be sure to include any details from the logs and any error messages you might have seen.
Good luck with your ISP launch!
Submitted by compserv on Wed, 09/23/2009 - 11:09 Comment #17
Thanks. I still can't send through roundcube. Logged in admin/sony777. Getting smtp error (535) authentication failed.
Checked logs:
Sep 23 12:05:01 ubuntu postfix/smtpd[22508]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Sep 23 12:05:01 ubuntu postfix/smtpd[22508]: warning: localhost[127.0.0.1]: SASL LOGIN authentication failed: generic failure
norman@ubuntu:~$ sudo testsaslauthd -u admin.familymatters.me -p sony777 0: OK "Success."
I've enabled remote access.
Submitted by andreychek on Wed, 09/23/2009 - 11:43 Comment #18
Thanks for the details.
What URL can I use to access your RoundCube install?
I'd like to be able to send some tests....
Though, give it another try, I did make a change that may help.
Thanks!
Submitted by compserv on Wed, 09/23/2009 - 11:55 Comment #19
Go to www.familymatters.me Click Check Email Login admin/sony777
or
http://familymatters.me/roundcube/
Submitted by andreychek on Wed, 09/23/2009 - 12:16 Comment #20
It looks like the value of the OPTIONS statement in /etc/default/saslauthd was incorrect.
I set the line to:
OPTIONS="-c -r -m /var/spool/postfix/var/run/saslauthd"
And then restarted saslauthd.
It looks like Postfix is being chrooted on your server, so the path of the saslauthd directory now reflects that.
I was then able to send a test message.
Submitted by compserv on Wed, 09/23/2009 - 12:20 Comment #21
YOU ARE THE BEST!!
Email Works!
Thanks!
Submitted by compserv on Wed, 09/23/2009 - 12:20 Comment #22