Re: protecting internal email distribution lists

2022-08-24 Thread Viktor Dukhovni
On Wed, Aug 24, 2022 at 09:32:10PM +0300, Ivars Strazdins wrote: > Sorry if I replied to the list twice, but Noel’s advice nailed it. > "check_recipient_access=hash:/etc/postfix/protected_destinations" must > be added to master.cf smtps and submission, then sending is not > allowed. More precisel

Re: protecting internal email distribution lists

2022-08-24 Thread Ivars Strazdins
Sorry if I replied to the list twice, but Noel’s advice nailed it. "check_recipient_access=hash:/etc/postfix/protected_destinations" must be added to master.cf smtps and submission, then sending is not allowed. Thanks! Kind regards, Ivars > On 24 Aug 2022, at 20:15, Noel Jones wrote: > > Since

Re: protecting internal email distribution lists

2022-08-24 Thread Noel Jones
Since this is done with smtp_recipient_restrictions, it will only work with mail submitted via SMTP and not with mail sent through the sendmail(1) command. Also, you may have put overrides for smtp_recipient_restrictions in master.cf for the submission or submissions (smtps) ports that will n

Re: protecting internal email distribution lists

2022-08-24 Thread Ivars Strazdiņš
> On 24 Aug 2022, at 19:38, julio covolato wrote: > > > Em 24/08/2022 13:06, Jaroslaw Rafa escreveu: >> Dnia 24.08.2022 o godz. 19:03:37 Ivars Strazdiņš pisze: >>> I tested and it did not work for local users, access is denied (sending not >>> possible) only for external ones. >>> Mail is se

Re: protecting internal email distribution lists

2022-08-24 Thread julio covolato
Em 24/08/2022 13:06, Jaroslaw Rafa escreveu: Dnia 24.08.2022 o godz. 19:03:37 Ivars Strazdiņš pisze: I tested and it did not work for local users, access is denied (sending not possible) only for external ones. Mail is sent to l...@domain.com regardless if local send

Re: protecting internal email distribution lists

2022-08-24 Thread Jaroslaw Rafa
Dnia 24.08.2022 o godz. 19:03:37 Ivars Strazdiņš pisze: > > I tested and it did not work for local users, access is denied (sending not > possible) only for external ones. > Mail is sent to l...@domain.com regardless if local > sender address is in the insiders map or no

Re: protecting internal email distribution lists

2022-08-24 Thread Ivars Strazdiņš
Hi Julio, I tested and it did not work for local users, access is denied (sending not possible) only for external ones. Mail is sent to l...@domain.com regardless if local sender address is in the insiders map or not. I use lmtp for local mail delivery, could that be a p

Re: protecting internal email distribution lists

2022-08-24 Thread Viktor Dukhovni
On Wed, Aug 24, 2022 at 04:08:29PM +0300, Ivars Strazdins wrote: > I know that it is possible to protect l...@domain.com from external > senders, as per https://www.postfix.org/RESTRICTION_CLASS_README.html > > But is it possible to limit users from the same domain who can send > mails to an inte

Re: protecting internal email distribution lists

2022-08-24 Thread julio covolato
Em 24/08/2022 10:08, Ivars Strazdins escreveu: Hello Postfix Experts, let’s say that domain.com is Postfix $mydomain. I know that it is possible to protect /etc/postfix/protected_destinations from external senders, as per https://www.postfix.org/RESTRICTION_CLASS_README.htm

Re: protecting internal email distribution lists

2022-08-24 Thread Jaroslaw Rafa
Dnia 24.08.2022 o godz. 16:08:29 Ivars Strazdins pisze: > Hello Postfix Experts, > let’s say that domain.com is Postfix $mydomain. > I know that it is possible to protect l...@domain.com > from external senders, as per > https://www.postfix.org/RESTRICTION_CLASS_README.ht

protecting internal email distribution lists

2022-08-24 Thread Ivars Strazdins
Hello Postfix Experts, let’s say that domain.com is Postfix $mydomain. I know that it is possible to protect l...@domain.com from external senders, as per https://www.postfix.org/RESTRICTION_CLASS_README.html But i

Re: issue with outlook.com / office 365 distribution lists...

2018-04-23 Thread Viktor Dukhovni
> On Apr 23, 2018, at 1:45 PM, mario.barbosa+postfixus...@gmail.com wrote: > > Got any pointers on how to do this? What should I put in my to-read list > next? I know of an implementation via custom hooks in amavisd-new, not open-source. Don't know whether there's anything off-the-shelf you can

Re: issue with outlook.com / office 365 distribution lists...

2018-04-23 Thread mario . barbosa+postfixusers
Hello again, On 04/23/2018 06:55 PM, Viktor Dukhovni wrote: >> On Apr 23, 2018, at 12:25 PM, mario.barbosa+postfixus...@gmail.com wrote: >> >> Upon further inspection, I figured out what is probably obvious to you >> by now: the office 365 lists do not change the 'Sender:' header of the >> origina

Re: issue with outlook.com / office 365 distribution lists...

2018-04-23 Thread Viktor Dukhovni
> On Apr 23, 2018, at 12:25 PM, mario.barbosa+postfixus...@gmail.com wrote: > > Upon further inspection, I figured out what is probably obvious to you > by now: the office 365 lists do not change the 'Sender:' header of the > original message, and when it comes back to be delivered to its > '@ex

issue with outlook.com / office 365 distribution lists...

2018-04-23 Thread mario . barbosa+postfixusers
company with about ~100 users. We have our own domain and mailserver, running the latest kolab available (which use postfix as one of it's components). Let's call my domain 'example.com' 2) some of my users are listed on a few "distribution lists" on the office 365 si

Re: Restricting distribution lists

2016-02-11 Thread Julian Kippels
On Wed, Feb 10, 2016 at 09:12:50AM -0500, Wietse Venema wrote: > For complex access policies, I suggest using a policy > plugin like postfwd. > > Wietse Thanks for the hint, I have written my own policy plugin now. Works like a charm. --

Re: Restricting distribution lists

2016-02-10 Thread Wietse Venema
For complex access policies, I suggest using a policy plugin like postfwd. Wietse

Re: Restricting distribution lists

2016-02-10 Thread Julian Kippels
On Tue, Feb 09, 2016 at 04:17:28PM +0100, Julian Kippels wrote: > Hi, > > I am trying to configure distribution lists with restricted senders. > Scenario: > I have testlist...@domain.tld with the recipients pers...@domain.tld, > pers...@domain.tld and pers...@other.tld > On

Restricting distribution lists

2016-02-09 Thread Julian Kippels
Hi, I am trying to configure distribution lists with restricted senders. Scenario: I have testlist...@domain.tld with the recipients pers...@domain.tld, pers...@domain.tld and pers...@other.tld Only Person A should be allowed to send mails to testlist001. I used http://www.postfix.org

Re: Distribution lists with aliases

2012-07-14 Thread Colin
On Sat, Jul 14, 2012 at 8:07 PM, Reindl Harald wrote: > if you make the aliases on LDA level like dbmail and > i think dovecot wpuld support the same you have unique > outgoing messages because postfix delivers the mail > to the LDA which generates a new message for external targets I see, I alre

Re: Distribution lists with aliases

2012-07-14 Thread Reindl Harald
Am 14.07.2012 21:01, schrieb Colin: > Hi all, I'm currently using aliases for a distribution list and > noticed that all messages sent to this alias are given just an id > queue. > So if have an alias with 400users, that message would be queued once > with 400 recipients. The problem is that for

Distribution lists with aliases

2012-07-14 Thread Colin
Hi all, I'm currently using aliases for a distribution list and noticed that all messages sent to this alias are given just an id queue. So if have an alias with 400users, that message would be queued once with 400 recipients. The problem is that for some domains I get timeouts or they seem to bloc

Re: Protectin email distribution lists

2012-02-27 Thread /dev/rob0
On Mon, Feb 27, 2012 at 03:33:48PM +0200, Selcuk Yazar wrote: > Can we allow for one mail to send email our internal > distribution list ? http://www.postfix.org/RESTRICTION_CLASS_README.html#internal > I mean, in the insider file, can we wrtite down an e-mail > address rather than domain name.

Protectin email distribution lists

2012-02-27 Thread Selcuk Yazar
Hi , Can we allow for one mail to send email our internal distribution list ? I mean, in the insider file, can we wrtite down an e-mail address rather than domain name. thanks in advance. -- Selçuk YAZAR

Re: Distribution lists with Postfix

2010-12-13 Thread mouss
Le 13/12/2010 15:15, Michael Grimm a écrit : Thanks for the advice. I have downloaded, compiled and installed wimp, but I don't understand how to integrate it into my postfix installation. try mailman or sympa. both are freely available, documented and in wide use. snertsoft software isn't f

Re: Distribution lists with Postfix

2010-12-13 Thread Wietse Venema
Michael Grimm: > That's not what I meant. Perhaps the question was to basic even > for low-tech ;-) When a user uses his email client, what address > does he need to enter to send something to the list? You send mail to aliasn...@any.domain.name.in.mydestination, after you arrange for suitable DNS

Re: Distribution lists with Postfix

2010-12-13 Thread Michael Grimm
That's not what I meant. Perhaps the question was to basic even for low-tech ;-) When a user uses his email client, what address does he need to enter to send something to the list? I thought that /etc/aliases is for local delivery only. Michael > To update the list from a mail client, use a m

Re: Distribution lists with Postfix

2010-12-13 Thread Wietse Venema
Michael Grimm: > Is there maybe an even more simple approach to this using standard > postfix functionality The distribution lists are very static and > do not require adjustments very often. Wietse: > The low-tech solution: > > /etc/aliases: ># The mailing list "fo

Re: Distribution lists with Postfix

2010-12-13 Thread Michael Grimm
I like that approach. How do I then address the list from my email client? foo...@smtp.network.local? Kind regards Michael 2010/12/13 Wietse Venema : > Michael Grimm: >> Is there maybe an even more simple approach to this using standard >> postfix functionality? >> The d

Re: Distribution lists with Postfix

2010-12-13 Thread Wietse Venema
Michael Grimm: > Is there maybe an even more simple approach to this using standard > postfix functionality? > The distribution lists are very static and do not require adjustments > very often. The low-tech solution: /etc/aliases: # The mailing list "foobar" is impl

Re: Distribution lists with Postfix

2010-12-13 Thread Gaby Vanhegan
On 13 Dec 2010, at 14:29, Ray Van Dolson wrote: > On Mon, Dec 13, 2010 at 03:24:03PM +0100, Michael Grimm wrote: >> Is there maybe an even more simple approach to this using standard >> postfix functionality? The distribution lists are very static and do >> not require a

Re: Distribution lists with Postfix

2010-12-13 Thread Ray Van Dolson
On Mon, Dec 13, 2010 at 03:24:03PM +0100, Michael Grimm wrote: > Is there maybe an even more simple approach to this using standard > postfix functionality? The distribution lists are very static and do > not require adjustments very often. /etc/aliases? :) Ray

Re: Distribution lists with Postfix

2010-12-13 Thread Victoriano Giralt
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 On 13/12/10 15:24, Michael Grimm wrote: > Is there maybe an even more simple approach to this using standard > postfix functionality? > The distribution lists are very static and do not require adjustments > very often. You can use a

Re: Distribution lists with Postfix

2010-12-13 Thread Michael Grimm
Is there maybe an even more simple approach to this using standard postfix functionality? The distribution lists are very static and do not require adjustments very often. Kind regards Michael

Re: Distribution lists with Postfix

2010-12-13 Thread Michael Grimm
Thanks for the advice. I have downloaded, compiled and installed wimp, but I don't understand how to integrate it into my postfix installation. I have found this in the documentation but feel a little bit left alone after trying to understand it. Postfix apparently supports a similar mechanism to

Re: Distribution lists with Postfix

2010-12-13 Thread Patrick Ben Koetter
* Ralf Hildebrandt : > * Wietse Venema : > > > Any mailing list manager that works with Postfix (or Sendmail, etc.) > > will do the job. A relatively popular example is "mailman". > > > > http://www.gnu.org/software/mailman/index.html > > If you need "less", you could use "wimp" (by SnertSoft).

Re: Distribution lists with Postfix

2010-12-13 Thread Ralf Hildebrandt
* Wietse Venema : > Any mailing list manager that works with Postfix (or Sendmail, etc.) > will do the job. A relatively popular example is "mailman". > > http://www.gnu.org/software/mailman/index.html If you need "less", you could use "wimp" (by SnertSoft). It works OK! -- Ralf Hildebrandt

Re: Distribution lists with Postfix

2010-12-13 Thread Wietse Venema
Michael Grimm: > Dear all, > > I want to do the following with postfix: > A user sends an email to an internal postfix server (smtp.network.local) > The E-Mail is addressed to lis...@externaldomain.org > Postfix now needs to forward the E-Mail to a predefined list of > external email accounts depe

Distribution lists with Postfix

2010-12-13 Thread Michael Grimm
Dear all, I want to do the following with postfix: A user sends an email to an internal postfix server (smtp.network.local) The E-Mail is addressed to lis...@externaldomain.org Postfix now needs to forward the E-Mail to a predefined list of external email accounts depending whether it is list01 or

Re: Autoresponse and distribution lists

2009-10-26 Thread Magnus Bäck
On Monday, October 26, 2009 at 19:32 CET, William Jordan wrote: > Sorry I didn't update the subject of my earlier post. I do apologise > for the oversight. The problem was not that you didn't replace the Subject header, the fundamental problem was that you replied to an old message when yo

Autoresponse and distribution lists

2009-10-26 Thread William Jordan
Sorry I didn't update the subject of my earlier post. I do apologise for the oversight. William Jordan IT Manager   -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of William Jordan Sent: October-26-09 11:29 AM To: postfix-users

Re: Distribution lists/SPF with Postfix?

2009-08-20 Thread Leonardo Rodrigues
Paul Hutchings escreveu: This is literally the only distribution list that we have on Postfix and it only has a handful of members so I really don't want to have to start looking at listserv software just for that. why not that would be the correct way of handling a distribution l

Re: Distribution lists/SPF with Postfix?

2009-08-20 Thread mouss
Paul Hutchings a écrit : > We have a basic distribution list setup within postfix under a virtual > domain. > > One of the external parties who wants to sent to it has an SPF record in > place so of course in its current configuration the message is being > rejected by our SPF, and of course even

Re: Distribution lists/SPF with Postfix?

2009-08-20 Thread Noel Jones
Noel Jones Sent: Thu 8/20/2009 3:28 PM To: postfix-users@postfix.org Subject: Re: Distribution lists/SPF with Postfix? Paul Hutchings wrote: No their SPF config works as they want it. I think perhaps mentioning SPF was a red herring, what I really want to know is how I can have a distribution list

RE: Distribution lists/SPF with Postfix?

2009-08-20 Thread Paul Hutchings
x27;t want to have to start looking at listserv software just for that. Paul -Original Message- From: owner-postfix-us...@postfix.org on behalf of Noel Jones Sent: Thu 8/20/2009 3:28 PM To: postfix-users@postfix.org Subject: Re: Distribution lists/SPF with Postfix? Paul Hutchings wrote:

Re: Distribution lists/SPF with Postfix?

2009-08-20 Thread Benny Pedersen
On tor 20 aug 2009 11:19:57 CEST, Simon Waters wrote I think SPF is broken by design, but if you aren't rewriting the email, then yes mailing list software will do that for you. spf brokken ?, it brokken as much as spam filters using blacklists and not whitelists, seriously if it was whitelis

Re: Distribution lists/SPF with Postfix?

