On 06/24/2012 08:24 PM, Peter R Stanley wrote:
My current tcp.smtp file is configured as:
127.:allow,RELAYCLIENT="",DKSIGN="/var/qmail/control/domainkeys/%/private",RBLSMTPD="",NOP0FCHECK="1",QMAILQUEUE="/var/qmail/bin/simscan"
<server_static_ip>:allow,RELAYCLIENT="",DKSIGN="/var/qmail/control/domainkeys/%/private",RBLSMTPD="",NOP0FCHECK="1",QMAILQUEUE="/var/qmail/bin/simscan"
.:allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="50",CHKUSER_WRONGRCPTLIMIT="10",QMAILQUEUE="/var/qmail/bin/simscan",DKSIGN="/var/qmail/control/domainkeys/%$
2 things to note about this.
The 1st line here is for SquirrelMail's benefit. It's allowing SM to
relay (IOW send with no authentication) because of the way that SM is
configured. If you add:
$smtpServerAddress = 'localhost';
$smtpPort = 587;
$smtp_auth_mech = 'login';
to your /etc/squirrelmail/config_local.php file, then you can remove the
127. line from the tcp.smtp file. This is a bit more secure, provides
better logging of submissions, and is a bit simpler (imo). I expect
we'll be making this change in the stock configuration at some point.
That isn't the issue here though (someone might find it useful).
While all messages are scanned by clamav, I don't believe QMT invokes
SpamAssassin for email submissions, whether they're authenticated or
relayed. So you'll need to receive a spam message from an external
server/host in order for a spambox folder to be created.
If someone were to create a patch to qmailadmin that would create the
folder if it doesn't already exist, I'd be happy to include it in the
qmailadmin-toaster package.
--
-Eric 'shubes'
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]