Mail server madness
I have tried for about 7 days to get my mailserver working. It's Freebsd 6.2.
Updated the ports with cvsup. I installed apache server. I followed the instructions here: http://www.openaddict.com/node/33 I have installed sendmail, saslauthd, compiled sendmail with saslauth and I installed squirrelmail. When checking squirrelmail I get this message: Message not sent. Server replied: Syntax error; command not recognized 500 5.5.1 Command unrecognized: "AUTH LOGIN" Code:
dovecot.conf |
Hello sir.. I'm not sure if I can really help but are you sure you have properly configured your squirrelmail? Perhaps after running config/conf.pl? Does other mail clients also don't work with dovecot? I mean with IMAP? If some clients do work, try to know their configuration difference with squirrelmail. Perhaps if you need help with that you can also post your squirrelmail config if you like. Also please note that the predefined settings for servers in squirrelmail (gotten by the selecting D submenu in conf.pl) does not work all the time.
|
I remember I had trouble getting squirrel mail to send before. Forgot what the error was though. I was following the ubuntu docs, they are alright: http://www.linuxquestions.org/questi...n-etch-625789/
|
A couple of things.
Dovecot is an IMAP/POP server, so it has nothing to do with you sending email via squirrelmail, only receiving it (or am I mis-reading your point?). Have a play with conf.pl, and try switching your "Sendmail or SMTP" settings to whatever it isn't already. I don't use sendmail, but I assume you can tell sendmail to not require auhorisation from localhost can't you? |
Dumb question - is saslauth running? I recall scratching my head for ages after rebuilding a box only to find I hadn't started that service.
|
that should confuse things more a little bit..
is this an error from a message sending request to an smtp server or from a login attempt command to an imap server? where you trying to send a message or trying to log-in from the server? most probably it's the latter right? When checking squirrelmail I get this message: Message not sent. Server replied: Syntax error; command not recognized 500 5.5.1 Command unrecognized: "AUTH LOGIN" anyhow here's another info.. if it's imap, it's an error because your squirrelmail script and your imap server simply do not understand each other.. here are the possibilities: (a) you were not able to properly configure squirrelmail to use the proper methods to act with your server (basically both configuration of dovecot and squirrelmail should be consistent with each other) (b) dovecot is configured to use a different authentication method and is ignoring less secure methods like use sasl and ignore plain.. something like that., still similar to 'a' though. |
Not sure if i can help with your problem, but I may have another solution. i'm currently working on a live DVD email server disc. It runs Qmail, squirrelmail, spamassassin, clamav etc. It's based on slackware 12 and runs KDE Desktop to give new users, students, teachers a familiar face to look at and to administer the email system. Runs a full website using Tinyportal and SMF forums.
It can also be installed ( by script only ) , although the iso is not available just yet, i'm hoping to have it available in the next few days to a week. Currently trying to iron a few bugs out. Check out my website and see if it suits your needs. This is my first real website so it's not too fancy, but that will change in the future. www.kirramail.com |
http://www.puresimplicity.net/~hemi/.../sendmail.html
Now I get a new message: Message not sent. Server replied: Connection refused 61 Can't open SMTP stream. I will get it sorted out, (I hope!) Thanks for the help, I searched based on your replies and think I'm 1 inch closer to getting her done. |
You need to post log messages, not server responses to sort this out
|
Thanks for pointing that out ;-)
Code:
Mar 12 18:52:31 gameserver sm-msp-queue[65790]: restarting /usr/local/sbin/sendmail due to signal Code:
Mar 12 18:28:14 gameserver sm-mta[65793]: m2C8hHXI060218: to=<******@msn.com>, delay=16:34:26, xdelay=00:03:00, mailer=esmtp, pri=3092509, relay=mx2.hotmail.com., dsn=4.0.0, stat=Deferred: Name server: mx2.hotmail.com.: host name lookup failure |
Does /usr/local/sbin/sendmail exist? If not, where is sendmail?
|
Quote:
Code:
Mar 12 19:21:37 gameserver sendmail[68416]: daemon IPv4: problem creating SMTP socket Perhaps sendmail runs in this way: if there is no stream open it else reuse it fi But sometimes a problem occurs if there is no stream (actually there is but can't detect it) open it (and there goes the already in use error) ... It's only opinion.. still it's only probably just a misconfiguration. Btw please show your /etc/hosts. I'm kind of confused why get the gethostbyaddr problem. |
My /etc/hosts
Code:
# $FreeBSD: src/etc/hosts,v 1.16 2003/01/28 21:29:23 dbaker Exp $ |
BSD might be different from Linux, but why is there an IP in the localhost line?
Code:
127.0.0.1 localhost 192.168.1.22 gameserver.homenetwork Code:
127.0.0.1 localhost gameserver.homenetwork Code:
192.168.1.22 gameserver gameserver.homenetwork |
Thanks,
I'm not so good with /etc/hosts despite being linux/unix junkie for 8 years, I just have never done servers till this last year.
Code:
# $FreeBSD: src/etc/hosts,v 1.16 2003/01/28 21:29:23 dbaker Exp $ Code:
Active Internet connections |
All times are GMT -5. The time now is 05:48 AM. |