9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Odd issue with mail...
@ 2006-01-22 19:04 Marina Brown
  2006-01-22 19:13 ` Federico G. Benavento
  2006-01-22 19:45 ` Steve Simon
  0 siblings, 2 replies; 7+ messages in thread
From: Marina Brown @ 2006-01-22 19:04 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hi All:

I'm trying to get mail set up on plan9 and i am running into some odd 
problems.

I can telnet net!my-gateway-server!smtp and get the smtp prompt. in 
/lib/ndb/local
i have smtp=my-gateway-server, but when i try to send mail i find error 
messages
in /mail/queue saying 'smtp: dns: dns failure (net!$smtp).

The name of my outgoing server is a CNAME if that, perhaps is an issue.

--- Marina


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] Odd issue with mail...
  2006-01-22 19:04 [9fans] Odd issue with mail Marina Brown
@ 2006-01-22 19:13 ` Federico G. Benavento
  2006-01-22 19:38   ` Marina Brown
  2006-01-22 19:45 ` Steve Simon
  1 sibling, 1 reply; 7+ messages in thread
From: Federico G. Benavento @ 2006-01-22 19:13 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 190 bytes --]

this is what I have in my /lib/ndb/local:

ipnet=localnet ip=192.168.0.0 ipmask=255.255.255.0
	smtp=smtp.gmail.com

and you need to copy /mail/lib/rewrite.gateway to /mail/lib/rewrite

[-- Attachment #2: Type: message/rfc822, Size: 3421 bytes --]

From: Marina Brown <marina@surferz.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: [9fans] Odd issue with mail...
Date: Sun, 22 Jan 2006 14:04:26 -0500
Message-ID: <43D3D73A.8030601@surferz.net>

Hi All:

I'm trying to get mail set up on plan9 and i am running into some odd 
problems.

I can telnet net!my-gateway-server!smtp and get the smtp prompt. in 
/lib/ndb/local
i have smtp=my-gateway-server, but when i try to send mail i find error 
messages
in /mail/queue saying 'smtp: dns: dns failure (net!$smtp).

The name of my outgoing server is a CNAME if that, perhaps is an issue.

--- Marina

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] Odd issue with mail...
  2006-01-22 19:13 ` Federico G. Benavento
@ 2006-01-22 19:38   ` Marina Brown
  2006-01-22 19:47     ` Marina Brown
  0 siblings, 1 reply; 7+ messages in thread
From: Marina Brown @ 2006-01-22 19:38 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Federico G. Benavento wrote:

>this is what I have in my /lib/ndb/local:
>
>ipnet=localnet ip=192.168.0.0 ipmask=255.255.255.0
>	smtp=smtp.gmail.com
>
>and you need to copy /mail/lib/rewrite.gateway to /mail/lib/rewrite
>
>
All done. Still i can telnet to the gateway, port 25 but get a dns error 
sending mail.

--- Marina

---------------------

> Hi All:
>
> I'm trying to get mail set up on plan9 and i am running into some odd 
> problems.
>
> I can telnet net!my-gateway-server!smtp and get the smtp prompt. in 
> /lib/ndb/local
> i have smtp=my-gateway-server, but when i try to send mail i find 
> error messages
> in /mail/queue saying 'smtp: dns: dns failure (net!$smtp).
>
> The name of my outgoing server is a CNAME if that, perhaps is an issue.
>
> --- Marina




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] Odd issue with mail...
  2006-01-22 19:04 [9fans] Odd issue with mail Marina Brown
  2006-01-22 19:13 ` Federico G. Benavento
@ 2006-01-22 19:45 ` Steve Simon
  1 sibling, 0 replies; 7+ messages in thread
From: Steve Simon @ 2006-01-22 19:45 UTC (permalink / raw)
  To: 9fans

> i have smtp=my-gateway-server, but when i try to send mail i find error 
> messages in /mail/queue saying 'smtp: dns: dns failure (net!$smtp).

Try:

	ndb/ipquery sys $sysname smtp

This will print smtp=my-gateway-server
If this is wrong or fails perhaps you edited /lib/ndb/local
and didn't refresh cs with:

	echo -n refresh >/net/cs


Also, there is still a problem in the dns client cache which has not
been tracked down yet, try doing a lookup of you destination's
IP address before sending the email:

	ndb/dnsquery my-gateway-server

If this is successfull you can add a line as to /mail/lib/rewrite
as a workaround:

	echo my-gateway-address | ndb/dnsquery > /dev/null

-Steve


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] Odd issue with mail...
  2006-01-22 19:38   ` Marina Brown
@ 2006-01-22 19:47     ` Marina Brown
  2006-01-22 19:52       ` Federico G. Benavento
  2006-01-23  8:16       ` lucio
  0 siblings, 2 replies; 7+ messages in thread
From: Marina Brown @ 2006-01-22 19:47 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Marina Brown wrote:

> Federico G. Benavento wrote:
>
>> this is what I have in my /lib/ndb/local:
>>
>> ipnet=localnet ip=192.168.0.0 ipmask=255.255.255.0
>>     smtp=smtp.gmail.com
>>
>> and you need to copy /mail/lib/rewrite.gateway to /mail/lib/rewrite
>>
>>
> All done. Still i can telnet to the gateway, port 25 but get a dns 
> error sending mail.
>
> --- Marina
>
> ---------------------
>
>> Hi All:
>>
>> I'm trying to get mail set up on plan9 and i am running into some odd 
>> problems.
>>
>> I can telnet net!my-gateway-server!smtp and get the smtp prompt. in 
>> /lib/ndb/local
>> i have smtp=my-gateway-server, but when i try to send mail i find 
>> error messages
>> in /mail/queue saying 'smtp: dns: dns failure (net!$smtp).
>>
>> The name of my outgoing server is a CNAME if that, perhaps is an issue.
>>
>> --- Marina
>
>
>
>
The exact error is:

smtp glenda net!smtp marina@surferz.net

i copied the rewrite.gatway to rewrite
and i have smtp=smtp.east.cox.net
in /lib/ndb/local/.

-- Marina


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] Odd issue with mail...
  2006-01-22 19:47     ` Marina Brown
@ 2006-01-22 19:52       ` Federico G. Benavento
  2006-01-23  8:16       ` lucio
  1 sibling, 0 replies; 7+ messages in thread
From: Federico G. Benavento @ 2006-01-22 19:52 UTC (permalink / raw)
  To: 9fans

ok, this is what I have in the last line of /mail/lib/rewrite:

# send all mail to the gateway or mail server, $smtp,  for delivery
([^!]*)!(.*) 		| 		"/mail/lib/qmail '\s' 'net!smtp.gmail.com'" "'\2@\1'"



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] Odd issue with mail...
  2006-01-22 19:47     ` Marina Brown
  2006-01-22 19:52       ` Federico G. Benavento
@ 2006-01-23  8:16       ` lucio
  1 sibling, 0 replies; 7+ messages in thread
From: lucio @ 2006-01-23  8:16 UTC (permalink / raw)
  To: 9fans

> The exact error is:
> 
> smtp glenda net!smtp marina@surferz.net

net!$smtp, perhaps?

++L



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-01-23  8:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-22 19:04 [9fans] Odd issue with mail Marina Brown
2006-01-22 19:13 ` Federico G. Benavento
2006-01-22 19:38   ` Marina Brown
2006-01-22 19:47     ` Marina Brown
2006-01-22 19:52       ` Federico G. Benavento
2006-01-23  8:16       ` lucio
2006-01-22 19:45 ` Steve Simon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).