Re: LDAP mail for external users

2022-10-29 Thread Viktor Dukhovni
On Sat, Oct 29, 2022 at 02:57:33PM +0200, Matus UHLAR - fantomas wrote: > postsrsd works nicely, but if you want only SRS mail that is being forwarded > outside, you'll need separate postfix instance for outgoing mail and apply > postsrs there. In many cases, just "owner-" aliases work fine, re

Re: LDAP mail for external users

2022-10-29 Thread Matus UHLAR - fantomas
Tan Mientras: > thank you Wietse, it was an issue with the alias table. Now seems its > working. i'm going to test further... On Fri, Oct 28, 2022 at 08:51:28AM -0400, Wietse Venema wrote: This will work fine with email between colleagues, but as Viktor noted may run into SPF/DMARC etc. issu

Re: LDAP mail for external users

2022-10-28 Thread raf
On Fri, Oct 28, 2022 at 08:51:28AM -0400, Wietse Venema wrote: > Tan Mientras: > > eureka! > > thank you Wietse, it was an issue with the alias table. Now seems its > > working. i'm going to test further... > > This will work fine with email between colleagues, but as Viktor > noted may run int

Re: LDAP mail for external users

2022-10-28 Thread Wietse Venema
Tan Mientras: > eureka! > thank you Wietse, it was an issue with the alias table. Now seems its > working. i'm going to test further... This will work fine with email between colleagues, but as Viktor noted may run into SPF/DMARC etc. issues when forwarding mail from a sender address outside your

Re: LDAP mail for external users

2022-10-27 Thread Tan Mientras
eureka! thank you Wietse, it was an issue with the alias table. Now seems its working. i'm going to test further... On Thu, Oct 27, 2022 at 4:11 PM Wietse Venema wrote: > Wietse Venema: > > Tan Mientras: > > > Sadly seems I'm unable to make it work. > > > > > > Users have mail address in ldap "m

Re: LDAP mail for external users

2022-10-27 Thread Wietse Venema
Wietse Venema: > Tan Mientras: > > Sadly seems I'm unable to make it work. > > > > Users have mail address in ldap "mail" property > > External users have mail address in ldap's "externalmail" property > > > > However it always shows /usr/bin/procmail -a "$EXTENSION" > > > Oct 27 10:58:55 backend

Re: LDAP mail for external users

2022-10-27 Thread Viktor Dukhovni
On Thu, Oct 27, 2022 at 09:24:09AM -0400, Wietse Venema wrote: > > > Oct 27 10:58:55 backend1 postfix/local[3916674]: 9DE86186: > > > to=, orig_to=, relay=local, > > > delay=0.06, delays=0.01/0/0/0.05, dsn=2.0.0, status=sent > > > (delivered to command: /usr/bin/procmail -a "$EXTENSION") > > Then

Re: LDAP mail for external users

2022-10-27 Thread Wietse Venema
Tan Mientras: > Sadly seems I'm unable to make it work. > > Users have mail address in ldap "mail" property > External users have mail address in ldap's "externalmail" property > > However it always shows /usr/bin/procmail -a "$EXTENSION" > > Oct 27 10:58:55 backend1 postfix/local[3916674]: 9DE86

Re: LDAP mail for external users

2022-10-27 Thread Tan Mientras
Sadly seems I'm unable to make it work. Users have mail address in ldap "mail" property External users have mail address in ldap's "externalmail" property However it always shows /usr/bin/procmail -a "$EXTENSION" > Oct 27 10:58:55 backend1 postfix/local[3916674]: 9DE86186: to=< f...@ourdomain.com

Re: LDAP mail for external users

2022-10-21 Thread Wietse Venema
Tan Mientras: > On Thu, Oct 20, 2022 at 5:00 PM Wietse Venema wrote: > > > > > You can do this with a main.cf:virtual_alias_maps lookup table that > > takes as search key an email address in your domain like > > user123@yourdomain. If their email should be delivered externally, > > the lookup tab

Re: LDAP mail for external users

2022-10-21 Thread Tan Mientras
On Thu, Oct 20, 2022 at 5:00 PM Wietse Venema wrote: > > You can do this with a main.cf:virtual_alias_maps lookup table that > takes as search key an email address in your domain like > user123@yourdomain. If their email should be delivered externally, > the lookup table returns the external emai

Re: LDAP mail for external users

2022-10-20 Thread Wietse Venema
Tan Mientras: > Please, excuse me. > > I read the answer, but I dont know how to further detail my question. > That's the point. > For that reason I wrote latest email. > > Our LDAP has mail field set to user email address eg: "user123@*ourdomain.com > > *". > > Some LDAP us

Re: LDAP mail for external users

2022-10-20 Thread Markus Schönhaber
20.10.22, 15:23 +0200, Tan Mientras: I read the answer, but I dont know how to further detail my question. That's the point. No, the point is: Victor's reply to your OP (to which I pointed you twice) contains a list of information/data points you should provide to (hopefully) make a meaningf

Re: LDAP mail for external users

2022-10-20 Thread Tan Mientras
Please, excuse me. I read the answer, but I dont know how to further detail my question. That's the point. For that reason I wrote latest email. Our LDAP has mail field set to user email address eg: "user123@*ourdomain.com > *". > Some LDAP users are "external" to our organi

Re: LDAP mail for external users

2022-10-20 Thread Markus Schönhaber
20.10.22, 10:12 +0200, Tan Mientras: What configuration files should i paste here in order to further detail our scenario? Any other info you may need, please feel free to ask. Although you don't seem to read the answers you get, I'll try once more: https://marc.info/?l=postfix-users&m=166515

Re: LDAP mail for external users

2022-10-20 Thread Tan Mientras
Ok. consider the following scenario: 2 frontend servers to receive requests 2 backend servers as relays 2 additional servers for POP/IMAP requests using LDAP integration What configuration files should i paste here in order to further detail our scenario? Any other info you may need, please feel

Re: LDAP mail for external users

2022-10-10 Thread Victoriano Giralt
On lun, 2022-10-10 at 13:41 +0200, Tan Mientras wrote: > no one? Your question is too vague, you do not provide any configuration information for your Postix installation, forwarding is very broken nowadays, ... Have you read https://www.postfix.org/DEBUG_README.html? paying attention to the sect

Re: LDAP mail for external users

2022-10-10 Thread Markus Schönhaber
10.10.22, 13:41 +0200, Tan Mientras: no one? https://marc.info/?l=postfix-users&m=166515964715389&w=2 -- Regards mks

Re: LDAP mail for external users

2022-10-10 Thread Tan Mientras
no one? On Fri, Oct 7, 2022 at 9:08 AM Tan Mientras wrote: > Hi > > Our LDAP has mail field set to user email address eg: "user123@*ourdomain.com > *". > Some LDAP users are "external" to our organization, so we want to setup > email to "user456@*gmail.com

Re: LDAP mail for external users

2022-10-07 Thread Viktor Dukhovni
On Fri, Oct 07, 2022 at 09:08:49AM +0200, Tan Mientras wrote: > Our LDAP has mail field set to user email address eg: > "user123@*ourdomain.com*". > Some LDAP users are "external" to our organization, so we want to setup > email to "user456@*gmail.com*" > > However, due our configuration mails s

LDAP mail for external users

2022-10-07 Thread Tan Mientras
Hi Our LDAP has mail field set to user email address eg: "user123@*ourdomain.com *". Some LDAP users are "external" to our organization, so we want to setup email to "user456@*gmail.com *" However, due our configuration mails sent from ourdomain go to user