Mail Forwarding broken

Christian Tardif christian.tardif at servinfo.ca
Wed Dec 11 05:10:07 CET 2013


That's really unclear to me... Is this something actually on the dev 
side or if it is something we can already use?  If so, where is that hidden?

Christian...

On 2013-12-09 15:17, Daniel Hoffend wrote:
> Good evening
>
> now i've some time to answer with more details. I sent my previous 
> answer only to timotheos from my phone by accident.
>
> TL:DR: you can add multiple "Primary Mail" Attributes.
>
> The reason why "Secondary Email" is not available is bound the the 
> availability of the "alias" attribute. Somehow the ldap "alias" 
> attribute is only available within the kolabInetOrgPerson schema. For 
> the MailForwarding Entries the kolab schema would be a bad choice, 
> cause kolabd will filter for kolab accounts and create imap accounts 
> if they don't exist yet. For mail forwarding (where only postfix has 
> to do some work) imap accounts are not necessary.
>
> But what you can do is: attach multiple "mail" attributes per 
> forwarding entry.
>
> That's why we choose "list" for the mail attribute in the user-type. 
> Tbh, the translation "mail-attribute" -> "Primary Mail" is a bit 
> missleading for Forwarding entries, but it works and it is the same 
> what the kolad team included in the vanilla 3.1 package as well.
>
>
> -- 
> greetings
> Daniel Hoffend
>
>
> ------ Originalnachricht ------
> Von: "Timotheus Pokorra" <timotheus at pokorra.de>
> An: "Christian Hügel" <christian.huegel at stonebyte.de>; "Daniel 
> Hoffend" <dh at dotlan.net>
> Cc: users at lists.kolab.org
> Gesendet: 09.12.2013 18:09:32
> Betreff: Re: Mail Forwarding broken
>> Hello Christian,
>> I have now investigated this myself.
>> It seems that secondary addresses are not available for user type
>> "Mail Forwarding".
>> I can only see "Primary Email Address" and "External Email Address(es)".
>> "External Email Address(es)" only makes it possible to send from such
>> an address, and would not have any effect on mail forwarding.
>>
>> I think you have to create a local user for the mail forwarding
>> account, even if that creates a mailbox for that user.
>>
>> I find it strange though that the automatic calculation of the primary
>> email address does not work for the user type "Mail Forwarding".
>>
>> @Daniel: Perhaps you can give some advice how to use the mail
>> forwarding, since you implemented it, as far as I can remember?
>>
>> I have now added an automated test:
>> https://github.com/tpokorra/kolab3_tbits_scripts/blob/master/pySeleniumTests/testEmailForwarding.py 
>>
>> which tests for the delivery to local addresses, and that seems to work.
>>
>> All the best,
>>   Timotheus
>>
>> On 5 December 2013 22:00, Christian Hügel 
>> <christian.huegel at stonebyte.de> wrote:
>>>  OK, I'm getting closer:
>>>
>>>  if I chose "Mail Forwarding" and put the alias test at example.com in
>>>  "Secondary Mail" the mailboxes are not created.
>>>  I place the real mailbox, to where the mails will be forwarded, in the
>>>  field "Mail forward to"
>>>  Now I send a test mail from a account "outside" kolab to
>>>  test at example.com and I see from the logs that the mail get 
>>> delivered to
>>>  root at server.com (the actual server and it's root user)
>>>
>>>  Something's wrong?!
>>>
>>>  Thanks
>>>
>>>  Chris
>>>
>>>  Am 05.12.2013 21:15, schrieb Christian Hügel:
>>>>
>>>>  Hi,
>>>>
>>>>  maybe I'm misunderstanding something here but here's my point:
>>>>
>>>>  1. Mail aliases
>>>>
>>>>  I have 2 different domains domain1 and domain2.
>>>>
>>>>  domain1 has a user test.user at domain1.com
>>>>  domain2 has no users
>>>>
>>>>  If I want to add a alias from domain2, lets say 
>>>> another.user at domain2.com
>>>>  I would add this mail as secondary mail of test.user at domain1.com
>>>>
>>>>  So far so good, this works as expected. But if I want to add a
>>>>  alias/forwarding mail to a domain "outside" kolab this doesn't work.
>>>>
>>>>  As I'm understanding the Mail Forwarding option in kolab webadmin, 
>>>> this
>>>>  feature should do exactly that...BUT..instead it creates "real
>>>>  mailboxes" like Trash Spam etc on kolab and delivery is fails:
>>>>
>>>>  Delivery Status Notification (Failure)
>>>>
>>>>  How can I achieve doing a mail forwarding to another domain 
>>>> (outside kolab)
>>>>
>>>>  I`m kind of confused
>>>>
>>>>  Thank you
>>>>
>>>>  Christian
>>>>  -------------------
>>>>  OpenPGP: 0x1F814CFD
>>>>  Threema: ZKZ2WZR7
>>>>
>>>>
>>>>
>>>>  _______________________________________________
>>>>  users mailing list
>>>>  users at lists.kolab.org
>>>>  https://lists.kolab.org/mailman/listinfo/users
>>>>
>>>
>>>  --
>>>  -------------------
>>>  OpenPGP: 0x1F814CFD
>>>  Threema: ZKZ2WZR7
>>>
>>>  _______________________________________________
>>>  users mailing list
>>>  users at lists.kolab.org
>>>  https://lists.kolab.org/mailman/listinfo/users
>
> _______________________________________________
> users mailing list
> users at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/users



More information about the users mailing list