Dotaz na sendmail
Martin Mares
mj na atrey.karlin.mff.cuni.cz
Čtvrtek Leden 1 20:11:41 CET 1998
Dobry novorocni den preji,
> Nejak nemohu v dokumentaci najit popis nasledujici situace. Chtel
> bych pripravit pro sendmail soubor, ktery by si nacetl ze
> standardniho vstupu nebo nejak jinak , aby obsahoval neco
> takovehleho:
>
> mail from: test na test.cz
> rcpt to: prvni na test.cz notify=failrure orcpt=postmaster na test.cz
> rcpt to: druhy na test.cz notify=failrure orcpt=postmaster na test.cz
> rcpt to: treti na test.cz notify=failrure orcpt=postmaster na test.cz
> rcpt to: ctvrty na test.cz notify=failrure orcpt=postmaster na test.cz
> data
> From: Nekdo na nekde
> To: Vsichni v test.cz
> Subject: XXXX
>
> ....
> ....
> .....
> .
>
> Ale sendmail mi to nechce vzit. Krome toho jsem nepochopil, jestli
> notify musi opravdu byt za kazdym adresatem, nebo jen za prvnim.
Sendmail standardne na stdinu nepredpoklada SMTP-dialog, nybrz
jeden kompletni mail vcetne hlavicky. Pokud se mu da switch "-bs",
mel by SMTP bez problemu akceptovat i ze souboru.
Jestli jsem SMTP spravne pochopil, musi byt notify u kazdeho
RCPT.
Have a nice fortnight
--
Martin `MJ' Mares <mj na gts.cz> http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"A jury consists of 12 persons chosen to decide who has the better lawyer."
Další informace o konferenci Linux