-   SUSE / openSUSE (
-   -   mailx problem (

aral 06-01-2008 08:50 AM

mailx problem
I put this:

env  MAILRC=/dev/null from="" \
                smtp-auth=login nail -n -s "subject" \
                -a attachment_file

in my .profile file and I wrote this at the command line:


  Subject :  sub
  mail  text  mail  text

The destination email address doesn't get the mail.
I get undelivered mail which says :

delivery temporarily suspended: connect to[]: Connection timed out

I also tried to put the configuration in the .bashrc file instead of the .profile file , but it still doesn't work . Does anyone know why ?

datopdog 06-01-2008 10:39 AM

Connection time out means that you cannot connect to port 25, double check that something is not blocking the port.

aral 06-01-2008 11:32 AM

I opened port 25 in the Suse firewall, but it still doesn't work.

datopdog 06-01-2008 11:49 AM

This is not a problem with inbound connections, if i am not mistaken the suse firewall does not blockout bound connections.

Your problem could be your ISP blocking port 25 to the internet.

Test that you can connect out on port 25


telnet 25

aral 06-01-2008 11:57 AM

when I put telnet 25
it says

telnet: connect to address Connection timed out

Can I do something about it ? Can I avoid it somehow ?
Also my antivirus sends mail to my address if I have a virus, and I set it up with the same mail server and same ISP that I edited in .profile . How is this possible ?

datopdog 06-01-2008 01:41 PM

Use your ISP's smtp server.

All times are GMT -5. The time now is 09:10 PM.