GithubHelp home page GithubHelp logo

Comments (3)

toddfries avatar toddfries commented on July 22, 2024

This will adjust the envelopes in the queue dir while smtpd is not looking as long as the above behavior persists. Use with care...

find /var/spool/smtpd/queue -type d -name envelopes | while read d; do find $d -type f | while read f; do grep -v "^expire:" $f > $f.tmp && { mv $f.tmp $f; echo "expire: $((3600_14_24))" >> $f; }; done; done

from opensmtpd.

poolpOrg avatar poolpOrg commented on July 22, 2024

We may need to better document this indeed because the decision was taken that smtpd.conf changes do not impact already queued envelopes as it is hard if not impossible to perform "smart" updates. An envelope in queue retains the same configuration as it had when it was accepted.

Expiry is different and could be handled correctly but then we'd have to document that some envelope fields are affected and others aren't.

I guess the proper fix is:

1- document better that behaviour to make sure it is well assimilated by admins;
2- extend smtpctl to allow updating some of the envelope fields

Then an admin can easily perform manual updates which can't be blamed on smtpd trying to be smart.
Want to give a try at fixing the man page at least for now ?

from opensmtpd.

ericfaurot avatar ericfaurot commented on July 22, 2024

wontfix

from opensmtpd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.