Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Email Basics

Status
Not open for further replies.

andyjm2uk

IS-IT--Management
Oct 7, 2003
2
GB
All I want to do is send email through my networks local SMTP server, which is a W2K machine, from my IBM AIX machine. I do not need to receive email.

What is the easiest way of doing this?


Thanks in advance


Andy
 
The Perl module Mail::Sender is pretty easy to use.



Rod Knowlton
IBM Certified Advanced Technical Expert pSeries and AIX 5L

 
Is sendmail running on your AIX box? There are a ton of configurations that would allow you to specify your W2Y server as the email server. Then you would only need to use the mail program as the way to send the email.

mail [-s subject] "recepient@address" message goes here

The trick is knowing how to reference your W2K box. I think you need to have it's host information setup in your /etc/hosts file. Can you ping the W2K box? That would be the first step.

Einstein47
("There are no atheists when restoring from backup.")
 
Make this entry in sendmail.cf specifying the name of your W2K server as the relay host.

# "Smart" relay host (may be null)
# Relay host to forward outgoing mail not in the local domain to.
# To forward ALL mail to this relay host, uncomment the appropriate
# rule in ruleset 0, as indicated by the ruleset's comments.
#DSmailer:relayhostname

DSesmtp:W2Kserver
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top