3XLcom
asked on
Qmail Spam Block
I want to block this type of emails on the server as you should see spf filter is working but not blocking also i want a reverse check.
how should i enable this on qmail server
how should i enable this on qmail server
Oct 24 09:38:41 lin qmail-queue-handlers[17126]: Handlers Filter before-queue for qmail started ...
Oct 24 09:38:42 lin qmail-queue-handlers[17126]: from=carobremediable@wikipedia.org
Oct 24 09:38:42 lin qmail-queue-handlers[17126]: to=zzzz@xxxx.com
Oct 24 09:38:42 lin qmail-queue-handlers[17126]: hook_dir = '/usr/local/psa/handlers/before-queue'
Oct 24 09:38:42 lin qmail-queue-handlers[17126]: call_handlers: call executable = '/usr/local/psa/handlers/info/10-spf-xLNqDO/executable'
Oct 24 09:38:42 lin spf filter[17127]: Starting spf filter...
Oct 24 09:38:42 lin spf filter[17127]: Error code: (2) Could not find a valid SPF record
Oct 24 09:38:42 lin spf filter[17127]: Failed to query MAIL-FROM: No DNS data for 'wikipedia.org'.
Oct 24 09:38:42 lin spf filter[17127]: SPF result: none
Oct 24 09:38:42 lin spf filter[17127]: SPF status: PASS
Oct 24 09:38:42 lin qmail-queue-handlers[17126]: handlers_stderr: PASS
Oct 24 09:38:42 lin qmail-queue-handlers[17126]: call_handlers: PASS during call '/usr/local/psa/handlers/info/10-spf-xLNqDO/executable' handler
Oct 24 09:38:42 lin qmail-queue-handlers[17126]: recipient[3] = 'zzzz@xxxx.com'
Oct 24 09:38:42 lin qmail-queue-handlers[17126]: handlers dir = '/usr/local/psa/handlers/before-queue/recipient/zzz@xxxx.com'
Oct 24 09:38:42 lin qmail-queue-handlers[17126]: starter: submitter[17128] exited normally
Oct 24 09:38:42 lin qmail: 1319438322.589124 new msg 45712530
Oct 24 09:38:42 lin qmail: 1319438322.589156 info msg 45712530: bytes 5715 from <carobremediable@wikipedia.org> qp 17128 uid 2020
Oct 24 09:38:42 lin qmail: 1319438322.647127 starting delivery 16839: msg 45712530 to local 21-zzzz@xxxx.com
Oct 24 09:38:42 lin qmail: 1319438322.647191 status: local 1/10 remote 0/20
For reverse DNS checks, if you are using tcpserver you can set the paranoid option.
Examples and more info can be found at http://www.chrishardie.com/qmail-anti-spam-howto/#sysoption1
-p: Paranoid. After looking up the remote host name in DNS, look up the IP addresses in DNS for that host name, and remove the environment variable $TCPREMOTEHOST if none of the addresses match the client's IP address.http://cr.yp.to/ucspi-tcp/tcpserver.html
Examples and more info can be found at http://www.chrishardie.com/qmail-anti-spam-howto/#sysoption1
ASKER
Wikipedia is not in my host it is the spammer address
Yes, I realize that. Is there something about my answer you don't understand?
ASKER
Is there any spesific solution for directly make qmail to check reverse dns and spf records before accepting mails ?
I commented on how to configure qmail to check reverse DNS. It looks like your SPF filter is already setup.
ASKER
But the problem is i have no idea about what is tcp server i have plesk and qmail on this server and i checked for ps aux i did not see any thing like it
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi, is this still an issue?
ASKER
thnx
Open in new window