Q 1: Is it possible to run qmail-smtpd as a standalone server and *not*
from the inetd metaserver (or similar)? How?
Q 2: I really have no use for a smtpd server other than for fetchmail,
because it connects to localhost. But it is possible to make it otherwise,
I quote from the fetchmail manual page:
-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. Be aware that this
disables some valuable resource-exhaustion checks
and error handling provided by SMTP listeners; it's
not a good idea unless running an SMTP listener is
impossible. If fetchmail is running as root, it
sets its userid to that of the target user while
delivering 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 usually forward to). Local delivery
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.
</QUOTE>
Is there a way to make fetchmail use this alternative combined with
qmail?
Thanks.
crond@undernet
Norwegian Linux Community
Innovation Networking