Category: Email

Alternate SMTP Port

Here’s a quick IPTables rule to setup an alternate non-standard SMTP port without reconfiguring the mail server software:

Read More »

Export Zimbra mailbox

To export the mailbox for user@acme.com as a zip file use this command: /opt/zimbra/bin/zmmailbox -z -m user@acme.com getRestURL \ ‘//?fmt=zip&query=is:anywhere’ > user_at_acme_com.zip Here is the same as a tgz file: /opt/zimbra/bin/zmmailbox -z -m user@domain.com getRestURL \ “//?fmt=tgz” > /tmp/account.tgz And

Read More »

Zimbra Mailbox Size

Here’s a simple script that will provide a report on mailbox size for every mailbox on a Zimbra server. The report is sorted by box size in descending order:

Read More »

Courier – Disable weak SSL ciphers

You can disable SSLv2 in Courier by adding the following line to both /etc/courier-imap/imapd-ssl and /etc/courier-imap/pop3d-ssl:

After restarting Courier you should test with openssl to verify SSLv2 has been disabled properly:

You can test that weak ciphers have

Read More »

Postfix Mailtrap

Recently we needed to setup a postfix server that would route all email to a local mailbox regardless of original destination. Here’s the solution: 1) Add this line to /etc/postfix/main.cf (if it’s not already present): recipient_canonical_maps = regexp:/etc/postfix/canonical 2) Add

Read More »

Get a free consultation from Reliable Penguin

Submit the form—or for immediate service call 866-649-7984.