04-11-2005
Thanks keith.
Let me explain more,
my unix box ip address is 10.xx.xx.55.
SMTP ip address is 10.xx.xx.155 and port is 25.
How to send a mail using the above config.
iam trying with the following script but unable to send,
#!/bin/bash
TO="name@domain.com"
CC=""
FROM="10.xx.xx.155"
SUBJECT="This is a test"
/usr/sbin/sendmail -f $FROM -t <<-EOF
To: $TO
Subject: $SUBJECT
Hello,
Test
regards
EOF
echo "Done....!"
the above doesn't send mails.Please let me know whether iam missing anything.
Thanks
Om
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
First of all, Happy Holidays,Merry Xmas, Happy Hanakah, Happy Kwanzaa, Happy Mid Winter Festival, etc.(Forgive me if I left your holiday out)
Anyway, here is my situation. I am setting up an email server at the job, and Sendmail is not cooperating. The error that I get on my RedHat 7.3 Dell... (5 Replies)
Discussion started by: Jody
5 Replies
2. HP-UX
System is running HP-UX11
I need to configure sendmail, to send to a mail server of ours...
Any help would be appreciated....
I will be using mailx (2 Replies)
Discussion started by: frustrated1
2 Replies
3. AIX
I am in the process of setting up a new AIX 5.2 machine. I am not normally an AIX admin so please excuse if this is a dumb question.... this being that I need to alter the sendmail config. I can easily diff the default sendmail.cf with an existing server's file and see where to make the changes I... (2 Replies)
Discussion started by: nzaixer
2 Replies
4. Linux
hi
just i want someone to guide me through the basic configurations of sendmail "a local network"
just i want to let user1@domain.com send e-mail to user2@domain.com
Thanks in advance (1 Reply)
Discussion started by: a_elhoseeny
1 Replies
5. UNIX for Dummies Questions & Answers
I have a requirement to enable sendmail in all the servers in our lab. This is required in lots of cases like e-mail the server owner if any hardware error and if any application problems and so. Here my part is to confirm that it is possible to send e-mail to the system user from the server.e-mail... (2 Replies)
Discussion started by: testbedengr
2 Replies
6. AIX
I want to configure sendmail on AIX 4 and 5 to send emails to a windows SMTP proxy server for distribution. Mail would be going from AIX to Windows but any return emails would be sent not AIX but to a default Windows return address.
What variables in the AIX sendmail.cf file would need to be... (1 Reply)
Discussion started by: rahe
1 Replies
7. Emergency UNIX and Linux Support
Hi,
We have a standalone Solaris 10 Server (no DNS is configured) from which we want email alerts to be triggered when there is any breaches in the disk utilization threshold levels. we would like to achieve this mailing through sendmail.
Can any one explain the procedure to do so..???
... (1 Reply)
Discussion started by: EmbedUX
1 Replies
8. Shell Programming and Scripting
Hi All,
I need to configure mail functionality which enable us to send mail to outside company network. I just came to know that we have to configure outbound mail host/relaying mail in sendmail.cf file.
Can someone suggest me on what to change in sendmail.cf, what information is required... (0 Replies)
Discussion started by: ace_friends22
0 Replies
9. HP-UX
Hi All,
Need help !.
I am configuring SMTP server details in my sendmail.cf
My SMTP server details are like MAC234.ad.compname.com, and i have configured my sendmail.cf with this address.
But mail address is something like user1@compname.com. Now when i run the sendmail command, i get... (6 Replies)
Discussion started by: chpsam
6 Replies
10. Solaris
Hi all,
I have read about sendmail running as 2 separate process.
1 as a MSP, and the other as the real daemon or MTA.
In my current configuration,
the sendmail-client is disabled.
Both submit.cf and sendmail.cf are left as default untouch
I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies
wwsetup(8) System Manager's Manual wwsetup(8)
NAME
wwsetup, wnn - Sets up the 8-bit option for sendmail and the Wnn character-cell input method for Japanese
SYNOPSIS
/usr/sbin/wwsetup
DESCRIPTION
The wwsetup script performs one or both of the following tasks: Enables or disables 8-bit transmission code, which is an option supported
by sendmail software
By default, sendmail uses the 7-bit SMTP mail transmission protocol that is the standard for sending mail over a TCP/IP network.
Note that enabling the 8-bit option is not generally recommended because it violates the SMTP mail transmission protocol. Config-
ures the Wnn software that supports a character-cell input method that is widely used in Japan
If the Tru64 UNIX IOSJPWNNnnn subset is installed, the wwsetup script asks if you want to create the following links if they do not
already exist on the system:
/usr/local/bin/Wnn4 --> /usr/i18n/bin/Wnn4 /usr/local/bin/wnn --> /usr/i18n/lib/wnn
The script also prompts you to enter the password for Wnn dictionaries if they do not already exist on the system.
Both the links and the dictionary password must be in place before Wnn software can be used.
SEE ALSO
Commands: sendmail(8), jserver(1wnn)
Note that the jserver(1wnn) reference page is available only in Japanese and is included in the subset that contains Japanese translations
of reference pages.
Others: i18n_intro(5), Japanese(5), l10n_intro(5)
wwsetup(8)