exim and mtt probs continue

2000-11-18 Thread John-Mark



i continue to have problems setting up my email 
configuration. I have run eximconfig but have had trouble working out how 
to answer some of the questions
I am not sure what is meant by some of the terms 
i.e. what is my visible mail name. To be honest i have used the default settings 
to set up exim i have no idea in most cases whether this is correct. I am 
dialling up to my isp using pon, I can't fine where to set up the isp smtp info 
re sending mail. Fetchmail seems to be ok but where does it write the emails to. 
I have installed mutt but when i run it i get the message that there is no 
/var/spool/mail/jmj directory jmj being my user name. Apparently exim should set 
this up for me/ I am truly at a loss. Mutt is also supposed to make a file 
called .muttrc in my home directory but this does not exist, apparently without 
it i cant specify which MTA i am using. Is there a mutt configuration 
script. If you have any idea how to proceed. If it would be easier to use 
another MTA i am happy to do so although i hear that exim is the 
best.
thanks for your help
very confused 
jm


Re: exim and mtt probs continue

2000-11-18 Thread Alson van der Meulen
On Sat, Nov 18, 2000 at 03:01:22PM -, John-Mark wrote:
 i continue to have problems setting up my email configuration. I have run 
 eximconfig but have had trouble working out how to  answer some of the 
 questions
 I am not sure what is meant by some of the terms i.e. what is my visible mail 
 name. To be honest i have used the default settings to set up exim i have no 
 idea in most cases whether this is correct. I am dialling up to my isp using 
 pon, I can't fine where to set up the isp smtp info re sending mail. 
 Fetchmail seems to be ok but where does it write the emails to. I have 
 installed mutt but when i run it i get the message that there is no 
 /var/spool/mail/jmj directory jmj being my user name. Apparently exim should 
 set this up for me/ I am truly at a loss. Mutt is also supposed to make a 
 file called .muttrc in my home directory but this does not exist, apparently 
 without it i cant specify which MTA i am using. Is there a mutt configuration 
 script.  If you have any idea how to proceed. If it would be easier to use 
 another MTA i am happy to do so although i hear that exim is the best.

you don't need to tell your mta to mutt, it's just standard sendmail compatible.
.muttrc is usually not created by mutt, you can do it yourself and put some 
relevant
options in it. system wide config is in /etc/Muttrc for mutt. mutt hasn't 
anything to
do with sending mail, at least not more then composing it and pasing it to exim.
the visible mail name can be set to some subdomain you get mail for, or change 
the
from address in mutt so the visible mail name will not be used by mutt.

man 5 muttrc for more info about .muttrc and /etc/Muttrc (same format, last one 
just
system wide, .muttrc system specific).
-- 
,---.
 Name:   Alson van der Meulen  
 Personal:   [EMAIL PROTECTED]   
 School:   [EMAIL PROTECTED]
