Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41139 - qmail recordio and anti-spam measures in conf-common conf-smtpd and run-qmailsmtpd
Summary: qmail recordio and anti-spam measures in conf-common conf-smtpd and run-qmail...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Linux bug wranglers
URL: http://www.chrishardie.com/tech/qmail...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-10 10:37 UTC by Steven Boothe
Modified: 2004-02-10 13:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Boothe 2004-02-10 10:37:34 UTC
First, excellent work on the gentoo qmail ebuild, very impressive.

In my attempts to implement spam abatement measures however, I am finding it a little more difficult to add anti-spam measures to the run-qmailsmtpd file now. In particular, I am interested in rejecting SMTP connections at the network level from hosts with bad DNS, as documented at Chris Hardie's webpage listed above. In addition, it would be nice to have a variable in conf-smtpd to turn on recordio for testing the anti-spam measures once in place (as I do now on a production BSD box I oversee).

So as per the suggestion from the top of run-qmailsmtpd(1) I am filing these requests in bugzilla for future reference.

Thanks again for such a well designed and thought out approach to implementing qmail on Gentoo.

Best regards,

Steven Boothe

(1)
# If you need to edit this file, please look at editing conf-smtpd and
# conf-common first.  If you still need to change this file, you should
# probably file a bug on the bugzilla saying what you wanted to change so that
# modification can be make possible via the configuration files

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Steven Boothe 2004-02-10 10:40:23 UTC
Sorry for not forcing CR/LF's. I was fooled by the line wrap in the form field...

First, excellent work on the gentoo qmail ebuild, very impressive.

In my attempts to implement spam abatement measures however, I am finding
it a little more difficult to add anti-spam measures to the run-qmailsmtpd
file now. In particular, I am interested in rejecting SMTP connections at the
network level from hosts with bad DNS, as documented at Chris Hardie's webpage
listed above. In addition, it would be nice to have a variable in conf-smtpd to
turn on recordio for testing the anti-spam measures once in place (as I do now
on a production BSD box I oversee).

So as per the suggestion from the top of run-qmailsmtpd(1) I am filing these
requests in bugzilla for future reference.

Thanks again for such a well designed and thought out approach to implementing
qmail on Gentoo.

Best regards,

Steven Boothe

(1)
# If you need to edit this file, please look at editing conf-smtpd and
# conf-common first.  If you still need to change this file, you should
# probably file a bug on the bugzilla saying what you wanted to change so that
# modification can be make possible via the configuration files
Comment 2 Steven Boothe 2004-02-10 11:33:47 UTC
Okay, I think I see that the variables are already there for these purposes; it just wan't obvious. So I guess I would like to help by suggesting that the comments reflect these opportunities a little more clearly by examples or something. Here is at least one way in which I could see that helping:

The way the comments read now:
# Stuff to run before tcpserver
#QMAIL_TCPSERVER_PRE=""
# Stuff to run qmail-smtpd <-- note typo: 'before' is missing.
#QMAIL_SMTP_PRE=""
# Stuff to after qmail-smtpd
#QMAIL_SMTP_POST=""

And how I would suggest they might be improved for clarity:
# Stuff to run before tcpserver
#QMAIL_TCPSERVER_PRE=""
# Stuff to run before qmail-smtpd such as recordio for debugging.
#QMAIL_SMTP_PRE="recordio"
# Stuff to after qmail-smtpd such as reverse DNS checks for spam.
#QMAIL_SMTP_POST="sh -c 'test -z "$TCPREMOTEHOST" && echo "451 bad reverse DNS" || exec"

Anyway, I haven't tested these settings yet, but you get the idea. I'll post a note if they work.

Cheers,

Steven
Comment 3 Steven Boothe 2004-02-10 13:02:19 UTC
somehow this got duplicated... :(