Re: exmh questions become exmh questions

1998-01-11 Thread Lee Bradshaw
Hi,

Well the title should have been exmh questions become smail questions.

Thanks to Martin Bialasinski for suggesting setting up my own domain.
Is there a domain name reserved for private networks like the reserved
ip address ranges?  I picked home.bradshaw, but I'd switch to the
correct name if there is one.  Although I doubt bradshaw will ever be
used on the internet.

Thanks to Will Lowe for the final piece ot the puzzle in smail/config:

  hostnames=your.host.name:localhost

  Where your.host.name is your fqdn.

I wasn't able to send mail to [EMAIL PROTECTED] until I
did this.  smail complained that it couldn't find the host, but ping
worked fine.  I thought it might be because smail was using bind instead
of the resolver library which specifies hosts, bind.  I was trying to
figure out how to set up bind as more that a caching server when I read
Will's message and it fixed the smail problem.

The next step is tackling sendmail on solaris so that machine will
forward all mail to freefall (the debian system I want to use as a mail
server.)

-- 
Lee Bradshaw [EMAIL PROTECTED] (preferred)
Next Level Communications[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


exmh questions become exmh questions

1998-01-10 Thread maor
Hi everyone,

Thanks for the suggestion to look at GNUS and the other responses.
My setup is similar to what Daniel Martin? described on his web page.
I had to enter several lines in the frommap to correct what the different
mail programs considered to be the from address:

bradshaw  [EMAIL PROTECTED] (Lee Bradshaw)
[EMAIL PROTECTED]   [EMAIL PROTECTED] (Lee Bradshaw)
[EMAIL PROTECTED]  [EMAIL PROTECTED] (Lee Bradshaw)

freefall is my host, and mindspring.com is my isp and is set in visible
name.

I'm still having a problem with local mail though.  I can send mail
to a username without problems, but replying to this mail generates an
invalid address.  For example, in elm a reply to a local message From:
bradshaw, would be addressed To: [EMAIL PROTECTED](none).  I could
qualify all from addresses even in the local transport so that replies
would be forced through the isp, but I'd rather keep the mail local.
I saw a suggestion to use someething like @home.net for local users.
The MUA's I've seen try to qualify the username and that dummy address
might be the thing to use.  Please send your suggestions, or I'll post
if I get things improved a little more.

Thanks,
-- 
Lee Bradshaw [EMAIL PROTECTED] (preferred)
Next Level Communications[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: exmh questions become exmh questions

1998-01-10 Thread Martin Bialasinski
[EMAIL PROTECTED] writes:

 I saw a suggestion to use someething like @home.net for local users.
 The MUA's I've seen try to qualify the username and that dummy address
 might be the thing to use.  Please send your suggestions, or I'll post
 if I get things improved a little more.
 
This was my suggestion. This is *no* dummy address. This is a perfectly
legal domain for you intranet. If you have only one computer, let's call it
a net anyway. My first suggestion was home.net, but let me correct this:

Consider the case that you have no connection to the internet and only have
a intranet with a couple of hosts.

Then you have to specify a domainname and hostnames for the computers.

Now you chose a domain for the intranet. Let it be home.koeln. You have
three hosts named basement, office and entry. (FYI: koeln is the city
where I live.)

I have chosen a not-existent topleveldomain, so that there won't be any
trouble if there is (or will be) a legal home.net domain and you connect to
the internet.

Now setup /etc/hosts on the three hosts, so that they can resolve the names.
You could also set up a DNS Server for your home.koeln domain.

So you can send mail between the three systems and of cause between the
users on each host.

You now decide, that entry.home.koeln gets a modem to make a connection to
the internet. On dialin, entry gets an additional IP address and
host+domainame from your ISP. Entry is part of *two* domains.

So if you send mail from basement to

a) user
  it is delivered locally (pine will expand this to
  [EMAIL PROTECTED] )

b) [EMAIL PROTECTED]
  will work as before.

c) [EMAIL PROTECTED]
  will be forwarded to your ISP's mailserver (if you chose a
  smarthost) or delivered directly by entry.

Read more about this in the Networkadministrator's Guide at the Linux
Documentation Project homepage.

For your case, you have to reduce this explanation to one host, but the
principle is the same. And maybe you will have more then one box someday.

