Koozali.org: home of the SME Server

Not sending mail from local network

del_piero

Not sending mail from local network
« on: November 13, 2005, 10:40:06 PM »
Hi all.
It´s my first post here, however i´m always here looking from sugestions from you guys.

My problem is this:

I have a sme box with release 6.0.1-01 that´s have been working for the last 6 months without any problems, until the hdd fried up... Now i´ve put another hdd and with the same release the mail´s from local pc´s are not going out. My isp has not block traffic on port 25, that´s for sure!!! I send the mail from outlook 2003 and instantly i receive a message telling me this "553 Sorry, that domain isn't in my list of allowed rcpthosts" . But if i send the same mail for the same e-mail address frow webmail, then it goes out!!!! I can´t understand what is wrong!!! From webmail works, from local pc´s (outlook 2003) don´t work!!! Why??? Can you help me??? I think that the sme box doesn´t recognize the local network!!!! Thanks in advance....Btw, the server is working in server only mode.

sorinp

Not sending mail from local network
« Reply #1 on: November 15, 2005, 04:19:08 PM »
I had the same problem on a production machine about 3 weeks ago. My problem was that the mail server does not rely the internal network. loot at the qmail's config files and see if :allow refers to your internal network.

ANother problem that i had winth 6.0.1 was that may email were bouncing between my server port and my firewall interface (at that time i was using an external linux embedded firewall - cyberguard) I fixed the problem by rewritting the iptables rules.

All the best.

sorinp

Not sending mail from local network
« Reply #2 on: November 15, 2005, 04:23:40 PM »
You can verify your server relaying capabilities by connecting to your 25 with telnet and trying to send a mail streight from the server :

telnet xxx.xxx.xxx.xxx 25
Qmail Server ... (blah blah blah)
HELO localdomain.xx

MAIL FROM: user_name@localdomain.xx

RCPT TO: another_email@anotherdomain.xx

here, if you get the 553 message that means that your mail does not rely the internal network.

thomas_chan

Not sending mail from local network
« Reply #3 on: November 25, 2005, 07:29:06 AM »
I also had the same problem before until I changed the SMTP server name (i.e domain name) as Mail Server's IP address (i.e Internal IP : 172.16.1.8). After this changes, an internal network to send out mail is work fine !!

However, anyone know how to config the smtp server for remote network access with user id & password authorization. I have been tried to modify the tcprules to add the incoming fixed IP address but it still doesn't work. Pls advise ?

Offline raem

  • *
  • 3,972
  • +4/-0
Not sending mail from local network
« Reply #4 on: November 25, 2005, 07:48:37 AM »
thomas_chan

> However, anyone know how to config the smtp server > for remote network access with user id & password > authorization.

Install the secure mail (ssl) contrib, search here.
...