I have a reject-recipient spamdyke 5.0 working properly. There are changes needed in 3 supervise/run files, spamdyke.conf, and a few other things. I am going to message the run file changes to Mustafa to be added to the repo,
without them, spamdyke is useless.I am tired, need sleep. Will post all later
Here are my logs. Remember exit code for recipient , valid is 1, invalid is 2.
Maillog Valid:
Mar 6 11:49:46 cc-server spamdyke[1754]: DEBUG(exec_command_argv()@exec.c:480): executing command: /usr/bin/spamdyke-qrv
Mar 6 11:49:46 cc-server spamdyke[1754]: DEBUG(exec_command_argv()@exec.c:661): command exited with code 1: /usr/bin/spamdyke-qrv
Mail was delivered successfully, then tried fake account 'test'
Maillog invalid recipient:
Mar 6 11:17:11 cc-server spamdyke[25607]: DEBUG(exec_command_argv()@exec.c:480): executing command: /usr/bin/spamdyke-qrv
Mar 6 11:17:11 cc-server spamdyke[25607]: DEBUG(exec_command_argv()@exec.c:661): command exited with code 2: /usr/bin/spamdyke-qrv
Mar 6 11:17:11 cc-server spamdyke[25607]: DEBUG(filter_recipient_valid_inner()@filter.c:3030): output from validation command (0 bytes): /usr/bin/spamdyke-qrv [removed].com test#012(null)
Mar 6 11:17:11 cc-server spamdyke[25607]: FILTER_INVALID_RECIPIENT recipient: test@[removed].com
Mar 6 11:17:11 cc-server spamdyke[25607]: DENIED_INVALID_RECIPIENT from: [removed]@gmail.com to: test@[removed].com origin_ip: 209.85.214.169 origin_rdns: mail-ob0-f169.google.com auth: (unknown) encryption: TLS reason: (empty)
Bounce message from Gmail:
Delivery to the following recipient failed permanently: test@[removed].com
Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the server for the recipient domain
[removed].com by mail.[removed].com. [IP removed].
The error that the other server returned was: 554 Refused. The recipient address does not exist.
So, it works and well. Will post all my findings later, with all changes necessary.