GithubHelp home page GithubHelp logo

Comments (2)

poolpOrg avatar poolpOrg commented on July 3, 2024

This is a bug indeed and I have just written a fix that I'll commit as soon as eric@ and chl@ get a chance to review it, most likely this week-end.

OpenSMTPD, like most users nowadays, assume emails to be case-insensitive so that [email protected] and [email protected] will ultimately reach the same user.

Early in the design, I decided that it would NOT support case-sensitive handling because it could always lead to many unfixable issues (ie: useradd GiLlEs; useradd gIlLeS; mail gilles@ -> who gets it ?; there are other issues too during aliases expansion where you could have ambiguity appear all of a sudden while initially you would know who to deliver to).

Therefore OpenSMTPD internally always assumes the final account to be all lowercase which removes any kind of ambiguity. What you experienced was a bug caused by the lowercase() function being used at the wrong place and possibly missing cases, whereas I've just moved it at the session level where all email addresses necessarily pass.

from opensmtpd.

poolpOrg avatar poolpOrg commented on July 3, 2024

We discussed the former fix @clongeau and @ericfaurot it was incorrect as we are not allowed to modify the user part when relaying.

I have come up with another fix which only affects local deliveries and which is also plugged in a place where we can't miss any case. It has just been committed to OpenBSD and should be synced to Github in a few minutes.

Thanks for your bug report ;-)

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.