- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Linux Redhat - sendmail - can't send outside domai...
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
05-26-2005 03:20 AM
05-26-2005 03:20 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 03:41 AM
05-26-2005 03:41 AM
Re: Linux Redhat - sendmail - can't send outside domain due to FROM address
Using this masquerade feature will allow you to modify the FROM value.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 03:46 AM
05-26-2005 03:46 AM
Re: Linux Redhat - sendmail - can't send outside domain due to FROM address
I am masquerading everybody sending mail to just 'localdomain'. The 'localhost' line is commented out and will not be in the FROM line.
Remember to recycle sendmail for changes to take effect.
service sendmail restart
# class E: names that should be exposed as from this host, even if we masquerade
# class L: names that should be delivered locally, even if we have a relay
# class M: domains that should be converted to $M
# class N: domains that should not be converted to $M
#CL root
#C{E}root
#C{w}localhost.localdomain
C{w}localdomain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 03:56 AM
05-26-2005 03:56 AM
Re: Linux Redhat - sendmail - can't send outside domain due to FROM address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 04:02 AM
05-26-2005 04:02 AM
SolutionMaybe setup by location if you have several systems at specific locations?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 04:29 AM
05-26-2005 04:29 AM
Re: Linux Redhat - sendmail - can't send outside domain due to FROM address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 04:50 AM
05-26-2005 04:50 AM
Re: Linux Redhat - sendmail - can't send outside domain due to FROM address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 04:52 AM
05-26-2005 04:52 AM
Re: Linux Redhat - sendmail - can't send outside domain due to FROM address
A resource is found on the web site
http://www.sendmail.org
This will describe how to build a sendmail.cf file with the MASQUERADE_AS feature, masquerade the envelops, compile the new sendmail.cf, put it into place and test it.
Here is the site that describes compile for Linux
http://www.sendmail.org/compiling.html#Linux
Here is the site for masquerade issues
http://www.sendmail.org/faq/section3.html#3.16
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 05:07 AM
05-26-2005 05:07 AM
Re: Linux Redhat - sendmail - can't send outside domain due to FROM address
This will remove the host name in the FROM address.
Being that you want different envelopes as well as different domains you will need to create more than 1 sendmail.cf file and put them into their respective locations on the respective systems.
This will be using the m4 compiler to create the new .cf files. In the source file will be FEATURE(MASQUERADE_AS) declaration - as an example.
On the Linux box, look in the /usr/share/sendmail-cf directory. Lots of docs an examples.
NOTE, the sendmail RPMs must be loaded as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 05:28 AM
05-26-2005 05:28 AM
Re: Linux Redhat - sendmail - can't send outside domain due to FROM address
/tmp/dead.letter... Saved message in /tmp/dead.letter
QA12-LX-> more /tmp/dead.letter
From super Thu May 26 13:17:26 2005
Return-Path:
Received: (from super@localhost)
by QA12-LX.wescodist.com (8.12.11/8.12.11/Submit) id j4QHHQP6014833
for mshaffer@wescodist.com; Thu, 26 May 2005 13:17:26 -0400
Date: Thu, 26 May 2005 13:17:26 -0400
From: root
Message-Id: <200505261717.j4QHHQP6014833@QA12-LX.wescodist.com>
To: mshaffer@wescodist.com
\n WESNET Branch System - Release 08.10.00 - C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 05:39 AM
05-26-2005 05:39 AM
Re: Linux Redhat - sendmail - can't send outside domain due to FROM address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 06:30 PM
05-26-2005 06:30 PM
Re: Linux Redhat - sendmail - can't send outside domain due to FROM address
If you search for 200505261717.j4QHHQP6014833, what does your maillog say?
Please reply.
Cheerio,
Renarios
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 07:44 PM
05-26-2005 07:44 PM
Re: Linux Redhat - sendmail - can't send outside domain due to FROM address
make the mails as coming from super123@yourdomain.com ?
or super@yourdomain123.com ?
First option can de done by masquerading.
Check whether DM macro is set properly..
# sendmail -bt
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter
>$M
this should return ur masq.. domain.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2005 12:41 AM
05-27-2005 12:41 AM
Re: Linux Redhat - sendmail - can't send outside domain due to FROM address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2005 04:46 AM
05-27-2005 04:46 AM
Re: Linux Redhat - sendmail - can't send outside domain due to FROM address
Check out the following site and look down towards #6. This explains about the genericstable.
http://www.sendmail.org/virtual-hosting.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2005 05:42 AM
05-27-2005 05:42 AM
Re: Linux Redhat - sendmail - can't send outside domain due to FROM address
I would look back at the answers and do the following.
Set up entires in virtusertable and genricstable to allow the subdomains to work.
Set up the sendmail.mc file as noted in the virtual host link above to allow for multiple domains.
I'm attaching a script called buildmail. It has some extra steps for building a spam database, which I'm removing because I don't think you need the complication right now.
You will note some commented anti-spam code on the top of the script. It took me months to develop the full version. I might be able to spare some time to help you with installation, but really the script should just run and solve your entire issue.
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
05-27-2005 07:54 PM
05-27-2005 07:54 PM
Re: Linux Redhat - sendmail - can't send outside domain due to FROM address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 12:24 AM
05-31-2005 12:24 AM
Re: Linux Redhat - sendmail - can't send outside domain due to FROM address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 12:27 AM
05-31-2005 12:27 AM