Re: [spamdyke-users] rDNS always shows up as unknown

2013-08-23 Thread Gary Gendel
Did you set dns-server-ip in your spamdyke.conf file?  If so, it it 
pointing to the right server?

On 08/23/2013 04:58 AM, JP Kelly wrote:
 I am using spamdyke 4.3.1+TLS+CONFIGTEST+DEBUG+MYSQL[haggybear.de]
 On Plesk 11 CentOS 5
 All of the reverse DNS entries show up as unknown even though I can resolve 
 the IP addresses to valid rDNS hosts.
 As far as I can tell I have the config file correct but obviously something 
 is wrong.
 /etc/resolve.conf is fine. I can resolve the hosts from the machine spamdyke 
 is running on using the command 'host IP ADDRESS'.
 Any ideas how to troubleshoot this?
 TIA
 JP Kelly

 ___
 spamdyke-users mailing list
 spamdyke-users@spamdyke.org
 http://www.spamdyke.org/mailman/listinfo/spamdyke-users

___
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users


Re: [spamdyke-users] rDNS always shows up as unknown

2013-08-23 Thread JP Kelly
That was not set in my config but it is still not working after setting 
dns-server-ip to my DNS servers ip.
Does this setting need the port added to the ip address? if so is the format 
xx.xx.xx.xx:port?

from the maillog it looks like qmail is able to resolve rDNS:
Aug 23 10:59:38 dv2 /var/qmail/bin/relaylock[22273]: /var/qmail/bin/relaylock: 
mail from 201.151.76.82:36001 (static-201-151-76-82.alestra.net.mx)

but spamdyke comes up empty for rDNS (along with some other empty info).
Aug 23 10:59:44 dv2 spamdyke[22273]: DENIED_GRAYLISTED from: 
virgilap...@acengenhariase.com.br to: virgilap...@jpkvideo.com origin_ip: 
201.151.76.82 origin_rdns: (unknown) auth: (unknown) encryption: (none) reason: 
(empty)

Here is my complete /etc/spamdyke.conf file:

# cat /etc/spamdyke.conf
# This is an example spamdyke configuration file for spamdyke version 4.3.1.
#
# Without editing, this file will do nothing -- every available option is
# commented out.  To enable options, edit the values and remove the comment
# markers at the beginning of the lines (#).
# See the README.html file in spamdyke's documentation directory for a full
# description of each option.  The documentation is also available on spamdyke's
# website:
#   http://www.spamdyke.org/


