Bugfix: The mailgate crashes with certain settings when mail is delivered locally
This commit is contained in:
parent
4283c7ef4d
commit
6a7dda969b
1 changed files with 2 additions and 1 deletions
|
@ -332,7 +332,8 @@ def sanitize_case_sense( address ):
|
|||
address = address.lower()
|
||||
else:
|
||||
splitted_address = address.split('@')
|
||||
address = splitted_address[0] + '@' + splitted_address[1].lower()
|
||||
if len(splitted_address) > 1:
|
||||
address = splitted_address[0] + '@' + splitted_address[1].lower()
|
||||
|
||||
return address
|
||||
|
||||
|
|
Loading…
Reference in a new issue