Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2002 07:41 AM
03-14-2002 07:41 AM
sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2002 07:47 AM
03-14-2002 07:47 AM
Re: sendmail
Set the DS macro in /etc/mail/sendmail.cf config file c:
DS yourserver.yourdomain
Then restart sendmail :
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Then
mailx -s "subject" email@address.com
blabla
blabla
.
Regards,
Patrice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2002 07:48 AM
03-14-2002 07:48 AM
Re: sendmail
If you know the users fully qualified address ie username@company.com AND if the UNIX system you are on is configured to relay mail then:
1) Compose the msg with an editor -such as vi - save it as a file EX filename.txt
2) Use mailx to send it:
#cat filename.txt | mailx -s "subject line" username@company.com
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2002 07:49 AM
03-14-2002 07:49 AM
Re: sendmail
You should be able to send directly, assuming the remote machine allows it:
echo hello | mailx -s "message to user" username@remotehost
if remotehost is resolvable from your machine.
Rgds, Robin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2002 07:55 AM
03-14-2002 07:55 AM
Re: sendmail
- Make a backup of /etc/mail/sendmail.cf
cp /etc/mail/sendmail.cf /etc/mail/sendmail.cf.bk
- Edit sendmail.cf file
- Search for Foo.COM and replace it with your domain name or remove Foo.COM if you don't have a domain name (leave the dot there after $w)
for example if i have domain mydomain.com
then line will be
Dj$w.mydomain.com
- Search DS and specify smpt server
for example (smtp_sever is name of smtp sever)
# "Smart" relay host (may be null)
DSsmpt_server
- restart sendmail
/usr/init.d/sendmail stop
/usr/init.d/sendmail start
- test email (send /etc/hosts file)
cat /etc/hosts | mailx -s "subject" myemail@smtp_server
I hope it will help
Aftab