Qmail has a lot of patches to improve its behaviour. I think that should be useful create some USE flags to permit to the user to choose the improvements to apply to qmail. In this ebuild I had create an USE flag named 'aio' to permit to apply the backschues.NET patches that add the following new features to qmail: * $TCPREMOTEHOST check against regular expressions depending on $RELAYCLIENT. * HELO/EHLO check against regular expressions depending on $RELAYCLIENT. * MAIL FROM check against regular expressions depending on $RELAYCLIENT. * MAIL TO check against regular expressions depending on $RELAYCLIENT. * Assignment of a domain or email adress to subnets or IP adresses. * MAIL FROM DNS check depending on $RELAYCLIENT. * HELO/EHLO DNS check depending on $RELAYCLIENT. * Real check of local recipient address. * Rejection of relay probes. * Logging of relay attempts. * Discard bouncing bounces. * Tarpitting. * Checks the command line to make sure there is a valid checkpassword program when using SMTP AUTH patch. * Refuse emails from the null envelope sender if they have more than one envelope recipient. * qmail-queue-replacement with custom error (=bounce) messages. * Moving the todo routine into an external program. * Local and remote SMTP authentication. * Add and remove "local" IP adresses. * Accept messages with a single \n. * Alternative qmail-queue program. * Automatic creation of maildirs. * RFC 1870 ESMTP SIZE command. * Extended SMTP logging. * Multi-line SMTP prompts. * Use of local timezone. * Limit size of bounces. * TLS/SSL SMTP sessions. * Secured SMTP AUTH. * Set outgoing IP. * Quota check.
Created attachment 42561 [details] qmail.tgz ebuild upgrade
please attach a diff to the current latest ebuild, and provide more description of your new features here, as some of these were already in the latest ebuild.
Created attachment 42623 [details] Differences qmail-1.03-r15 and my ebuild Some of additional features are: # antispoofing (qmail-smtpd) Reserved ipadresses for ipranges or networks. qmail-smtpd will reject senders that have a remoteip not belonging to the defined networks defined for that emailaddress or domainname. # badheloext (qmail-smtpd) Unacceptable HELO/EHLO greeting. qmail-smtpd will reject every HELO/EHLO greeting if the greeting is listed in badheloext and the the environment variable RELAYCLIENT is not set. A line in badheloext may be a case insensitive regular expression. If the environment variable NOBADHELOEXT is set, badheloext will be disabled. # badheloint (qmail-smtpd) Unacceptable HELO/EHLO greeting. qmail-smtpd will reject every HELO/EHLO greeting if the greeting is listed in badheloext and the the environment variable RELAYCLIENT is set. A line in badheloint may be a case insensitive regular expression. If the environment variable NOBADHELOINT is set, badheloint will be disabled. # badmailfromext (qmail-smtpd) Unacceptable envelope sender addresses. qmail-smtpd will reject every recipient address for a message if the envelope sender address is listed in badmailfromext and the the environment variable RELAYCLIENT is not set. A line in badmailfromext may be a case insensitive regular expression. Empty envelope senders will be skipped. If the environment variable NOBADMAILFROMEXT is set, badmailfromext will be disabled. # notipme (qmail-send) IP addresses which the system detects but which should not be treated as local. notipme takes precedence over moreipme. IP addresses can be specified as individual addresses in the usual dotted-quad format, or as entire networks using a slash followed by the full dotted-quad netmask.
Your work here is based off -r13, and doesn't contain the work that is in -r15. Please upgrade this to be based on -r15 if you want it to be considered.
also, see 40486 as that will most likely from the core of -r16.
No response for a long time, resolving. If you want additional patches, please add them to bug 95892.