- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Configure sendmail to relay domain1.com and locall...
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
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-23-2005 04:40 AM
тАО08-23-2005 04:40 AM
Configure sendmail to relay domain1.com and locally deliver domain2.com
Thanks in advance for any assistance.
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2005 07:34 AM
тАО08-23-2005 07:34 AM
Re: Configure sendmail to relay domain1.com and locally deliver domain2.com
A mailertable is a database which maps certain hosts or domains to a mailer:host pair. It is used for redirecting mail addressed to a certain host or domain to a specific destination host using a specific mailer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2005 07:39 AM
тАО08-23-2005 07:39 AM
Re: Configure sendmail to relay domain1.com and locally deliver domain2.com
The default sendmail file does not come with the H directive active. Would need to use the m4 compiler to make a new sendmail.cf file do the you can specify a value in the H directive.
The L directive says "names to deliver locally even if there is a relay"
If you are using DNS you could configure the MX records.
Examples can be found on the http://www.sendmail.org site.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2005 06:32 PM
тАО08-23-2005 06:32 PM
Re: Configure sendmail to relay domain1.com and locally deliver domain2.com
domain2.com
This will deliver all the mails destined to the domain domain2.com to the localuser spamuser .
Another option is u can use virualusertable to map the entire domain domain2.com to a local user . For this also u need to create the new sendmail.cf file by including FEATURE(virtusertable) in the sendmail.mc file . This /etc/mail/virtusertable should contain
@domain2.com
Hope this will help u
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2005 06:15 AM
тАО08-24-2005 06:15 AM
Re: Configure sendmail to relay domain1.com and locally deliver domain2.com
Aug 24 12:54:08 spamklr sm-mta[7474]: j7OHs7nV007474: ruleset=check_rcpt, arg1=
Aug 24 12:54:08 spamklr sm-mta[7475]: j7OHs7Vn007475: ruleset=check_rcpt, arg1=
Aug 24 12:54:08 spamklr sm-mta[7475]: j7OHs7Vn007475: from=
Aug 24 12:54:08 spamklr sm-mta[7474]: j7OHs7nV007474: from=
in var/log/mail.log
I am using the smarthost option -- is that my issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2005 07:04 AM
тАО08-24-2005 07:04 AM
Re: Configure sendmail to relay domain1.com and locally deliver domain2.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2005 06:46 PM
тАО08-24-2005 06:46 PM
Re: Configure sendmail to relay domain1.com and locally deliver domain2.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2005 04:29 AM
тАО08-25-2005 04:29 AM
Re: Configure sendmail to relay domain1.com and locally deliver domain2.com
Creating the file /etc/mail/mailertable with domain1.com
domain2.com
turned of the smarthost in sendmail.mc
ran make
restarted sendmail -- works now!!
Thanks again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2005 04:31 AM
тАО08-25-2005 04:31 AM
Re: Configure sendmail to relay domain1.com and locally deliver domain2.com
It is a plugin to sendmail-milter, add clamav and some trusted black-list servers and it is off and running!!