Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Base 8 is just like base 10, if you are missing two fingers. -- Tom Lehrer


computers / comp.mail.sendmail / Re: defer, not DSN when "host not found" - how?

SubjectAuthor
* defer, not DSN when "host not found" - how?Kamil Jońca
+- Re: defer, not DSN when "host not found" - how?Marco Moock
+* Re: defer, not DSN when "host not found" - how?Andrzej Adam Filip
|`* Re: defer, not DSN when "host not found" - how?Kamil Jońca
| +- Re: defer, not DSN when "host not found" - how?J.O. Aho
| `- Re: defer, not DSN when "host not found" - how?Marco Moock
`* Re: defer, not DSN when "host not found" - how?Claus Aßmann
 `* Re: defer, not DSN when "host not found" - how?Kamil Jońca
  `* Re: defer, not DSN when "host not found" - how?Claus Aßmann
   `- Re: defer, not DSN when "host not found" - how?Kamil Jońca

1
defer, not DSN when "host not found" - how?

<87zga5y47q.fsf@alfa.kjonca>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=664&group=comp.mail.sendmail#664

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!news.uzoreto.com!npeer.as286.net!npeer-ng0.as286.net!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!unt-spo-b-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
From: kjo...@poczta.onet.pl (Kamil Jońca)
Newsgroups: comp.mail.sendmail
Subject: defer, not DSN when "host not found" - how?
Date: Thu, 26 Jan 2023 11:34:17 +0100
Message-ID: <87zga5y47q.fsf@alfa.kjonca>
MIME-Version: 1.0
Content-Type: text/plain
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:SqKwZetzaedFtmQJJXsUFsuQHms=
Lines: 28
Organization: Telekomunikacja Polska
NNTP-Posting-Host: 178.235.54.8
X-Trace: 1674729602 unt-rea-a-02.news.neostrada.pl 19610 178.235.54.8:50266
X-Complaints-To: abuse@news.neostrada.pl
X-Received-Bytes: 1795
 by: Kamil Jońca - Thu, 26 Jan 2023 10:34 UTC

I am rather new to sendmail so please forgive vague question.

There is computer.
This computer sometimes is connected via vpn to work network.
When computer is connected to work network it can resolves hosts in
internal domain (say "*.kjonca")
But when is not connected via vpn to work network this domain is not
resolvable, i.e. alfa.kjonca return NXDOMAIN.
Sometimes this laptop has to send mails to other host, and here is a
problem.
When is disconnected from vpn I immediately got

--8<---------------cut here---------------start------------->8---
30N7Ip4W023613: DSN: Host unknown (Name server: alfa.kjonca: host not found)
--8<---------------cut here---------------end--------------->8---

is it possible to configure sendmail to defer mails when vpn is off, and
send them when vpn goes up?
I tried to search, and found some pages, but TBH they are rather not
understandable to me.

Any hint? Point to doc?

KJ

--
http://wolnelektury.pl/wesprzyj/teraz/

Re: defer, not DSN when "host not found" - how?

<tqtm31$13du4$11@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=665&group=comp.mail.sendmail#665

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: mo0...@posteo.de (Marco Moock)
Newsgroups: comp.mail.sendmail
Subject: Re: defer, not DSN when "host not found" - how?
Date: Thu, 26 Jan 2023 11:53:21 +0100
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <tqtm31$13du4$11@dont-email.me>
References: <87zga5y47q.fsf@alfa.kjonca>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Date: Thu, 26 Jan 2023 10:53:21 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="0bab8ec3f41982fc7c0d2b158f98fb29";
logging-data="1161156"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19jsMn0ylwFCsrsSbRAkw6o"
Cancel-Lock: sha1:WIbTXme2HmIR50YtmnK85g38YJ0=
 by: Marco Moock - Thu, 26 Jan 2023 10:53 UTC

Am 26.01.2023 schrieb Kamil Jońca <kjonca@poczta.onet.pl>:

> is it possible to configure sendmail to defer mails when vpn is off,
> and send them when vpn goes up?

You could configure the queue running, so the queue (maybe use a
specific queue for that messages) only runs when VPN is up.

Re: defer, not DSN when "host not found" - how?

