SMTP relay Help


 
Thread Tools Search this Thread
Operating Systems Solaris SMTP relay Help
# 1  
Old 11-22-2010
SMTP relay Help

Hello!! Mau I know is there anyway that I can set the sendmail to relay the mail to different mail server base on the domain name?

For example,

Mail for abc.test.com will be sent to 1.1.1.1

and

Mail for def.example.com will be sent to 2.2.2.2

Thanks for the help!!!
# 2  
Old 11-22-2010
I think what your looking for is a DNS MX record.
# 3  
Old 11-22-2010
Thanks for the reply!

You mean setting the MX record in my dns server? I'm actually exploring the possibility of defining multiple mail reply host in sendmail without using the dns server

---------- Post updated at 08:37 PM ---------- Previous update was at 02:05 AM ----------

Hmm I read something about using mailertable..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

SMTP relay one (1) hostname with two (2) IP Address

Hi, Anyone can help? Currently : I'm am using a smtp smart relay, 1 hostname but different IP Address 192.168.2.108 and 192.168.2.109). I'm using "smtp.mailhostname.com mailhost" and having an IP Address 192.168.2.108, but there is a certain minutes/seconds that the IP Address will... (2 Replies)
Discussion started by: fspalero
2 Replies

2. Red Hat

Relay mail server

Hi, I have a postfix mail server on centos 6. (mailserver.mydomain.com ) I want to send mail through my mail server from other linux server ( server1 ), so that it will use mail server IP address. I have tried. myhostname = server1.mydomain.com relayhost = mailserver.mydomain.com... (2 Replies)
Discussion started by: Priy
2 Replies

3. UNIX for Advanced & Expert Users

Configuring second mail relay

Hi all, Once I already asked about this problem, but didn't get solution, so I am opening new thread. Hope to get help from you guys. So, my problem is: I have Solaris 10 based server. I have a script which should send mails using mailx (can use another if needed). What I need is -... (3 Replies)
Discussion started by: nypreH
3 Replies

4. UNIX for Dummies Questions & Answers

How to specify second mail relay in Solaris?

Dears, I've configured Solaris (10) server to send mails to corporate mailboxes. Now I need to specify second relay, so if mailx will see that mail xxx@aaa.com it will send to 111.111.111.111 (aaa.com) and if it will see that mail belongs to bbb.com - xxx@bbb.com it will send to another IP... (3 Replies)
Discussion started by: nypreH
3 Replies

5. Red Hat

How to setup Sendmail as SMTP Relay?

Hi Guys, I want to setup sendmail using my username and password on my ISP to be able to send out messages. I'm using Linux. So far, what I've done is modified the sendmail.mc with the following changes: define(`SMART_HOST',`myispsmtpoutgoingserver') FEATURE(authinfo)dnl In my... (0 Replies)
Discussion started by: adshocker
0 Replies

6. Red Hat

add relay to sendmail.cf

Hi, I notice that my relay on sendmail.cf is just "DS" and no ip. So I guess, it's using the local DNS to relay my mail which sometimes being spammed. I would like to add a new relay ip "DSxxx.xxx.xxx.xxx" on sendmail.cf. What do I need to edit sendmail.cf? Do I just use vi or m4? ... (4 Replies)
Discussion started by: itik
4 Replies

7. Solaris

Sendmail relay problem

I have a sendmail issue When I try to send a mail message using mailx I get a "connection refused by mail14.messagelabs.com" error. relay=mail14.messagelabs.com., dsn=4.0.0, stat=Deferred: Connection refused by mail14.messagelabs.com However, mail14.messagelabs.com doesn't exist. The... (4 Replies)
Discussion started by: soliberus
4 Replies

8. UNIX for Dummies Questions & Answers

Help in port relay

Hi, I need to know if somebody knows about a daemon to do port relay on Solaris. What I want to do is, for example, when I connect to the solaris box port 80, map to another computer, same port. It's like a port nat, but for doing that I need to install a firewall, like iptables, but its not... (1 Reply)
Discussion started by: piltrafa
1 Replies

9. Cybersecurity

Sendmail Relay

I'm trying to get my Solaris 7 sendmail server to allow external clients to send to external recipients. I know this has to do with relaying, but I'm not sure how unsafe I have to get to allow this. I simply need for users to login from any domain and be allowed to send mail via SMTP to any... (4 Replies)
Discussion started by: Solaris
4 Replies
Login or Register to Ask a Question