Hi,
I have a "Private server and gateway" install of SME 5.5 U2 and am not able to send email to an external address when logged in as root using the 'mail' command.
I want to set up a cron job to email a .log file to an external email address.
First, as root, I tried;
> mail -s "Testing" user@foo.com
Test Message
^D
CC:
But the message is not delivered. My ISP is not blocking port 25.
From the manual, it seems like "Private server and gateway" should still allow email to be sent to external receipients. Is this true?
--- Manual snippet ---
6.9.2. Option 2: Private server and gateway
This mode is a variation of option 1 and provides the same functionality with the following differences:
Your web server is not visible to anyone outside of the local network.
Your mail server is not accessible from outside of the local network.
Additional firewall rules have been configured to drop packets for various services (such as 'ping' requests).
All services are available on the internal network. The differences are entirely in how your server is seen by the external world.
You would select this mode only if you wish to use the server as a gateway, but do not wish to publish any services to the external Internet.
--- End Manual snippet ---
I did
>nslook foo.com
and then
> telnet XXX.XXX.XXX.XXX 25
and seemed to get in, so I think that the communication should be OK.
But, no mail is sent.
I'm really new to SME server, so any help/tips appreciated.
Thanks,
Dale