Hello

I have the same probklem, but this time (with version 4), is worse
I'm sending my .conf, tcp.smtp, rcpthost & run (supervise smtp)
I will try to explain what I do.

I DON'T use smtp-auth because these servers are MTA, no SMTP for clients. This servers "act" as OPEN RELAY, because there are my MX servers, these servers RECEIVE mail to my CLIENTS, these are not the SMTP servers that use my clients. This server (after receiving mail) use SMTPROUTES to redistribnute the mails inside the rest of my network (qmail-send - qmail-smtp - qmail-queue - qmail-local - MAILDIR)

I don't know if I'm explaining well, this is a bit confusing

Another 2 tips:
1.- this is running under FreeBSD 7
2.- we receive around 1.000.000 CONNECTIOS!!! per day!, yes 1 millon, 50% direct spam to 3 account (blacklisted recipient), can you believe it ?

A "graphical" explanation:

USER --> SMTP --> INTERNET (servers without problems, smth auth or pop before smtp)
INTERNET --> MX (smtp) --> MAILDIR (servers with problems)

MX = SPAMDYKE - QMAIL-SMTP

If you (any of you), send an email to me, you will use YOUR smtp server, and then YOUR server (qmail-send, by example), connect to MY MXs servers (another smtp) and sent the mail to me, BUT if yoy are a SPAMMER and look for MX records on any DNSs, youy can "test" if this MXs records (smtp servers) accept mail to "everybody", if this is the case, then this MXs will be used as OPEN RELAY Qmail control these with rcpthost, and I think that spamdyke do the same, but, I get sorprised when the a mail for NON local domain was accepted

Please, do a manual test with this config files and then tell me if I'm wrong or what I have missconfigured

Connected to [YOUR MX!!!! SERVER]

Telnet xxxxxxxx 25

After : 220 response
SEND: helo xxxx
After : 250 response
SEND: MAIL FROM: [EMAIL PROTECTED] (use any email account)
After : 250 response
SEND: RCPT TO: [EMAIL PROTECTED] (any email account that CAN'T be found on rcpthost)

If qmail is controlling the session

RESPONSE: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)

If spamdyke 4 with or without access-file control the session

RESPONSE: 220 OK

Type QUIT to close

I hope you can't help me

Thanks in advance
Pablo Murillo

Attachment: tcp.smtp
Description: Binary data

Attachment: rcpthosts
Description: Binary data

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`

if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" ]; then
   echo QMAILDUID, NOFILESGID, or MAXSMTPD is unset in
   echo /var/qmail/supervise/qmail-smtpd/run
   exit 1
fi
exec /usr/local/bin/softlimit -a 9000000 \
    /usr/local/bin/tcpserver -v -H -R -l 0 -x /web/vpopmail/etc/tcp.smtp.cdb -c 
"$MAXSMTPD" \
    -u "$QMAILDUID" -g "$NOFILESGID" 0 25 /usr/local/bin/spamdyke -f 
/web/conf/spamdyke.conf \
    /var/qmail/bin/qmail-smtpd 2>&1

Attachment: spamdyke.conf
Description: Binary data

_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to