Hi all, does anybody knows how to set a message priority when we use sendmail directly ?
The case is: I have an alias "amigo-oculto". When someone sends a e-mail to this, a perl script is activated. The important part of this script is : ################################################# open(SENDMAIL, "|/usr/sbin/sendmail -oi -t -odq") or die "Can not fork for sendmail: $!\n"; print SENDMAIL <<"EOF"; From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: $subject $mess EOF close(SENDMAIL); ################################################# So the e-mail goes to the queue nicely. The problem is that it stays there too much time. When, instead of sendmail I use mail (program), the e-mail does not stay in the queue that much. So I think the MUA mail is setting a higher priority than sendmail does. Thank you in advance ... []´s ______________________________________________________________________ João Macaíba Serviço de Suporte a Informações - SSI Rede Nacional de Pesquisa - RNP