Pages

Monday, May 9, 2016

Zimbra SMTP MTA Relay



*** If any Zimbra Server IP black listed and Urgent need to send emails via other SMTP server then follow bellow steps.


** Go To the Zimbra Admin Panel

https://smtpgw.tayabkhan.com:7071/zimbraAdmin/

** If you forgot admin password then login to SHELL by root

root@mail# su - zimbra

[zimbra@mail ~]$  zmprov sp admin@tayabkha.com AdminPassword

** Login by admin password

** Click "Configure" TAB
** Click "Global Settings"
** Click "MTA"
**  Realy MTA for External Delivery :  192.168.72.20  port 25  (**Set SMTP servers IP and Port)
** Save settings

#### Go To the smtp Server: 192.168.72.20  login by root

** Vi /etc/postfix/main.cf
Add Zimbra-Server-IP to MyNetwork
mynetworks =  smtpgw.tayabkhan.com

============================
====================================
*** If other Mail Server (MX) 10.10.10.200 wants to send(relay) emails through Zimbra server(smtpgw2.tayabkhan.com),, follow bellow steps....
root@mail# su - zimbra
[zimbra@smtpgw2 ~]$ postconf mynetworks

***Outpur will be like bellow...........
mynetworks = 127.0.0.0/8 192.168.1.0/24 [::1]/128 [fe80::]/64

*** Add your mx server IP 10.10.10.200 by bellow command
[zimbra@smtpgw2 ~]$  zmprov ms smtpgw2.tayabkhan.com zimbraMtaMyNetworks '127.0.0.0/8 192.168.1.0/24 10.10.10.200/32 [::1]/128 [fe80::]/64'

[zimbra@smtpgw2 ~]$  postfix reload




No comments:

Post a Comment