On 9/9/2011 5:52 μμ, jeffrey j donovan wrote:

use local recipient map for your local users and transport maps for the 
delivery of others. You will have to tell amavisd how to relay local and remote.
do what Weiste said and allow programs to relay mail via localhost.

Thanks Jeffrey,

I guess we could (??) also (if not using local agent) use

   virtual_mailbox_domains = gatewayhostrname.example.com

and

   virtual_mailbox_maps = ...

for "virtualized" "local" users to define mailboxes on the gateway mail server - which is the localhost of course - for local delivery using the postfix virtual agent (to addresses of the form xx...@gatewayhostname.example.com).

But could you give any details (or at least a start point for researching) on how to tell amavis to generate mail copies and address them to one destination if they have been designated as spam and to another destination if they have been designated as non-spam and then handle them to postfix for delivery to the above addresses? (I know this is more related to amavis, yet not off-topic.)

Thanks again,
Nick

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to