Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

help: user unknown using virtual users?

10 views
Skip to first unread message

Matt

unread,
Jan 29, 2000, 3:00:00 AM1/29/00
to
Hey all.

I'm trying to setup some virtual domain users on my rh6.0, sendmail 8.9.3 (i
think) box. I can send OUT with the users account, with the virtual domain,
but sending in gives a "550 user unknown" error. Anything this points to?
I've read over the virtual hosting docs on the sendmail website. i built
the virtusertable with the makemap hash command. i tried playing around
with settings using netconf.

can anybody point me in the right directions?

thanks
matt

Claus Assmann

unread,
Jan 30, 2000, 3:00:00 AM1/30/00
to
Matt wrote:

> I'm trying to setup some virtual domain users on my rh6.0, sendmail 8.9.3 (i
> think) box. I can send OUT with the users account, with the virtual domain,
> but sending in gives a "550 user unknown" error. Anything this points to?
> I've read over the virtual hosting docs on the sendmail website. i built
> the virtusertable with the makemap hash command. i tried playing around
> with settings using netconf.

Remove the '-o' from the map definition and try again.
Maybe your virtusertable is not "safe" (see the README file).
Try also:
echo '/map virtuser SOME@ADDRESS' | sendmail -bt
--
If you feel the urgent wish to send me a courtesy copy of a Usenet
posting, then make sure it's recognizable as such!

Matt

unread,
Feb 5, 2000, 3:00:00 AM2/5/00
to
Hey all.

I'm trying to setup some virtual domain users on my rh6.0, sendmail 8.9.3
(i
think) box. I can send OUT with the users account, with the virtual
domain,
but sending in gives a "550 user unknown" error. Anything this points to?
I've read over the virtual hosting docs on the sendmail website. i built
the virtusertable with the makemap hash command. i tried playing around
with settings using netconf.

can anybody point me in the right directions?

thanks
matt

Claus Assmann

unread,
Feb 5, 2000, 3:00:00 AM2/5/00
to
Matt wrote:

> I'm trying to setup some virtual domain users on my rh6.0, sendmail 8.9.3
> (i
> think) box. I can send OUT with the users account, with the virtual
> domain,
> but sending in gives a "550 user unknown" error. Anything this points to?
> I've read over the virtual hosting docs on the sendmail website. i built
> the virtusertable with the makemap hash command.

Check whether the table is read
echo '/map virtuser USER@VIRT' | sendmail -bt
^^^^^^^^^replace this...

Matt

unread,
Feb 6, 2000, 3:00:00 AM2/6/00
to
thanks for the info. i apologize, but i'm pretty ignorant about *nix and
sendmail. so it should be something like

echo '/map virtuser TEST...@VIRTUALDOMAIN.COM' | sendmail -bt

? when i do that, it seems sendmail doesn't know the command (i get a
"usage: sendmail {start|stop|restart|status}

what am i doing wrong here?
thanks,i appreciate the help
matt


"Claus Assmann" <ca+sendmail(-no-copies-please)@mine.informatik.uni-kiel.de>
wrote in message news:iqii78...@zardoc.endmail.org...

Claus Assmann

unread,
Feb 6, 2000, 3:00:00 AM2/6/00
to
Matt wrote:

> echo '/map virtuser TEST...@VIRTUALDOMAIN.COM' | sendmail -bt
>
> ? when i do that, it seems sendmail doesn't know the command (i get a
> "usage: sendmail {start|stop|restart|status}
>
> what am i doing wrong here?

Use the full path to the sendmail binary, usually /usr/sbin or /usr/lib

echo '/map virtuser TEST...@VIRTUALDOMAIN.COM' | /usr/sbin/sendmail -bt

Obviously your OS has some funny script named sendmail which is used
to control sendmail.

Matt

unread,
Feb 6, 2000, 3:00:00 AM2/6/00
to
okay, now i try to send to my virtual domain user, and i get this back on
the "real" domain (admin message)


*****************************
The original message was received at Sun, 6 Feb 2000 15:09:02 -0600
from law2-oe36.hotmail.com [216.32.180.29]

----- The following addresses had permanent fatal errors -----
<test...@virtualdomain.com>

----- Transcript of session follows -----
554 MX list for virtualdomain.com. points back to myrealdomain.com
554 <test...@virtualdomain.com>... Local configuration error