# Sets spamdyke's overall filter behavior.
# Available values: allow-all, normal, require-auth, reject-all
# Default: normal
filter-level=normal
# Delays the SMTP greeting banner for SECS seconds.  A value of 0 disables this
# feature.
# Default: 0
#greeting-delay-secs=SECS
# Limit incoming messages to NUM recipients.  A value of 0 disables this
max-recipients=15
# Drop superuser privileges and run as USER instead.
# Default: none
#run-as-user=USER[:GROUP]
# DNS TESTS
# Reject connections from remote servers without rDNS names.
# Default: no
# Reject connections from servers with rDNS names that contain their IP address
# and end in a two-character country code.
# Reject messages from sender whose domain names have no MX records.
# Reject connections from servers with rDNS names that do not resolve to IP
# addresses.
# Default:no
# LOGGING
# Controls the amount (and detail) of the log messages spamdyke produces.
# Available values: none, error, info, verbose, debug, excessive
# Default: error
log-level=debug
# Controls where spamdyke's log messages are sent.
# Available values: syslog, stderr
# Default: syslog
log-target=syslog
# Outputs all SMTP data into files in DIR.
#full-log-dir=DIR
# CONFIGURATION FILES
# Configuration files can include other configuration files.
#config-file=FILE
# Configuration directories are very powerful but can also be very complicated;
# don't use them if you don't need to.
# Controls how configuration directories are searched.
# Available values: first, all-ip, all-rdns, all-sender, all-recipient
# Default: first
# TIMEOUTS
# Close the connection after SECS seconds, regardless of activity.  A value of
# 0 disables this feature.
#connection-timeout-secs=SECS
# Close the connection after SECS seconds of inactivity.  A value of 0 disables
# this feature.
#idle-timeout-secs=SECS
# SENDERS AND RECIPIENTS
# Reject all recipients that exactly match the sender address.
# LOCAL BLACKLISTS
# Reject connections from IP addresses that match IPADDRESS.
#ip-blacklist-entry=IPADDRESS
# Reject connections from IP addresses that match entries in FILE.
ip-blacklist-file=/var/qmail/spamdyke/blacklist_ip
# Reject connections from rDNS names that match NAME.
# Reject connections from rDNS names that match entries in FILE.
#rdns-blacklist-file=FILE
# Reject connections from rDNS names that match files in DIR.
#rdns-blacklist-dir=DIR
# Reject all messages sent to recipient ADDRESS.
#recipient-blacklist-entry=ADDRESS
# Reject all messages sent to any recipient address listed in FILE.
recipient-blacklist-file=/var/qmail/spamdyke/blacklist_recipients
# Reject all messages sent from sender ADDRESS.
#sender-blacklist-entry=ADDRESS
# Reject all messages sent from any sender address listed in FILE.
sender-blacklist-file=/var/qmail/spamdyke/blacklist_senders
# Reject connections from rDNS names that contain their IP address and KEYWORD.
#ip-in-rdns-keyword-blacklist-entry=KEYWORD
# Reject connections from rDNS names that contain their IP address and a keyword
# in FILE.
ip-in-rdns-keyword-blacklist-file=/var/qmail/spamdyke/blacklist_keywords
# Reject all messages with header lines that match VALUE.
#header-blacklist-entry=VALUE
# Reject all messages sent header lines that match entries in FILE.
#header-blacklist-file=FILE
# LOCAL WHITELISTS
# Whitelist connections from IP addresses that match IPADDRESS.
#ip-whitelist-entry=IPADDRESS
# Whitelist connections from IP addresses that match entries in FILE.
ip-whitelist-file=/var/qmail/spamdyke/whitelist_ip
# Whitelist connections from rDNS names that match NAME.
# Whitelist connections from rDNS names that match entries in FILE.

Re: [spamdyke-users] rDNS always shows up as unknown

2013-08-23 Thread Denny Jones
When I first setup SpamDyke I had to modify my QMail run file to make sure it 
passed the sending IP. You might check that.

- Denny

 

 

 

-Original Message-
From: JP Kelly listu...@jpkvideo.net
To: spamdyke users spamdyke-users@spamdyke.org
Sent: Fri, Aug 23, 2013 1:15 pm
Subject: Re: [spamdyke-users] rDNS always shows up as unknown


That was not set in my config but it is still not working after setting 
dns-server-ip to my DNS servers ip.
Does this setting need the port added to the ip address? if so is the format 
xx.xx.xx.xx:port?

from the maillog it looks like qmail is able to resolve rDNS:
Aug 23 10:59:38 dv2 /var/qmail/bin/relaylock[22273]: /var/qmail/bin/relaylock: 
mail from 201.151.76.82:36001 (static-201-151-76-82.alestra.net.mx)

but spamdyke comes up empty for rDNS (along with some other empty info).
Aug 23 10:59:44 dv2 spamdyke[22273]: DENIED_GRAYLISTED from: 
virgilap...@acengenhariase.com.br to: virgilap...@jpkvideo.com origin_ip: 
201.151.76.82 origin_rdns: (unknown) auth: (unknown) encryption: (none) reason: 
(empty)

Here is my complete /etc/spamdyke.conf file:

# cat /etc/spamdyke.conf
# This is an example spamdyke configuration file for spamdyke version 4.3.1.
#
# Without editing, this file will do nothing -- every available option is
# commented out.  To enable options, edit the values and remove the comment
# markers at the beginning of the lines (#).
# See the README.html file in spamdyke's documentation directory for a full
# description of each option.  The documentation is also available on spamdyke's
# website:
#   http://www.spamdyke.org/


