Groups | Search | Server Info | Login | Register


Groups > alt.os.linux.slackware > #35522

Re: postfix not sending mail in the queue

From Jim Diamond <zsd@jdvb.ca>
Newsgroups alt.os.linux.slackware
Subject Re: postfix not sending mail in the queue
Date 2025-12-28 23:10 -0400
Organization A noiseless patient Spider
Message-ID <slrn10l3s9h.ei4.zsd@x360.localdomain> (permalink)
References (3 earlier) <6949c24d$1@news.ausics.net> <slrn10kp0c3.3tn.zsd@x360.localdomain> <694def34$1@news.ausics.net> <slrn10l054d.1sc.zsd@x360.localdomain> <10iqele$11jl$1@dont-email.me>

Show all headers | View raw


On 2025-12-28 at 01:19 AST, Rich <rich@example.invalid> wrote:
> Jim <zsd@jdvb.ca> wrote:
>> On 2025-12-25 at 22:13 AST, noel <deletethis@invalid.lan> wrote:
>>> On Wed, 24 Dec 2025 20:12:49 -0400, Jim Diamond wrote:
>>>
>>>
>>>> 
>>>> Once the network was back, I tried running the queue:
>>>> 
>>>> ------------------
>>>> Dec 16 15:06:17 x360 postfix/postqueue[2613]: name_mask: ipv4 Dec 16
>>>> 15:06:17 x360 postfix/postqueue[2613]: inet_addr_local: configured 2
>>>> IPv4 addresses Dec 16 15:06:17 x360 postfix/qmgr[3285]: AA6B21E0B4C:
>>>> from=<MY_ADDR>, size=2073, nrcpt=1 (queue active)
>>>> Dec 16 15:06:17 x360 postfix/smtp[2479]: AA6B21E0B4C:
>>>> to=<ntg-context@ntg.nl>, relay=none, delay=19, delays=19/0/0/0,
>>>> dsn=4.4.3, status=deferred (Host or domain name not found. Name service
>>>> error for name=MY_SMTP_SERVER type=A: Host not found, try again)
>>>> ------------------
>>>> 
>>>>
>>>> 
>>>> I don't know if the above bits from maillog tell you anything, aside
>>>> from seeing that it was continuing to insist that it couldn't look up my
>>>> SMTP server.  If you have some extra insight there, I'm all ears.
>>>> 
>>>> Cheers.
>>>>                                 Jim
>>>
>>> Jim, 
>>>
>>> This tells me everything, the DNS failures carry through!
>>>
>>> run exactly this:  postsuper -r ALL
>>>
>>> This *should* do fresh DNS requests and send every message in your queue 
>>> if you are online
>> 
>> Noel,
>> 
>> thanks for the suggestion, I was unfamiliar with that command.  I will give
>> it a try next time I have this issue.
>> 
>> When you say "the DNS failures carry through!", are saying that postfix,
>> rather than trying a new DNS lookup for an email in the queue, doesn't
>> bother trying again and doubles down on its "DNS failure" thought?
>> 
>> If so, does that sound like a bug to you?  It sounds like a bug to me, but
>> maybe there is some other issue in play which causes that behaviour to be
>> what is desired.

> What is the setting for "address_verify_negative_cache" in your postfix 
> configuration?

address_verify_negative_cache = yes

> Also, you may want to take a look at the "dialup configuration" 
> settings in the Postfix docs: 
>
> https://www.postfix.org/STANDARD_CONFIGURATION_README.html#dialup
>
> While I don't recall you indicating 'why' you have intermittent network 
> connectivity,

Good question.  It is just the rare weird situation, like shutting the lid
on my laptop injudiciously quickly after sending an email, and I am able to
do that before (apparently) the DNS lookup happens.  On wakeup, postfix
immediately gets back on the job, whereas the wifi takes a couple of
seconds to connect, so the DNS lookup doesn't happen.

> a system using "dialup" is also a system with 'intermittent network
> connectivity'.  So some settings for dialup may be appropriate for your
> usecase as well.

Thanks for the pointer.  I'll take a look at that tomorrow.  (I still think
postfix should just get on with the job of sending the mail in the queue,
but if I need to apply work-arounds, I guess that is what I will need to do.)

                                Jim

Back to alt.os.linux.slackware | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

