|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 (222.222.222.222). Described in examples for easier understanding what I need ![]() Can anyone let me know how I can do that? Thanks in advance. |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
Are you partitioning whole email host of address or just specific addresses? It is probably all done with sendmail rewrite rules, but that is a deep swamp with a thick Riley book! One article says this is a good time to get off sendmail! email - Configuring sendmail as a multi-domain relay server - Server Fault
|
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Quote:
This is what I have: Code:
-bash-3.00# cat /etc/mail/relay-domains mydomain.az sms.mydomain.az -bash-3.00# and Code:
-bash-3.00# cat /etc/mail/mailertable mydomain.az relay:mailboxes.azerfon.az sms.mydomain.az relay:mailboxes.sms.narmobile.az -bash-3.00# I am not sure that mailx uses this info, since when I changing MTAHost in /etc/mail/submit.cf from mydomain.az to sms.mydomain.az it sends mail using different IP. Any ideas?
|
|
#4
|
|||
|
|||
|
Technically, mailx -s a MUA that usually uses sendmail as a MTA. Clients could just connect to port 25 and do their own smtp/esmtp -- it's easy. sendmail Tutorial: MUAs, MTAs, and MDAs
|
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Free Open Mail Relay | Action | What's on Your Mind? | 1 | 12-05-2010 01:30 PM |
| Configure sendmail on Solaris 10 to relay al mail | maxranzy | Solaris | 2 | 11-30-2010 08:50 AM |
| How to relay mail to mail server from Unix ? | sourabhsharma | UNIX for Advanced & Expert Users | 3 | 07-23-2010 03:27 AM |
| configure solaris 10 mail to relay email alerts from SAN switch | wibidee | Solaris | 0 | 01-15-2009 11:09 AM |
|
|