From owner-freebsd-isp Thu Jul 16 23:47:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA26911 for freebsd-isp-outgoing; Thu, 16 Jul 1998 23:47:02 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from i-p-d.com (i-p-d.host4u.com [209.60.43.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA26906 for ; Thu, 16 Jul 1998 23:47:01 -0700 (PDT) (envelope-from chem@i-p-d.com) From: chem@i-p-d.com Received: from gateway (brd1-p83.worldonline.nl [195.241.136.83]) by i-p-d.com (8.8.8/8.8.8) with SMTP id IAA13145; Fri, 17 Jul 1998 08:42:30 +0200 (CEST) (envelope-from chem@i-p-d.com) Message-Id: <199807170642.IAA13145@i-p-d.com> Comments: Authenticated sender is To: andrew@squiz.co.nz Date: Fri, 17 Jul 1998 08:43:24 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: subdomain mail for a vitual user Reply-to: chem@i-p-d.com CC: isp@FreeBSD.ORG References: <199807161227.OAA10887@i-p-d.com> In-reply-to: X-mailer: Pegasus Mail for Win32 (v2.54) Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Date: Fri, 17 Jul 1998 04:44:23 +1200 (NZST) > From: Andrew McNaughton > Reply-to: andrew@squiz.co.nz > To: chem@i-p-d.com > Cc: isp@FreeBSD.ORG > Subject: Re: subdomain mail for a vitual user > On Thu, 16 Jul 1998 chem@i-p-d.com wrote: > > > Date: Thu, 16 Jul 1998 14:28:09 +0000 > > From: chem@i-p-d.com > > To: isp@FreeBSD.ORG > > Subject: subdomain mail for a vitual user > > > > Hi, > > > > I have made a subdomain like sub.domain.com and they would like to > > have the E-mail-adress info@sub.domain.com. Normally I use the > > virtusertable for sendmail and have an entry like > > > > info@domain.com user > > > > now when I have: > > > > info@sub.domain.com user > > > > i get: user unknown when I sent a testmail. > > I have sub.domain.com in the sendmail.cw file. > > > > When I change the entry in: > > > > info.sub@domain.com user > > > > everything is working just fine. > > > > What am I overlooking? Anyone have any suggestions? > > > > TIA > > Gina van Zundert > > IF you're sending from the local host, sendmail may be rewriting the mail > addresses on the way out. Check what address the email is actually being > delivered to. > > Aside from that, try using sendmail -bt to see what the host does with the > address. > > Andrew Hi, This is what I get from parsing the E-mail adress. > /parse info@vitesse.groep.nl Cracked address = $g Parsing envelope recipient address rewrite: ruleset 3 input: info @ vitesse . groep . nl rewrite: ruleset 96 input: info < @ vitesse . groep . nl > rewrite: ruleset 96 returns: info < @ groep . nl . > rewrite: ruleset 3 returns: info < @ groep . nl . > rewrite: ruleset 0 input: info < @ groep . nl . > rewrite: ruleset 199 input: info < @ groep . nl . > rewrite: ruleset 199 returns: info < @ groep . nl . > rewrite: ruleset 98 input: info < @ groep . nl . > rewrite: ruleset 98 returns: info < @ groep . nl . > rewrite: ruleset 198 input: info < @ groep . nl . > rewrite: ruleset 198 returns: $# local $: info rewrite: ruleset 0 returns: $# local $: info rewrite: ruleset 2 input: info rewrite: ruleset 2 returns: info rewrite: ruleset 20 input: info rewrite: ruleset 20 returns: info rewrite: ruleset 4 input: info rewrite: ruleset 4 returns: info mailer local, user info obviously, user info is unknown. This is the ruleset 96 in sendmail.cf. As far as I know (I did not install this system) there have been no lines changed in this part. S96 # handle special cases for local names R$* < @ localhost > $* $: $1 < @ $j . > $2 no domain at all R$* < @ localhost . $m > $* $: $1 < @ $j . > $2 local domain R$* < @ localhost . UUCP > $* $: $1 < @ $j . > $2 .UUCP domain R$* < @ [ $+ ] > $* $: $1 < @@ [ $2 ] > $3 mark [a.b.c.d] R$* < @@ $=w > $* $: $1 < @ $j . > $3 self-literal R$* < @@ $+ > $* $@ $1 < @ $2 > $3 canon IP addr # look up domains in the domain table #R$* < @ $+ > $* $: $1 < @ $(domaintable $2 $) > $3 # pass UUCP addresses straight through R$* < @ $+ . UUCP > $* $@ $1 < @ $2 . UUCP . > $3 # pass to name server to make hostname canonical R$* < @ $* $~P > $* $: $1 < @ $[ $2 $3 $] > $4 # local host aliases and pseudo-domains are always canonical R$* < @ $=w > $* $: $1 < @ $2 . > $3 R$* < @ $j > $* $: $1 < @ $j . > $2 R$* < @ $=M > $* $: $1 < @ $2 . > $3 R$* < @ $* $=P > $* $: $1 < @ $2 $3 . > $4 R$* < @ $* . . > $* $1 < @ $2 . > $3 I have been having problems with getting the subdomains itself to work. There still is a problem with the secondairy nameserver, that is being maintained by another company. Could that be the cause of the mail problem too? This is my db.file: groep.nl. IN SOA ns1.i-p-d.com. root.host4u.com. ( 1998071694 ; Serial 14400 ; Refresh after 4 hours 3600 ; Retry after 1 hour 604800 ; Expire after 1 week 86400 ) ; Minimum TTL of 1 day ; DNS Servers @ IN NS ns1.i-p-d.com. @ IN NS hedra.host4u.com. ; Machine Names localhost IN A 127.0.0.1 groep.nl. IN A 209.60.43.5 ; Aliases www IN CNAME @ ftp IN CNAME @ mail IN CNAME @ smtp IN CNAME @ ces IN CNAME @ vitesse IN CNAME @ ; MX Records @ IN MX 5 ns1.i-p-d.com. Thanks. Gina Gina van Zundert Internet Page Design tel: 0165-571675 fax: 0165-571710 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message