Sendmail MX redirect


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Sendmail MX redirect
# 1  
Old 07-28-2011
Sendmail MX redirect

Hi

I have a working sendmail setup for my domain, but would like to run a subdomain on another machine. I could try below, but its a production server and worry about messing it up. Hence the question.

So I have machine names:

mydomain.com (mail server)
dev.mydomain.com

currently the MX record points to mydomain.com
Can I add another MX record for dev.mydomain.com which points to the same - mydomain.com, ie

mydomain.com. IN MX 0 mail.mydomain.com.
dev.mydomain.com. IN MX 0 mail.mydomain.com.

That way both mails get redirected to mail.mydomain.com for handling. OR is it better:

dev.mydomain.com. IN MX 0 dev.mydomain.com.

I want both domain emails to go to my main machine mail.mydomain.com.


Thanks.
# 2  
Old 08-01-2011
If you add the subdomain MX, it will go there, but still the rewrite rules in your mail server may want to reject or discard it. Try and see.

If you send it elsewhere, you can rewrite it and forward it to the prod server.

Make sure dev test messages do not get prod people upset! Maybe rewrite the subjects with a prefix or something?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Clarifying sendmail configuration - sendmail-client offline

Hi all, I have read about sendmail running as 2 separate process. 1 as a MSP, and the other as the real daemon or MTA. In my current configuration, the sendmail-client is disabled. Both submit.cf and sendmail.cf are left as default untouch I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies

2. UNIX for Dummies Questions & Answers

Redirect to a file

Hi, Is there a way to redirect the output of a set of commands to a file instead of using << at every command in bash shell. For eg (echo hostname echo "Comparing 2 files" comm -3 file1 file2) >>file3 (3 Replies)
Discussion started by: Rossdba
3 Replies

3. UNIX for Advanced & Expert Users

Sendmail questions, SCO 5.0.6 sendmail 8.11.0

I am running SCO 5.0.6 and using sendmail 8.11.0 and having issues with smtp authentication. When trying to send mail the following message will kick back. (reason: 530 5.7.1 Authentication required) 530 5.7.1 Authentication required Not sure what needs to be tweeked in sendmail.cf but I... (1 Reply)
Discussion started by: ziggy6
1 Replies

4. Shell Programming and Scripting

Redirect capitalize

How do i send the output from the date command to a variable called today easy: today=$(date) but how can the output be capitalized on a single command ? (2 Replies)
Discussion started by: JuankyKong
2 Replies

5. Shell Programming and Scripting

Redirect o/p from shell

hi, I've a shell which does few manipulations on different text files. I need to divert all the output to a single file. i dont want to mention the o/p file name in command prompt (or) in every shell command. Is it possible to mention it part of the shell? Thanks (2 Replies)
Discussion started by: dvah
2 Replies

6. SCO

Redirect archive0?

Hello UNIX-community, We have an older SCO UNIX-system running PCS3 (an industrial platform) and since a few weeks we are experiencing problems with our archiving software. For about ten years, the system archives data to Magneto-Optical discs (MO-discs) and thus far it has worked fine.... (0 Replies)
Discussion started by: V4Friend
0 Replies

7. Shell Programming and Scripting

Cannot redirect ouput?????

Hello experts, I'm testing a program that prints error message to the screen. I want to redirect the output to a file using >. but the message only prints on screen and not writing to the file, Any suggestion on what I might try? (3 Replies)
Discussion started by: minifish
3 Replies

8. Shell Programming and Scripting

PHP Redirect

I need a script named index.php . when i goto that page it redirects to html/index.php can someone please tell me the code required (2 Replies)
Discussion started by: perleo
2 Replies

9. UNIX for Dummies Questions & Answers

Need to redirect the messages

Hi, Some of the process execuating on our server time to time. Time of exeuation is not know in advance. That process is producing some of the messages on the screen. I want to redirect all the messages in one file as well as want all the message on the screen also. How i can do that ? (2 Replies)
Discussion started by: gaur_amar
2 Replies

10. IP Networking

Redirect

I'm sittig behind a firewall that doesn't allow ftp. I have a conection to a UNIX system, connecting throug SSH. Is it possible to redirect the ftp through the UNIX to my computer? (1 Reply)
Discussion started by: <Therapy>
1 Replies
Login or Register to Ask a Question