Re: [spamdyke-users] reject-sender=none in spamdyke/_ip_/ directory not working
On Fri, 5 May 2017 10:15:36 -0500, Sam Clippinger via spamdyke-users wrote: > Ah, I should have asked. Yes, that option should work. Thanks Sam. BTW, I created a script to automate creating the custom sender configuration files using the _ip_ and _sender_ directory structures: https://gist.github.com/quinncomendant/4e62a0e4ab82d7b6fe0dc3947510c4c7 Use it like: sudo spamdyke-sender-conf 111.222.333.444 …or: sudo spamdyke-sender-conf tz.changeyourflight.com It may need customization for different systems. I'm using qmailtoaster.org's implementation. Quinn ___ spamdyke-users mailing list spamdyke-users@spamdyke.org http://www.spamdyke.org/mailman/listinfo/spamdyke-users
Re: [spamdyke-users] reject-sender=none in spamdyke/_ip_/ directory not working
Ah, I should have asked. Yes, that option should work. -- Sam Clippinger On May 5, 2017, at 8:57 AM, Quinn Comendant via spamdyke-users wrote: > Update: I added `reject-sender=none` to /etc/spamdyke.conf and these errors > started appearing in the log: > >2017-05-05 06:33:46.873563500 ERROR: Unknown configuration file option in > file /etc/spamdyke.conf on line 33: reject-sender > > I realize now this config option is only for spamdyke 5. I'm currently using > spamdyke 4.3.1+TLS+CONFIGTEST+DEBUG+EXCESSIVE. > > So I presume the corresponding config option for version 4 is > `reject-missing-sender-mx`. Would the correct syntax for disabling this in a > spamdyke/_ip_/… directory be like this: > > reject-missing-sender-mx=0 > > ? > > Quinn > ___ > 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] reject-sender=none in spamdyke/_ip_/ directory not working
Update: I added `reject-sender=none` to /etc/spamdyke.conf and these errors started appearing in the log: 2017-05-05 06:33:46.873563500 ERROR: Unknown configuration file option in file /etc/spamdyke.conf on line 33: reject-sender I realize now this config option is only for spamdyke 5. I'm currently using spamdyke 4.3.1+TLS+CONFIGTEST+DEBUG+EXCESSIVE. So I presume the corresponding config option for version 4 is `reject-missing-sender-mx`. Would the correct syntax for disabling this in a spamdyke/_ip_/… directory be like this: reject-missing-sender-mx=0 ? Quinn ___ spamdyke-users mailing list spamdyke-users@spamdyke.org http://www.spamdyke.org/mailman/listinfo/spamdyke-users
Re: [spamdyke-users] reject-sender=none in spamdyke/_ip_/ directory not working
That should do it, assuming you also have a line in your main configuration file that says: config-dir=/var/qmail/spamdyke However, from the rDNS name, it looks like that sender could come from a huge list of IPs. You might consider turning off the filter for the domain instead, like this: /var/qmail/spamdyke/_sender_/com/changeyourflight/tz And it's always possible you found a bug. If you still can't make it work with the _sender_ folder, let me know and I'll do some testing too. For what it's worth -- tz.changeyourflight.com doesn't just have no MX records, it has no DNS records at all. I don't see any way that return address could work. https://mxtoolbox.com/SuperTool.aspx?action=a%3atz.changeyourflight.com&run=toolpage -- Sam Clippinger On May 5, 2017, at 3:24 AM, Quinn Comendant via spamdyke-users wrote: > I've gotten this error: > > 2017-05-05 03:16:52.533029500 spamdyke[30324]: DENIED_SENDER_NO_MX from: > bounces+1818979-7ef3-quinn=strangecode[.]c...@tz.changeyourflight.com to: > quinn[@]strangecode[.]com origin_ip: 167.89.72.110 origin_rdns: > o1678972x110.outbound-mail.sendgrid.net auth: (unknown) encryption: TLS > reason: (empty) > > Indeed, "tz.changeyourflight.com" has no MX records. > > I have tried to apply a custom setting for this sender's IP address by adding > a config file at: > > /var/qmail/spamdyke/_ip_/167/89/72/110 > > Containing: > > reject-sender=none > > Then restarting qmail smtp with `qmailctl restart`. > > I've used this method successfully in the past for `reject-empty-rdns=0` and > `reject-unresolvable-rdns=0`. However, it's not working for the > DENIED_SENDER_NO_MX error. The sending error continues to occur. > > Have I set this up wrong? > > Regards, > Quinn > ___ > 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