The Ultimate Business Machine - Archives
List of Categories : Database * Technology * Commentary * Singapore * Travel *
Fri 05 May 2006
MailServe and Postfix Enabler Updates
Category : Technology/MailServe214PFE122.txt
I've taken time off from working on Luca to update both MailServe and Postfix Enabler.
Valerio Fioretti (at Image Now Studio) asked "if there is a way to REJECT all the messages sent JUST to one specific email address"? For example, for an employee who has left the company but who had subscribed to a lot of mailing lists.
I've updated MailServe to do just that. Just add a "bannedUser@ REJECT" line to the Access field.
Plus, I had provided MailServe with a way to turn off the open relay if you've placed your Mac server directly on a broadband line and your Mac had been set to relay mail automatically for all machines on the local subnet - because, then, all other machines on your ISP's network become your local network!
Since I had to do a series of testing again, I've taken the chance to change the check box I had used to stop the open relay into a radio button to more clearly convey its intent. And I've added that feature to Postfix Enabler, too.
Also, back to MailServe, I've added a "Virtual Domains" field to distinguish it from the Additional Domains field.
The primary and the additional domains constitute the list of domains you will receive mail for - implicitly for all user accounts on your server. The problem is that there is no demarcation between the domains - mail for sales@domainOne and sales@domainTwo will all end up on the same mailbox.
If you want sales@domainOne and sales@domainTwo to end up on different mailboxes, you need to use Postfix's implementation of the concept of Virtual Domain Aliases. You need to create two separate real user accounts on your server, sales1 and sales2, say, and assign them to be monitored by real users. Then you add the two domains, domainOne and domainTwo, to MailServe's new Virtual Domains field. And, finally, you add the address mappings - sales@domainOne to the real user account sales1 and sales@domainTwo to sales2 - to MailServe's renamed Virtual Domains Alias Mappings field.
The difference between a Virtual Domains implementation and the use of the Additional Domains field is that you must list explicitly every virtual address that you are using because the mapping to a real user account needs to be made known to Postfix. By contrast, Postfix accepts mail implicitly for every real user account for the domains listed as its primary and secondary aditional domains.
Both implementations can co-exist at the same time. So, it is useful for MailServe to have both fields - Additional Domains and Virtual Domains - for the user to use both implementations, e.g., to avoid having to list every address in a secondary domain, just because he is using a virtual domain.
So that's now done. Both MailServe 2.1.4 and Postfix Enabler 1.2.2 are out now.