******************************
?
btw: thanks for all your help Claus
matt

Matt

unread,
Feb 6, 2000, 3:00:00 AM2/6/00
to
okay, i did that, and it looks like its okay. its pumps out the below text:


ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> map_lookup: virtuser (test...@virtualdomain.com) returns testuser (0)

this is correct?

thanks
matt

"Claus Assmann" <ca+sendmail(-no-copies-please)@mine.informatik.uni-kiel.de>
wrote in message news:jhbk78...@zardoc.endmail.org...

Matt

unread,
Feb 6, 2000, 3:00:00 AM2/6/00
to
btw: my "virtualdomain.com", as well as "mail.virtualdomain.com" IS entered
in my sendmail.cw file, and sendmail has been stopped and restarted...

matt


"Matt" <ma...@warezstein.com> wrote in message
news:3tln4.6309$e97.5...@typhoon.mbnet.mb.ca...

Matt

unread,
Feb 6, 2000, 3:00:00 AM2/6/00
to
shit, sorry about the 4 posts in a row :(. anyways, sending to
test...@mail.virtualdomain.com DOES work. so i guess i'm part of the way
there.

i *know* there is just something simple i'm missing here... the o'reilly
sendmail book isn't helping me, i think its just confusing me more ::)

matt


"Matt" <ma...@warezstein.com> wrote in message

news:2Cln4.6311$e97.5...@typhoon.mbnet.mb.ca...

Claus Assmann

unread,
Feb 6, 2000, 3:00:00 AM2/6/00
to
Matt wrote:
> btw: my "virtualdomain.com", as well as "mail.virtualdomain.com" IS entered
> in my sendmail.cw file, and sendmail has been stopped and restarted...

Check it:
echo '$=w' | /usr/sbin/sendmail -bt

Claus Assmann

unread,
Feb 6, 2000, 3:00:00 AM2/6/00
to
Matt wrote:
> you're right, the virtual domain is not there. (just
> mail.virtualdomain.com) how to i get it in? it is already in my
> /etc/sendmail.cw file. i have stopped and restarted sendmail; (just a note,
> virtualdomain.com entry is BEFORE the mail.virtualdomain.com entry in the
> sendmail.cw file...

Is the file referenced in sendmail.cf?
grep sendmail.cw sendmail.cf

If yes: does it use the '-o' option? yes: remove it, most likely it's
a permission problem.
If no: see cf/README for FEATURE(`use_cw_file')

Matt

unread,
Feb 7, 2000, 3:00:00 AM2/7/00
to
you're right, the virtual domain is not there. (just
mail.virtualdomain.com) how to i get it in? it is already in my
/etc/sendmail.cw file. i have stopped and restarted sendmail; (just a note,
virtualdomain.com entry is BEFORE the mail.virtualdomain.com entry in the
sendmail.cw file...

matt


"Claus Assmann" <ca+sendmail(-no-copies-please)@mine.informatik.uni-kiel.de>
wrote in message news:c52l78...@zardoc.endmail.org...


> Matt wrote:
> > btw: my "virtualdomain.com", as well as "mail.virtualdomain.com" IS
entered
> > in my sendmail.cw file, and sendmail has been stopped and restarted...
>
> Check it:
> echo '$=w' | /usr/sbin/sendmail -bt
>

Matt

unread,
Feb 7, 2000, 3:00:00 AM2/7/00
to
do i need it in my hosts file also? currently there is nothing there...

Matt

unread,
Feb 7, 2000, 3:00:00 AM2/7/00
to
Ack, i stuck "virtualdomain.com" in my /etc/host file, and now it works.
Could you explain why though? mail.virtualdomain.com isn't there either,
never has been. I'm thinking that my install, together with my dns on this
box is pretty screwed up. i set it up about a year and a half ago on
redhat5.2, got sendmail sorta working, upgraded it to redhat6.0,
re-installed sendmail with the source, and then messed around with it some
more. i messed it up AGAIN about 6months ago using linuxconf, got it
stable, and never touched it again. is there a source that will tell me how
it all SHOULD be setup? including the dns settings (host, resolv, etc) and
the sendmail, along with virtusertable and so on?

i KNOW that it is not set up in the "perfect" sense, its kinda put together
ugly.. i guess it works, but i would rather know why it works, rather than
just accept that it does :)

thanks
matt

0 new messages