Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Probleme Postfix et Sendmail

1 réponse
Avatar
tornade69
Bonjour a tous

J'ai effectuer le scrip suivant dans procmail :


:0
* ^TO_uneadresse@anciendomaine.fr
* ! ^FROM DAEMON
* ! ^X-Loop: uneadresse@anciendomaine.fr
(
:0 c
! adresseinternet@toto.com
:0 eh
| (formail -r
-A"X-Loop: catchall@toto.com"
-I"Subject: Changement d'adresse email" ;
echo "Cher redacteur," ;
echo "" ;
echo "Nous vous remercions pour votre email : " ;
echo "\"${SUBJ_}\"" ;
echo "" ;
echo "Notre adresse email a changer" ;
echo "ancienement : uneadresse@anciendomaine.fr" ;
echo "Nouvelle : catchall@toto.com" ;
echo "Votre email ne nous est pas parvenu, merci de le renvoyer."
)
| /usr/sbin/sendmail -oi -t
)



je n'ai pas d'erreur d'execurtion jusqu'a /usr/sbin/sendmail -oi -t
dans le fichier de log de procmail, j'ai l'erreur suivant (qui tourne
en boucle)

procmail: Executing "/usr/sbin/sendmail,-oi,adresseinternet@toto.com"
sendmail: warning: the Postfix sendmail command has set-uid root file
permissions
sendmail: warning: or the command is run from a set-uid root process
sendmail: warning: the Postfix sendmail command must be installed
without set-uid root file permissions
j'ai essayer de fait un


chmod -s /usr/sbin/sendmail
=20
mais sans r=E9sultat=20
=20
Merci de votre aide=20
Tornade

1 réponse

Avatar
Julien K.
On 11-10-2005, wrote:

echo "Notre adresse email a changer" ;


echo "Notre adresse email a change" ;

Ça la fout mal dans un message d'erreur...


je n'ai pas d'erreur d'execurtion jusqu'a /usr/sbin/sendmail -oi -t
dans le fichier de log de procmail, j'ai l'erreur suivant (qui tourne
en boucle)

procmail: Executing "/usr/sbin/sendmail,-oi,"
sendmail: warning: the Postfix sendmail command has set-uid root file
permissions
sendmail: warning: or the command is run from a set-uid root process
sendmail: warning: the Postfix sendmail command must be installed
without set-uid root file permissions
j'ai essayer de fait un


chmod -s /usr/sbin/sendmail

mais sans résultat


C'est procmail qui est SUID-root. Tu peux pas faire l'équivalent avec
vacation (qui est fait pour quelque chose de proche) ou autre?

bye

JKr

--
LOOSE TEETH DON'T NEED MY HELP.
LOOSE TEETH DON'T NEED MY HELP.
LOOSE TEETH DON'T NEED MY HELP.
-+- Bart Simpson on chalkboard, episode #163