Kolab policy with alias domains

Sebastian Walter mail at swalter-it.com
Tue Sep 2 14:33:16 CEST 2014


Hi Daniel,

Thanks for helping me on this. Here are the answers to your questions.

On 09/02/14 14:00, Daniel Hoffend wrote:
> From what I understand:
> * The user's primary_mail is withing the primary_domain of this
> instance (user at example.org)
> * You can send and authenticate via your primary mail yes?
> * You can't send emails when choosing an alias from myexample.org as
> from address

Yes this is all true.

> Here are my questions:
> * Do you have this problem when using roundcube or only when using a
> external mail client

I tried it using an external imap mail client (Thunderbird), roundcube
would be the next step in my opinion.

> * are you authenticating your primary_mail when trying to send from an
> alias (which should be the right/best way)

yes, authenticating as joe at example.org but setting an email address as
mail at myexample.org (virtual example).

> * Most important: Are you using SMTP Port 587 (submission) for sending
> or do you try sending emails via Port 25?

yes I'm using port 587 (STARTTLS). Here are the relevant lines from
/var/log/maillog:

Sep  2 13:23:47 <host> postfix/submission/smtpd[17059]: connect from
<clienthost>[xx.xx.xx.xx]
Sep  2 13:23:48 <host> postfix/submission/smtpd[17059]: 6720AE0882:
client=<clienthost>[xx.xx.xx.xx], sasl_method=PLAIN,
sasl_username=joe at example.org
Sep  2 13:23:48 <host> postfix/submission/smtpd[17059]: 6720AE0882:
reject: DATA from <clienthost>[xx.xx.xx.xx]: 554 5.7.1 <DATA>: Data
command rejected: Could not find envelope sender user
mail at myexample.org; from=<mail at myexample.org>
to=<receiver at virtual-example.org> proto=ESMTP helo=<[xx.xx.xx.xx]>

The mails get accepted if I change "submission_data_restrictions = " to
an empty string in postfix' main.cf.

Many regards,
Sebastian


More information about the users mailing list