Your maillog file should show all of the messages that spamdyke is 
allowing.  You should be able to look through the "to:" fields to find 
the addresses that are not local.

However, the "access-list" file is not supposed to contain a list of 
domains.  For most installations, the file should be the same one used 
by tcpserver (normally /etc/tcp.smtp).  It is used to allow or deny 
access by IP address, not domain name.  It can also be used to set 
environment variables, including "RELAYCLIENT", which permits relaying 
(when set).  The format is documented here:
    http://cr.yp.to/ucspi-tcp/tcprules.html
    http://www.spamdyke.org/documentation/README.html#RELAYING

These days, most administrators don't allow their users to relay by IP 
address, since most users have dynamic IPs.  Instead, relaying is 
allowed when the client authenticates using SMTP AUTH.

BTW, the last line of your configuration file is incorrect.  There 
should be an equals sign between "access-file" and the filename.

-- Sam Clippinger

Dallas Crandall wrote:
> Hello All!
> I have been working on my spamdyke installation for a couple of days now and
> am wondering a few things. Mainly is there a way to see what emails I am
> relaying? I have set the "access-file /etc/mail/relaylist" with both the
> local domains in it and also a blank version. Neither slows down the flood
> of email's.
>
> What I need is a way for my server to relay email for my 12 local domains
> only, and not the 1000's I am apparently relaying. Is there a way to do
> that?
> Thanks,
> Dallas
>
> My current spamdyke.conf file:
>
> log-level=4
> full-log-dir=/var/log/spamdyke
> local-domains-file=/var/qmail/control/rcpthosts
> max-recipients=10
> idle-timeout-secs=120
> ip-blacklist-file=/etc/mail/ipblocklist
> graylist-dir=/etc/mail/graylist
> graylist-min-secs=300
> policy-url=http://www.fixit.com/email_issue/
> sender-blacklist-file=/etc/mail/senderblocklist
> ip-in-rdns-keyword-file=/etc/mail/countrycodes
> reject-ip-in-cc-rdns=yes
> check-dnsrbl=bl.spamcop.net
> check-dnsrbl=zombie.dnsbl.sorbs.net
> check-dnsrbl=dul.dnsbl.sorbs.net
> check-dnsrbl=bogons.cymru.com
> reject-missing-sender-mx
> access-file /etc/mail/relaylist
>
> _______________________________________________
> spamdyke-users mailing list
> [email protected]
> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
>   
_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to