vexim / vexim2

Virtual Exim 2
Other
70 stars 47 forks source link

Cannot add relay domain #211

Closed rimas-kudelis closed 8 years ago

rimas-kudelis commented 8 years ago

It seems like #152 has unintended consequences: when I try to create a relay domain, I get the "passwords are too weak" message, even though we aren't adding passwords to this type of domains.

@Udera, @runout-at: which one of you would like to fix this? ;)

rimas-kudelis commented 8 years ago

I think the problem is https://github.com/vexim/vexim2/blob/master/vexim/siteaddsubmit.php#L83: Only domains of type relay should also be excluded from the check (in other words, it should only be run for local domains).