Gordon Messmer wrote at 7:36 PM (-0700) on 9/21/10:

>As far as I know, the filters should work in your case as long as 
>they're in "allfilters".  Check "/var/spool/courier/allfilters"

You're right -- for some reason, courier-perlfilter was not active on
the secondary!  Damn.  Well, that solves one problem...

>> Hmm.  So this would require not only building a plain-text alias file
>> from my mysql database (feasible), but also setting up a subdomain on
>> every hosted domain in order to facilitate such forwarding (unreasonable).
>
>Is it?  It's one entry in DNS and one line in your "locals" or 
>"hosteddomains" file.  Hardly seems unreasonable.

Well, not onerously unreasonable I suppose, but it's a matter of
context.  I have a couple of dozen domains hosted on the machine.  It
seems like an extraordinary requirement to configure subdomains for
every single one of them simply in order to get mail shipped between two
common machines.

I was musing that another way to work around this could be to specify
temporary local mailboxes (e.g. like /var/spool/mail/somedomain.com-
user/) on the secondary to which it would do deliveries like normal, and
then rig up some rsync and scripts to manually shunt these boxes over to
the primary on a regular basis, delivering their contents into the
actual "live" maildirs.  This seems baroque and maybe as much work as
automating the extra domains, though.

>The most straightforward configuration is not to have secondary MX 
>servers at all, and has been for many years.

With respect, I still find this argument somewhat specious.  Virtually
every enterprise of any size on the internet still runs multiple MX
servers.  While I appreciate that having a single point of reception
means a simpler configuration, it also foregoes some measure of
redundancy and versatility.  Are Google and Apple and IBM and the White
House out of their minds?  I suppose that perhaps Courier is the wrong
product for any such business, but if so, it seems an unfortunate design
exclusion.  In any case, that's getting off track.

>I think it's more a concern than you credit it.  If you're double 
>filtering and the two servers disagree about any given message, the 
>secondary will end up blacklisting all of the recipients of the message 
>which your primary rejects.

Fair point, thanks.  These issues are indeed inter-related.

-ben

-- 
Ben Kennedy (chief magician)
zygoat creative technical services
http://www.zygoat.ca



------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to