- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail -(aaarrGGG!)
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
08-26-2005 08:29 AM
08-26-2005 08:29 AM
sendmail -(aaarrGGG!)
TIA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2005 09:01 AM
08-26-2005 09:01 AM
Re: sendmail -(aaarrGGG!)
edit /etc/mail/sendmail.cf
look for a line satrting with caharacters
DS
and change it to
DSmailserver
I know you do not want to use the names. I think ip address will also work butif it does not, you can map the IP to the name using the /etc/hosts file, not using the DNS at all.
You will need to let the mail admins know that you are going to pass mail to be delivered to their subscribers from a unix server and they need to accept mail from your server name and/or ip address.
Hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2005 09:10 AM
08-26-2005 09:10 AM
Re: sendmail -(aaarrGGG!)
The Lotus Notes will need to be configured to accpt mail from the server. A lot of times they look at the envelope to decide to accept or reject the mail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2005 09:36 AM
08-26-2005 09:36 AM
Re: sendmail -(aaarrGGG!)
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2005 09:43 AM
08-26-2005 09:43 AM
Re: sendmail -(aaarrGGG!)
This is usually the case. We send mail out to intr-company exchange addresses as well as to the internet to get paged via skytel, and all our routing is done via exchange servers hence thru their admins. And if we do not let them know that we added a new server which needs mail relaying, they don't go until the cows come home. The default behavior of the corporate mail servers is deny all delivery unless proven to be from a known source, thanks to the hostile email environment on the internet today.
Good luck to you.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2005 02:33 AM
08-29-2005 02:33 AM
Re: sendmail -(aaarrGGG!)
I've got a setup similar to what you're describing (but we're not using Notes). Set up your sendmail.cf as described by the other messages and it'll work great. One thing you might think about configuring your /etc/mail/service.switch and /etc/nsswitch.conf files so that they look at your hosts file before they try DNS.
For the /etc/mail/service.switch file, just put "hosts " in front of the line containing "dns". Do the same for the /etc/nsswitch.conf file.
What this will do is to allow you to use aliases you set up in the hosts file instead of IP adresses.
Regards,
Seth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2005 03:33 AM
08-29-2005 03:33 AM
Re: sendmail -(aaarrGGG!)
Try the following.
In the area of the sendmail.cf file as listed below. Insert a 0 (zero) in front of the equation as shown
#####################################
### SMTP Mailer specification ###
#####################################
##### @(#)smtp.m4 8.33 (Berkeley) 7/9/96 #####
# Insert 0 after F= to disable mail DNS lookups
Msmtp, P=[IPC], F=0mDFMuX, S=11/31, R=21, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=IPC $h
Mesmtp, P=[IPC], F=0mDFMuXa, S=11/31, R=21, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=IPC $h
Msmtp8, P=[IPC], F=0mDFMuX8, S=11/31, R=21, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=IPC $h
Mrelay, P=[IPC], F=0mDFMuXa8, S=11/31, R=61, E=\r\n, L=2040,
T=DNS/RFC822/SMTP,
A=IPC $h
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2005 03:59 AM
08-29-2005 03:59 AM
Re: sendmail -(aaarrGGG!)
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=SMAIL813
sendmail needs DNS to resolve hostnames and deliver mail.
The alternative is to use a relay server
in sendmail.cf
DShostnameofrelay
or
DS
[ip address of relay]
save the file
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Note the relay server must explicity allow mail relay from your HP-UX server for this to work.
Many firewalls have smtp relay servers that allow you to send mail in this manner.
Note also, that if you HP-UX server does not have a fully qualified domain name that can be looked up by DNS on the public Internet, mail systems such as aol, and my own will refuse to accept the mail.
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
08-29-2005 04:03 AM
08-29-2005 04:03 AM
Re: sendmail -(aaarrGGG!)
DM macro. Set it to your real domain, if your servers domains are not shown to the world via DNS.
i.e.
for server myserver.subdomain.mycompany.com
DM mycompany.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2005 01:36 AM
09-08-2005 01:36 AM
Re: sendmail -(aaarrGGG!)
The Notes admin says that I am not even getting mail to his server for him to reject or not. (I can still send mail to users on this server) Here is the mail log results from my end when I try to send mail: (names changed to protect the innocent)
Sep 8 08:32:24 scmh2 sendmail[16039]: unable to qualify my own domain name (scmh2) -- using short name
Sep 8 08:32:24 scmh2 sendmail[16039]: be sure to set domain name in Dj macro in sendmail.cf
Sep 8 08:32:24 scmh2 sendmail[16039]: IAA16039: to=thy.well@rrd.com, delay=00:00:00, mailer=relay, relay=spscmail, stat=Transient parse error -- message queued for future delivery
Sep 8 08:32:24 scmh2 sendmail[16039]: IAA16039: from=howee0sp, size=242, class=0, pri=30242, nrcpts=1, msgid=<200509081232.IAA16039@scmh2.rrd.com>, relay=root@localhost
Sep 8 08:32:24 scmh2 sendmail[16039]: IAA16039: to=thy.well@rrd.com, delay=00:00:00, mailer=relay, stat=queued
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2005 02:11 AM
09-08-2005 02:11 AM
Re: sendmail -(aaarrGGG!)
What seems to work for us is:
DSmailserver (in /etc/mail/sendmail.cf)
entry for mailserver in /etc/hosts
/etc/resolv.conf that looks like:
domain domain.name.com
nameserver IP
nameserver IP
/etc/nsswitch.conf that has an entry:
hosts: files [NOTFOUND=continue] dns
I think I stopped and started sendmail as per SEP.
I hope this helps you. I think that there might be more to do if you want to mail out of your domain, I think relaying has to be allowed on the Notes server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2005 02:26 AM
09-08-2005 02:26 AM
Re: sendmail -(aaarrGGG!)
sendmail -v YOU@YOURDOMAIN.COM
where YOU@YOURDOMAIN.COM is your Internet email address for your company.
All I set in sendmail.cf is:
DMmydomain.com
DSmyexchangeserver
And it works...
Without DNS - you need the ip's in /etc/hosts as well as set the Dj macro in sendmail.cf
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2005 01:12 AM
09-09-2005 01:12 AM
Re: sendmail -(aaarrGGG!)
Thanks again!