<anfi+hgoxd78ghf-n1q4@wp.eu>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=666&group=comp.mail.sendmail#666

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: anf...@onet.eu (Andrzej Adam Filip)
Newsgroups: comp.mail.sendmail
Subject: Re: defer, not DSN when "host not found" - how?
Date: Thu, 26 Jan 2023 13:15:56 +0100
Organization: It is for me to know and for you to find out.
Lines: 34
Message-ID: <anfi+hgoxd78ghf-n1q4@wp.eu>
References: <87zga5y47q.fsf@alfa.kjonca>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: reader01.eternal-september.org; posting-host="f5d2677ad480a8da98ecc20e8a66a51c";
logging-data="1254112"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19uze8lYsFU5PWxrToiDucT"
Cancel-Lock: sha1:3pkIUcuiHy0hKroVM/OXbbCgbrk=
sha1:tNiwxIyLh14qiUpKHbEHxx9Nzvw=
 by: Andrzej Adam Filip - Thu, 26 Jan 2023 12:15 UTC

Kamil Jońca <kjonca@poczta.onet.pl> wrote:
> I am rather new to sendmail so please forgive vague question.
>
> There is computer.
> This computer sometimes is connected via vpn to work network.
> When computer is connected to work network it can resolves hosts in
> internal domain (say "*.kjonca")
> But when is not connected via vpn to work network this domain is not
> resolvable, i.e. alfa.kjonca return NXDOMAIN.
> Sometimes this laptop has to send mails to other host, and here is a
> problem.
> When is disconnected from vpn I immediately got
>
> 30N7Ip4W023613: DSN: Host unknown (Name server: alfa.kjonca: host not found)
>
> is it possible to configure sendmail to defer mails when vpn is off, and
> send them when vpn goes up?
> I tried to search, and found some pages, but TBH they are rather not
> understandable to me.
>
> Any hint? Point to doc?

Which soft/server do you use as DNS resolver on the computer?
IMHO It is worth to _try_ fix DNS replies in initial fix attempts.
I suspect DNS resolver switching between "normal internet" and
"VPN internet" set of nameservers in /etc/resolv.conf

"resolvconf" package can even modify active local nameserver (bind)
configuration based on network interfaces active.
As I understand if you use static IP address local resolving nameserver
(bind) may use static configuration.

--
[Andrew] Andrzej A. Filip

Re: defer, not DSN when "host not found" - how?

<87v8ktxxoj.fsf@alfa.kjonca>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=667&group=comp.mail.sendmail#667

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!wsisiz.edu.pl!.POSTED.178235054008.warszawa.vectranet.pl!not-for-mail
From: kjo...@poczta.onet.pl (Kamil Jońca)
Newsgroups: comp.mail.sendmail
Subject: Re: defer, not DSN when "host not found" - how?
Date: Thu, 26 Jan 2023 13:55:24 +0100
Organization: http://www.wit.edu.pl
Message-ID: <87v8ktxxoj.fsf@alfa.kjonca>
References: <87zga5y47q.fsf@alfa.kjonca> <anfi+hgoxd78ghf-n1q4@wp.eu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: 8bit
Injection-Info: portraits.wsisiz.edu.pl; posting-host="178235054008.warszawa.vectranet.pl:178.235.54.8";
logging-data="1147192"; mail-complaints-to="abuse@wsisiz.edu.pl"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:0PNyTPZtz5GoOI1187/WQNoyr6Y=
X-Received-Bytes: 2497
 by: Kamil Jońca - Thu, 26 Jan 2023 12:55 UTC

Andrzej Adam Filip <anfi@onet.eu> writes:

> Kamil Jońca <kjonca@poczta.onet.pl> wrote:
>> I am rather new to sendmail so please forgive vague question.
>>
>> There is computer.
>> This computer sometimes is connected via vpn to work network.
>> When computer is connected to work network it can resolves hosts in
>> internal domain (say "*.kjonca")
>> But when is not connected via vpn to work network this domain is not
>> resolvable, i.e. alfa.kjonca return NXDOMAIN.
>> Sometimes this laptop has to send mails to other host, and here is a
>> problem.
>> When is disconnected from vpn I immediately got
>>
>> 30N7Ip4W023613: DSN: Host unknown (Name server: alfa.kjonca: host not found)
>>
>> is it possible to configure sendmail to defer mails when vpn is off, and
>> send them when vpn goes up?
>> I tried to search, and found some pages, but TBH they are rather not
>> understandable to me.
>>
>> Any hint? Point to doc?
>
> Which soft/server do you use as DNS resolver on the computer?
> IMHO It is worth to _try_ fix DNS replies in initial fix attempts.

