ohartl / webmum

WebMUM - Web Mailsystem User Manager
MIT License
36 stars 15 forks source link

Redirects doesnt work with more than one line #9

Closed Thor77 closed 9 years ago

Thor77 commented 9 years ago

Steps to reproduce:

  1. Login to WebMUM-Admin
  2. Select "Manage Redirects"
  3. Select "Create new Redirect"
  4. Insert more than one line on one or both sites
  5. Save settings
  6. Try to send a mail to one of the addresses set up on the left side -> The mail will bounce
ThomasLeister commented 9 years ago

Your content is like

user1@domain.tld, user2@domain.tld, user3@domain.tld

... right? (addresses separated with commas)... then this might be an issue with \r and \n control symbols. I'll try to fix the bug.

ThomasLeister commented 9 years ago

Works with my setup. Maybe you forgot the commas? btw it's not possible to use multiple addresses on the left side, because postfix does not understand how to handle multiple source addresses (comma separated). Multiple addresses on the right side with one address in each line works great for me.

You've already made a feature request concerning the left side issue - I will try to add this feature soon :)

Thor77 commented 9 years ago

Didnt know, i have to seperate the addresses by commas. Maybe there should be a message saying that? But nice to know, i can use multiple destination-addresses. :)

ThomasLeister commented 9 years ago

... just fixed that, too ;) https://github.com/ThomasLeister/webmum/commit/8a52f45fb6312c2c79f3c090e3c10509642646b0 (part at the bottom. commited the test changes at the top by accident)