The UNIX and Linux Forums  


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
how to forward mail in /var/mail/username to external mail unitipon SUN Solaris 2 05-27-2008 01:20 AM
Problem sending mail to an external domain voorkey AIX 2 06-01-2006 12:07 PM
Installing External Modem on Unix trinitygirl71 UNIX for Dummies Questions & Answers 3 08-25-2005 05:13 PM
Adding a New IP Addresses to a SCO Unix Box dman110168 IP Networking 1 02-17-2002 01:57 PM
unix and websites bhjunx IP Networking 2 07-13-2001 05:48 PM

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 11-02-2006
Joy_K Joy_K is offline
Registered User
  
 

Join Date: Nov 2006
Posts: 1
unix-mail to external websites/addresses

Hi all,

I would like to know if I can send unix mail to 'external email addresses'.

My unix server is leo@ABCcompany.com.

I am able to send emails to firstname.lastname@ABCcompany.com.

But, we have some email addresses in our team on our parent company's server - ex: firstname.lastname@ParentCompany.com. The emails to these folks are not going through.

I was wondering two things 1) can we send emails to external addresses? 2) If so, do you think I have to contact my network adminstrator so that he can change the permissions/settings so that I could send emails externally.

I have also tried sending a test email to my personal account on @yahoo.com and that email did not go through.

Please help. Thank you in advance.
  #2 (permalink)  
Old 11-02-2006
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,965
To connect local mail to the outside internet, you'll need a Mail Transfer Agent like sendmail.
  #3 (permalink)  
Old 11-02-2006
BOFH BOFH is offline Forum Advisor  
Registered User
  
 

Join Date: Feb 2005
Location: Broomfield, CO
Posts: 406
In general you should be able to send a message to any server that accepts the incoming connection. You can see that it's working for local servers. Configuration issues at either server or in between can prevent the successful delivery of your message.

For example, if your unix server isn't in DNS and the ParentCompany server will only accept e-mail from DNS resolvable systems, your incoming connection will not be accepted.

Many viruses set up a mini smtp server on the Windows workstation which churns out spam/virus e-mails. I've configured our network to refuse to allow port 25 connections from any workstation not specifically configured as a mail transfer agent.

You can test these by attempting a connection manually


Code:
$ telnet parentcompany.com 25

If you don't get anything (generally a banner of some sort is displayed), you're probably being blocked at your local company firewall. If you get a banner, you can try to build a session and see what happens:


Code:
$ telnet parentcompany.com 25
220 mail.parentcompany.com ESMTP Postfix
HELO abccompany.com
250 Hello abccompany.com
MAIL FROM: <joy.k@abccompany.com>
250 Ok
RCPT TO: <my.friend@parentcompany.com>
250 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
Subject: Example Message
From: joy.k@abccompany.com
To: my.friend@parentcompany.com

Yo,

Sending a test message.

  Later,
Joy
.
250 Ok: queued as 45334
QUIT
221 Bye

The lines that begin with numbers are server responses. The other lines are what you're typing.

You should get either something like the above session, or you might receive an error.

In both of these situations, the best way to resolve this is to configure your server to route e-mail through your local MTA and let it deliver e-mail. You'll have to check your e-mail server's configuration to see what the options are to make this setting.

Carl
Closed Thread

Bookmarks

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 07:03 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