synox/disposable-mailbox

address blacklist

jongcs opened this issue · 4 comments

Should have a address blacklist to reserve some address like admin@ administrator@ hostmaster@ postmaster@ webmaster@. Attackers can use these address to verify the domain ownership and get SSL certificate for the domain.

synox commented

oh good point!

@synox Which file needs to be updated to blacklist usernames? and will blacklisted username when opened shows that it is blacklisted?

synox commented

blacklisted usernames will be forwarded to a random address.

see https://github.com/synox/disposable-mailbox/blob/master/src/index.php#L167

synox commented

Update: I moved the list of blocked users to the config file.

https://github.com/synox/disposable-mailbox/blob/master/src/config.sample.php#L32