# Sets spamdyke's overall filter behavior.
# Available values: allow-all, normal, require-auth, reject-all
# Default: normal
filter-level=normal
# Delays the SMTP greeting banner for SECS seconds.  A value of 0 disables this
# feature.
# Default: 0
#greeting-delay-secs=SECS
# Limit incoming messages to NUM recipients.  A value of 0 disables this
max-recipients=15
# Drop superuser privileges and run as USER instead.
# Default: none
#run-as-user=USER[:GROUP]
# DNS TESTS
# Reject connections from remote servers without rDNS names.
# Default: no
# Reject connections from servers with rDNS names that contain their IP address
# and end in a two-character country code.
# Reject messages from sender whose domain names have no MX records.
# Reject connections from servers with rDNS names that do not resolve to IP
# addresses.
# Default:no
# LOGGING
# Controls the amount (and detail) of the log messages spamdyke produces.
# Available values: none, error, info, verbose, debug, excessive
# Default: error
log-level=debug
# Controls where spamdyke's log messages are sent.
# Available values: syslog, stderr
# Default: syslog
log-target=syslog
# Outputs all SMTP data into files in DIR.
#full-log-dir=DIR
# CONFIGURATION FILES
# Configuration files can include other configuration files.
#config-file=FILE
# Configuration directories are very powerful but can also be very complicated;
# don't use them if you don't need to.
# Controls how configuration directories are searched.
# Available values: first, all-ip, all-rdns, all-sender, all-recipient
# Default: first
# TIMEOUTS
# Close the connection after SECS seconds, regardless of activity.  A value of
# 0 disables this feature.
#connection-timeout-secs=SECS
# Close the connection after SECS seconds of inactivity.  A value of 0 disables
# this feature.
#idle-timeout-secs=SECS
# SENDERS AND RECIPIENTS
# Reject all recipients that exactly match the sender address.
# LOCAL BLACKLISTS
# Reject connections from IP addresses that match IPADDRESS.
#ip-blacklist-entry=IPADDRESS
# Reject connections from IP addresses that match entries in FILE.
ip-blacklist-file=/var/qmail/spamdyke/blacklist_ip
# Reject connections from rDNS names that match NAME.
# Reject connections from rDNS names that match entries in FILE.
#rdns-blacklist-file=FILE
# Reject connections from rDNS names that match files in DIR.
#rdns-blacklist-dir=DIR
# Reject all messages sent to recipient ADDRESS.
#recipient-blacklist-entry=ADDRESS
# Reject all messages sent to any recipient address listed in FILE.
recipient-blacklist-file=/var/qmail/spamdyke/blacklist_recipients
# Reject all messages sent from sender ADDRESS.
#sender-blacklist-entry=ADDRESS
# Reject all messages sent from any sender address listed in FILE.
sender-blacklist-file=/var/qmail/spamdyke/blacklist_senders
# Reject connections from rDNS names that contain their IP address and KEYWORD.
#ip-in-rdns-keyword-blacklist-entry=KEYWORD
# Reject connections from rDNS names that contain their IP address and a keyword
# in FILE.
ip-in-rdns-keyword-blacklist-file=/var/qmail/spamdyke/blacklist_keywords
# Reject all messages with header lines that match VALUE.
#header-blacklist-entry=VALUE
# Reject all messages sent header lines that match entries in FILE.
#header-blacklist-file=FILE
# LOCAL WHITELISTS

Re: [spamdyke-users] rDNS always shows up as unknown [solved]

2013-08-23 Thread JP Kelly
Looks like my messing with the settings for dns-query-type-X configurations 
broke it.
I commented these out and it is working now.
Thanks!


