~miguelbernadi

Barcelona

~miguelbernadi/public-inbox

Last active 1 year, 11 months ago

~miguelbernadi/majira-devel

Last active 2 years ago
View more

Recent activity

Re: Sourcehut merging bot 5 months ago

From Miguel Bernabeu to ~sircmpwn/sr.ht-discuss


On April 2, 2022 5:45:24 AM GMT+02:00, Beau Trepp <beautrepp@gmail.com> wrote:
>Just wondering if there is anyone who has built anything similar to the
>'automatic merge' when approved and passed CI like some other services
>have. I figure the analogue here would be something watching the mailing
>list for 'approved' email signed by a valid GPG key, then the bot would
>merge it back to main.
>
Yes. There are similar things out there. I couldn't find a blogpost describing the setup I read about, but kernel maintainers, e.g. Greg Kroah-Hartman, do similar things (and have done so for a long time).

They typically subscribe to the mailing list as usual and get a set of scripts with procmail or something like that that process the messages. They can apply patches, run tests, autorespond... It's up to the script what to do with that.

I have not checked, but sourcehut may already be doing part of this for patch CI. You could check and copy/extend it for merges as well.

Re: Self hosted email spam 9 months ago

From Miguel Bernabeu to ~sircmpwn/sr.ht-discuss

Migadu here also identifies you as spam:

X-Migadu-Spam-Score: 6.00
X-Spam: Yes
Authentication-Results: aspmx1.migadu.com;	dkim=pass header.d=lists.sr.ht header.s=srht header.b=cUPC2BOb;	dkim=fail ("headers rsa verify failed") header.d=coderkalyan.com header.s=default header.b=e51XeYqY;	dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=coderkalyan.com (policy=quarantine);	spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 173.195.146.151 as permitted sender) smtp.mailfrom=lists@sr.ht

It would seem both the SPF and DKIM checks fail. In my short experience years ago, if one of them succeeds then you are not considered spam immediately. I'd try to check on those failures. It may be some slight misconfiguration.

Regards,
Miguel