I raised this query yesterday and some very helpful souls suggested that I
use /etc/mail/virtusertable with an entry of:
@lannet.com.au howard
Well I did that, rebuilt the db, and restarted sendmail.
The only problem is that now _every_ inbound email gets redirected to
howard, even those which have valid accounts or aliases, and that is
definitely not what I wanted.
I found the relevant piece in the bat book and it says:
"By way of example, consider one mapping in a source text file:
[EMAIL PROTECTED] bob
[EMAIL PROTECTED] [EMAIL PROTECTED]
@fictional.com [EMAIL PROTECTED]
The key portion (on the left) must be either a full address (user,
host, and domain name), as in the first two lines, or an address with
the user part missing, as in the last line. This source text file is
converted into a database with the makemap(1) program (see
Section 33.2).
The first two lines illustrate a full address for the key. The first
line will be delivered to a local user (bob) the second to a remote user
([EMAIL PROTECTED]). The third line file shows how all mail to a
virtual domain (fictional.com) can be delivered to a single address, no
matter what the user part is."
This third example is what is happening, except in my case the domain is a
real domain and not a virtual domain.
I had a look in /etc/sendmail.cf and found:
# who I send unqualified names to (null means deliver locally)
DR
# who gets all local email traffic ($R has precedence for unqualified
names)
DH
Would these do anything for me? Personally, I doubt it.
--
Howard.
______________________________________________________
LANNet Computing Associates <http://www.lannet.com.au>
On Thu, 22 Jun 2000, Howard Lowndes wrote:
> A quick one I hope.
>
> What is the config in sendmail that says: If this incoming mail does not
> have an existing user account and does not have an alias, then send it to
> this other existing user account?
>
>
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text