maybe a silly question but did you restart Postfix service? there might be some other configuration issues that we don't know about?

On 12/21/2017 12:26 PM, Stefan Bauer wrote:
Re: maximal_queue_lifetime has no effect on mails already queued - howto change?

postfix just drops (...) after issuing postsuper -r ALL:


Dec 21 21:24:51 mailserver postfix/postsuper[30232]: Requeued: 2 messages


Mails are still in queue. As you can see, the recipient address is invalid so i just want to purge them - but with a bounce message to the sender so he can resend it with correnct recipient.


Thank you!


Stefan


    -----Ursprüngliche Nachricht-----
    *Von:* Motty Cruz <motty.c...@gmail.com>
    *Gesendet:* Donnerstag 21 Dezember 2017 21:23
    *An:* Stefan Bauer <stefan.ba...@cubewerk.de>;
    postfix-users@postfix.org
    *Betreff:* Re: maximal_queue_lifetime has no effect on mails
    already queued - howto change?

    I'm not sure if I understand you questions correctly.

    have you try re-queue the email with the following command:
    postsuper -r ALL

    depending on your OS, I used FreeBSD it would usually be here:
    /var/spool/postfix/deferred/

    Thanks,
    Motty

    On 12/21/2017 12:06 PM, Stefan Bauer wrote:

        Dear Users,

        i changed maximal_queue_lifetime from 5d to 1h but mails
        already in queue are not affected by this change. How can i
        remove mails from the queue and send
        non-delivery-notifications to senders? i dont want to wait
        more days. my queue shows:

        root@mailserver:/home/cwadmin# mailq
        -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
        80D2C57F14D   214006 Mon Dec 18 11:46:31 s...@company.com
        <mailto:s...@company.com>
        (host smtp.provider.com[1.2.3.4] said: 450 4.1.2
        <recipi...@invalid-domain.com>
        <mailto:recipi...@invalid-domain.com>: Recipient address
        rejected: Domain not found (in reply to RCPT TO command))
        recipi...@invalid-domain.com <mailto:recipi...@invalid-domain.com>

        712DE57EAE2  22278420 Thu Dec 21 17:04:43 d...@company.com
        <mailto:d...@company.com>
        (host smtp.provider.com[1.2.3.4] said: 450 4.1.2
        <recipi...@invalid-domain.com>
        <mailto:recipi...@invalid-domain.com>: Recipient address
        rejected: Domain not found (in reply to RCPT TO command))
        recipi...@invalid-domain.com <mailto:recipi...@invalid-domain.com>

        thank you!

        Stefan

Reply via email to