Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-11-2013, 09:31 AM   #1
LQ Newbie
Registered: Nov 2013
Location: Centereach, NY
Distribution: RHEL 5
Posts: 4

Rep: Reputation: Disabled
What is the function of the /etc/mail/mailertable file?

I have recently started at a company after the old Linux admin left over a year ago, I have been tasked to get the Linux servers up to date. One of the first things I looked into was to get root mail working so I could better monitor what was going on, the sendmail file has never been setup or any of the other files in /etc/mail except the mailertable file which has the following entries: ""(mydomain substituted for actual), not sure what this file is doing? some mail is going out, a clamav log file, but nothig else else I can see.

Last edited by josephf63; 11-11-2013 at 10:01 AM.
Old 11-11-2013, 11:08 AM   #2
Ser Olmy
Senior Member
Registered: Jan 2012
Distribution: Slackware
Posts: 2,480

Rep: Reputation: Disabled
The "mailertable" feature enables manual routing of mail. The /etc/mail/mailertable file will contain instructions about how and where to forward mail for specific domains. The entry
simply routes mail for the "" domain to "", overriding any MX records.

You could also forward mail to an SMTP service on a different host and/or port, or you could specify that mail should be transfered using another protocol, like UUCP.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to send mail using PHP mail function On apache server kiran.ursal Linux - Server 2 04-29-2013 04:21 AM
Gmail does not work for receiving mail through function MAIL() ShaiMagal Linux - Server 2 09-07-2010 10:41 PM
sendmail mailertable nayabingi Linux - Networking 1 06-30-2006 10:09 AM
Sendmail and Mailertable lapthorn Linux - Software 0 02-24-2006 05:40 AM
mail() function kondor5 Linux - Software 0 01-18-2004 04:46 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration