How to change the sender of an e-mail ?

2016-10-06 Thread msd+postfix-users
Hello, Is there a way, in the context of SMTP Access Policy Delegation (http://www.postfix.org/SMTPD_POLICY_README.html), to change the envelope sender (MAIL FROM: / Return-Path) of an e-mail ? In fact, what I want is to call a script that will replace the envelope sender (in order to collec

smtpd_recipient_restrictions: multiple tables in check_recipient_access?

2016-10-06 Thread Julian Kippels
Hi, is it possible to have more then one table in check_recipient_access? Like this: smtpd_recipient_restrictions = check_recipient_access ldap:table1.cf ldap:table2.cf ldap:table3.cf permit_mynetworks permit_sasl_authenticated reject_unauth_destination or am I limited to on

Re: smtpd_recipient_restrictions: multiple tables in check_recipient_access?

2016-10-06 Thread Wietse Venema
Julian Kippels: > Hi, > > is it possible to have more then one table in check_recipient_access? > > Like this: > > smtpd_recipient_restrictions = > check_recipient_access > ldap:table1.cf > ldap:table2.cf > ldap:table3.cf > permit_mynetworks > permit_sasl_authenticated > reje

Re: How to change the sender of an e-mail ?

2016-10-06 Thread Wietse Venema
msd+postfix-us...@msd.im: > Hello, > > Is there a way, in the context of SMTP Access Policy Delegation > (http://www.postfix.org/SMTPD_POLICY_README.html), to change the > envelope sender (MAIL FROM: / Return-Path) of an e-mail ? The policy protocol supports only the "action" features as docume

Re: How to change the sender of an e-mail ?

2016-10-06 Thread /dev/rob0
On Thu, Oct 06, 2016 at 12:10:06PM +0200, msd+postfix-us...@msd.im wrote: > Is there a way, in the context of SMTP Access Policy Delegation > (http://www.postfix.org/SMTPD_POLICY_README.html), to change the > envelope sender (MAIL FROM: / Return-Path) of an e-mail ? > > In fact, what I want i

can't reload the configuration

2016-10-06 Thread Gary Luck
Hello, I made some changes in the file /etc/postfix/recipient_access and would like to tell postfix to use the new configuration. However: I fail in doing so. Using the command "postfix reload" results in: postfix/postfix-script: refreshing the Postfix mail system Using the command "postfix

Re: can't reload the configuration

2016-10-06 Thread Wietse Venema
Gary Luck: [ Charset ISO-8859-15 converted... ] > Hello, > I made some changes in the file /etc/postfix/recipient_access and would > like to tell postfix to use the new configuration. However: I fail in > doing so. > > Using the command "postfix reload" results in: >postfix/postfix-script:

Re: can't reload the configuration

2016-10-06 Thread Gary Luck
Hurray!! It finally works! Thank you very much. Do I have to run this command after every change of the "recipient_access"-file? I didn't have to in the past. But some changes to the mail server have been done in the mean time. Regards, Gary Wietse Venema schrieb: Gary Luck: [ Charset ISO-

smtpd_proxy_filter, multi_instance, and transport settings

2016-10-06 Thread Todd C. Olson
Hi I wish to set up a multi instance filter-before-queue incoming edge relay postfix 3.1.* configuration. I've been studying the MULTI_INSTANCE_README which describes only the filter-after-queue multi setup and the SMTPD_PROXY_README which describes the filter-before-queue non-multi setup. I'v

Re: can't reload the configuration

2016-10-06 Thread Geert Stappers
On Thu, Oct 06, 2016 at 09:53:10PM +0200, Gary Luck wrote: > Wietse Venema schrieb: > >Gary Luck: > >[ Charset ISO-8859-15 converted... ] > >> Hello, > >>I made some changes in the file /etc/postfix/recipient_access > >>and would like to tell postfix to use the new configuration. > > > >Perhaps you

Re: smtpd_proxy_filter, multi_instance, and transport settings

2016-10-06 Thread Viktor Dukhovni
On Thu, Oct 06, 2016 at 08:23:42PM +, Todd C. Olson wrote: > I wish to set up a multi instance filter-before-queue incoming edge relay > postfix 3.1.* configuration. I've been studying the MULTI_INSTANCE_README > which describes only the filter-after-queue multi setup and the > SMTPD_PROXY_REA

Re: smtpd_proxy_filter, multi_instance, and transport settings

2016-10-06 Thread Todd C. Olson
Hi Viktor, Your response both answered my question and gave me clues how to understand Postfix better. Thank you! Regards, Todd > On Th, 2016-10-06, at 16:41, Viktor Dukhovni > wrote: > > On Thu, Oct 06, 2016 at 08:23:42PM +, Todd C. Olson wrote: > >> QUESTION: what is the interaction bet