+ [EMAIL PROTECTED]:

| [...] Therefore, in /var/qmail/control/defaulthost I specified
| ,01019freenet', with a defaultdomain of ,de'. This rewrites the
| From: lines and the envelope sender address ,[EMAIL PROTECTED]' to
| ,[EMAIL PROTECTED]'.

(Please follow English quoting conventions, like `01019freenet' etc,
 when mailing to a English-speaking list.  Those commas are very
 confusing.)

| But ,abc' still needs to be replaced by ,hans_wilmer'. I'm doing that by
| setting the environment variables as follows:
| 
| 
| MAILUSER=hans_wilmer
| MAILSUSER=hans_wilmer
| MAILSHOST=01019freenet.de
| QMAILINJECT=f
| 
| 
| It works, but it introduces two problems:
| 
| 
| 1.) Any local user can pretend to be ,[EMAIL PROTECTED]' by
|     setting these variables, and ,[EMAIL PROTECTED]' can pretend to be
|     ,[EMAIL PROTECTED]' ...
| 
| 2.) All local users actually do pretend to be @01019freenet.de --- and that
|     especially applies to some daemons and some lokal programs that have
|     their own lokal accounts, when these daemons (cron, for example) or
|     programs are sending mail.
| 
| 
| The first problem is currently just very ugly, since I'm the only
| (human) user on my maschine. But is it a good idea to have those
| variables and to allow anyone pretending to be someone else?

Well, such is life in the SMTP world:  Anyone *can* pretend to be
anyone else.  Moreover, this is quite legitimate sometimes:  I
occasionally pretend to be [EMAIL PROTECTED], for example.  Or
people might wish to pretend to be themselves, but at a different
location, perhaps with a differently named mailbox.

| The second one is even more ugly. To get hold of the mails my
| daemons/programs send, I've added 01019freenet.de to control/locals.

So you should not set all that bogus information in the control file,
but only in your personal environment variables.  Just let
defaulthost, defaultdomain etc point to your local machine, while you
set up the environment to get the addresses you wish to use when
sending your own mail to the outside world.

| An overview over all the related files and programs is not easy to
| get. Is there some other documentation I should read? I would be
| glad if someone could help me.

Have you checked the ASCII qmail pcitures /var/qmail/doc/PIC.*?

If you want more graphical pictures, try the Big qmail picture (look
at http://www.qmail.org/ to find its location).

- Harald

Reply via email to