1

Topic: Relay some domain with other MX

hi,

i have 2 mail server 1st is sendmail based and 2nd is iRedMail 0.6.1 with iRedAdmin-pro 1.3 i have problem in iRedMail because i am not able to send mail to some domains because there domain not ping with my ip pool.

how i  do with  my 1st sendmail based server i have 2 MX for my domain.com 1st mx host with my live ip and 2nd mx host with some other USA based hosting server with catch-all account ex: if my server down with any reson all incoming mail goes to USA Server and i Will Fatch all Mails after my server up and delivers all mail to users, some time my server not able to send mails to some domain like rituweares.in, hdfcbank.com, etc, then i set in /etc/mail/mailertable file
rituwears.in    smtpout.my2ndMX.com
hdfcbank.com smtpout.my2ndMX.com
these domain always relay with my2ndMX.com
plz tell me how i can do with iredmail

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Relay some domain with other MX

Try below steps:

- Edit /etc/postfix/transport, add below lines:

rituwears.in smtpout.my2ndMX.com
hdfcbank.com smtpout.my2ndMX.com

- Hash it with command "postmap":

# postmap hash:/etc/postfix/transport

- Append this file in Postfix main.cf "transport_maps =":

transport_maps = [YOUR_EXISTING_VALUE], hash:/etc/postfix/transport

- Restart Postfix and test it.

3 (edited by write4saini 2010-12-03 18:23:42)

Re: Relay some domain with other MX

and if my USA Server relay mail with user-name and password, how do i configure

how to fatch mail from my USA server from catch-all account

Q: is this possible we can contact with you via telephonic

4

Re: Relay some domain with other MX

write4saini wrote:

and if my USA Server relay mail with user-name and password, how do i configure

Didn't test it yet. As i know, postfix doesn't support this if i understood correctly.

how to fatch mail from my USA server from catch-all account

What do you mean? You use a catch-all account on backup MX to receive emails? That's wrong.

Q: is this possible we can contact with you via telephonic

Sorry, we don't provide support via phone.

5

Re: Relay some domain with other MX

for example: i have account on USA Serve all@mydomain.com and this  is default account for catch-all, all incoming mail land in this account and i fetch all mail from this with username and password and relay some domain with this account

plz help me how to do this, this is very urgent for me
thank you very much for quick response

6

Re: Relay some domain with other MX

I think it's better to contact your US service provider to setup backup MX, or google it.