BG: fetchmail prestal fungovat :-(
Robert Vojta
robert na v0jta.net
Pátek Únor 8 21:21:00 CET 2002
Martin Vidner <mvidner na suse.cz> writes:
> fetchmail dorucuje zpravy pres MTA na lokalnim stroji, tj. predpoklada, ze
> vam bezi sendmail. Pokud "/etc/init.d/sendmail status" rika, ze nebezi,
> spustte ho (/etc/init.d/sendmail start, natrvalo
> /usr/lib/lsb/install_initd /etc/init.d/sendmail)
...
> > mozna jsem si hral s linuxconfem (RH 7.1CZ)
Píše RH 7.1CZ, takže tam bych spíše napsal něco takového ...
chkconfig --level 345 sendmail on
Každopádně je to zbytečné aby to tam běželo, jednodušší je podívat se na
`man fetchmail` ...
-m <command>, --mda <command>
(Keyword: mda) You can force mail to be passed to
an MDA directly (rather than forwarded to port 25)
with the -mda or -m option. To avoid losing mail,
use this option only with MDAs like procmail or
sendmail that return a nonzero status on disk-full
and other resource-exhaustion errors; the nonzero
status tells fetchmail that delivery failed and
prevents the message from being deleted off the
server. If fetchmail is running as root, it sets
its userid to that of the target user while deliv-
ering mail through an MDA. Some possible MDAs are
"/usr/sbin/sendmail -oem -f %F %T",
"/usr/bin/deliver" and "/usr/bin/procmail -d %T"
(but the latter is usually redundant as it's what
SMTP listeners normally forward to). Local deliv-
ery addresses will be inserted into the MDA command
wherever you place a %T; the mail message's From
address will be inserted where you place an %F. Do
not use an MDA invocation like "sendmail -oem -t"
that dispatches on the contents of To/Cc/Bcc, it
will create mail loops and bring the just wrath of
many postmasters down upon your head.
--
Robert V0jta
The abuse of greatness is when it disjoins remorse from power
-- William Shakespeare, "Julius Caesar"
Další informace o konferenci Linux