- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sending mail from sendmail
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
12-06-2004 04:16 AM
12-06-2004 04:16 AM
sending mail from sendmail
We have sendmail setup on our HPUX machines.
When mail is sent it goes to a smtp server and then to the people the mail is meant for.
Problem: When the mail is sent it has in the "from" row the person's name and then the @ symbol then the name of the server and domain like this: Fred@
the server's name should not be in this address
it is not part of the name of the domain which make the sending of the mail fail
Has anyone seen this before? If so is there a reason for it???
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2004 04:42 AM
12-06-2004 04:42 AM
Re: sending mail from sendmail
root@system.your.net for example.
vi /etc/mail/sendmail.cf
Find the Dj directive.
Change it to
Djyour.net
Except make your.net your actual network.
Save the file
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Run a test mail, it should be good.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2004 05:20 AM
12-06-2004 05:20 AM
Re: sending mail from sendmail
you can do site hiding. Just do a search on forum for sendmail and masquerade and you'll get lots of soutions,
Try this link from itrc on how to do domain hiding,
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062907049
The itrc doc id is IVKBRC00006781
you can also use the -r reply_to_email_add to put a valid email address (with a valid domain)
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2004 06:21 AM
12-06-2004 06:21 AM
Re: sending mail from sendmail
a. Site hiding is the ability to send emails with no "hostname" in the
outgoing email address:
user@domain.com
rather than:
user@host.domain.com
b. Modify sendmail.cf
cd /etc/mail
cp sendmail.cf sendmail.cf.old
vi sendmail.cf
Set:
DMdomain.com
Unset:
CEroot
5. Stop/Start sendmail:
# /sbin/init.d/sendmail stop; /sbin/init.d/sendmail start
Sendmail pid is 6743
Killing sendmail...
Sendmail killed.
/etc/mail/aliases: 13 aliases, longest 35 bytes, 307 bytes total
sendmail
6. Clean out the old "mail.log":
o Mail log info goes in:
/var/adm/syslog/mail.log
o Clean it out:
cd /var/adm/syslog # move old logs
mv mail.log mail.log.old
mv syslog.log syslog.log.old
> syslog.log
> mail.log
cd /sbin/init.d # restart syslog daemon
./syslogd stop; ./syslogd start
7. Test emails:
# mailx stuart.abramson@alcoa.com
Subject: test after after
test
.
EOT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2004 06:43 AM
12-06-2004 06:43 AM
Re: sending mail from sendmail
I thank you for the information but can someone tell me why sendmails place the servername in with the domain name