Is it possibl to map sender only in generic table?

2017-08-21 Thread Jiang Wen Dong
I have configed SASL client authentication with Exchange 2010. I want map sender only, not recipient, in generic table. Is it possible? Thanks. ???

Simple mailing list: Possible for multiple domains?

2017-08-21 Thread Tom Browder
My postfix will accept mail for multiple domains. Is it possible to have one or more "simple mailing list"s for each domain? For example: Incoming mail for for "need...@foo.com" and "need...@bar.com" are sent to separate subscriber lists. Thanks. Best regards, -Tom

Re: Simple mailing list: Possible for multiple domains?

2017-08-21 Thread Rick van Rein
Hi Tom, > For example: Incoming mail for for "need...@foo.com > " and "need...@bar.com > " are sent to separate subscriber lists. That will work if you create the lists in the virtual map. You probably should have an SRS setup to get through properly. -Rick

Re: Simple mailing list: Possible for multiple domains?

2017-08-21 Thread Tom Browder
On Mon, Aug 21, 2017 at 05:22 Rick van Rein wrote: > Hi Tom, > > > For example: Incoming mail for for "need...@foo.com > > " and "need...@bar.com > > " are sent to separate subscriber lists. > > That will work if you create the lists in the virtual map. > > You probably should have an SRS setup

Re: Simple mailing list: Possible for multiple domains?

2017-08-21 Thread Rick van Rein
Hi Tom, > So please excuse my ignorance, but what is "SRS?" What you are doing constitutes as forwarding, and that means that SPF validation results are invalidated. To your rescue, you won't be changing any of the headers customarily signed with DKIM, so you'll probably get through DMARC valida

Re: Simple mailing list: Possible for multiple domains?

2017-08-21 Thread Wietse Venema
Tom Browder: > My postfix will accept mail for multiple domains. Is it possible to have > one or more "simple mailing list"s for each domain? > > For example: Incoming mail for for "need...@foo.com" and "need...@bar.com" > are sent to separate subscriber lists. Use mailman. It sets the envelope

Re: Simple mailing list: Possible for multiple domains?

2017-08-21 Thread Benny Pedersen
Rick van Rein skrev den 2017-08-21 13:53: So please excuse my ignorance, but what is "SRS?" What you are doing constitutes as forwarding, and that means that SPF validation results are invalidated. srs is not needed with postfix, if it was check postfix headers on maillists posts, if srs is

Re: Simple mailing list: Possible for multiple domains?

2017-08-21 Thread Benny Pedersen
wie...@porcupine.org skrev den 2017-08-21 14:05: Use mailman. It sets the envelope sender, meaning that there is no need for SRS, and presumably supports From: header munging, to work around DMARC damage. what damage ?, atleast its not needed on postfix maillist

Re: Simple mailing list: Possible for multiple domains?

2017-08-21 Thread Kevin A. McGrail
On 8/21/2017 8:30 AM, Benny Pedersen wrote: wie...@porcupine.org skrev den 2017-08-21 14:05: Use mailman. It sets the envelope sender, meaning that there is no need for SRS, and presumably supports From: header munging, to work around DMARC damage. what damage ?, atleast its not needed on pos

Can not find virtual alias with postmap

2017-08-21 Thread Julian Kippels
Hi, I have a problem with my virtual alias map. The file looks like this: ... admin-...@cs.uni-duesselorf.de admin-...@uni-duesseldorf.de admin-...@cs.hhu.de admin-...@uni-duesseldorf.de ... When I build the db file with "postmap virtual_alias" and then query with "postmap -q virtual_alias", I

Re: Simple mailing list: Possible for multiple domains?

2017-08-21 Thread Rick van Rein
Oh, > srs is not needed with postfix, They are unrelated. However: my remark of needing SRS does assume that he's forwarding for others than his own domains. I agree with Wietse that MailMan solves the same poblem (VERP is similar to SRS, it uses a MAIL FROM: with the local domain) but Tom indi

Re: Can not find virtual alias with postmap

2017-08-21 Thread Viktor Dukhovni
> On Aug 21, 2017, at 8:44 AM, Julian Kippels wrote: > > I have a problem with my virtual alias map. The file looks like this: > > ... > admin-...@cs.uni-duesselorf.de admin-...@uni-duesseldorf.de > admin-...@cs.hhu.de admin-...@uni-duesseldorf.de > ... > > When I build the db file with "postm

Re: Is it possibl to map sender only in generic table?

2017-08-21 Thread Viktor Dukhovni
> On Aug 21, 2017, at 3:56 AM, Jiang Wen Dong wrote: > > I have configed SASL client authentication with Exchange 2010. > I want map sender only, not recipient, in generic table. > Is it possible? Not in smtp_generic_maps, but you should explain your requirements in more detail. Focus on what

Re: Can not find virtual alias with postmap

2017-08-21 Thread Julian Kippels
Am Mon, 21 Aug 2017 09:17:03 -0400 schrieb Viktor Dukhovni : > > On Aug 21, 2017, at 8:44 AM, Julian Kippels wrote: > > > > I have a problem with my virtual alias map. The file looks like > > this: > > > > ... > > admin-...@cs.uni-duesselorf.de admin-...@uni-duesseldorf.de > > admin-...@cs.hhu.

Re: Simple mailing list: Possible for multiple domains?

2017-08-21 Thread Viktor Dukhovni
> On Aug 21, 2017, at 6:06 AM, Tom Browder wrote: > > My postfix will accept mail for multiple domains. Is it possible to have one > or more "simple mailing list"s for each domain? > > For example: Incoming mail for for "need...@foo.com" and "need...@bar.com" > are sent to separate subscribe

Re: Simple mailing list: Possible for multiple domains?

2017-08-21 Thread Benny Pedersen
Kevin A. McGrail skrev den 2017-08-21 14:36: These notes from when we used MD to make a workaround for this issue before Mailman also implemented workarounds might help: mailman breaks dkim, its not yahoo's fault # BLOCK IF FROM YAHOO (AND OTHERS) BECAUSE THEY SET DMARC TOO STRICTLY thats

Re: Simple mailing list: Possible for multiple domains?

2017-08-21 Thread Tom Browder
On Mon, Aug 21, 2017 at 07:50 Rick van Rein wrote: > > srs is not needed with postfix, > > They are unrelated. However: my remark of needing SRS does assume that > he's forwarding for others than his own domains. > > I agree with Wietse that MailMan solves the same poblem (VERP is similar > to S

Re: Simple mailing list: Possible for multiple domains?

2017-08-21 Thread Rick van Rein
Hi, > mailman breaks dkim, its not yahoo's fault I've been arms-wrestling a group mail service with just that type of problem today! and found an easy way out: I found that DKIM signature correctness was retained when the sender included [listname] in the Subject: on their initial message, to av

Re: Simple mailing list: Possible for multiple domains?

2017-08-21 Thread Kevin A. McGrail
Benny, I wrote those notes years ago when Yahoo! surprise a lot of people with the enforcement of DMARC with little consideration for mailing lists. http://dmarc.org/faq.html#s_3 is the key point. IMO, some providers acted rashly and broke a lot of things but the end it likely is better for

Re: Is it possibl to map sender only in generic table?

2017-08-21 Thread Jiang Wen Dong
Finally ,I found generic table does not work, but canonical table works fine: local_header_rewrite_clients = static:all### This config is important. I should have be patient to read about Postfix address rewriting. sender_canonical_maps = regexp:/etc/postfix/canonical_sender 发件人: owner-postf

Re: Simple mailing list: Possible for multiple domains?

2017-08-21 Thread Tom Browder
On Mon, Aug 21, 2017 at 09:13 Rick van Rein wrote: > Hi ... > @Tom, to get back to your original question, a plain & simple mailing > list is a bed of nails... even when you do it really nicely, perhaps > even still when you canonicalise remote users to local addresses as in Okay, Rick, I thi

Re: Is it possibl to map sender only in generic table?

2017-08-21 Thread Viktor Dukhovni
On Mon, Aug 21, 2017 at 03:00:15PM +, Jiang Wen Dong wrote: > > Finally ,I found generic table does not work, but canonical table works fine: > local_header_rewrite_clients = static:all### This config is important. > I should have be patient to read about Postfix address rewriting. > sender

Re: How to change Postfix config dir without recompilation

2017-08-21 Thread Boris Rybalkin
As I said it is a package for users to install and use through the UI and not for sys admins play with the shell :) I must say dovecot looks like does not even provide a way to change prefix at runtime. I have build an isolated Syncloud package (with few paths hard-coded) so it is not relocatable

no response from postfix on submission port (or 465)

2017-08-21 Thread Alef Veld
It's open, but i just don't get any welcome message. [ec2-user@www postfix]$ telnet localhost 587 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. ehlo www.example.com maillog: Aug 21 22:29:01 www postfix/smtpd[26978]: initializing the server-side TL

Re: How to change Postfix config dir without recompilation

2017-08-21 Thread Viktor Dukhovni
On Mon, Aug 21, 2017 at 10:52:25PM +0100, Boris Rybalkin wrote: > As I said it is a package for users to install and use through the UI > and not for sys admins play with the shell :) Whether administration is through a Web interface, or interactive, Postfix is still a very much a system componte

Re: no response from postfix on submission port (or 465)

2017-08-21 Thread Noel Jones
On 8/21/2017 5:44 PM, Alef Veld wrote: > It's open, but i just don't get any welcome message. > > |[ec2-user@www postfix]$ telnet localhost 587 Trying 127.0.0.1... > Connected to localhost. Escape character is '^]'. ehlo > www.example.com | > > maillog: > > |Aug 21 22:29

Re: Re: Is it possibl to map sender only in generic table?

2017-08-21 Thread JWD
Thanks a lot, it's very useful. From: Viktor Dukhovni Date: 2017-08-22 01:05 To: postfix-users Subject: Re: Is it possibl to map sender only in generic table? On Mon, Aug 21, 2017 at 03:00:15PM +, Jiang Wen Dong wrote: > > Finally ,I found generic table does not work, but canonical table works

Re: no response from postfix on submission port (or 465)

2017-08-21 Thread Peter
On 22/08/17 10:44, Alef Veld wrote: > It's open, but i just don't get any welcome message. Do not set smtpd_tls_wrappermode for port 587. > Usually switching to non secure and then back to SSL fixes it. You'll be switching to SSL (as opposed to STARTTLS). The appropriate setting for port 587