`---'
You did what to the floppy???
-



Re: exim and mtt probs continue

2000-11-18 Thread Timmy Douglas
John-Mark [EMAIL PROTECTED] writes:

 i continue to have problems setting up my email configuration. I have run 
 eximconfig but have had trouble working out how to  answer some of the
 questions
 
 I am not sure what is meant by some of the terms i.e. what is my visible mail 
 name. To be honest i have used the default settings to set up exim i
 have no idea in most cases whether this is correct. I am dialling up to my 
 isp using pon, I can't fine where to set up the isp smtp info re sending
 mail. Fetchmail seems to be ok but where does it write the emails to. I have 
 installed mutt but when i run it i get the message that there is no
 /var/spool/mail/jmj directory jmj being my user name. Apparently exim should 
 set this up for me/ I am truly at a loss. Mutt is also supposed to
 make a file called .muttrc in my home directory but this does not exist, 
 apparently without it i cant specify which MTA i am using. Is there a mutt
 configuration script.  If you have any idea how to proceed. If it would be 
 easier to use another MTA i am happy to do so although i hear that exim
 is the best.

you can get example mutt config files at mutt.org

i've been looking for people to help me test out my
mta, so i would be willing to help you get it set up.
if you have the time, email me and i can send the latest
version to you.



Re: exim and mtt probs continue

2000-11-18 Thread Andreas Hetzmannseder
On Sat, Nov 18, 2000 at 03:01:22PM -, John-Mark wrote:

 [...] what is my visible mail name [...]

The visible name should be the name you gave to your computer.

 I can't fine where to set up the isp smtp info re sending mail.

When exim asks for your smarthost, enter the name for your provider's smtp
server.

 Fetchmail seems to be ok but where does it write the emails to.

Your incoming mail will go to /var/spool/mail/jmj by default.

 I have installed mutt but when i run it i get the message that there is no
 /var/spool/mail/jmj directory jmj being my user name. Apparently exim should
 set this up for me/ I am truly at a loss.

Don't worry, just make sure it already exists.

 Mutt is also supposed to make a file called .muttrc in my home directory but
 this does not exist [...]

You have to do this yourself. There is a /etc/Muttrc which should already work
for you. You may want to copy it into your home directory and rename it as
'.muttrc'.

 If you have any idea how to proceed.

I also have a ppp-dialup-connection to my internet provider. Below are my
answers during /usr/sbin/eximconfig. Replace them with your's where necessary.

- What is the 'visible' name of your system:k-star
- Does this system have any other names?:none
- Are there any domains you want to relay mail for?:none
- Are there any networks of local machines you want to relay mail for?:none
- Would you like to use the RBL?:n
- Which machine will act as the smarthost?:smtp.netway.at
- Which user account should system administrator mail go to?:andy

After you have finished your configuration, you should check your
/etc/exim.conf for your rewriting rule in the section 'REWRITE CONFIGURATION'.
Make sure that it is enabled, i.e. uncommented.

Then you have to enter something like the following into your
/etc/email-addresses:

jmj:[EMAIL PROTECTED]

Now you should be able to send and receive mail. If you want to use mutt's
mailboxes you have to configure procmail additionally.

I hope this helps.
By the way: Wrap your lines. Also make question marks when asking questions.
You will certainly be rewarded with better responses. 

Kind regards,
Andreas.



Re: exim and mtt probs continue

2000-11-18 Thread Griffith Feeney
At 08:13 AM 11/18/00, you wrote:
i continue to have problems setting up my email configuration. I have run
eximconfig but have had trouble working out how to answer some of the
questions I am not sure what is meant by some of the terms i.e. what is my
visible mail name. To be honest i have used the default settings to set up
exim i have no idea in most cases whether this is correct. I am dialling up
to my isp using pon, I can't fine where to set up the isp smtp info re
sending mail.


Isn't this one of the last questions eximconfig asks you? Think so.


Fetchmail seems to be ok but where does it write the emails to. I have
installed mutt but when i run it i get the message that there is no
/var/spool/mail/jmj directory jmj being my user name. Apparently exim
should set this up for me/ I am truly at a loss.


I've just spent several evenings puzzling over an identical or similar
problem. The usual location for mailboxes (which are files, not
directories, as I initially thought) is /var/spool/mail. For reasons I
don't understand, the default Debian 2.2 setup makes this a symbolic (I
think symbolic, not hard) link to /var/mail. You see this from

ls -l /var/spool

which shows

mail - ../mail

at the end of the line for mail. Mailboxes are thus in /var/mail. To see
them do

ls -l /var/mail

The mailbox for some_user should be named and owned by some_user, the group
should be mail, and the permissions should be -rw-rw. You may have to
create these files using touch, chown, chgrp and chmod to get the ownership
and permissions right. If I remember rightly,

touch some_user
chown new_user new_user
chgrp mail new_user
chmod 660 new_user

will do it.

In my case, I messed up the default configuration and had the same problem
with mutt not seeing my mailbox. Creating the above link and file solved
the problem.


Mutt is also supposed to make a file called .muttrc in my home directory
but this does not exist, apparently without it i cant specify which MTA i
am using.


I don't think you need to specify exim in .muttrc. If I understand
correctly, exim appends incoming mail to user's mailboxes in
/var/spool/mail or, in this case, /var/mail. mutt looks for it in
/var/spool/mail, which is linked to /var/mail. What mutt needs to know is
where to look for the mailbox, not what MTA put the mail there.


Is there a mutt configuration script.  If you have any idea how to proceed.

You probably don't need this to solve your immediate problem. I don't
know of any script, but see the mutt home page for examples of
configuration files. Go to

http://www.mutt.org/

and more specifically

http://www.mutt.org/links.html#config

and perhaps more specifically still the (especially for newbies) link to
Telsa Gwynne's site.


If it would be easier to use another MTA i am happy to do so although i
hear that exim is the best.

Again, this probably isn't your problem, so suggest sticking with exim
for the present. To investigate problems, look at the main exim log file,

/var/log/exim/mainlog

using more, less, vi, etc. Initially I had the mailbox locking problem
described in Q0201 of the exim FAQ (http://www.exim.org/FAQ.html). After
creating the link and mailbox files described above this problem stopped.


thanks for your help
 very confused


Hang in there! I'm trying to set up unix style email with
exim/fetchmail/mutt/procmail after many years of Eudora. It isn't coming
easily, in part because documenation, voluminous as it is, doesn't address
all someone new to this setup needs to know. I'm still puzzling out my own
setup.


jm