Hi, I don’t know if you can help me but I have a small question about
s-nail, before on Redhat 7.9 we used the mailx command.
/usr/bin/mailx -v -S smtp=”${server}” -S ttycharset=utf-8 -S
smtp-use-starttls -S nss-config-dir=/etc/pki/nssdb/ -S smtp-auth=login -S
smtp-auth-user=”${exp}” -S smtp-auth-password=”${pwd}” -r “${exp}” -s
“${suject}” -c “${LISTCC}” “${TO}”
< mail.txt 1> mail.log 2>& 1
The string ${LISTCC} was containing mail1,mail2 and the string ${TO} was
containing mail3,mail4
With s-nail (Redhat 9.4) we changed the command to separate the string
${TO} with space instead of ,
/usr/bin/mailx -v -S smtp=”${server}” -S ttycharset=utf-8 -S
smtp-use-starttls -S nss-config-dir=/etc/pki/nssdb/ -S smtp-auth=login -S
smtp-auth-user=”${exp}” -S smtp-auth-password=”${pwd}” -r “${exp}” -s
“${suject}” -c “${LISTCC}” mail3 mail4
< mail.txt 1> mail.log 2>& 1
But what can we do for the string ${LISTCC}, we tested -c mail1 -c mail2 =>
result not sending mail to mail1 and mail2.
Thank you for helping me.
Regards
*Erik WEBER*
*Consultant*
[email protected]
Mob. +33 (0)6 08 26 09 48
www.tsi-consulting.fr
*Agence : *
10 avenue Léonard de Vinci
37270 Montlouis sur Loire
France
*Siège social :*
119 Avenue George Sand
37700 La Ville aux Dames
France