Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Mar 2002 16:26:16 -0500
From:      "Michael D. Harlan" <mike@harlanonline.org>
To:        freebsd-questions@freebsd.org
Subject:   Sendmail / problem with virtual hosting
Message-ID:  <20020307212616.GC9007@harlanonline.org>

next in thread | raw e-mail | index | archive | help
Hi all.  I've spent 19 hours on this problem now and I send this to you as
a last resort...

I'm having problems with virtual hosting.  After sending mail from
harlanm@timken.com (an external site) to jharlan@neowebdesign.org (a
virtual host on my sendmail box), the mail sits in the mailq forever:

{r3mdh@challenger} /var/mail> mailq
                /var/spool/mqueue (1 request)
----Q-ID---- --Size-- -----Q-Time-----
------------Sender/Recipient------------
g27IUMC07355      593 Thu Mar  7 13:30 <Harlanm@timken.com>
                 (Deferred: local mailer (/usr/libexec/mail.local) exited with)
                                       <jharlan@neowebdesign.org>


I'm going to attempt to include everything that you'd ask me for
troubleshooting purposes; if I forget something, let me know...

[mailserver.cm]
divert(0)dnl
VERSIONID(`$Id: generic-bsd4.4.mc,v 8.10 1999/02/07 07:26:02 gshapiro Exp $')
OSTYPE(bsd4.4)dnl
DOMAIN(generic)dnl
FEATURE(`virtusertable', `hash /etc/mail/virtusertable')dnl
FEATURE(`genericstable', `hash /etc/mail/genericstable')dnl
GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl
MAILER(local)dnl
MAILER(smtp)dnl

[/etc/mail/virtusertable]
r3mdh@harlanonline.org          r3mdh
mike@harlanonline.org           r3mdh
pooh@harlanonline.org   pooh
jharlan@neowebdesign.org        jharlan
kball@neowebdesign.org          kball
dvran@stashbox.org              dvran

[/etc/mail/genericstable]  (Note, that's a tab between the user and the address)
r3mdh   mike@harlanonline.org
pooh    pooh@harlanonline.org
jharlan jharlan@neowebdesign.org
kball   kball@neowebdesign.org
dvran   dvran@stashbox.org

[/etc/mail/local-host-names]
harlanonline.org
mail.harlanonline.org
stashbox.org
mail.stashbox.org
neowebdesign.org
mail.neowebdesign.org

[/etc/mail/generics-domains]
harlanonline.org
mail.harlanonline.org
stashbox.org
mail.stashbox.org
neowebdesign.org
mail.neowebdesign.org


(Testing sendmail with 'sendmail -bt':)
> $=w
[10.17.72.1]
[fe80::1]
mail.neowebdesign.org
[fe80::a00:2bff:fec4:20ac]
challenger.beechwoodplace.org
[fe80::202:b3ff:fe07:8730]
[challenger.beechwoodplace.org]
[204.210.203.12]
[c11b012.neo.rr.com]
localhost
neowebdesign.org
c11b012.neo.rr.com
[::1]
mail.harlanonline.org
harlanonline.org
mail.stashbox.org
[127.0.0.1]
stashbox.org
challenger
challenger.harlanonline.org

> /map virtuser jharlan@neowebdesign.org
map_lookup: virtuser (jharlan@neowebdesign.org) returns jharlan (0)

> 3,0 jharlan@neowebdesign.org
canonify           input: jharlan @ neowebdesign . org
Canonify2          input: jharlan < @ neowebdesign . org >
Canonify2        returns: jharlan < @ neowebdesign . org . >
canonify         returns: jharlan < @ neowebdesign . org . >
parse              input: jharlan < @ neowebdesign . org . >
Parse0             input: jharlan < @ neowebdesign . org . >
Parse0           returns: jharlan < @ neowebdesign . org . >
ParseLocal         input: jharlan < @ neowebdesign . org . >
ParseLocal       returns: jharlan < @ neowebdesign . org . >
Parse1             input: jharlan < @ neowebdesign . org . >
Recurse            input: jharlan
canonify           input: jharlan
Canonify2          input: jharlan
Canonify2        returns: jharlan
canonify         returns: jharlan
parse              input: jharlan
Parse0             input: jharlan
Parse0           returns: jharlan
ParseLocal         input: jharlan
ParseLocal       returns: jharlan
Parse1             input: jharlan
Parse1           returns: $# local $: jharlan
parse            returns: $# local $: jharlan
Recurse          returns: $# local $: jharlan
Parse1           returns: $# local $: jharlan
parse            returns: $# local $: jharlan


Note: DNS must be working because the mail got all the way to sendmail's
queue without any problems...


Any help is GREATLY appreciated!

Please CC: mike@harlanonline.org, thanks.

--
Mike Harlan
mike@harlanonline.org
http://www.harlanonline.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020307212616.GC9007>