Upgrade Zimbra 6 to zimbra 7 on EC2

Clone the instance

* Make a snapshot of the disks * Launch and EBS instance with the same AMI type in 1c * Create virtual disks from the snapshots created before in the same availability zone of the new instance * Once is fully booted, stop the new instance * Detach the root volume from . . . → Read More: Upgrade Zimbra 6 to zimbra 7 on EC2

How to add a smart host with authentication to Postfix

A smart host is a type of mail relay server which allows an SMTP server to route e-mail to an intermediate mail server rather than directly to the recipient’s server. [Wikipedia] .

Here is how I set up postfix to use a smart host.

1. Create the password file /etc/postfix/passwords with the following contents, . . . → Read More: How to add a smart host with authentication to Postfix

Send Postfix email through Gmail

I was really frustrated about Smartbro SMTP service that is not working for me as smtp.smartbro.net, so I decided to follow the instructions in this article to use gmail as my smtp of my Ubuntu development desktop.

http://www.marksanborn.net/linux/send-mail-postfix-through-gmails-smtp-on-a-ubuntu-lts-server/

It worked perfectly, but I had to include also the following two commands, as suggested by Andy . . . → Read More: Send Postfix email through Gmail

Mailman again

This is the second time I install mailman in a production environment. This time I had to create 152 geographic lists, totalling more than 34,000 users. A lot of scripts and scripts writing other scripts.

This installation has been a nightmare, so I’m going to document it here in great details for future reference.

Phase . . . → Read More: Mailman again

Courier installation

It’s already nearly midnight but I’ve to go on with the server installation. Now it’s courier time, to grant POP/IMAP access to mailboxes. I download it from:

http://www.courier-mta.org/

The latest version for courier-authlib is 0.58 (08-Dec-2005) and the latest for Courier-IMAP is 4.1.0 (25-Feb-2006)

$ tar xfvj courier-authlib-0.58.tar.bz2 $ cd courier-authlib-0.58 $ ./configure –with-mysql-libs=/var/j_mysql/var/mysql/lib/mysql/ \ . . . → Read More: Courier installation

Cloning a postfix installation

The objective for today is building a clone of my postfix installation (from sakura to masako, two gentoo servers) and keep this clone updated daily. The cloned installation may carry additional domains and the domains coming from the other machine must be parked so they can be switched on only in case of need (major . . . → Read More: Cloning a postfix installation

Empting Postfix Mail Queue

Today I was testing some email reporting script for a customer, on my test site on my laptop. I’ve generated a random event that should send out random email and I changed the destination address to myself. Or at least I thought so. Before pressing send, I switched off my wifi connection, just to be . . . → Read More: Empting Postfix Mail Queue

Changing a Mailman list to use a different domain

The method I’ve previously described is used to add a new list to mailman. The only problem is that the list gets added to the main domain and not to a secondary domain.

To add a list to a secondary domain, first I add to add it to the Mailman/mm_cfg.py configuration file as in:

. . . → Read More: Changing a Mailman list to use a different domain

Mailman install

Today I’ve finally installed mailman after a long time I wanted to give it a try. The provided description did not work for me and I had to proceed by searches, trials and errors.

I wrote my site specific settings into Mailman/mm_cfg.py that in my case were:

# Put YOUR site-specific settings below this line. . . . → Read More: Mailman install

Improving Spamassassin rules

In general my spamassassin installation is working well in blocking spam, but lately I’ve received quite a few spam messages trying to sell OEM software (most likely counterfeit).

I took a little of time to do some search to learn how to add custom rules to spamassassin to improve the basic ruleset.

I’ve found this . . . → Read More: Improving Spamassassin rules