Well.... is wasn't the solution after all. So I will ask again for a solution.
Her is the problem after upgrading from 5.0.10 to 6.0.1:
My company has 20 users only a few of them have a real e-mail address. Most of them doesn't have a real e-mail address. But internal it has to be possible to send e-mail to each other and make use of the groupware possibilities of Zimbra. So we decided to use fake, non existing e-mail address for internal usage. Everyone had an internal e-mail address like:
abc@domain.lan. (the first three characters at the front are the first tree charachters of the persons name, so John gets an internal e-mail address like
joh@domain.lan. With this solution we can e-mail to each other internally.
For the real big world we use a couple of e-mail addresses like
sales@domain.com,
finance@domain.com, etc. Per user I have set up the e-mail address on which he/she can send e-mail out. (through OPTIONS -> Accounts -> Primary Accounts Settings -> Messages sent from this account have the following settings (choose the name that appears in the "From" field of email messages)
For example, when John sends an e-mail to the "real world" his Name and E-mail address in the From appears like "John Doe"
sales@domain.com.
After upgrade from 5.0.10 to 6.0.1 we get a lot of bounce mail. Why? After a little search I figured out that the return-path in the e-mail header has changed. In the 5.0.10 situation the option return-path get the real e-mail adres, like
sales@domain.com. But in 6.0.1 the option return-path get the internal e-mail address line
joh@domain.lan. Because
joh@domain.lan doesn't exists in the real world it is signed as SPAM and get bounced.
I used domain masquerade (se above post) to appear domain.lan as domain.com. But that changes only the domain part of the e-mail address. so when John now sends e-mail the return-path is like
joh@domain.com. And I want it to be
sales@domain.com. Why? because we still get bounce mail when a mailserver is very strict in looking at SPAM. When it appears that
joh@domain.com doesn't exists (and that's true) the e-mail will be bounced.
So what I want is the old situation, where the option return-path likely was the information added through OPTIONS -> Accounts -> Primary Accounts Settings -> Messages sent from this account have the following settings (choose the name that appears in the "From" field of email messages.
I really hope someone can help me further with this one.