LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

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.com smtp:mail.mydomain.com"(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 09:01 AM.
 
Old 11-11-2013, 10:08 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 2,412

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
Code:
mydomain.com       smtp:mail.mydomain.com
simply routes mail for the "mydomain.com" domain to "mail.mydomain.com", 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.
 
  


Reply


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 03:21 AM
Gmail does not work for receiving mail through function MAIL() ShaiMagal Linux - Server 2 09-07-2010 09:41 PM
sendmail mailertable nayabingi Linux - Networking 1 06-30-2006 09:09 AM
Sendmail and Mailertable lapthorn Linux - Software 0 02-24-2006 04:40 AM
mail() function kondor5 Linux - Software 0 01-18-2004 03:46 PM


All times are GMT -5. The time now is 10:56 PM.

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