Hello Peter, welcome.

Peter Bieringer wrote in
 <[email protected]>:
 |during migration and testing an e-mail system coming from Enterprise 
 |Linux 8 to 9 it turned out that EL9 has no longer "mailx" but "s-nail" 
 |packaged.
 |
 |And the behavior regarding verp delimiter "+" support is different, 
 |"s-nail" is missing it.

It is not valid alias content.

 |EL8:
 |
 |$ rpm -qf $(which mail)
 |mailx-12.5-29.el8.x86_64
 |
 |$ echo "Test" | mail -s "Test" account+sub
 |
 |=> delivery is working
 |
 |EL9:
 |
 |$ rpm -qf $(which mail)
 |s-nail-14.9.22-6.el9.x86_64

They should update this for enterprise, many bugs fixed on the way
to v14.9.24.

 |$ echo "Test" | mail -s "Test" account+sub
 |s-nail: account+sub is an invalid alias name
 |s-nail: No recipients specified
 |/root/dead.letter 3/41
 |s-nail: ... message not sent
 |
 |=> not able to send to such recipient
 |
 |Any hints how to test with "s-nail" recipients containing verp delimiter 
 |"+"?

Specifying a full address should help you out.

  #?4|kent:nail.git$ </dev/null s-nail -:/ -Smta=test -s test ali+no@localhost
  From steffen Sat Jan  6 22:24:31 2024
  Date: Sat, 06 Jan 2024 22:24:31 +0100
  To: ali+no@localhost
  Subject: test
  User-Agent: s-nail v14.9.24-585-g9999e323b6

I think we are correct here as aliases are local names.
We already support lots of extensions, including any high-bit-set
byte after UTF-8 request from Norman Ramsey

      /* User names, plus things explicitly mentioned in Postfix aliases(5).
       * Plus extensions.     On change adjust *mta-aliases* and impl., too */
      /* TODO alias_is_valid_name(): locale dependent validity check,
       * TODO with Unicode prefix valid UTF-8! */
      if(!su_cs_is_alnum(c) && c != '_'){
              if(cp == name ||
                              (c != '-' &&
                              /* Extensions, but mentioned by Postfix */
                              c != '#' && c != ':' && c != '@' &&
                              /* Extensions */
                              c != '!' && c != '.' && !(S(u8,c) & 0x80) &&
                              !(c == '$' && cp[1] == '\0'))){
                            rv = FAL0;

Interesting that you try to test a verp delimiter address.
Currently thinking on the implications on adding + to the list of
extensions.

Have a nice Sunday!

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

Reply via email to