postfix not sending mail in the queue Jim <zsd@jdvb.ca> - 2025-12-16 15:20 -0400
  Re: postfix not sending mail in the queue Rich <rich@example.invalid> - 2025-12-16 23:06 +0000
    Re: postfix not sending mail in the queue Jim Diamond <zsd@jdvb.ca> - 2025-12-22 17:32 -0400
  Re: postfix not sending mail in the queue noel <deletethis@invalid.lan> - 2025-12-17 18:33 +1000
    Re: postfix not sending mail in the queue Jim Diamond <zsd@jdvb.ca> - 2025-12-22 17:34 -0400
      Re: postfix not sending mail in the queue noel <deletethis@invalid.lan> - 2025-12-23 08:12 +1000
        Re: postfix not sending mail in the queue Jim Diamond <zsd@jdvb.ca> - 2025-12-24 20:12 -0400
          Re: postfix not sending mail in the queue Rich <rich@example.invalid> - 2025-12-25 04:25 +0000
            Re: postfix not sending mail in the queue Jim Diamond <zsd@jdvb.ca> - 2025-12-25 11:52 -0400
          Re: postfix not sending mail in the queue Sylvain Robitaille <syl@therockgarden.ca> - 2025-12-25 23:37 +0000
            Re: postfix not sending mail in the queue Sam <sam@email-scan.com> - 2025-12-25 20:34 -0500
              Re: postfix not sending mail in the queue Jim Diamond <zsd@jdvb.ca> - 2025-12-27 13:11 -0400
                Re: postfix not sending mail in the queue Sam <sam@email-scan.com> - 2025-12-28 07:57 -0500
                Re: postfix not sending mail in the queue Jim Diamond <zsd@jdvb.ca> - 2025-12-29 20:32 -0400
                Re: postfix not sending mail in the queue Sam <sam@email-scan.com> - 2025-12-31 08:17 -0500
                Re: postfix not sending mail in the queue jayjwa <jayjwa@atr2.ath.cx.invalid> - 2025-12-31 13:03 -0500
                Re: postfix not sending mail in the queue Jim Diamond <zsd@jdvb.ca> - 2025-12-31 16:14 -0400
                Re: postfix not sending mail in the queue Jim Diamond <zsd@jdvb.ca> - 2025-12-31 16:36 -0400
                Re: postfix not sending mail in the queue noel <deletethis@invalid.lan> - 2026-01-01 23:00 +1000
                Re: postfix not sending mail in the queue Jim Diamond <zsd@jdvb.ca> - 2026-01-02 12:05 -0400
                Re: postfix not sending mail in the queue Sam <sam@email-scan.com> - 2026-01-02 19:37 -0500
                Re: postfix not sending mail in the queue Rich <rich@example.invalid> - 2026-01-01 15:46 +0000
                Re: postfix not sending mail in the queue Jim Diamond <zsd@jdvb.ca> - 2026-01-02 17:35 -0400
            Re: postfix not sending mail in the queue Jim Diamond <zsd@jdvb.ca> - 2025-12-27 13:04 -0400
          Re: postfix not sending mail in the queue noel <deletethis@invalid.lan> - 2025-12-26 12:13 +1000
            Re: postfix not sending mail in the queue Jim <zsd@jdvb.ca> - 2025-12-27 13:17 -0400
              Re: postfix not sending mail in the queue Rich <rich@example.invalid> - 2025-12-28 05:19 +0000
                Re: postfix not sending mail in the queue Jim Diamond <zsd@jdvb.ca> - 2025-12-28 23:10 -0400
                Re: postfix not sending mail in the queue Rich <rich@example.invalid> - 2025-12-29 18:06 +0000
                Re: postfix not sending mail in the queue Jim Diamond <zsd@jdvb.ca> - 2025-12-29 20:34 -0400
                Re: postfix not sending mail in the queue noel <deletethis@invalid.lan> - 2025-12-30 10:53 +1000
  Re: postfix not sending mail in the queue jayjwa <jayjwa@atr2.ath.cx.invalid> - 2025-12-17 11:22 -0500
    Re: postfix not sending mail in the queue noel <deletethis@invalid.lan> - 2025-12-18 14:11 +1000
      Re: postfix not sending mail in the queue Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2025-12-18 06:32 +0000
        Re: postfix not sending mail in the queue Marco Moock <mm@dorfdsl.de> - 2025-12-18 16:32 +0100
          Re: postfix not sending mail in the queue Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2025-12-19 18:46 +0000
        Re: postfix not sending mail in the queue noel <deletethis@invalid.lan> - 2025-12-19 12:29 +1000
    Re: postfix not sending mail in the queue Jim Diamond <zsd@jdvb.ca> - 2025-12-22 17:42 -0400
      Re: postfix not sending mail in the queue Sylvain Robitaille <syl@therockgarden.ca> - 2025-12-24 22:34 +0000
        Re: postfix not sending mail in the queue Jim Diamond <zsd@jdvb.ca> - 2025-12-24 20:14 -0400
  Re: postfix not sending mail in the queue Joseph Rosevear <Mail@JoesLife.org> - 2025-12-19 07:54 +0000
    Re: postfix not sending mail in the queue Jim Diamond <zsd@jdvb.ca> - 2025-12-22 18:03 -0400

csiph-web