I do not understand. IMO DNS behavior is correct - when no vpn, then no
"*.kjonca" domain.

> I suspect DNS resolver switching between "normal internet" and
> "VPN internet" set of nameservers in /etc/resolv.conf

DNS is provided by dnsmasq + bunch of scripts controlled by me.
I of course change them but, this is unintuitive for me.

I would expect that sendmail can deal with such problem.
KJ

--
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html

Re: defer, not DSN when "host not found" - how?

<k3fj21Fa5c1U1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=668&group=comp.mail.sendmail#668

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: use...@example.net (J.O. Aho)
Newsgroups: comp.mail.sendmail
Subject: Re: defer, not DSN when "host not found" - how?
Date: Thu, 26 Jan 2023 16:03:29 +0100
Lines: 17
Message-ID: <k3fj21Fa5c1U1@mid.individual.net>
References: <87zga5y47q.fsf@alfa.kjonca> <anfi+hgoxd78ghf-n1q4@wp.eu>
<87v8ktxxoj.fsf@alfa.kjonca>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net lKLZeogu4bxvm9JENpPqWg5TMdaakJzELKEIJ2l3PU/fkLWndt
Cancel-Lock: sha1:Cb+BuxdbbBxa17OzD8G4JHitptI=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Content-Language: en-US-large
In-Reply-To: <87v8ktxxoj.fsf@alfa.kjonca>
 by: J.O. Aho - Thu, 26 Jan 2023 15:03 UTC

On 26/01/2023 13:55, Kamil Jońca wrote:
> Andrzej Adam Filip <anfi@onet.eu> writes:

>> I suspect DNS resolver switching between "normal internet" and
>> "VPN internet" set of nameservers in /etc/resolv.conf
>
> DNS is provided by dnsmasq + bunch of scripts controlled by me.
> I of course change them but, this is unintuitive for me.
>
> I would expect that sendmail can deal with such problem.

You could always hard code it in hosts or in dnsmasq config, so you get
an ip no matter if you are on the vpn or not.

--

//Aho

Re: defer, not DSN when "host not found" - how?

<tqu5s2$181pu$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=669&group=comp.mail.sendmail#669

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: mo0...@posteo.de (Marco Moock)
Newsgroups: comp.mail.sendmail
Subject: Re: defer, not DSN when "host not found" - how?
Date: Thu, 26 Jan 2023 16:22:41 +0100
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <tqu5s2$181pu$1@dont-email.me>
References: <87zga5y47q.fsf@alfa.kjonca>
<anfi+hgoxd78ghf-n1q4@wp.eu>
<87v8ktxxoj.fsf@alfa.kjonca>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Date: Thu, 26 Jan 2023 15:22:42 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="0bab8ec3f41982fc7c0d2b158f98fb29";
logging-data="1312574"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX183wy23XtYGSpYd8SG+8KZ/"
Cancel-Lock: sha1:NtIKRVzcd5+vGvSbpBlUIPAE6S8=
 by: Marco Moock - Thu, 26 Jan 2023 15:22 UTC

Am 26.01.2023 schrieb Kamil Jońca <kjonca@poczta.onet.pl>:

> I would expect that sendmail can deal with such problem.

As I wrote, I assume this is possible with specific queue groups for
that domain. The sendmail 4th edition PDF has some chapters about it.

Re: defer, not DSN when "host not found" - how?

<tquf3c$2n7$1@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=670&group=comp.mail.sendmail#670

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.veps.esmtp.org!not-for-mail
From: INVALID_...@esmtp.org (Claus Aßmann)
Newsgroups: comp.mail.sendmail
Subject: Re: defer, not DSN when "host not found" - how?
Date: Thu, 26 Jan 2023 13:00:12 -0500 (EST)
Organization: MGT Consulting
Sender: <ml+sendmail(-no-copies-please)@esmtp.org>
Message-ID: <tquf3c$2n7$1@news.misty.com>
References: <87zga5y47q.fsf@alfa.kjonca>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 26 Jan 2023 18:00:12 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="veps.esmtp.org:155.138.203.148";
logging-data="2791"; mail-complaints-to="abuse@misty.com"
Mail-Copies-To: never
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: ca@x2.esmtp.org (Claus Assmann)
 by: Claus Aßmann - Thu, 26 Jan 2023 18:00 UTC

