How to stop SPAM with Postfix RBL

To stop spam using RBL in postfix, edit main.cf

Add

Restart postfix

See postfix […]

Read More…

Postfix enable Maildir

To enable postfix, run

You can do it by editing /etc/postfix/main.cf

Add

if home_mailbox entry already in main.cf file, then modify instead of adding a new entry. Virtual Mailbox If you are using virtual mailbox, make sure you spedify folder in your virtual_mailbox_maps. Here is what i have in main.cf

in […]

Read More…

fatal: open /etc/postfix/main.cf: Permission denied

On a CentOS server, when sending mail from PHP scripts, mail failed to work. On checking postfix log file (/var/log/maillog), i see following error.

To fix this, disable selinux

To permanantly disable SELinux, run

[…]

Read More…

Postfix email forward

postfix mail server

On an Ubuntu Server, i done following to setup email forwarding. Install postfix

Edit /etc/postfix/main.cf, add following

Add

Create Virtual mailbox

Add

Create alias file, used for mail forwarding

Add

Wth above configuration, mail coming to [email protected]_HERE.com will get forwarded to [email protected] Email coming to [email protected]_HERE.com get delivered […]

Read More…

iredmail increase mail attachment size

Default mail attachment size in iredmail is 10 MB. To increase mail attachment size, login to server as user root, run following commands

Here 104857600 is 100 MB in bytes (100 * 1024 * 1024). Change this as required. Sending very large file using mail attachment is not recommended, it is better use file […]

Read More…

Zimbra webmail not working on port 80/443

On Zimbra mail server, webmail stopped working on Port 80/443. Admin interface worked properly on url https://hostname:7071/. There is no errors displayed under monitor tab of Zimbra Admin. To fix, run

After running this, netstat -lntp start showing nginx running on port 80 and 443

[…]

Read More…

Zimbra Mail Server CentOS firewall settings

On CentOS 7 server with firewalld running, used following command to open ports used by Zimbra Mail Server.

See Zimbra, firewall-cmd […]

Read More…

Zimbra redirect webmail http to https

After Zimbra mail server installed, webmail work on url https://SERVER-HOSTNAME-HERE/ If you access webmail with out HTTPS, it won’t work. To set HTTP to redirect to HTTPS, login to server as root, switch to user zimbra

Run

Wait few minutes, HTTP link will redirect to HTTPS.

You need to wait few minutes […]

Read More…