Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: evikali on February 27, 2005, 11:20:18 PM
-
Hi all
I have some problems with sending mail from my newly installed sme server v. 6.0.3beta.
The only thing I have done is creating a new user after the install and I can easily create a new mail, but I can see from the server manager that the mail is just added to the mail queue, but never send.
I have installed a sme server many times and I have used sme v. 6.0.0 before and did not have the same problem. I have not changed anything on my router.
I have also tried the new 6.0.1 stable, which have the same problem......
Does anyone have some ideas to solve this problem ?
-
I think you still need to go into the emil panel and configure the server..
http://mirror.contribs.org/smeserver/contribs/bobk/SME_Manual/chpt-13.7.html
what does the server log say?
-
Hi there
But I normally dont need to change the default settings, only the webmail part and I did not change that to make sure it wasn't that part of the system, that made it not working.....
-
The server log just says:
Sorry, was not able to create an smtp connection
-
I'm assuming that is from the mail log? have a look under the messages log in the view log files panel.. it may give you more info..
-
Okay, I will do that tonight.... :-)
-
Should I look for something specific in the messages log ? It is very long...... :-)
-
I forgot to tell that I can easily receive emails, but not send emails.....
-
you are looking for entries that refrence qmailr and other entries surround those events.
Just as an aside.. some ISPs block smtp traffic that doesn't come from their servers so you may have to tell your mail server to use the isp's smtp server.. but if the ISPs smtp server requires authentication then you may need to just tell the individual clients which smtp server to use.
-
I had the same problem I fixed it by
Server manager
E-mail
Address of Internet provider's mail server [ put your isp mail server here ]
and it works fine now
-
-> Lucid
Dont you get a problem if your domain name is not a part of your isp's domains ?
-
I entered the ISP's mail server and it is working now, thanks very much for the help :-)
-
In the more recent releases of the SME server (6.0+) there is an entry in /etc/rc.d/init.d/masq that looks like this:
/sbin/iptables --table nat --new-chain SMTPProxy
/sbin/iptables --table nat --append PREROUTING -p tcp --dport 25 -j SMTPProxy
/sbin/iptables --table nat --append SMTPProxy --destination 127.0.0.1 --jump ACCEPT
/sbin/iptables --table nat --append SMTPProxy --destination 192.168.1.200 --jump ACCEPT
/sbin/iptables --table nat --append SMTPProxy --destination $OUTERNET --jump ACCEPT
/sbin/iptables --table nat --append SMTPProxy -p TCP -j DNAT --to 192.168.1.200:25
...
/sbin/iptables --table nat --replace SMTPProxy 4 -p TCP -j DNAT --to 192.168.1.200:25
The problem here is that if you want to send mail directly from any local network computers directly to you ISPs SMTP server it won't let you because it's capturing everything on port 25 and trying to send it using the e-smith server proxy.
This setup works if all your local machines use the server to send mail AND your ISP allows you to use port 25 to send mail. Sympatico blocks use of port 25 forcing you to relay all email through their email server. In this case you just set that in the email settings.
If you want to send email directly to your ISPs SMTP server from you local machines then comment out the above lines so the server isn't capturing all port 25 activity.
-
Thanks for the heads up on that.. I'll have to keep that in mind when I start working with the gateway config of sme.