Sendmail footer
Stelios Bounanos
sb at dial.pipex.com
Wed Apr 29 07:59:25 EEST 1998
Mixalis Kabrianis <mkabrian at mk.aua.gr> wrote:
> Ligo asxeto me linux, sygxoriste me.
> Xerei kanenas an mporei to sendmail na stelnei aytomata me kathe neo mail
> kai 2 grammes (footer) orismenes apo prin, apo ton server?
>
> TIA
>
> Mixalis Kabrianis
> mkabrian at auadec.aua.gr
> Network Management Center
> Agricultural University of Athens
>
Den 3erw na sou pw pws ginetai, alla to sendmail kanei ta panta!
Pantws, den prokeitai na to kaneis kanontas ap'eu8eias edit to
/etc/sendmail.cf pou na bgei aima apo ta matia sou diabazontas ola
ta rulesets! :-)
(Eixa prospa8hsei na kanw kati paromoio kapote...)
Mia idea:
8a mporouses na antikatasthseis to /usr/lib/sendmail
'h to /usr/sbin/sendmail 'h opoidhpote einai to sendmail binary
sto systh ma sou me ena wrapper script, to opoio 8a ekane cat ena arxeio
kai meta me to sed (diabazeis akoma?) 8a kollage ta periexomena tou
arxeiou sto mail kai 8a ta edine ola mazi mesw enos pipe sto kanoniko
sendmail.
Kati san:
cat /etc/footer | sed /a/s/t/a/n/a/p/a/n/e | /usr/sbin/sendmail-bin "$@"
Eipa, mia idea mono! :)
(oi entoles tou sed gia auth th douleia de 8a htan tipota dyskolo
gia kapoion pou ton 3erei kala)
Alla fantazomai oti an psa3eis sto biblio ths O'Reilly gia to sendmail
(sendmail, 2nd edition, auto me th nyxterida), se kamia mailing list tou
sendmail kai sto internet 8a breis tropo.
Filika,
sb.
--
"Men of lofty genius are most active
when they are doing the least work".
-- Leonardo da Vinci
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at argos.hol.gr
Ta archives tis listas einai sto http://www.argos.hol.gr/lists :
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================
More information about the Linux-greek-users
mailing list