I am still trying to setup Courier with amavisd-new - the daemonized and
highly optimized version of amavis (acording to amavisd-new developers).
I tried 2 diferent approaches to make Courier and amavisd-new communicate:
1. Using the amavis helper program which would be called by maildrop as
a xfilter. The problem, as far as I understand, is that the xfilter
command expects to receive the filtered message back through the same
pipe it sent the message and amavis helper expects to send the filtered
message through some submission software which in Courier's case would
be sendmail. This road seems stucked to me right now.
2. Using the default amavisd-new approach: the smtp auxiliary servers. I
couldn't find a way to tell courier to send all messages to some
auxiliary smtp server when they got in through the regular smtp IP/PORTs.
I still have one last option that I REALLY don't want to use: setup 2
Couriers. One would receive the messages from outside/clients, and the
other that would actually deliver the messages locally and remotelly.
Amavisd-new would be in the middle.
I don't want to use the 2 MTAs approach as it seems clumsy with possible
maintenance headaches hidden in the future.