Creating users via email fails if user real name containes special chars
If importing issues using the following command
/usr/bin/rake -f /opt/redmine/Rakefile redmine:email:receive_pop3 RAILS_ENV="production" host=xxxxxx username=xxxxxx password=xxxxxx project=xxxxxx allow_override=project,tracker,category,priority unknown_user=create no_permission_check=1 tracker=support
In some cases mails will be left on the server with the message:
--> Message <xxxxxxxxxxxx.xxxx.com> NOT processed and left on the server
When sending a mail with a MailAutherName containing danish special chars "æøå" the mail will be ignored.
It's not a problem creating the user in the system using æøå only the auto creation that fails.
Ruby version: 1.8.7 (i486-linux)
Rails version: 2.3.5
Redmine version: 1.1.2.stable.5164 (MySQL)
Mysql version: 5.1.41-3ubuntu12.9
#1 Updated by Peter Brauner over 10 years ago
This is an issue for me as well. Living Sweden we have the letters ÅÄÖ åäö in the alphabet.
Now when using unknown_user=create the mails from the imap server is marked as read but is not delivered to Redmine. If I set the rake to use unknown_user=accept the mails will go through but then of course the user will be set to anonymous and won´t get an account and therefor not any follow ups on the issues.
#9 Updated by Bruno Bigras over 9 years ago
Poul Thomsen wrote:
Anyone know of a workaround for this?, this is quite game breaking for us unfortunately.
I just made a Python class that connects to the IMAP server and then creates a user for each ignored email (those marked as "Seen"). I currently use it in my cron.
#10 Updated by Jean-Philippe Lang over 9 years ago
- Status changed from New to Closed
- Target version changed from Candidate for next minor release to 1.3.0
- Resolution set to Fixed