[Pkg-dspam-misc] dspam question

Daniel Kahn Gillmor dkg-debian.org at fifthhorseman.net
Fri Nov 17 17:15:09 CET 2006


On November 16, wt at penguintechs.org said:

> On Thursday 16 November 2006 22:16, you wrote:
> > You don't say what this listing is the output of.  Is it ps?  If so,
> > with what options?  It's always useful to show the precise command you
> > invoked when you are showing output.
> 
> I meant to copy the prompt. The command was "ps -ef".
> 
> > This looks to me like you have a postgres database named "dspam", and
> > these are active database server processes handling connections made
> > to the database from ports 2851, 2852, and 2853.  your dspam daemon
> > process itself is the first line, which appears to be running as root.
> 
> I gotcha. Sorry for the mixup.
> 
> On a related note, is there a simple recipe to make Postfix accept
> spam-user at domain.tld when user at domain.tld is a valid email address
> to which it will already deliver? Basically, I am trying to avoid
> making an alias for each user explicitly.

I've done this before with a regular expression table, like this:

virtual_alias_maps: regexp:/etc/postfix/spam_prefix_map, <...other virtual_alias_maps...>

where /etc/postfix/spam_prefix_map looks like:

/^spam-(.*)@.*$/   ${1}
/^notspam-(.*)@.*$/   ${1}

You can "man regexp_table" to learn more about this style of mapping.
In the future, you might find questions like this better-addressed on
a postfix list, or on the dspam-users list, though, since those tend
to have a wider readership.  

This list is more properly used for debian-packaging-specific
questions about dspam.

hth,

	--dkg



More information about the Pkg-dspam-misc mailing list