On Aug 23, 2013, at 11:12 AM, JP Kelly listu...@jpkvideo.net wrote:

 That was not set in my config but it is still not working after setting 
 dns-server-ip to my DNS servers ip.
 Does this setting need the port added to the ip address? if so is the format 
 xx.xx.xx.xx:port?
 
 from the maillog it looks like qmail is able to resolve rDNS:
 Aug 23 10:59:38 dv2 /var/qmail/bin/relaylock[22273]: 
 /var/qmail/bin/relaylock: mail from 201.151.76.82:36001 
 (static-201-151-76-82.alestra.net.mx)
 
 but spamdyke comes up empty for rDNS (along with some other empty info).
 Aug 23 10:59:44 dv2 spamdyke[22273]: DENIED_GRAYLISTED from: 
 virgilap...@acengenhariase.com.br to: virgilap...@jpkvideo.com origin_ip: 
 201.151.76.82 origin_rdns: (unknown) auth: (unknown) encryption: (none) 
 reason: (empty)
 
 Here is my complete /etc/spamdyke.conf file:
 
 # cat /etc/spamdyke.conf
 # This is an example spamdyke configuration file for spamdyke version 4.3.1.
 #
 # Without editing, this file will do nothing -- every available option is
 # commented out.  To enable options, edit the values and remove the comment
 # markers at the beginning of the lines (#).
 # See the README.html file in spamdyke's documentation directory for a full
 # description of each option.  The documentation is also available on 
 spamdyke's
 # website:
 #   http://www.spamdyke.org/
 
 
 # Sets spamdyke's overall filter behavior.
 # Available values: allow-all, normal, require-auth, reject-all
 # Default: normal
 filter-level=normal
 # Delays the SMTP greeting banner for SECS seconds.  A value of 0 disables 
 this
 # feature.
 # Default: 0
 #greeting-delay-secs=SECS
 # Limit incoming messages to NUM recipients.  A value of 0 disables this
 max-recipients=15
 # Drop superuser privileges and run as USER instead.
 # Default: none
 #run-as-user=USER[:GROUP]
 # DNS TESTS
 # Reject connections from remote servers without rDNS names.
 # Default: no
 # Reject connections from servers with rDNS names that contain their IP 
 address
 # and end in a two-character country code.
 # Reject messages from sender whose domain names have no MX records.
 # Reject connections from servers with rDNS names that do not resolve to IP
 # addresses.
 # Default:no
 # LOGGING
 # Controls the amount (and detail) of the log messages spamdyke produces.
 # Available values: none, error, info, verbose, debug, excessive
 # Default: error
 log-level=debug
 # Controls where spamdyke's log messages are sent.
 # Available values: syslog, stderr
 # Default: syslog
 log-target=syslog
 # Outputs all SMTP data into files in DIR.
 #full-log-dir=DIR
 # CONFIGURATION FILES
 # Configuration files can include other configuration files.
 #config-file=FILE
 # Configuration directories are very powerful but can also be very 
 complicated;
 # don't use them if you don't need to.
 # Controls how configuration directories are searched.
 # Available values: first, all-ip, all-rdns, all-sender, all-recipient
 # Default: first
 # TIMEOUTS
 # Close the connection after SECS seconds, regardless of activity.  A value of
 # 0 disables this feature.
 #connection-timeout-secs=SECS
 # Close the connection after SECS seconds of inactivity.  A value of 0 
 disables
 # this feature.
 #idle-timeout-secs=SECS
 # SENDERS AND RECIPIENTS
 # Reject all recipients that exactly match the sender address.
 # LOCAL BLACKLISTS
 # Reject connections from IP addresses that match IPADDRESS.
 #ip-blacklist-entry=IPADDRESS
 # Reject connections from IP addresses that match entries in FILE.
 ip-blacklist-file=/var/qmail/spamdyke/blacklist_ip
 # Reject connections from rDNS names that match NAME.
 # Reject connections from rDNS names that match entries in FILE.
 #rdns-blacklist-file=FILE
 # Reject connections from rDNS names that match files in DIR.
 #rdns-blacklist-dir=DIR
 # Reject all messages sent to recipient ADDRESS.
 #recipient-blacklist-entry=ADDRESS
 # Reject all messages sent to any recipient address listed in FILE.
 recipient-blacklist-file=/var/qmail/spamdyke/blacklist_recipients
 # Reject all messages sent from sender ADDRESS.
 #sender-blacklist-entry=ADDRESS
 # Reject all messages sent from any sender address listed in FILE.
 sender-blacklist-file=/var/qmail/spamdyke/blacklist_senders
 # Reject connections from rDNS names that contain their IP address and 
 KEYWORD.
 #ip-in-rdns-keyword-blacklist-entry=KEYWORD
 # Reject connections from rDNS names that contain their IP address and a 
 keyword
 # in FILE.
 ip-in-rdns-keyword-blacklist-file=/var/qmail/spamdyke/blacklist_keywords
 # Reject all messages with header lines that match VALUE.
 #header-blacklist-entry=VALUE
 # Reject all messages sent header lines that match entries in FILE.
 #header-blacklist-file=FILE
 # LOCAL WHITELISTS
 # Whitelist