The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Not send messages in my zone: sotich82 SUN Solaris 2 11-10-2008 10:17 AM
Send email with attachement-Getting connection refused by domain samuelc UNIX for Dummies Questions & Answers 1 02-08-2008 12:25 PM
How to send files to remote tape drive yashdbad UNIX for Dummies Questions & Answers 3 12-29-2007 10:33 AM
send message to a remote system rakeshou UNIX for Dummies Questions & Answers 5 10-02-2007 04:50 PM
Send messages using finger Krrishv UNIX for Dummies Questions & Answers 3 01-05-2007 12:30 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-12-2009
chebarbudo's Avatar
chebarbudo chebarbudo is offline
Registered User
  
 

Join Date: Nov 2008
Location: various
Posts: 188
Question Why can't I send messages to a remote domain

Hi there,
I rent two servers hosted by the same provider: OVH.
On server1, I use the mail command to send alert emails to my personal address and it works fine.
On server2, which is newly instaled, I tried the following command and got this answer:
Quote:
r16088:~# mail -v -s 'subject' myaddress@mydomain.fr <<< 'message'
LOG: MAIN
<= root@stock.ovh.net U=root P=local S=351
delivering 1LXeuA-0001pw-JE
R: nonlocal for myaddress@mydomain.fr
LOG: MAIN
** myaddress@mydomain.fr R=nonlocal: Mailing to remote domains not supported
r16088:~# LOG: MAIN
<= <> R=1LXeuA-0001pw-JE U=Debian-exim P=local S=1182
delivering 1LXeuA-0001py-Rl
R: system_aliases for root@stock.ovh.net
R: system_aliases for ovh@stock.ovh.net
LOG: MAIN
** ovh@stock.ovh.net <root@stock.ovh.net>: Unrouteable address
LOG: MAIN
Frozen (delivery error message)
LOG: MAIN
Completed

r16088:~#
Is there any other package that I need to install?
Thanks for your help?
Santiago
  #2 (permalink)  
Old 02-12-2009
fpmurphy's Avatar
fpmurphy fpmurphy is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2003
Location: Florida
Posts: 1,915
Have you configured your /etc/exim/exim.conf file? (May be exim4/exim4.conf on Debian)
  #3 (permalink)  
Old 02-13-2009
chebarbudo's Avatar
chebarbudo chebarbudo is offline
Registered User
  
 

Join Date: Nov 2008
Location: various
Posts: 188
Thanks fpmurphy for your answer.
You're totally right, it looks like the config file are under /etc/exim4/.
So I copied the parameters from server1 to server2.
Quote:
supernova:~# cat /etc/exim4/passwd.client
*:xxxxxxxx.xxxx@xxxxx.xx:xxxxxxxxxx
supernova:~# cat /etc/exim4/update-exim4.conf.conf
dc_eximconfig_configtype='satellite'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1'
dc_readhost='supernova.caoba.fr'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='smtp.gmail.com::465'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
As you can see, one file stores the address of the gmail smtp server. The other one contains my login and password (in clear text, sic!).
So it looks like now, mailx is connecting to the gmail server. But it freezes at some point. I know gmail uses a ssl something and I can't find where it is configured on server1.
Quote:
supernova:~# mail -v -s 'subject' xxxxxxxx.xxxx@xxxxx.xx <<< 'message'
LOG: MAIN
<= root@stock.ovh.net U=root P=local S=359
delivering 1LXu85-0005fD-Bw
R: smarthost for xxxxxxxx.xxxx@xxxxx.xx
supernova:~# T: remote_smtp_smarthost for xxxxxxxx.xxxx@xxxxx.xx
LOG: retry_defer MAIN
== xxxxxxxx.xxxx@xxxxx.xx R=smarthost T=remote_smtp_smarthost defer (-53): retry time not reached for any host
Any advice so I can move one step forward?
Santiago
Closed Thread

Bookmarks

Tags
mail, mailx

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:39 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0