Kamil Joñca wrote:

> But when is not connected via vpn to work network this domain is not
> resolvable, i.e. alfa.kjonca return NXDOMAIN.

> 30N7Ip4W023613: DSN: Host unknown (Name server: alfa.kjonca: host not found)

What are you doing to trigger this errror?
Please provide all log entries for 30N7Ip4W023613

Does this happen when you are trying to send an e-mail to alfa.kjonca?
Or is alfa.kjonca the name of your server?

In the former case you could
define(`confDELIVERY_MODE', `q')
You might want to add
LOCAL_CONFIG
CPkjonca
to your mc file to indicate that this domain is valid.

--
Note: please read the netiquette before posting. I will almost never
reply to top-postings which include a full copy of the previous
article(s) at the end because it's annoying, shows that the poster
is too lazy to trim his article, and it's wasting the time of all readers.

Re: defer, not DSN when "host not found" - how?

<87r0vgxsnp.fsf@alfa.kjonca>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=671&group=comp.mail.sendmail#671

  copy link   Newsgroups: comp.mail.sendmail
From: kjo...@poczta.onet.pl (Kamil Jońca)
Newsgroups: comp.mail.sendmail
Subject: Re: defer, not DSN when "host not found" - how?
Date: Fri, 27 Jan 2023 09:56:10 +0100
Message-ID: <87r0vgxsnp.fsf@alfa.kjonca>
References: <87zga5y47q.fsf@alfa.kjonca> <tquf3c$2n7$1@news.misty.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:6URWODtvJSYa2tuDwILbW/x2bx4=
Organization: XSUsenet
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feed.abavia.com!abe005.abavia.com!abp002.abavia.com!reader.xsusenet.com!not-for-mail
Lines: 47
Injection-Date: Fri, 27 Jan 2023 09:56:48 +0100
Injection-Info: reader.xsusenet.com; mail-complaints-to="abuse@xsusenet.com"
X-Received-Bytes: 2821
 by: Kamil Jońca - Fri, 27 Jan 2023 08:56 UTC

Claus Aßmann
<INVALID_NO_CC_REMOVE_IF_YOU_DO_NOT_POST_ml+sendmail(-no-copies-please)@esmtp.org>
writes:

> Kamil Joñca wrote:
>
>> But when is not connected via vpn to work network this domain is not
>> resolvable, i.e. alfa.kjonca return NXDOMAIN.
>
>> 30N7Ip4W023613: DSN: Host unknown (Name server: alfa.kjonca: host not found)
>
> What are you doing to trigger this errror?

I tried to send mail to alfa.kjonca, while vpn was off, and domain
*.kjonca was not resolvable (I think).

> Please provide all log entries for 30N7Ip4W023613
>
--8<---------------cut here---------------start------------->8---
$grep 30N7Ip4W023613 /var/log/mail.log-20230125
2023-01-23T08:18:51.589454+01:00 uhla sm-mta[23613]: 30N7Ip4W023611: 30N7Ip4W023613: DSN: Host unknown (Name server: alfa.kjonca: host not found)
2023-01-23T08:18:51.593528+01:00 uhla sm-mta[23613]: 30N7Ip4W023613: to=kjonca@alfa.kjonca, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30000, relay=alfa.kjonca, dsn=5.1.2, stat=Host unknown (Name server: alfa.kjonca: host not found)
2023-01-23T08:18:51.593927+01:00 uhla sm-mta[23613]: 30N7Ip4W023613: 30N7Ip4X023613: return to sender: Host unknown (Name server: alfa.kjonca: host not found)
2023-01-23T08:18:51.599480+01:00 uhla sm-mta[23613]: 30N7Ip4W023613: Saved message in /var/lib/sendmail/dead.letter
--8<---------------cut here---------------end--------------->8---

> Does this happen when you are trying to send an e-mail to alfa.kjonca?
> Or is alfa.kjonca the name of your server?

uhla is local host which tried to send locally generated mail to kjonca.
>
> In the former case you could
> define(`confDELIVERY_MODE', `q')
> You might want to add
> LOCAL_CONFIG
> CPkjonca
> to your mc file to indicate that this domain is valid.

(probably I need to setup some test environment which can take
while)

KJ

--
http://wolnelektury.pl/wesprzyj/teraz/

Re: defer, not DSN when "host not found" - how?

<tr07o3$7os$1@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=672&group=comp.mail.sendmail#672

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.veps.esmtp.org!not-for-mail
From: INVALID_...@esmtp.org (Claus Aßmann)
Newsgroups: comp.mail.sendmail
Subject: Re: defer, not DSN when "host not found" - how?
Date: Fri, 27 Jan 2023 05:06:59 -0500 (EST)
Organization: MGT Consulting
Sender: <ml+sendmail(-no-copies-please)@esmtp.org>
Message-ID: <tr07o3$7os$1@news.misty.com>
References: <87zga5y47q.fsf@alfa.kjonca> <tquf3c$2n7$1@news.misty.com> <87r0vgxsnp.fsf@alfa.kjonca>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 27 Jan 2023 10:06:59 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="veps.esmtp.org:155.138.203.148";
logging-data="7964"; mail-complaints-to="abuse@misty.com"
Mail-Copies-To: never
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: ca@x2.esmtp.org (Claus Assmann)
 by: Claus Aßmann - Fri, 27 Jan 2023 10:06 UTC

Kamil Joñca wrote:

> > define(`confDELIVERY_MODE', `q')

Make that
define(`confDELIVERY_MODE', `d')

4.7. Delivery Mode

d defer delivery attempts (don't deliver)

Mode "d" is identical to mode "q" except
that it also prevents lookups in maps including the -D
flag from working during the initial queue phase; it
is intended for ``dial on demand'' sites where DNS
lookups might cost real money. Some simple error mes-
sages (e.g., host unknown during the SMTP protocol)
will be delayed using this mode.

> (probably I need to setup some test environment which can take

That's a good plan.

BTW: what do you want to happen with mails which are being
sent to other domains while your VPN is down?
With this kind of setup all mails wll be "deferred".

--
Note: please read the netiquette before posting. I will almost never
reply to top-postings which include a full copy of the previous
article(s) at the end because it's annoying, shows that the poster
is too lazy to trim his article, and it's wasting the time of all readers.

Re: defer, not DSN when "host not found" - how?

<87mt64xo1y.fsf@alfa.kjonca>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=673&group=comp.mail.sendmail#673

  copy link   Newsgroups: comp.mail.sendmail
From: kjo...@poczta.onet.pl (Kamil Jońca)
Newsgroups: comp.mail.sendmail
Subject: Re: defer, not DSN when "host not found" - how?
Date: Fri, 27 Jan 2023 11:35:37 +0100
Message-ID: <87mt64xo1y.fsf@alfa.kjonca>
References: <87zga5y47q.fsf@alfa.kjonca> <tquf3c$2n7$1@news.misty.com>
<87r0vgxsnp.fsf@alfa.kjonca> <tr07o3$7os$1@news.misty.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:m/MRagM4c7H7ISj7vuULVxcnZ0w=
Organization: XSUsenet
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feed.abavia.com!abe005.abavia.com!abp002.abavia.com!reader.xsusenet.com!not-for-mail
Lines: 39
Injection-Date: Fri, 27 Jan 2023 11:36:23 +0100
Injection-Info: reader.xsusenet.com; mail-complaints-to="abuse@xsusenet.com"
X-Received-Bytes: 2063
 by: Kamil Jońca - Fri, 27 Jan 2023 10:35 UTC

Claus Aßmann
<INVALID_NO_CC_REMOVE_IF_YOU_DO_NOT_POST_ml+sendmail(-no-copies-please)@esmtp.org>
writes:

> Kamil Joñca wrote:
>
>> > define(`confDELIVERY_MODE', `q')
>
> Make that
> define(`confDELIVERY_MODE', `d')
>
> 4.7. Delivery Mode
>
> d defer delivery attempts (don't deliver)
>
> Mode "d" is identical to mode "q" except
> that it also prevents lookups in maps including the -D
> flag from working during the initial queue phase; it
> is intended for ``dial on demand'' sites where DNS
> lookups might cost real money. Some simple error mes-
> sages (e.g., host unknown during the SMTP protocol)
> will be delayed using this mode.
>
>> (probably I need to setup some test environment which can take
>
> That's a good plan.
>
> BTW: what do you want to happen with mails which are being
> sent to other domains while your VPN is down?
> With this kind of setup all mails wll be "deferred".

Thats ok for me, as I do not plan send emails to others domains from
this host. :)

KJ

--
http://wolnelektury.pl/wesprzyj/teraz/

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor