Re: Postfix stops accepting connections when primary dns is down.

2020-09-18 Thread Viktor Dukhovni
On Fri, Sep 18, 2020 at 07:33:24PM -0700, listserv.traf...@sloop.net wrote: > I've got a postfix box. It's accepting external mail fine. [And has been for > some time.] > It's pointed at a couple of caching name-servers in the local network. > Lets call them NS1 NS2. > NS1 is primary and NS2 is s

Postfix stops accepting connections when primary dns is down.

2020-09-18 Thread listserv . traffic
I'm kind of baffled. It's probably some really stupid issue that I'm going to hang my head in shame over, but I really can't wrap my head around it. I've got a postfix box. It's accepting external mail fine. [And has been for some time.] It's pointed at a couple of caching name-servers in the lo

Re: smtp_sender_restrictions

2020-09-18 Thread Wietse Venema
Janis: > Hello, > > This is my first question to mailing list, so i hope i get this right. > > I think it is better to describe general architecture first and then > what i am trying to achieve. > > This Postfix instance is configured to use Dovecot SASL for LOGIN > function and permissions. T

Re: Send only configuration best practices?

2020-09-18 Thread Viktor Dukhovni
On Wed, Sep 16, 2020 at 04:39:12PM -0600, Bob Proulx wrote: > What's the best configuration for a web server that does not receive > mail but needs to send mail? Send via a smarthost relay. Use a valid envelope sender domain that will receive (and, as appropriate, take note of) bounces. Use a v

Re: smtp_sender_restrictions

2020-09-18 Thread Viktor Dukhovni
On Fri, Sep 18, 2020 at 07:01:26PM +0300, Janis wrote: > What I would like to achieve is to permit sender to set "mail from" the > same value as his SASL auth username or some specially allowed "alias > e-mail" addresses that are defined somewhere. For example, if user1 is > allowed to respond

Re: postfix and MX

2020-09-18 Thread Antonio Leding
It’s important to differentiate between personal and professional use. In the former, I agree email’s relevance & importance is diminishing largely due to social media and IM platforms. But in the latter case, email will be with us for quite a long while… - - - On 18 Sep 2020, at 10:04, @lb

Re: postfix and MX

2020-09-18 Thread @lbutlr
On 17 Sep 2020, at 19:24, Amari CH wrote: > Do you think if email will go to death in short future? No, but it’s importance is already far less than it used to be. My kids (early 18 and 23) rarely check their email (a couple of times a week, and only if they are expecting something important) a

Re: postfix and MX

2020-09-18 Thread @lbutlr
> On 17 Sep 2020, at 19:11, Viktor Dukhovni wrote: > >> On Sep 17, 2020, at 9:30 PM, @lbutlr wrote: >> >> This may have changed, but I doubt it. If you do not have MX records >> there are definitely mail servers out there that will not send mail >> to you. Exchange for one at least used to r

Re: Relay delivery rules based on sender email

2020-09-18 Thread Viktor Dukhovni
On Wed, Sep 16, 2020 at 02:56:47AM +, MichaelV wrote: > Can you please explain who to define delivery rules to relay messages > to two different  mail servers based on senders email format. > > relay rules to be configured: > > rule1 > anything going to *@mycompany.org relay to:  > mycompan

Re: Very selective relay

2020-09-18 Thread Viktor Dukhovni
On Fri, Sep 18, 2020 at 11:50:02AM +0200, Marek Kozlowski wrote: > I've been asked a very strange question. According to the best of my > knowledge there is no setting but maybe I'm wrong: > > Is it possible the define a very selective relay according to the > following pseudo code: > > /* a,

smtp_sender_restrictions

2020-09-18 Thread Janis
Hello, This is my first question to mailing list, so i hope i get this right. I think it is better to describe general architecture first and then what i am trying to achieve. This Postfix instance is configured to use Dovecot SASL for LOGIN function and permissions. That part works. SASL au

Re: Very selective relay

2020-09-18 Thread Wietse Venema
Marek Kozlowski: > :-) > I've been asked a very strange question. According to the best of my > knowledge there is no setting but maybe I'm wrong: > > Is it possible the define a very selective relay according to the > following pseudo code: > > /* a, b and c are set to some single values */ >

Very selective relay

2020-09-18 Thread Marek Kozlowski
:-) I've been asked a very strange question. According to the best of my knowledge there is no setting but maybe I'm wrong: Is it possible the define a very selective relay according to the following pseudo code: /* a, b and c are set to some single values */ if (client's_IP==a) if (MAIL