AUR web interface


FS#28230 - Comment notification email -- allow replying to the "From:" address

Attached to Project: AUR web interface
Opened by Mantas Mikulėnas (grawity) - Thursday, 02 February 2012, 22:31 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 03 August 2017, 19:58 GMT
Task Type Feature Request
Category Backend
Status Assigned
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity Very Low
Priority Normal
Reported Version 1.9.0
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 4
Private No


Currently, the comment notification messages use "" as the "From:" address. Since the email addresses of all AUR users are available on their profile pages, it would be nice if AUR used the commenter's email address in the "From:" header. If this is done, "Sender:" should be added to show who actually sent the message.

AFAIK, this should not create any additional problems with spam filters. SPF uses the SMTP envelope address instead, which PHP already sets to "".
This task depends upon

Comment by Lukas Fleischer (lfleischer) - Thursday, 02 February 2012, 22:37 GMT
Mh. My concern is that users will start replying to mails instead of using the comment box if we implement this...
Comment by Mantas Mikulėnas (grawity) - Thursday, 02 February 2012, 22:48 GMT
That was actually my intention, at first, although now I see a few issues with that.

But now when I think of it, it would also be possible to add a "Reply-To: aur-notify+${id}", where $id could be the package's ID (or some sort of a hash associated with it). The mail server could easily be set up to pass such messages to a script that inserts comments with text from the message body.

Admittedly, the above is going to be too much work for little benefit, so close this.
Comment by Ionut Biru (wonder) - Thursday, 02 February 2012, 22:57 GMT
MX is different and not connected at all with AUR server.
Comment by Lukas Fleischer (lfleischer) - Thursday, 02 February 2012, 23:02 GMT
I must admit that I kind of like the idea of using a mail interface in addition to (or instead of) the web interface (for comments/discussion, at least)... Maybe we can find a proper way to implement this...
Comment by Mantas Mikulėnas (grawity) - Friday, 03 February 2012, 00:03 GMT
Ionut - If you're talking about converting incoming replies to AUR comments, then the MX server could forward aur-notify@ messages through its own channels -- making the aforementioned script pipe the incoming message into `ssh aur/sigurd/whatever` is easy. (Alternatively, this feature could use an address for Reply-To, which would make the replies go directly to the AUR server. It is not even needed to set up 'MX' DNS records if A/AAAA are present.)

Lukas - "instead of" is not good, since comments might be useful for other users in the future. Having the discussion in email would be just a convenience, when replying and maybe for personal archiving. (I got the idea from a similar feature on Github,