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.
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
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
somehow this got duplicated... :(