Re: Mailfront Reject Rule

Gordon Rowell <[email protected]>
Newsgroups gmane.network.e-smith.devel
Organization Gormand Pty Ltd
Message-ID <[email protected]>
On Mon, Dec 01, 2003 at 02:35:47PM -0800, Greg Zartman <[email protected]> wrote:
> Does anyone know the correct syntax to tell mailfront to refect email 
> from a given domain.  The mailfront docs seem very vague.

Did you have a look at /usr/share/doc/mailfront-0.81/mailrules.html ?
It may not be intuitive, but I think it's fairly clear.

> I've set the smtpfront-qmail MAILRULES envir variable to the path of a 
> mail rules file.  This is the reject rule that I'm currenlty using 
> (which doesn't work):
> 
> d*@domain_name::REJECT
> [...]

This should do it:

d*@nasty_person.com:*:Go away

You're missing the wildcard in the recipient address.

Gordon
--
 Gordon Rowell [email protected]  http://www.gormand.com.au
 Gormand Pty Ltd  PO Box 239 St Pauls NSW 2031 Australia

--
Please report bugs to [email protected]
Please mail [email protected] (only) to discuss security issues
Support for registered customers and partners to [email protected]
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.