You may want to browse the december archive of debian-user for some articles
about how to change your hostname and domain (you have to change multiple
files and I have never done this, so I don't know which :-) )

Ciao,
Martin


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


exmh questions

1998-01-06 Thread Lee Bradshaw
Hi,

I'm considering using exmh for my mail reader.  I want to filter mail
into different folders and be able to see which folders have messages in
them.  Suggestions of other mail readers with this feature would be
welcome.

However I'm currently having some problems.  exmh seems to deliver mail
differently from other programs.  With elm and mail, I had modified my
/etc/smail/transports file as follows:

smtp:   driver=tcpsmtp, max_addrs=100, -max_chars, inet,
remove_header=From,
insert_header=From: [EMAIL PROTECTED] ($sender_name);
use_bind, defer_no_connect, -local_mx_okay, defnames

This doesn't affect mail sent from exmh.  In my log files I get a
message similar to this when I send mail form exmh:

Jan  6 10:06:54 freefall in.smtpd[3158]: connect from localhost

I don't get this message from elm or mail.  How is exmh sending mail
differently from the other mail programs?  Is there a way to modify
smail to rewrite the headers for exmh as well?  I think smail should be
responsible for putting a valid header on outgoing mail, but at the
moment a way of modifying the From header within exmh would be a useful
workaround.

-- 
Lee Bradshaw [EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: exmh questions

1998-01-06 Thread Norris Preyer
[EMAIL PROTECTED] (Lee Bradshaw) writes:

 Hi,
 
 I'm considering using exmh for my mail reader.  I want to filter mail
 into different folders and be able to see which folders have messages in
 them.  Suggestions of other mail readers with this feature would be
 welcome.
 -- 
 Lee Bradshaw [EMAIL PROTECTED]

I don't know anything about exmh, but there are some alternatives.  
I use gnus (part of emacs/xemacs) to filter and read both e-mail and
netnews.  My e-mail box currently looks like (the entries with ... 
following them mean that entry is collapsed):

[ Gnus -- 51 ]
   1: nnml:jcl
   8: nnml:inbox
   0: nnml:dean
   3: nnml:talk
   0: nnml:comap-advisors
   0: nnml:comap-l
   0: nnml:duplicates
  [ Debian -- 18 ]
 0: nnml:announce
 4: nnml:user
 7: nnml:devel
 2: nnml:testing
 1: nnml:doc
 4: nnml:mentors
  [ EOU -- 11 ]...
  [ Lists -- 0 ]...
  [ News -- 0 ]...
  [ Friends -- 10 ]...
  [ Students -- 0 ]...
  [ old -- 0 ]

If you use (x)emacs, this might be a good choice.  

--Norris

-- 
Norris Preyer   (541) 962-3310 (office)
Physics Program (541) 962-3873 (fax)
Eastern Oregon University   [EMAIL PROTECTED]
La Grande, OR  97850http://physics.eou.edu/npreyer.html
finger [EMAIL PROTECTED] for PGP key


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: exmh questions

1998-01-06 Thread Oliver Elphick
Lee Bradshaw wrote:
  I'm considering using exmh for my mail reader.  I want to filter mail
  into different folders and be able to see which folders have messages in
  them.  Suggestions of other mail readers with this feature would be
  welcome.

I use procmail to write
-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: exmh questions

1998-01-06 Thread Daniel Martin at cush
[EMAIL PROTECTED] (Lee Bradshaw) writes:

 Hi,
 
 I'm considering using exmh for my mail reader.  I want to filter mail
 into different folders and be able to see which folders have messages in
 them.  Suggestions of other mail readers with this feature would be
 welcome.
 
 However I'm currently having some problems.  exmh seems to deliver mail
 differently from other programs.  With elm and mail, I had modified my
 /etc/smail/transports file as follows:
 
 smtp:   driver=tcpsmtp, max_addrs=100, -max_chars, inet,
 remove_header=From,
 insert_header=From: [EMAIL PROTECTED] ($sender_name);
 use_bind, defer_no_connect, -local_mx_okay, defnames
 
 This doesn't affect mail sent from exmh.  In my log files I get a
 message similar to this when I send mail form exmh:
 
 Jan  6 10:06:54 freefall in.smtpd[3158]: connect from localhost
 
 I don't get this message from elm or mail.  How is exmh sending mail
 differently from the other mail programs?  Is there a way to modify
 smail to rewrite the headers for exmh as well?  I think smail should be
 responsible for putting a valid header on outgoing mail, but at the
 moment a way of modifying the From header within exmh would be a useful
 workaround.

The difference is that exmh is connecting to your machine to deliver
mail, instead of running a program (like smail -bS or something
similar).  This really shouldn't cause smail to treat the mail
differently

Ah - I've discovered the problem.  The problem is in using the
sender_name variable.  When exmh sends mail, because of the way it
connects, there is no valid sender_name - therefore, the string
expansion fails, and the From header is never replaced.  Since smail
doesn't like to send out mail without a From: line, it uses its
default, which it takes from what exmh tells it.  One way around this
is to change the insert_header line to read:
  insert_header=From: [EMAIL PROTECTED] (${if def:sender_name {($sender_name)} 
{($sender)}}

Then make certain to set your personal name in exmh, or the name
used will be your username on your personal machine.

Another way around it is what I do, described in
http://www.math.jhu.edu/~martind/mybox.html


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .