LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 06-01-2008, 08:50 AM   #1
aral
Member
 
Registered: Aug 2005
Posts: 115

Rep: Reputation: 15
mailx problem


Hello,
I put this:
Code:
env  MAILRC=/dev/null from="alsu@yahoo.com" smtp=smtp.server_address.com \
                 smtp-auth-user=alsu@yahoo.com smtp-auth-password=password\
                 smtp-auth=login nail -n -s "subject" \
                 -a attachment_file dest_address@yahoo.com
in my .profile file and I wrote this at the command line:

Code:
 $nail
  Subject :  sub
   mail  text   mail  text
ctrl+d
The destination email address doesn't get the mail.
I get undelivered mail which says :

delivery temporarily suspended: connect to b.mx.mail.yahoo.com[66.196.97.250]: 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 ?

Last edited by aral; 06-01-2008 at 08:51 AM.
 
Old 06-01-2008, 10:39 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
Connection time out means that you cannot connect to port 25, double check that something is not blocking the port.
 
Old 06-01-2008, 11:32 AM   #3
aral
Member
 
Registered: Aug 2005
Posts: 115

Original Poster
Rep: Reputation: 15
I opened port 25 in the Suse firewall, but it still doesn't work.
 
Old 06-01-2008, 11:49 AM   #4
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
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

Code:
telnet a.mx.mail.yahoo.com 25
 
Old 06-01-2008, 11:57 AM   #5
aral
Member
 
Registered: Aug 2005
Posts: 115

Original Poster
Rep: Reputation: 15
when I put telnet a.mx.mail.yahoo.com 25
it says
Code:
Trying 209.191.118.103...
telnet: connect to address 209.191.118.103: 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 ?

Last edited by aral; 06-01-2008 at 12:29 PM.
 
Old 06-01-2008, 01:41 PM   #6
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
Use your ISP's smtp server.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mailx pramka SUSE / openSUSE 3 05-01-2008 04:18 PM
mailx comand ajatiti Linux - Enterprise 2 03-27-2008 10:15 AM
mailx csaunders Red Hat 1 05-23-2007 08:55 AM
mailx question bubba112557 SUSE / openSUSE 1 12-17-2006 09:50 PM
installing mailx skverma_in Linux - Software 2 11-25-2004 10:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 11:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration