Pages

Tuesday, May 31, 2016

Webmin postfix bcc sender receiver


** We want to forward all sending email to @tayabkhan.com domain to tayab@tayabkhan.com
and all receiving emails to @tayabkhan.com domain to tayab@tayabkhan.com

Goto =>> Webmin =>> Servers =>> Postfix Mail Server =>> BCC Mapping =>>

Sender BCC mapping lookup tables:::  hash:/etc/postfix/bcc
Recipient BCC mapping lookup tables:::   hash:/etc/postfix/bcc-receiver

Save and Apply

Click again "BCC Mapping"
Recipient Mappings =>> Add a new mapping
Description:
Name: @tayabkhan.com
Maps to...:  tayab@tayabkhan.om

Save mapping

Sender Mappings =>>Add a new mapping
Description:
Name: @tayabkhan.com
Maps to...:  tayab@tayabkhan.om

Save mapping

Monday, May 16, 2016

Hotmail live outlook Black list remove Link



https://support.microsoft.com/en-us/getsupport?oaspworkflow=start_1.0.0.0&wfname=capsub&productkey=edfsmsbl3&locale=en-us&ccsid=635989770686051940




Register Here to see IP status::

https://sendersupport.olc.protection.outlook.com/snds/data.aspx


Monday, May 9, 2016

Separate Destination domain and Relay Zimbra


** We can relay full server from one server to another server

vi /etc/postfix/main.cf
relayhost = [smtpgw.tayabkhan.com]:587
or
relayhost = [smtpgw.tayabkhan.com]:25

** We can separate a destination domains mail via another SMTP server.

** check tranport_maps are in main.cf
vi /etc/postfix/main.cf

 transport_maps = hash:/etc/postfix/transport

** Login Mail server  and  vi /etc/postfix/transport
hotmail.com             :[smtpgw.tayabkhan.com]

-----------------------------------------
*** Loging to smtpgw(smtpgw.tayabkhan.com) server: and allow IP of mail server in MyNetworks

** if postfix then goto vi /etc/postfix/main.cf and add server ip to mynetworks
mynetworks =  127.0.0.0/8, 192.168.10.0/24

** if Zimbra then,
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

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




Thursday, May 5, 2016

Wireshark CISCO Port monitoring


Port Monitoring by Wireshark  with a CISCO Switch

Server-Switch#conf t
monitor session 1 source interface gi0/13
monitor session 1 destination interface gi0/24
exit

sh monitor

Now connect Wireshark PC directly to port 24 and start capture data of port 13.