Re: [S-mailx] s-nail misses verp delimiter "+" support?
Hello Peter, Peter Bieringer wrote in : |Am 06.01.24 um 22:41 schrieb Steffen Nurpmeso: |> Peter Bieringer wrote in |> : |>|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. | |Thank you for your hints, found at least a workaround: | |echo "Test" | mail -s "Test" account+sub@$HOSTNAME | |> Interesting that you try to test a verp delimiter address. | |It is a special construct for sharing one local mailbox user and having |special "sub" handling via maildrop's mailfilter like (excerpt): | |import LOCAL |import RECIPIENT |import SENDER |import EXTENSION | |log "INFO: LOCAL=$LOCAL RECIPIENT=$RECIPIENT SENDER=$SENDER | |FINALSENDER="postmaster@domain.example" | |if ( $EXTENSION eq "test" ) |{ | FINALRECEPIENT="user@otherdomain.example" |} | |if ( $FINALRECEPIENT ne "" ) |{ | log "ACT : forward FROM=$FINALSENDER TO=$FINALRECEPIENT" | xfilter "reformail" | /^.*/ | to "| $SENDMAIL -f $FINALSENDER $FINALRECEPIENT" |} ..no idea, but it is ok.. Ciao, Peter. --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)
Re: [S-mailx] s-nail misses verp delimiter "+" support?
Am 06.01.24 um 22:41 schrieb Steffen Nurpmeso: Hello Peter, welcome. Peter Bieringer wrote in : |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. Thank you for your hints, found at least a workaround: echo "Test" | mail -s "Test" account+sub@$HOSTNAME Interesting that you try to test a verp delimiter address. It is a special construct for sharing one local mailbox user and having special "sub" handling via maildrop's mailfilter like (excerpt): import LOCAL import RECIPIENT import SENDER import EXTENSION log "INFO: LOCAL=$LOCAL RECIPIENT=$RECIPIENT SENDER=$SENDER FINALSENDER="postmaster@domain.example" if ( $EXTENSION eq "test" ) { FINALRECEPIENT="user@otherdomain.example" } if ( $FINALRECEPIENT ne "" ) { log "ACT : forward FROM=$FINALSENDER TO=$FINALRECEPIENT" xfilter "reformail" /^.*/ to "| $SENDMAIL -f $FINALSENDER $FINALRECEPIENT" } Regards, Peter
Re: [S-mailx] s-nail misses verp delimiter "+" support?
Hello Peter, welcome. Peter Bieringer wrote in : |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$
[S-mailx] s-nail misses verp delimiter "+" support?
Hi, 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. 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 $ 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 "+"? Regards, Peter