Subject: Re: Does mail/dspam play nice with postfix?
To: Quentin Garnier <>
From: Paul Goyette <>
List: pkgsrc-users
Date: 12/29/2007 11:47:46
On Sat, 29 Dec 2007, Quentin Garnier wrote:

> Well, I use a transport_maps entry.  What I currently have in this
> configuration (which I did almost 4 years ago now I think;  I was still
> quite the newbie with Postfix at the time, and Postfix configuration was
> slightly different in those areas) is a regex map that transforms
> spam-${USER}@my.domain.tld into ${USER}@spam.dspam and then a transport
> entry for the spam.dspam domain that gets it into dspam.
> It might very well be over-designed for the task, but I have a lot of
> other transformations so I think at the time it was the best way to get
> that processed at the time I wanted it.
> Excerpt from
> canonical_maps = regex:Dspam
> transport_maps = TransportDspam
> Contents of "Dspam":
> /^spam-([[:alnum:]]+)$/    ${1}@spam.dspam
> /^notspam-([[:alnum:]]+)$/ ${1}@notspam.dspam
> Contents of "TransportDspam":
> spam.dspam      dspam-relearn-spam
> notspam.dspam   dspam-relearn-innocent
> IIRC, the need for the canonicalisation of the address that way is so I
> could use ${USER} in the entry.

Ah.  So, each user still has to forward stuff his/her personal spam-
relearning addresses;  I was sort of hoping to avoid that, and just
have each user forward stuff to 'spam@mydomain.tld' but I guess that 
just isn't going to work.

Thanks for the help.

|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | |