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

Re: postfix body_checks replace

2010-12-13 Thread Gianluca Gargiulo
Ok, thank you for your help. I have tested it, but when an e-mail has more than one links, the body_checks changes only one. P.S.: can you indicate some fast sheet to learn some regexp? Ediconsul Informatica S.r.l. System Administrator Gianluca Gargiulo e-mail:

Re: postfix body_checks replace

2010-12-13 Thread Ralf Hildebrandt
* Gianluca Gargiulo gianluca.gargi...@ediconsul.it: Ok, thank you for your help. I have tested it, but when an e-mail has more than one links, the body_checks changes only one. Yes, if the links are on the same line P.S.: can you indicate some fast sheet to learn some regexp? A book

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 depending

Re: Distribution lists with Postfix

2010-12-13 Thread Ralf Hildebrandt
* Wietse Venema wie...@porcupine.org: 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

Re: Distribution lists with Postfix

2010-12-13 Thread Patrick Ben Koetter
* Ralf Hildebrandt postfix-users@postfix.org: * Wietse Venema wie...@porcupine.org: 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

Re: postfix body_checks replace

2010-12-13 Thread Gianluca Gargiulo
it's possible to replace all links in mail, also those on some line? Ediconsul Informatica S.r.l. System Administrator Gianluca Gargiulo e-mail: ggargi...@ediconsul.it Tel: 081.3176326 | Fax: 081.3415110 Avvertenze ai sensi del D.lgs. 196/2003 px; Tutte le informazioni

Re: postfix body_checks replace

2010-12-13 Thread Ralf Hildebrandt
* Gianluca Gargiulo gianluca.gargi...@ediconsul.it: it's possible to replace all links in mail, also those on some line? Not in a generic fashion. My pattern works for one occurence, but can be adapted for 2,3,4,...,etc

Re: postfix body_checks replace

2010-12-13 Thread gianluca . gargiulo
...and you'd be so kind as to tell me how? thank you Ediconsul Informatica S.r.l. System Administrator Gianluca Gargiulo e-mail: ggargi...@ediconsul.it Tel: 081.3176326 | Fax: 081.3415110 Avvertenze ai sensi del D.lgs. 196/2003 px; Tutte le informazioni contenute nella

Re: postfix body_checks replace

2010-12-13 Thread Ralf Hildebrandt
* gianluca.gargi...@ediconsul.it gianluca.gargi...@ediconsul.it: ...and you'd be so kind as to tell me how? /^(.*)www\.mydomain\.it(.*)$/ REPLACE ${1}www.otherdomain.it${2} becomes: /^(.*)www\.mydomain\.it(.*)www\.mydomain\.it(.*)$/ REPLACE ${1}www.otherdomain.it${2}www.otherdomain.it${3}

Re: postfix body_checks replace

2010-12-13 Thread Gianluca Gargiulo
no, this not works Ediconsul Informatica S.r.l. System Administrator Gianluca Gargiulo e-mail: ggargi...@ediconsul.it Tel: 081.3176326 | Fax: 081.3415110 Avvertenze ai sensi del D.lgs. 196/2003 px; Tutte le informazioni contenute nella presente e-mail sono riservate

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 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 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 lookup table

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 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 adjustments very often.

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 implemented as an :include: #

why does Postfix attempt relay?

2010-12-13 Thread Zhou, Yan
Hi there, I am integrating Postfix 2.3.3 with LDAP. Everything works fine in development and QA environments, but when the app. moves into our stage environment, it fails. I do not understand why, but I do know our Stage environment has tighter control, e.g., no mail relay, etc. I am sending a

Re: why does Postfix attempt relay?

2010-12-13 Thread Matt Hayes
On 12/13/2010 10:11 AM, Zhou, Yan wrote: Hi there, I am integrating Postfix 2.3.3 with LDAP. Everything works fine in development and QA environments, but when the app. moves into our stage environment, it fails. I do not understand why, but I do know our Stage environment has tighter

Re: why does Postfix attempt relay?

2010-12-13 Thread postfix
Hi Yan do you have permit_mynetworks in your relay_domains? Possibly also $mydestination? suomi On 2010-12-13 16:11, Zhou, Yan wrote: Hi there, I am integrating Postfix 2.3.3 with LDAP. Everything works fine in development and QA environments, but when the app. moves into our stage

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 wie...@porcupine.org: Michael Grimm: Is there maybe an even more simple approach to this using standard postfix functionality? The distribution

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 foobar is implemented as an :include:

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

Re: Please Test ... was: FrontBridge RFC 2920 write-up

2010-12-13 Thread DTNX/NGMX Postmaster
On 11/12/2010, at 18:17, Michael J Wise wrote: On Dec 9, 2010, at 2:12 PM, Wietse Venema wrote: Michael, thanks for helping. Most welcome, glad I could help. Just out of curiosity, and because so many back at the ranch are asking... Does anyone know if this problem just surfaced, or

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: postfix body_checks replace

2010-12-13 Thread Victor Duchovni
On Mon, Dec 13, 2010 at 02:32:20PM +0100, Ralf Hildebrandt wrote: * Gianluca Gargiulo gianluca.gargi...@ediconsul.it: it's possible to replace all links in mail, also those on some line? Not in a generic fashion. My pattern works for one occurence, but can be adapted for 2,3,4,...,etc

Re: postfix body_checks replace

2010-12-13 Thread Victor Duchovni
On Mon, Dec 13, 2010 at 03:08:43PM +0100, Gianluca Gargiulo wrote: no, this not works You are trying to do the wrong thing. You can't succeed along these lines. -- Viktor.

Re: postfix body_checks replace

2010-12-13 Thread Simone Caruso
On 13/12/2010 15:08, Gianluca Gargiulo wrote: no, this not works I think u should write a content filter for this task... or try to modify Amavis code. -- Simone Caruso IT Consultant +39 349 65 90 805 p.iva: 03045250838

Re: why does Postfix attempt relay?

2010-12-13 Thread Jeroen Geilman
On 12/13/10 4:11 PM, Zhou, Yan wrote: Hi there, I am integrating Postfix 2.3.3 with LDAP. Everything works fine in development and QA environments, but when the app. moves into our stage environment, it fails. I do not understand why, but I do know our Stage environment has tighter control,

Re: why does Postfix attempt relay?

2010-12-13 Thread mouss
Le 13/12/2010 16:11, Zhou, Yan a écrit : Hi there, I am integrating Postfix 2.3.3 with LDAP. Everything works fine in development and QA environments, but when the app. moves into our stage environment, it fails. I do not understand why, but I do know our Stage environment has tighter control,

Re: postfix body_checks replace

2010-12-13 Thread mouss
Le 13/12/2010 14:30, Gianluca Gargiulo a écrit : it's possible to replace all links in mail, also those on some line? postfix body_checks use regular expressions. you can certainly devise expressions to rewrite 1, 2 ,3 ... words in a line: /(.*)foo(.*)foo(.*)foo(.*)foo(.*)/ REPLACE

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

CC all messages relayed through postfix

2010-12-13 Thread Jerrale G
How would you store a CC of all mailings relayed through postfix, sent by our users. We have plenty of logs but they dont tell us if someone sends spam and how much, so that we may reprimand the user early before ending up on spam lists. We could even use other third party software to track