On Mon, 17 Jan 2005 14:42:44 CST, Leonard Chatagnier writes:
I think the base problem lies in the Mailscanner configuration/setup
dialog. It said to edit /etc/default/mailscanner, after
modifying exim or sendmail to suit your needs, and this statement if
found in /etc/init.d/mailscanner which originall appeared
on the tty output of an apt-get install mailscanner:
"Please edit the file /etc/mailscanner/mailscanner.conf according to
your needs. Then configure sendmail or exim for use
with mailscanner.
After you are done you will have to edit /etc/default/mailscanner as
well(file didn't exist at the time). Then you will have to set
the variable run_mailscanner to 1, and then type
"/etc/init.d/mailscanner start" to start the mailscanner daemon."
Now, the confusion lies in the last paragraph of the quote. Is this
the way to set an environmental variable?
No, this just sets a variable in the file /etc/default/mailscanner,
which in turn is read (and needed) by the script /etc/init.d/mailscanner.
Do I use the set
command?
No.
The problem is that the mailscanner package is not even _installed_
properly, otherwise the file /etc/default/mailscanner would already be
there and await your editing.
I _strongly_ suggest you de-install mailscanner, `apt-get --purge \
remove mailscanner`, do an `apt-get update; apt-get -f install`, and
_only_ if that finishes without any errors whatsoever to re-install
mailscanner with `apt-get install mailscanner`. Then, let us know
about your progess ;)
cheers,
&rw