- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: Repoint the sendmail relay-host to <new host>
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
Discussions
Discussions
Forums
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
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-05-2008 06:11 AM
тАО08-05-2008 06:11 AM
Repoint the sendmail relay-host to <new host>
Thanks
Terry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2008 06:19 AM
тАО08-05-2008 06:19 AM
Re: Repoint the sendmail relay-host to <new host>
Thanks
Terry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2008 06:40 AM
тАО08-05-2008 06:40 AM
Re: Repoint the sendmail relay-host to <new host>
Thanks
Terry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2008 08:53 AM
тАО08-05-2008 08:53 AM
Re: Repoint the sendmail relay-host to <new host>
You'll probably be best just using the "mailsetup" command to configure the new relay. This should generate the sendmail.cf for you...
Cheers,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2008 11:45 AM
тАО08-05-2008 11:45 AM
Re: Repoint the sendmail relay-host to <new host>
You will see lines like this:
R$*<@$*$N>$* $#smtpl $@mail.domain.com.py $:$1<@$2$N>$3 our domain; gw
# Parent domain
#
R$*<@$*$P>$* $#smtp $@mail.domain.com.py $:$1<@$2$P>$3 our domain; gw
# Nonlocal mail
#
R$*<@$+>$* $#smtp $@mail.domain.com.py $:$1<@$2>$3 use gateway
What you should do is to run in vi
1,$ s/mail\.domain\.com//newmail\.domain\.com/g
Dots should be scaped with backslash as they are regular expression symbols.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2008 01:16 PM
тАО08-05-2008 01:16 PM
Re: Repoint the sendmail relay-host to <new host>
Thanks. Let me check the config and try this and post the results soon.
Thanks
Terry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2008 11:46 AM
тАО08-11-2008 11:46 AM
Re: Repoint the sendmail relay-host to <new host>
# cd /var/adm/sendmail
# ls -l
total 275
-rwxr-xr-x 1 bin bin 2435 Apr 12 1999 #.mrg..aliases
-rwxr-xr-x 1 bin bin 9495 Apr 12 1999 #.mrg..sendmail.cf
-rw-r--r-- 1 root bin 876 Apr 12 1999 .new..aliases
-rw-r--r-- 1 root bin 21503 Apr 12 1999 .new..sendmail.cf
-rw-r--r-- 1 root bin 0 Apr 12 1999 .new..sendmail.st
-rw-r--r-- 1 root bin 876 Apr 12 1999 .proto..aliases
-rw-r--r-- 1 root bin 21503 Apr 12 1999 .proto..sendmail.cf
-rw-r--r-- 1 root bin 0 Apr 12 1999 .proto..sendmail.st
-rw-r--r-- 1 root bin 876 Apr 12 1999 aliases
-rw-r--r-- 1 root system 4096 Sep 7 2002 aliases.dir
-rw-r--r-- 1 root system 1024 Sep 7 2002 aliases.pag
-rw-r--r-- 1 root system 26717 Nov 15 2006 vista1.cf
-rw-r--r-- 1 root system 26717 Aug 5 08:47 vista1.cf.OLD
-rw-r--r-- 1 root system 3919 Dec 10 2002 vista1.m4
-rw-r--r-- 1 root system 3919 Aug 5 08:48 vista1.m4.OLD
-rw-r--r-- 1 root bin 1026 Apr 12 1999 local.users
-rw-r--r-- 1 root system 26683 Aug 12 2003 peridot.cf
-rw-r--r-- 1 root system 3911 Dec 10 2002 peridot.m4
lrwxrwxrwx 1 root system 32 Jun 25 12:39 sendmail.cf -> /var/adm/sendmail/vista1.cf
-rw-r--r-- 1 root system 26717 Aug 5 08:16 sendmail.cf.OLD
-rw-r--r-- 1 root bin 21503 Apr 12 1999 sendmail.cf.old
-rw-r--r-- 1 bin bin 41073 Apr 12 1999 sendmail.cf.pd
-rw-r--r-- 1 root system 26687 Nov 15 2006 sendmail.cf_sec
-rw-r--r-- 1 root bin 808 Aug 11 13:34 sendmail.st
The current mail servers seems to defined in vista1.m4 file (as i cat for the mailservername in that file it shows up). in this case should i change the hostname.m4 file? (vista1.m4)
Thanks
Terry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2008 12:16 PM
тАО08-11-2008 12:16 PM
Re: Repoint the sendmail relay-host to <new host>
I have checked the sendmail.cf file and the mail.doamin.com defined is our dns server as in
Parent domain
#
R$*<@$*$P>$* $#smtp $@mail.domain.com.py $:$1<@$2$P>$3 our domain; gw
when i grep for the current relay host in vista1.m4 file (vista1 is the hostname) i get the current mail relay hostname. so it looks like i should change the vista1.m4 file. how do i change this file? is this generated by mailsetup?
Thanks
Terry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2008 06:41 AM
тАО09-10-2008 06:41 AM
Re: Repoint the sendmail relay-host to <new host>
I have repointed the new mail relay host a you suggested (modifying sendmail.cf). How do i know if this works? How do i test it?
Thanks
Terry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2008 07:00 AM
тАО09-10-2008 07:00 AM
Re: Repoint the sendmail relay-host to <new host>
Send some e-mail, and see if it arrives?
If it does, look at the headers to see if it
passed through the expected systems.
man mailx