2009-08-20 Thread Noel Jones
Paul Hutchings wrote: No their SPF config works as they want it. I think perhaps mentioning SPF was a red herring, what I really want to know is how I can have a distribution list in a Postfix Virtual Domain that sends with the envelope (if that's the term) set to something we control and not us

RE: Distribution lists/SPF with Postfix?

2009-08-20 Thread Paul Hutchings
t: Re: Distribution lists/SPF with Postfix? On Thursday 20 August 2009 10:01:37 Paul Hutchings wrote: > We have a basic distribution list setup within postfix under a virtual > domain. > > One of the external parties who wants to sent to it has an SPF record in > place so of c

Re: Distribution lists/SPF with Postfix?

2009-08-20 Thread Simon Waters
On Thursday 20 August 2009 10:01:37 Paul Hutchings wrote: > We have a basic distribution list setup within postfix under a virtual > domain. > > One of the external parties who wants to sent to it has an SPF record in > place so of course in its current configuration the message is being > rejected

Distribution lists/SPF with Postfix?

2009-08-20 Thread Paul Hutchings
We have a basic distribution list setup within postfix under a virtual domain. One of the external parties who wants to sent to it has an SPF record in place so of course in its current configuration the message is being rejected by our SPF, and of course even if we allowed it, it would be rejecte

Re: Limiting posts to internal email distribution lists to its members

2008-12-12 Thread mouss
Rahul Amaram a écrit : > Hi, > I am looking for limiting posts to internal email distribution lists to > its members. I have already looked at the example in > http://www.postfix.org/RESTRICTION_CLASS_README.html. But what I am > looking for is permitting mails only from those emai

Limiting posts to internal email distribution lists to its members

2008-12-12 Thread Rahul Amaram
Hi, I am looking for limiting posts to internal email distribution lists to its members. I have already looked at the example in http://www.postfix.org/RESTRICTION_CLASS_README.html. But what I am looking for is permitting mails only from those email ids which are members of that particular

Re: distribution lists.

2008-09-22 Thread Victor Duchovni
On Mon, Sep 22, 2008 at 05:04:05PM +0200, mouss wrote: > under smtpd_recipient_restrictions, you can't (you don't want to skip > other checks) so you can only use DUNNO which is less flexible (dunno > will not skip the following checks, even in a single restriction class). Actually, DUNNO only

Re: distribution lists.

2008-09-22 Thread mouss
Mauro Sanna wrote: Not really. an OK in smtpd_sender_restrictions does not skip smtpd_recipient_restrictions. In particular, it doesn't make you an open relay. If it doesn't skip so why not put directly in smtpd_recipient_restrictions? this is an anti-question. if you put it under smtpd_re

Re: distribution lists.

2008-09-22 Thread Mauro Sanna
> Not really. an OK in smtpd_sender_restrictions does not skip > smtpd_recipient_restrictions. In particular, it doesn't make you an open > relay. If it doesn't skip so why not put directly in smtpd_recipient_restrictions?

Re: distribution lists.

2008-09-22 Thread mouss
Mauro Sanna wrote: Almost. You should probably still have at least one domain listed, that is used for the right-hand-side of aliases where the target should be a local delivery. One approach is to use: main.cf: mydestination = local.invalid smtpd_sender_restrictions = check_sen

Re: distribution lists.

2008-09-22 Thread Mauro Sanna
> Almost. You should probably still have at least one domain listed, that > is used for the right-hand-side of aliases where the target should be a > local delivery. One approach is to use: > > main.cf: > mydestination = local.invalid > > smtpd_sender_restrictions = >

Re: distribution lists.

2008-09-19 Thread Victor Duchovni
On Fri, Sep 19, 2008 at 12:41:13PM +0200, Mauro Sanna wrote: > Il giorno gio, 18/09/2008 alle 14.11 +0200, mouss ha scritto: > > Mauro Sanna wrote: > > > Hello, sorry for my bad english. > > > I have to send messages to more than one person using a single mail > > > address. > > > So I've created

Re: distribution lists.

2008-09-19 Thread Mauro Sanna
Il giorno gio, 18/09/2008 alle 14.11 +0200, mouss ha scritto: > Mauro Sanna wrote: > > Hello, sorry for my bad english. > > I have to send messages to more than one person using a single mail > > address. > > So I've created a virtual-alias: [EMAIL PROTECTED] myaccount and a > > text file, myaccoun

Re: distribution lists.

2008-09-18 Thread mouss
Mauro Sanna wrote: Hello, sorry for my bad english. I have to send messages to more than one person using a single mail address. So I've created a virtual-alias: [EMAIL PROTECTED] myaccount and a text file, myaccount.txt, with all the addresses that I want to send mail. Then I put in /etc/aliases

distribution lists.

2008-09-18 Thread Mauro Sanna
Hello, sorry for my bad english. I have to send messages to more than one person using a single mail address. So I've created a virtual-alias: [EMAIL PROTECTED] myaccount and a text file, myaccount.txt, with all the addresses that I want to send mail. Then I put in /etc/aliases: myaccount: :include