MT <[EMAIL PROTECTED]> writes:
> open2web is not configured in /var/qmail/control/virtualdomains. In
> fact in an earlier post you recommended that I remove:
>
> cat /var/qmail/alias/.qmail-mt
> &o2w
>
> As "This configuration is for qmail delivering directly to system users."
Yup, I remember this.
> And then you recommended that an "easier way to handle this is to
> set up 'mt' in the users/assign file:"
>
> /var/qmail/users/assign:
> +mt:o2w:<o2w_UID>:<o2w_GID>:/home/o2w:::
>
> So that's what I have done.
Ok.
> There was no mention of putting open2web in
> /var/qmail/control/virtualdomains.
Ok. So this means that open2web.com is in /var/qmail/control/locals
and that, for the most part, addresses at open2web.com are real system
users. That is, any system users in /etc/passwd are valid email
addresses in the 'open2web.com' domain. For example, system user
'joe' should receive mail to '[EMAIL PROTECTED]'.
> Here is another quote from your previous post:
>
> "From now on, all mail to [EMAIL PROTECTED] will be delivered to the o2w
> system user and qmail will use the .qmail and .qmail-default files for
> delivery instructions. No forwarding is necessary. The single line
> in the users/assign file handles both the base address, "mt", and all
> extension addresses, "mt-*"."
That's correct. Since there is no system user 'mt', you need to route
that mail to the 'o2w' system user, preserving extension addresses so
that TMDA will work.
> What I was trying to understand in this present thread has to do
> with Jim Ramsay's post:
>
> "I drop all mail incoming to my BOUNCE_ENV_ADDRESS as it is only ever
> generated if the original incoming mail used a bad envelope sender
> (implying spam), in which case I don't want to see either the original
> message or the bounce notice."
>
> BOUNCE_ENV_ADDRESS should, of course be, BOUNCE_ENV_SENDER
>
> I responded by posting the following:
>
> BOUNCE_ENV_SENDER = "[EMAIL PROTECTED]
>
> cat /var/qmail/alias/.qmail-nobody
> #
In the configuration you have explained above, ~alias/.qmail-nobody
is the file qmail will use to process mail to '[EMAIL PROTECTED]',
unless there is a system user named 'nobody'.
> cat ~/.qmail-nobody
> #
>
> cat ~/.qmail-o2w-nobody
> #
I have no idea what system user the tilde ('~') represents in these
two paths....
> Then you tell me that my "BOUNCE_ENV_SENDER is set properly if you
> wish to ignore these. However, you're ignoring them in the wrong
> place (/var/qmail/alias).
I hadn't remembered your configuration and guessed that the 'o2w'
system user was supposed to be handling all open2web.com mail. In
that case, the above statement is correct. Since open2web.com is
*not* a virtual domain, however, it is wrong. Any non-system user
addresses that are not in /var/qmail/users/assign will be handled by
the 'alias' user.
> So what I did is:
>
> rm /var/qmail/alias/.qmail-nobody
You *can* use this file if all you intend to is drop mail addressed to
'[EMAIL PROTECTED]'. There is no need to preserve any extension
parts of the address (there shouldn't ever be any extension parts) and
there is no need to actually deliver the mail, so the file you
described above, with a single line containing '#', is perfect for
this.
> I thought I should create
>
> +nobody:o2w:<o2w_UID>:<o2w_GID>:/home/o2w:::
>
> Which points to:
>
> cat ~/.qmail-nobody
> #
>
> cat ~/.qmail-o2w-nobody
> #
>
> And gets dumped in the process.
Again, I'm not sure what user the '~' refers to, but in any case, the
above is too complicated. Since you don't need delivery, just go with
the /var/qmail/alias/.qmail-nobody file.
> I admit I haven't inserted
> "+nobody:o2w:<o2w_UID>:<o2w_GID>:/home/o2w:::" into the assign file
> because I first wanted to verify with you.
No problem, you don't want or need to.
> I hope my explanation isn't too convoluted.
Nope! Hope the above makes sense.
Tim
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users