Re: Should I Abandon Mutt and Exim4?

2006-06-18 Thread mlaks
On 22:30 Thu 12 Jan , Dan Martins wrote:

 Something to note is this comment in exim4.conf.template:
 
 # Because AUTH PLAIN and AUTH LOGIN send the password in clear, we
 # only allow these mechanisms over encrypted connections by default.
 # You can set AUTH_CLIENT_ALLOW_NOTLS_PASSWORDS to allow unencrypted
 # clear text password authentication on all connections.
 
 I just set AUTH_CLIENT_ALLOW_NOTLS_PASSWORDS='true' in 
 /etc/exim4/exim4.conf.template (I placed it just under the comment 
 above), edited passwd.client, ran update-exim4.conf and restarted exim. 
 This is the part that took me forever to figure out :\
 
 

that is the key!!!

thank you very much Dan Martins!


Mitchell Laks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Should I Abandon Mutt and Exim4?

2006-02-12 Thread Thomas H. George
On Fri, Feb 10, 2006 at 05:17:06PM -0500, Gregory Seidman wrote:
 On Fri, Feb 10, 2006 at 01:54:31PM -0800, Tony Godshall wrote:
 }  ... I have the instructions to do this in a
 }  file but I have forgotten the vim command to attach it to this message.
 }  I'll re-post it if anyone needs it.
 } 
 } Generally one does not attach inside a text editor- that's a
 } MUA function.  One can include in vim/vi with...
 } 
 }   :r (filepath) (enter)Q
 } 
 } r is for read.  
 
 That just includes. To attach, you need to have edit_headers set in mutt
 and add one or more Attach: lines to the header with the path to the file
 you want to attach. Works great.
 
 --Greg
 
Thanks Greg.  It was include that I had forgotten and couldn't locate in
vim's help.  I guess it was vi's help that started with a list of all
the one letter commands.  At any rate thanks to you I know how to
include and attach.

--Tom
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Should I Abandon Mutt and Exim4?

2006-02-10 Thread Tony Godshall
 ... I have the instructions to do this in a
 file but I have forgotten the vim command to attach it to this message.
 I'll re-post it if anyone needs it.

Generally one does not attach inside a text editor- that's a
MUA function.  One can include in vim/vi with...

  :r (filepath) (enter)Q

r is for read.  


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Should I Abandon Mutt and Exim4?

2006-02-10 Thread Gregory Seidman
On Fri, Feb 10, 2006 at 01:54:31PM -0800, Tony Godshall wrote:
}  ... I have the instructions to do this in a
}  file but I have forgotten the vim command to attach it to this message.
}  I'll re-post it if anyone needs it.
} 
} Generally one does not attach inside a text editor- that's a
} MUA function.  One can include in vim/vi with...
} 
}   :r (filepath) (enter)Q
} 
} r is for read.  

That just includes. To attach, you need to have edit_headers set in mutt
and add one or more Attach: lines to the header with the path to the file
you want to attach. Works great.

--Greg


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Should I Abandon Mutt and Exim4?

2006-02-09 Thread Paul Scott

Vincent Lefevre wrote:


On 2006-01-13 17:04:23 +0100, Joachim Fahnenmüller wrote:
 


I also find exim difficult to configure.
   



Under Debian, there's almost nothing to do! Just answer a few questions.
 


That's great if you really understand the questions!

Paul Scott



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Should I Abandon Mutt and Exim4?

2006-02-09 Thread Thomas H. George
On Thu, Feb 09, 2006 at 03:53:35AM -0700, Paul Scott wrote:
 Vincent Lefevre wrote:
 
 On 2006-01-13 17:04:23 +0100, Joachim Fahnenmüller wrote:
  
 
 I also find exim difficult to configure.

 
 
 Under Debian, there's almost nothing to do! Just answer a few questions.
  
 
 That's great if you really understand the questions!
 
 Paul Scott
 
Actually it is not always a matter of answering a few questions.  In my
case it was necessary to edit the file exim.conf.template as
password.client did not work.  I have the instructions to do this in a
file but I have forgotten the vim command to attach it to this message.
I'll re-post it if anyone needs it.

Tom George
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact 
 [EMAIL PROTECTED]
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Mail configuration (was: Should I Abandon Mutt and Exim4?)

2006-01-23 Thread Michelle Konzack
Am 2006-01-13 22:44:27, schrieb Vincent Lefevre:

 It is buggy (I had that confirmed earlier today), I would not recommend
 it.

???  -  maildrop is not better.
I use procmail since around 7 years without any problems.

 I had to use another method, otherwise exim4 would store the mail in
 $HOME/Maildir, although I prefer $HOME/Mail/Maildir (I have several
 mailboxes in $HOME/Mail: the main incoming mailbox Maildir and other
 mailboxes for mailing-lists). The method was to add
 
 MAILDIR_HOME_MAILDIR_LOCATION='$home/Mail/Maildir'

...and it let you into trouble if you use courier-*.

 Fetchmail lost my mail in the past. I now use getmail (which is a bit

When?  -  For 10 years?  -  I have never lost a message.
I use fetchmail since around 7 years without any problems.

Greetings
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/3/8845235667100 Strasbourg/France   IRC #Debian (irc.icq.com)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Mail configuration (was: Should I Abandon Mutt and Exim4?)

2006-01-23 Thread Ron Johnson
On Mon, 2006-01-23 at 17:23 +0100, Michelle Konzack wrote:
 Am 2006-01-13 22:44:27, schrieb Vincent Lefevre:
 
  It is buggy (I had that confirmed earlier today), I would not recommend
  it.
 
 ???  -  maildrop is not better.
 I use procmail since around 7 years without any problems.

The bugs are probably in his procmail recipes.

Since, though, procmail recipes are 5even worse line noise than
Perl, I wouldn't recommend it either.  maildrop has a very clear
filtering language.

-- 
-
Ron Johnson, Jr.
Jefferson, LA USA

He used statistics the way a drunkard uses lampposts - for
support, not illumination.
Andrew Lang


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Should I Abandon Mutt and Exim4?

2006-01-16 Thread Chris Bannister
On Thu, Jan 12, 2006 at 06:41:52PM -0500, Gregory Seidman wrote:
 1) procmail -- I still don't properly understand how to write my own
recipes; all of mine are cut and paste or modified from cut
and paste


Have a look at the procmail-lib package.


 2) exim4 w/ maildir -- This took some digging to figure out, but it's a
matter of the line I mentioned in the previous post
in the /etc/exim4/update-exim4.conf.conf and running
update-exim4.conf  /etc/init.d/exim4 reload. The
line is: dc_localdelivery='maildir_home'

Ahh! What happens if you don't have it, considering in 
.muttrc:
set mbox_type=Maildir

and/or in 

.procmailrc:
:0 # note - not :0: - no need for locking on maildir
* [EMAIL PROTECTED]
IN-debian-user/   # and note '/' after directory 
  # for maildir

or does

dc_localdelivery='maildir_home'

allow for no .procmailrc?


 3) courier-imap auth -- I didn't want to use my login password for IMAP, so
 I used authuserdb. This just involved the userdb*
 commands from courier-imap and changing the
 /etc/courier/authdaemonrc to use authuserdb.
 
 4) mutt config -- I copied someone else's and gradually customized it. I'm
   using m4 cleverness for mailing list subscriptions.
 
 5) spamassassin user_prefs -- I shouldn't discount this, since I had
   developed it over the course of years on a
   system someone else administered, but it was
   incremental improvements.

Ummm ... spamassassin AND fetchmail?

Is not spamassassin only useful if you are operating a smarthost, which
if you are using fetchmail you won't be?

-- 
Chris.
==
Reproduction if desired may be handled locally. -- rfc3


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Should I Abandon Mutt and Exim4?

2006-01-16 Thread Gregory Seidman
On Tue, Jan 17, 2006 at 12:03:20AM +1300, Chris Bannister wrote:
} On Thu, Jan 12, 2006 at 06:41:52PM -0500, Gregory Seidman wrote:
}  1) procmail -- I still don't properly understand how to write my own
} recipes; all of mine are cut and paste or modified from cut
} and paste
} 
} Have a look at the procmail-lib package.

Very interesting. I'll dig through it.

}  2) exim4 w/ maildir -- This took some digging to figure out, but it's a
} matter of the line I mentioned in the previous post
} in the /etc/exim4/update-exim4.conf.conf and running
} update-exim4.conf  /etc/init.d/exim4 reload. The
} line is: dc_localdelivery='maildir_home'
} 
} Ahh! What happens if you don't have it, considering in 
} .muttrc:
}   set mbox_type=Maildir

Largely irrelevant and, in this case, undesirable since mbox_type only
affects creating new mailboxes. There are only three situations in which I
store emails:

1) To IMAP (in my muttrc, = expands to an IMAP account, which happens to be
   on my local box), so mbox_type doesn't matter

2) To my not-yet-trained-on spam folder, which already exists as a Maildir.

3) To my trained-on spam archives, which are mbox files of 500 messages
   each (and gzipped later).

Of these, only the third has mutt creating new mailboxes, and I want mbox
for that.

} and/or in 
} 
} .procmailrc:
}   :0 # note - not :0: - no need for locking on maildir
}   * [EMAIL PROTECTED]
}   IN-debian-user/   # and note '/' after directory 
} # for maildir
} 
} or does
} 
}   dc_localdelivery='maildir_home'
} 
} allow for no .procmailrc?

No, maildir_home is fine with a .procmailrc and, indeed, for my own mail I
do not need the exim4 Maildir setting. My wife's mail, however, goes right
into her Maildir without passing through either spamassassin or procmail
(she uses MacOS X's Mail.app's spam filtering, which works sufficiently
well for her).

[...]
}  5) spamassassin user_prefs -- I shouldn't discount this, since I had
}developed it over the course of years on a
}system someone else administered, but it was
}incremental improvements.
} 
} Ummm ... spamassassin AND fetchmail?
} 
} Is not spamassassin only useful if you are operating a smarthost, which
} if you are using fetchmail you won't be?

Okay, here's how mail flows from outside to the mailbox(es) I read:

POP server -- fetchmail -- exim4 -- procmail (calls spamc) -- Maildir

Mail coming from my system does, of course, go through my ISP's SMTP
server, which is used by exim4 as a smarthost.

} Chris.
--Greg


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Should I Abandon Mutt and Exim4?

2006-01-13 Thread matthias
 On Thu, Jan 12, 2006 at 05:51:51PM -0500, Gregory Seidman wrote:
 On Thu, Jan 12, 2006 at 05:07:56PM -0500, Thomas H. George wrote:
 } I have spent a couple of days trying to configure Exim4 so as to be
 able
 } to respond to postings from Mutt but without success.
 }
 } All this time Mozilla has posted my items to the list with no
 } difficulties and I find Mozilla will thread the downloads from the
 list
 } by subject.  I have not yet found, if they exist, the equivilents of
 } Mutt's C^d to delete an entire string and L to post response to the
 list
 } but I can manage without these if necessary.
 }
 } I like Mutt, opened from the console I can read the messages without
 my
 } glasses and responding with exim used to work,  but do I really need
 } it?  Are others working just with Mozilla?

 I haven't been following the mozilla + mutt thread, if that's the one
 you're talking about. I am, however, successfully using mutt and exim4
 together. I didn't really do anything special, though. My muttrc has a
 somewhat complex configuration for mailing lists, but my exim4 config is
 nothing more than a smarthost configuration, plus the following
 additional
 line in my /etc/exim4/update-exim4.conf.conf to use ~/Maildir instead of
 /var/mail/$USER:

 dc_localdelivery='maildir_home'

 } Tom George
 --Greg

 Hi, I JUST finished setting up mail using fetchmail/procmail/exim4/mutt.
 What a pain! I found this website very helpful:
 http://www.dcs.gla.ac.uk/~lativyn/articles/debian-mutt/
 If found all of the other articles i came across were too complicated to
 just get things working on a single user PC.

 Now that I have it working i'm glad i spent the time on it.


Hi,

I did a similar setup this week. As I live travel a lot (I live in two
different cities), it's hard to keep my mail from not getting scatthered.
I wanted to fetch my mail from a remote host somewhere on the internet and
keep it centralised on my own mailserver.

I installed exim4 with smarthost. Fetchmail polls my mailaccount every 7
minutes. Incoming messages get filtered with procmail (cut and pasted my
procmailrc file). Outbound mail is routed through exim4 to the smtp server
of my ISP. Just as any regular MUA would (check headers of this message to
see it work)

I use imap and imap-ssl to deliver mail to the clients on my laptop and my
two desktoppc's. I also use squirrelmail through apache2.

The hardest part was to get mail delivered in the right folders. I use the
Maildir format. It was a pain to get all the programs to understand that
my mail was in folder x and y. Especially .muttrc was difficult. I used
the 'mailboxes' directive in combination with 'mutt -y' Thunderbird seemed
to autodetect the right folders itself upon me logging in. Which was nice.
 Another helpful feature is to install logcheck (must have!) as it's
reports helped me great deal in solving several issues (frozen messages,
procmail not logging to the right location, etc.)

I used the same tutorial and i found it to be very helpful indeed. But you
should combine it with other tutorials like this one:

http://talk.trekweb.com/~jasonb/articles/exim_maildir_imap.shtml

In the end, I learned a lot about mailservers and e-mail.

With regards,

Matthias Vandermaesen
--
http://www.netsensei.nl


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Should I Abandon Mutt and Exim4?

2006-01-13 Thread Richard Lyons
On Thursday, 12 January 2006 at 18:41:52 -0500, Gregory Seidman wrote:
[...] 
 I have things set up with three fetchmail accounts (two go to
 my mailboxes, one to my wife's), exim4, procmail, spamc/spamd, and
 courier-imap. Of those, the hard parts (in order of difficulty) were:
[...]
 
 4) mutt config -- I copied someone else's and gradually customized it. I'm
   using m4 cleverness for mailing list subscriptions.

Yes, there are many examples out there to plagiarize.  And I am always
finding new tweaks, and learning how to do the bits I gave up on
previously.  No other MTA gives so much entertainment ;-)

 5) spamassassin user_prefs -- I shouldn't discount this, since I had
   developed it over the course of years on a
   system someone else administered, but it was
   incremental improvements.

I'd be interested to see the results of such long-considered
improvements (privately if you don't want to post it here). The pressure
is off since I installed greylistd, but I intend to have another go at
spamassassin soon -- my last attempt was abandonned after I brought the
server to its knees!

[...]
 There are some embellishments, such as having three accounts with the same
 UID so that I can receive mail to root on one, mail to my private address
 on another, and mail to my mailing list address on another, each of which
 are separate maildirs that mutt considers mail spools. I could do it with
 procmail, I think, but it's easier (if not simpler) to do it with three
 accounts.

I didn't know that it was possible to share a UID.  I guess I'd have
done that with an /etc/aliases and an exim .forward -- as ever with
*nix, there are many routes to get to any one place.

-- 
richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Should I Abandon Mutt and Exim4?

2006-01-13 Thread CaT
On Thu, Jan 12, 2006 at 08:36:59PM -0600, Ron Johnson wrote:
 OTOH, if you are Joe Consumer getting your i'net connection from
 an ISP, then no, It Won't Work.  He'll need to send all email thru
 his ISP's smtp server.

s/need/might have to/

This is where the error messages are important. Just because you're
using an ISP doesn't mean you need to use a smart host. I'd rather not
assume until I actually see what the problem is.

-- 
To the extent that we overreact, we proffer the terrorists the
greatest tribute.
- High Court Judge Michael Kirby


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Should I Abandon Mutt and Exim4?

2006-01-13 Thread Richard Lyons
On Friday, 13 January 2006 at 12:07:18 +, Richard Lyons wrote:
[...]
 Yes, there are many examples out there to plagiarize.  And I am always
 finding new tweaks, and learning how to do the bits I gave up on
 previously.  No other MTA gives so much entertainment ;-)
^^^
Correction: wrong forefinger: MUA of course

[...]

-- 
richard
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Should I Abandon Mutt and Exim4?

2006-01-13 Thread Ron Johnson
On Fri, 2006-01-13 at 23:18 +1100, CaT wrote:
 On Thu, Jan 12, 2006 at 08:36:59PM -0600, Ron Johnson wrote:
  OTOH, if you are Joe Consumer getting your i'net connection from
  an ISP, then no, It Won't Work.  He'll need to send all email thru
  his ISP's smtp server.
 
 s/need/might have to/
 
 This is where the error messages are important. Just because you're
 using an ISP doesn't mean you need to use a smart host. I'd rather not
 assume until I actually see what the problem is.

Since my reply was predicated on him being Joe Consumer, I feel
*highly* confident that he'll need to configure exim4 to be a
relayhost.  (Is relayhost a postfix-only term?)

-- 
-
Ron Johnson, Jr.
Jefferson, LA USA

It's springtime for Hitler, and Germany...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Should I Abandon Mutt and Exim4?

2006-01-13 Thread Andrew Cady
On Thu, Jan 12, 2006 at 05:07:56PM -0500, Thomas H. George wrote:
 I have spent a couple of days trying to configure Exim4 so as to be able 
 to respond to postings from Mutt but without success.

If you just want mutt to work like mozilla, look at the package 'msmtp'.
Alternatively, if you want all the unix mail tools to work like mozilla
(i.e., send mail your ISP's smtp server) look at the package 'ssmtp'.

HTH


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Should I Abandon Mutt and Exim4?

2006-01-13 Thread Gregory Seidman
On Fri, Jan 13, 2006 at 12:07:18PM +, Richard Lyons wrote:
} On Thursday, 12 January 2006 at 18:41:52 -0500, Gregory Seidman wrote:
[...]
}  5) spamassassin user_prefs -- I shouldn't discount this, since I had
}developed it over the course of years on a
}system someone else administered, but it was
}incremental improvements.
} 
} I'd be interested to see the results of such long-considered
} improvements (privately if you don't want to post it here). The pressure
} is off since I installed greylistd, but I intend to have another go at
} spamassassin soon -- my last attempt was abandonned after I brought the
} server to its knees!
[...]

Well, I have some 9 spam messages I've trained spamassassin on, so I
kind of like it. My .spamassassin/user_prefs, minus my whitelisted email
addresses, is below. The important stuff is the scoring adjustments for the
Bayesian thresholds.

} richard
--Greg

# SpamAssassin user preferences file.  See 'man Mail::SpamAssassin::Conf' for
# details of what can be tweaked.
#* 
#* Note: this file is not read by SpamAssassin until copied into the user 
directory
#* Instead, it will be copied
#* to a user's home directory, allowing them to perform personalised
#* customisation.  If you want to make changes to the site-wide defaults,
#* create a file in /etc/spamassassin or /etc/mail/spamassassin instead.
###

use_bayes   1
bayes_auto_learn1
bayes_auto_learn_threshold_nonspam 0.0
bayes_auto_learn_threshold_spam 8.0
bayes_ignore_header X-Virus-Scanned
bayes_ignore_header X-Amavis-Alert

# How many hits before a mail is considered spam.
required_hits   5
#rewrite_header Subject *SPAM*
ok_languagesen
ok_locales  en
report_safe 0
add_header all Report _REPORT_

# Whitelist and blacklist addresses are now file-glob-style patterns, so
# [EMAIL PROTECTED], [EMAIL PROTECTED], or *.domain.net will all work.
# whitelist_from[EMAIL PROTECTED]

unwhitelist_from [EMAIL PROTECTED]
blacklist_from [EMAIL PROTECTED]

# Add your own customised scores for some tests below.  The default scores are
# read from the installed spamassassin rules files, but you can override them
# here.  To see the list of tests and their default scores, go to
# http://spamassassin.org/tests.html .
#
# score SYMBOLIC_TEST_NAME n.nn

score IN_REP_TO 0
score PGP_SIGNATURE 0

score BAYES_00 -6
score BAYES_01 -5.5
score BAYES_10 -3.5
score BAYES_20 -2.5
score BAYES_30 -0.5
score BAYES_40  .1
score BAYES_44  .5
score BAYES_50  1
score BAYES_56  2.5
score BAYES_60  3
score BAYES_70  4
score BAYES_80  5
score BAYES_90  6
score BAYES_99  8


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Should I Abandon Mutt and Exim4?

2006-01-13 Thread Thomas H. George

CaT wrote:


On Thu, Jan 12, 2006 at 05:07:56PM -0500, Thomas H. George wrote:
 

I have spent a couple of days trying to configure Exim4 so as to be able 
to respond to postings from Mutt but without success.
   



It should just work[tm]. What error messages are you getting from mutt?
Are there any entries in your main, reject and panic logfiles that are
pertinent to your attempt to send out a msg (either because they happen
at around thesame time or for other reasons).

It's hard to help debug without useful info. :)

 

Just for the record, I posted the problem to the debian-user list 
earlier and got several suggestions each of which I tried without 
success. I read all the README's in /usr/share/doc/exim4, studied all 
the FAQ's in exim4-doc-html (beautifully organized by key word), 
subscribed to [EMAIL PROTECTED] and posted the 
problem there and spent a morning further experimenting with setup files 
and with the exim4 command options.


I came away from this with an enormous repect for power and resources of 
exim4 but did not solve my problem. It was then I realized I was 
spending time on a problem that could be avoided by using Mozilla.


Should anyone be interested in some detail here is my pkg-exim4-users 
posting with a response from Marc and one addition:


My system is Sarge with a 2.6.11 kernel. We have a Verizon DSL 
connection. I can send and receive email with Mozilla and receive mail 
with fetchmail but I have not been able to setup exim4 to send mail from 
mutt.


With Mozilla the setup is:

Account Name: lists
Your Name: Thomas H. George
email address: [EMAIL PROTECTED]
POP mail server
server name: mail.tomgeorge.info port 110
user name: [EMAIL PROTECTED]
Outgoing Server (SMTP) Settings
server name: outgoing.verzison.net port 25
user name: dryden

With exim4 the setup using dpkg-reconfigure exim4-config is

Split configuration into small files?: No
mail sent by smarthost; received via SMTP or fetchmail
System mail name: tomgeorge.info
IP address to listen to: 127.0.0.1
Other destinations for which mail is accepted: Left Blank
Machines to relay for: Left Blank
Machine handling outgoing mail for this host (smarthost): 
outgoing.verizion.net

Hide local name in outgoing mail: No
Keep number of DNS-queries minimal: No

In addition I have edited the file /etc/exim4/passwd.client adding a line

mail.verizion.net:dryden:OurPassword

Somewhere I have gone wrong in the setup but, having tried various 
combinations without success, I need help. I am attaching the the result 
of tail /var/log/exim4/mainlog in hopes this makes my mistake obvious 
and someone can put me straight.


Tom George



2006-01-11 12:20:10 1Ewjdq-0004pA-Oa = [EMAIL PROTECTED] U=tom 
P=local S=436 [EMAIL PROTECTED]
2006-01-11 12:20:11 1Ewjdq-0004pA-Oa ** [EMAIL PROTECTED] R=smarthost 
T=remote_smtp_smarthost: SMTP error from remote mailer after MAIL 
FROM:[EMAIL PROTECTED] SIZE=1474: host outgoing.verizon.net 
[206.46.232.12]: 550 5.7.1 Authentication Required
2006-01-11 12:20:11 1Ewjdr-0004pD-9G =  R=1Ewjdq-0004pA-Oa 
U=Debian-exim P=local S=1383

2006-01-11 12:20:11 1Ewjdq-0004pA-Oa Completed
2006-01-11 12:20:11 1Ewjdr-0004pD-9G ** [EMAIL PROTECTED] R=smarthost 
T=remote_smtp_smarthost: SMTP error from remote mailer after MAIL 
FROM: SIZE=2444: host outgoing.verizon.net [206.46.232.12]: 550 5.7.1 
Authentication Required

2006-01-11 12:20:11 1Ewjdr-0004pD-9G Frozen (delivery error message)

Marc responded, Does outgoing.verizon.net advertise STARTTLS? If not, 
you need to authorize your exim to do authentication over an unencryped 
connection.



If I understand the attached quote from 
/usr/share/doc/exim4/README.Debian.gz exim should handle this 
automatically (and the Mozilla setup referred to above is set to use TLS 
if available). Is there some other setting I should change? - Tom George








Using TLS   


exim4 as TLS/SSL client
--
Both exim4-daemon-heavy and exim4-daemon-light support TLS/SSL using the
GnuTLS library and exim will use TLS *automatically* as client if the
server exim connects to offers it. You can stop reading now if you are
not setting up a mailserver which needs to offer TLS for incoming
connections.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Should I Abandon Mutt and Exim4?

2006-01-13 Thread Ron Johnson
On Fri, 2006-01-13 at 08:12 -0500, Andrew Cady wrote:
 On Thu, Jan 12, 2006 at 05:07:56PM -0500, Thomas H. George wrote:
  I have spent a couple of days trying to configure Exim4 so as to be able 
  to respond to postings from Mutt but without success.
 
 If you just want mutt to work like mozilla, look at the package 'msmtp'.
 Alternatively, if you want all the unix mail tools to work like mozilla
 (i.e., send mail your ISP's smtp server) look at the package 'ssmtp'.

But then you won't be able to send intrasystem email.

-- 
-
Ron Johnson, Jr.
Jefferson, LA USA

In America, only the successful writer is important, in France
all writers are important, in England no writer is important, and
in Australia you have to explain what a writer is.
Geoffrey Cottrell


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Should I Abandon Mutt and Exim4?

2006-01-13 Thread Jacob S
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 13 Jan 2006 09:02:33 -0500
Thomas H. George [EMAIL PROTECTED] wrote:

 My system is Sarge with a 2.6.11 kernel. We have a Verizon DSL 
 connection. I can send and receive email with Mozilla and receive
 mail with fetchmail but I have not been able to setup exim4 to send
 mail from mutt.
 
 With Mozilla the setup is:
 
 Account Name: lists
 Your Name: Thomas H. George
 email address: [EMAIL PROTECTED]
 POP mail server
 server name: mail.tomgeorge.info port 110
 user name: [EMAIL PROTECTED]
 Outgoing Server (SMTP) Settings
 server name: outgoing.verzison.net port 25
 user name: dryden
 
 With exim4 the setup using dpkg-reconfigure exim4-config is
 
 Split configuration into small files?: No
 mail sent by smarthost; received via SMTP or fetchmail
 System mail name: tomgeorge.info
 IP address to listen to: 127.0.0.1
 Other destinations for which mail is accepted: Left Blank
 Machines to relay for: Left Blank
 Machine handling outgoing mail for this host (smarthost): 
 outgoing.verizion.net
 Hide local name in outgoing mail: No
 Keep number of DNS-queries minimal: No
 
 In addition I have edited the file /etc/exim4/passwd.client adding a
 line
 
 mail.verizion.net:dryden:OurPassword
 
 Somewhere I have gone wrong in the setup but, having tried various 
 combinations without success, I need help. I am attaching the the
 result of tail /var/log/exim4/mainlog in hopes this makes my mistake
 obvious and someone can put me straight.
 
 Tom George
 
 
 
 2006-01-11 12:20:10 1Ewjdq-0004pA-Oa = [EMAIL PROTECTED] U=tom 
 P=local S=436 [EMAIL PROTECTED]
 2006-01-11 12:20:11 1Ewjdq-0004pA-Oa ** [EMAIL PROTECTED]
 R=smarthost T=remote_smtp_smarthost: SMTP error from remote mailer
 after MAIL FROM:[EMAIL PROTECTED] SIZE=1474: host
 outgoing.verizon.net [206.46.232.12]: 550 5.7.1 Authentication
 Required 2006-01-11 12:20:11 1Ewjdr-0004pD-9G = 
 R=1Ewjdq-0004pA-Oa U=Debian-exim P=local S=1383
 2006-01-11 12:20:11 1Ewjdq-0004pA-Oa Completed
 2006-01-11 12:20:11 1Ewjdr-0004pD-9G ** [EMAIL PROTECTED]
 R=smarthost T=remote_smtp_smarthost: SMTP error from remote mailer
 after MAIL FROM: SIZE=2444: host outgoing.verizon.net
 [206.46.232.12]: 550 5.7.1 Authentication Required
 2006-01-11 12:20:11 1Ewjdr-0004pD-9G Frozen (delivery error message)

So obviously the server is saying exim4 hasn't authenticated before it
is trying to send the e-mail.

 Marc responded, Does outgoing.verizon.net advertise STARTTLS? If
 not, you need to authorize your exim to do authentication over an
 unencryped connection.
 
 If I understand the attached quote from 
 /usr/share/doc/exim4/README.Debian.gz exim should handle this 
 automatically (and the Mozilla setup referred to above is set to use
 TLS if available). Is there some other setting I should change? - Tom
 George
 
Exim4 can handle it transparently, but it seems by default Debian sets
up exim4 to only use tls authentication.
 
Try editing /etc/exim4/exim4.conf.template and edit the
'remote_smtp_smarthost:' section. Change tls_tempfail_tryclear =
false to tls_tempfail_tryclear = true. Immediately below that line,
insert a new line reading hosts_require_auth = outgoing.verizon.net.
(And make sure you spell 'verizon' correctly. I notice you misspelled it
several different ways throughout your e-mail, which can also cause
problems like you describe.) Once you're done editing the file, run
'update-exim4.conf' to generate the new config files.

HTH,
Jacob
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDx77WkpJ43hY3cTURAg3gAJ9Xc1FczFA+ZoMApFcQtvY7IDNcLQCgtfik
Ba0K+8hAsYuGCOMQxwx6sAs=
=eJmD
-END PGP SIGNATURE-


Re: Should I Abandon Mutt and Exim4?

2006-01-13 Thread Joachim Fahnenmüller
Hi Thomas

On Thu, Jan 12, 2006 at 05:07:56PM -0500, Thomas H. George wrote:
 I have spent a couple of days trying to configure Exim4 so as to be able 
 to respond to postings from Mutt but without success.
 
I also find exim difficult to configure. I am happy with mutt, and I use msmtp
for delivering mail, getmail and procmail for retrieving and sorting mail. These
are quite easy to set up.

 All this time Mozilla has posted my items to the list with no 
 difficulties and I find Mozilla will thread the downloads from the list 
 by subject.  I have not yet found, if they exist, the equivilents of 
 Mutt's C^d to delete an entire string and L to post response to the list 
 but I can manage without these if necessary.
 
 I like Mutt, opened from the console I can read the messages without my 
 glasses and responding with exim used to work,  but do I really need 
 it?  Are others working just with Mozilla?
 
 Tom George
 
HTH
-- 
Joachim Fahnenmüller


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Should I Abandon Mutt and Exim4?

2006-01-13 Thread Andrei Popescu
On Fri, 13 Jan 2006 09:02:33 -0500
Thomas H. George [EMAIL PROTECTED] wrote:


 Hide local name in outgoing mail: No

I've had a stupid ISP who would not relay mail for other accounts. It might be 
a stupid suggestion, but... Do you have a Verizon mail account? try to set this 
one, or change the above to Yes

Andrei
-- 
If you can't explain it simply, you don't understand it well enough. (Albert 
Einstein)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Should I Abandon Mutt and Exim4?

2006-01-13 Thread Richard Lyons
On Friday, 13 January 2006 at  8:47:33 -0500, Gregory Seidman wrote:
 On Fri, Jan 13, 2006 at 12:07:18PM +, Richard Lyons wrote:
[...]
 } 
 } I'd be interested to see the results of such long-considered
 } improvements (privately if you don't want to post it here). The pressure
[...]
 
 Well, I have some 9 spam messages I've trained spamassassin on, so I
 kind of like it. My .spamassassin/user_prefs, minus my whitelisted email
 addresses, is below. The important stuff is the scoring adjustments for the
 Bayesian thresholds.
[...]

Thanks.  I shall read learn and inwardly digest...

-- 
richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Should I Abandon Mutt and Exim4?

2006-01-13 Thread Vincent Lefevre
On 2006-01-13 17:04:23 +0100, Joachim Fahnenmüller wrote:
 I also find exim difficult to configure.

Under Debian, there's almost nothing to do! Just answer a few questions.

-- 
Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/
100% accessible validated (X)HTML - Blog: http://www.vinc17.org/blog/
Work: CR INRIA - computer arithmetic / SPACES project at LORIA


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Should I Abandon Mutt and Exim4?

2006-01-13 Thread Thomas H. George

Jacob S wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 13 Jan 2006 09:02:33 -0500
Thomas H. George [EMAIL PROTECTED] wrote:

 

My system is Sarge with a 2.6.11 kernel. We have a Verizon DSL 
connection. I can send and receive email with Mozilla and receive

mail with fetchmail but I have not been able to setup exim4 to send
mail from mutt.

With Mozilla the setup is:

Account Name: lists
Your Name: Thomas H. George
email address: [EMAIL PROTECTED]
POP mail server
server name: mail.tomgeorge.info port 110
user name: [EMAIL PROTECTED]
Outgoing Server (SMTP) Settings
server name: outgoing.verzison.net port 25
user name: dryden

With exim4 the setup using dpkg-reconfigure exim4-config is

Split configuration into small files?: No
mail sent by smarthost; received via SMTP or fetchmail
System mail name: tomgeorge.info
IP address to listen to: 127.0.0.1
Other destinations for which mail is accepted: Left Blank
Machines to relay for: Left Blank
Machine handling outgoing mail for this host (smarthost): 
outgoing.verizion.net

Hide local name in outgoing mail: No
Keep number of DNS-queries minimal: No

In addition I have edited the file /etc/exim4/passwd.client adding a
line

mail.verizion.net:dryden:OurPassword

Somewhere I have gone wrong in the setup but, having tried various 
combinations without success, I need help. I am attaching the the

result of tail /var/log/exim4/mainlog in hopes this makes my mistake
obvious and someone can put me straight.

Tom George



2006-01-11 12:20:10 1Ewjdq-0004pA-Oa = [EMAIL PROTECTED] U=tom 
P=local S=436 [EMAIL PROTECTED]

2006-01-11 12:20:11 1Ewjdq-0004pA-Oa ** [EMAIL PROTECTED]
R=smarthost T=remote_smtp_smarthost: SMTP error from remote mailer
after MAIL FROM:[EMAIL PROTECTED] SIZE=1474: host
outgoing.verizon.net [206.46.232.12]: 550 5.7.1 Authentication
Required 2006-01-11 12:20:11 1Ewjdr-0004pD-9G = 
R=1Ewjdq-0004pA-Oa U=Debian-exim P=local S=1383
2006-01-11 12:20:11 1Ewjdq-0004pA-Oa Completed
2006-01-11 12:20:11 1Ewjdr-0004pD-9G ** [EMAIL PROTECTED]
R=smarthost T=remote_smtp_smarthost: SMTP error from remote mailer
after MAIL FROM: SIZE=2444: host outgoing.verizon.net
[206.46.232.12]: 550 5.7.1 Authentication Required
2006-01-11 12:20:11 1Ewjdr-0004pD-9G Frozen (delivery error message)
   



So obviously the server is saying exim4 hasn't authenticated before it
is trying to send the e-mail.

 


Marc responded, Does outgoing.verizon.net advertise STARTTLS? If
not, you need to authorize your exim to do authentication over an
unencryped connection.

If I understand the attached quote from 
/usr/share/doc/exim4/README.Debian.gz exim should handle this 
automatically (and the Mozilla setup referred to above is set to use

TLS if available). Is there some other setting I should change? - Tom
George
   



Exim4 can handle it transparently, but it seems by default Debian sets
up exim4 to only use tls authentication.

Try editing /etc/exim4/exim4.conf.template and edit the
'remote_smtp_smarthost:' section. Change tls_tempfail_tryclear =
false to tls_tempfail_tryclear = true. Immediately below that line,
insert a new line reading hosts_require_auth = outgoing.verizon.net.
(And make sure you spell 'verizon' correctly. I notice you misspelled it
several different ways throughout your e-mail, which can also cause
problems like you describe.) Once you're done editing the file, run
'update-exim4.conf' to generate the new config files.

HTH,
Jacob
 

Yes, this helped but there is still a catch.  Immediately following 
another attempt to mail from mutt to [EMAIL PROTECTED] I checked 
exim4's mainlog and found


2006-01-13 15:30:16 1ExVYu-0006fd-4a = [EMAIL PROTECTED] U=tom P=local S=446 
[EMAIL PROTECTED]
2006-01-13 15:30:16 1ExVYu-0006fd-4a == [EMAIL PROTECTED] R=smarthost 
T=remote_smtp_smarthost defer (-53): retry time not reached for any host.

Tom



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Mail configuration (was: Should I Abandon Mutt and Exim4?)

2006-01-13 Thread Vincent Lefevre
On 2006-01-12 18:41:52 -0500, Gregory Seidman wrote:
 1) procmail -- I still don't properly understand how to write my own
recipes; all of mine are cut and paste or modified from cut
and paste

It is buggy (I had that confirmed earlier today), I would not recommend
it.

Moreover it is easy to write wrong rules and lose mail (said otherwise,
it lacks a full structured  robust syntax and validation). A few days
ago, I forgot a backslash at the end of a line, and the consequence was
that the following lines procmail didn't understand were skipped, i.e.
procmail assumed that the conditions were matched, and all the mail was
rejected (it was a spam filter).

I'd like very much to have a mail filtering system with at least a
testcase-based validation.

 2) exim4 w/ maildir -- This took some digging to figure out, but it's a
matter of the line I mentioned in the previous post
in the /etc/exim4/update-exim4.conf.conf and running
update-exim4.conf  /etc/init.d/exim4 reload. The
line is: dc_localdelivery='maildir_home'

I had to use another method, otherwise exim4 would store the mail in
$HOME/Maildir, although I prefer $HOME/Mail/Maildir (I have several
mailboxes in $HOME/Mail: the main incoming mailbox Maildir and other
mailboxes for mailing-lists). The method was to add

MAILDIR_HOME_MAILDIR_LOCATION='$home/Mail/Maildir'

to /etc/default/exim4.

For personal machines (i.e. with not much mail sent), I also advise to
set QUEUEINTERVAL='5m' because of greylists.

Also there's address rewriting in /etc/email-addresses. For instance,
in my case, where my login is lefevre:

lefevre: [EMAIL PROTECTED]

 4) mutt config -- I copied someone else's and gradually customized it. I'm
   using m4 cleverness for mailing list subscriptions.

It is easy to configure (just RTFM, searching for words may be useful),
but there are a few things to know:
  * set envelope_from may be useful for some mailing-lists.
  * set hidden_host may be useful, depending on the environment.
  * set use_8bitmime to avoid quoted-printable.
  * set nowrite_bcc (as said in Mutt's manual: Controls whether mutt
writes out the Bcc header when preparing messages to be sent. Exim
users may wish to unset this.).

 5) spamassassin user_prefs -- I shouldn't discount this, since I had
   developed it over the course of years on a
   system someone else administered, but it was
   incremental improvements.

I did some changes based on experience, but SpamAssassin with its
bayesian filtering is quite slow and takes a lot of memory. I no
longer use it on my 256-MB PowerBook.

 6) /etc/fetchmailrc -- Building the fetchmailrc, especially figuring out
how to make sure that it wouldn't overwhelm
spamassassin or exim4, was a little challenging. I
used fetchmailconf for it, though, so it was
moderately easy.

Fetchmail lost my mail in the past. I now use getmail (which is a bit
paranoid about that). It is quite easy to configure, but one of the
points is very unintuitive: a tuple with one item needs a comma (this
is clearly said in the manual and there are examples in it, but when
one looks at other examples and doesn't read the whole manual, it is
easy to make a mistake).

 7) debconf -- Using debconf to make exim4 use a smarthost was dead easy.

Yes, even when not using a smarthost. I also use netenv and my exim4
configuration depends on the environment, but I had a problem only
during an upgrade.

 8) software install -- apt-get install, baby!
spamassassin procmail fetchmail courier-imap mutt

I use my own patched version of Mutt, based on the CVS. :)

-- 
Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/
100% accessible validated (X)HTML - Blog: http://www.vinc17.org/blog/
Work: CR INRIA - computer arithmetic / SPACES project at LORIA


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Mail configuration (was: Should I Abandon Mutt and Exim4?)

2006-01-13 Thread Vincent Lefevre
On 2006-01-13 22:44:27 +0100, Vincent Lefevre wrote:
 On 2006-01-12 18:41:52 -0500, Gregory Seidman wrote:
  1) procmail -- I still don't properly understand how to write my own
 recipes; all of mine are cut and paste or modified from cut
 and paste
 
 It is buggy (I had that confirmed earlier today), I would not recommend
 it.

Well, this time at least, it was a bug in my filter: when '' is the
first character of a regexp, it has a special meaning. Of course, I
knew it (and even use it in another rule!), but when writing

  * div./divdiv./div

it is difficult to notice the problem. When I said the syntax was crap...

-- 
Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/
100% accessible validated (X)HTML - Blog: http://www.vinc17.org/blog/
Work: CR INRIA - computer arithmetic / SPACES project at LORIA


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Should I Abandon Mutt and Exim4?

2006-01-12 Thread Thomas H. George
I have spent a couple of days trying to configure Exim4 so as to be able 
to respond to postings from Mutt but without success.


All this time Mozilla has posted my items to the list with no 
difficulties and I find Mozilla will thread the downloads from the list 
by subject.  I have not yet found, if they exist, the equivilents of 
Mutt's C^d to delete an entire string and L to post response to the list 
but I can manage without these if necessary.


I like Mutt, opened from the console I can read the messages without my 
glasses and responding with exim used to work,  but do I really need 
it?  Are others working just with Mozilla?


Tom George


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Should I Abandon Mutt and Exim4?

2006-01-12 Thread Andrew Sackville-West
On Thu, 12 Jan 2006 17:07:56 -0500
Thomas H. George [EMAIL PROTECTED] wrote:

 I have spent a couple of days trying to configure Exim4 so as to be able 
 to respond to postings from Mutt but without success.
 
 All this time Mozilla has posted my items to the list with no 
 difficulties and I find Mozilla will thread the downloads from the list 
 by subject.  I have not yet found, if they exist, the equivilents of 
 Mutt's C^d to delete an entire string and L to post response to the list 
 but I can manage without these if necessary.
 
 I like Mutt, opened from the console I can read the messages without my 
 glasses and responding with exim used to work,  but do I really need 
 it?  Are others working just with Mozilla?

fwiw I use sylpheed (for about a week now) and like it quite a bit. very 
customizable. But, I have trouble believing that you're mutt/exim problem can't 
be solved. But, I know naught of these things.

A

 
 Tom George
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Should I Abandon Mutt and Exim4?

2006-01-12 Thread Gregory Seidman
On Thu, Jan 12, 2006 at 05:07:56PM -0500, Thomas H. George wrote:
} I have spent a couple of days trying to configure Exim4 so as to be able 
} to respond to postings from Mutt but without success.
} 
} All this time Mozilla has posted my items to the list with no 
} difficulties and I find Mozilla will thread the downloads from the list 
} by subject.  I have not yet found, if they exist, the equivilents of 
} Mutt's C^d to delete an entire string and L to post response to the list 
} but I can manage without these if necessary.
} 
} I like Mutt, opened from the console I can read the messages without my 
} glasses and responding with exim used to work,  but do I really need 
} it?  Are others working just with Mozilla?

I haven't been following the mozilla + mutt thread, if that's the one
you're talking about. I am, however, successfully using mutt and exim4
together. I didn't really do anything special, though. My muttrc has a
somewhat complex configuration for mailing lists, but my exim4 config is
nothing more than a smarthost configuration, plus the following additional
line in my /etc/exim4/update-exim4.conf.conf to use ~/Maildir instead of
/var/mail/$USER:

dc_localdelivery='maildir_home'

} Tom George
--Greg


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Should I Abandon Mutt and Exim4?

2006-01-12 Thread Dan Martins
On Thu, Jan 12, 2006 at 05:51:51PM -0500, Gregory Seidman wrote:
 On Thu, Jan 12, 2006 at 05:07:56PM -0500, Thomas H. George wrote:
 } I have spent a couple of days trying to configure Exim4 so as to be able 
 } to respond to postings from Mutt but without success.
 } 
 } All this time Mozilla has posted my items to the list with no 
 } difficulties and I find Mozilla will thread the downloads from the list 
 } by subject.  I have not yet found, if they exist, the equivilents of 
 } Mutt's C^d to delete an entire string and L to post response to the list 
 } but I can manage without these if necessary.
 } 
 } I like Mutt, opened from the console I can read the messages without my 
 } glasses and responding with exim used to work,  but do I really need 
 } it?  Are others working just with Mozilla?
 
 I haven't been following the mozilla + mutt thread, if that's the one
 you're talking about. I am, however, successfully using mutt and exim4
 together. I didn't really do anything special, though. My muttrc has a
 somewhat complex configuration for mailing lists, but my exim4 config is
 nothing more than a smarthost configuration, plus the following additional
 line in my /etc/exim4/update-exim4.conf.conf to use ~/Maildir instead of
 /var/mail/$USER:
 
 dc_localdelivery='maildir_home'
 
 } Tom George
 --Greg
 
Hi, I JUST finished setting up mail using fetchmail/procmail/exim4/mutt. 
What a pain! I found this website very helpful: 
http://www.dcs.gla.ac.uk/~lativyn/articles/debian-mutt/
If found all of the other articles i came across were too complicated to 
just get things working on a single user PC.

Now that I have it working i'm glad i spent the time on it.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Should I Abandon Mutt and Exim4?

2006-01-12 Thread Gregory Seidman
On Thu, Jan 12, 2006 at 06:20:04PM -0500, Dan Martins wrote:
[...]
} Hi, I JUST finished setting up mail using fetchmail/procmail/exim4/mutt. 
} What a pain! I found this website very helpful: 
} http://www.dcs.gla.ac.uk/~lativyn/articles/debian-mutt/
} If found all of the other articles i came across were too complicated to 
} just get things working on a single user PC.
} 
} Now that I have it working i'm glad i spent the time on it.

Wow, really? I have things set up with three fetchmail accounts (two go to
my mailboxes, one to my wife's), exim4, procmail, spamc/spamd, and
courier-imap. Of those, the hard parts (in order of difficulty) were:

1) procmail -- I still don't properly understand how to write my own
   recipes; all of mine are cut and paste or modified from cut
   and paste

2) exim4 w/ maildir -- This took some digging to figure out, but it's a
   matter of the line I mentioned in the previous post
   in the /etc/exim4/update-exim4.conf.conf and running
   update-exim4.conf  /etc/init.d/exim4 reload. The
   line is: dc_localdelivery='maildir_home'

3) courier-imap auth -- I didn't want to use my login password for IMAP, so
I used authuserdb. This just involved the userdb*
commands from courier-imap and changing the
/etc/courier/authdaemonrc to use authuserdb.

4) mutt config -- I copied someone else's and gradually customized it. I'm
  using m4 cleverness for mailing list subscriptions.

5) spamassassin user_prefs -- I shouldn't discount this, since I had
  developed it over the course of years on a
  system someone else administered, but it was
  incremental improvements.

6) /etc/fetchmailrc -- Building the fetchmailrc, especially figuring out
   how to make sure that it wouldn't overwhelm
   spamassassin or exim4, was a little challenging. I
   used fetchmailconf for it, though, so it was
   moderately easy.

7) debconf -- Using debconf to make exim4 use a smarthost was dead easy.

8) software install -- apt-get install, baby!
   spamassassin procmail fetchmail courier-imap mutt

There are some embellishments, such as having three accounts with the same
UID so that I can receive mail to root on one, mail to my private address
on another, and mail to my mailing list address on another, each of which
are separate maildirs that mutt considers mail spools. I could do it with
procmail, I think, but it's easier (if not simpler) to do it with three
accounts.

--Greg


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Should I Abandon Mutt and Exim4?

2006-01-12 Thread CaT
On Thu, Jan 12, 2006 at 05:07:56PM -0500, Thomas H. George wrote:
 I have spent a couple of days trying to configure Exim4 so as to be able 
 to respond to postings from Mutt but without success.

It should just work[tm]. What error messages are you getting from mutt?
Are there any entries in your main, reject and panic logfiles that are
pertinent to your attempt to send out a msg (either because they happen
at around thesame time or for other reasons).

It's hard to help debug without useful info. :)

-- 
To the extent that we overreact, we proffer the terrorists the
greatest tribute.
- High Court Judge Michael Kirby


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Should I Abandon Mutt and Exim4?

2006-01-12 Thread Ron Johnson
On Fri, 2006-01-13 at 10:57 +1100, CaT wrote:
 On Thu, Jan 12, 2006 at 05:07:56PM -0500, Thomas H. George wrote:
  I have spent a couple of days trying to configure Exim4 so as to be able 
  to respond to postings from Mutt but without success.
 
 It should just work[tm]. What error messages are you getting from mutt?

If you live on a machine that has a routeable IP address, and a
functioning DNS, then sure, it should Just Work.

OTOH, if you are Joe Consumer getting your i'net connection from
an ISP, then no, It Won't Work.  He'll need to send all email thru
his ISP's smtp server.

As Gregory Seidman wrote, OP will have to configure exim4 to be
a smarthost.  Thus, when *any* MUA sends email (in sendmail mode),
the MTA (exim4, in this case) will forward the mail to the ISP

-- 
-
Ron Johnson, Jr.
Jefferson, LA USA

Its easy to understand why the cat has eclipsed the dog as
modern America's favorite pet. People like pets to possess the
same qualities they do. Cats are irresponsible and recognize no
authority, yet are completely dependent on others for their
material needs. Cats cannot be made to do anything useful. Cats
are mean for the fun of it.
P.J. O'Rourke, satirist


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Should I Abandon Mutt and Exim4?

2006-01-12 Thread Lance Simmons
* Ron Johnson [EMAIL PROTECTED] [060112 20:37]:
 
 OTOH, if you are Joe Consumer getting your i'net connection from an
 ISP, then no, It Won't Work.  He'll need to send all email thru his
 ISP's smtp server.

Right.  And this is easy enough to do.
 
 As Gregory Seidman wrote, OP will have to configure exim4 to be
 a smarthost.  Thus, when *any* MUA sends email (in sendmail mode),
 the MTA (exim4, in this case) will forward the mail to the ISP

I think you mean he needs to configure exim4 to use a smarthost, namely,
the ISP's smtp server.

Here are the steps I'd follow:

First, 'dpkg-reconfigure exim4-config', to specify the appropriate
smarthost.  (Information he has to have if mozilla mail is working.)

Then, if that doesn't work, read the error logfiles in /var/log/exim4/,
to see if you're getting rejected by the ISP.  If you are, you may need
to specify a username and password, which is done by manually editing
/etc/exim4/passwd.client according to the instructions in that file.

-- 
Lance Simmons
Tragedy is when I stub my toe. Comedy is when you fall
through an open manhole and die.
-- Mel Brooks


signature.asc
Description: Digital signature


Re: Should I Abandon Mutt and Exim4?

2006-01-12 Thread Dan Martins
On Thu, Jan 12, 2006 at 09:12:49PM -0600, Lance Simmons wrote:
 * Ron Johnson [EMAIL PROTECTED] [060112 20:37]:
  
  OTOH, if you are Joe Consumer getting your i'net connection from an
  ISP, then no, It Won't Work.  He'll need to send all email thru his
  ISP's smtp server.
 
 Right.  And this is easy enough to do.
  
  As Gregory Seidman wrote, OP will have to configure exim4 to be
  a smarthost.  Thus, when *any* MUA sends email (in sendmail mode),
  the MTA (exim4, in this case) will forward the mail to the ISP
 
 I think you mean he needs to configure exim4 to use a smarthost, namely,
 the ISP's smtp server.
 
 Here are the steps I'd follow:
 
 First, 'dpkg-reconfigure exim4-config', to specify the appropriate
 smarthost.  (Information he has to have if mozilla mail is working.)
 
 Then, if that doesn't work, read the error logfiles in /var/log/exim4/,
 to see if you're getting rejected by the ISP.  If you are, you may need
 to specify a username and password, which is done by manually editing
 /etc/exim4/passwd.client according to the instructions in that file.
 
 -- 
 Lance Simmons
 Tragedy is when I stub my toe. Comedy is when you fall
 through an open manhole and die.
 -- Mel Brooks

Something to note is this comment in exim4.conf.template:

# Because AUTH PLAIN and AUTH LOGIN send the password in clear, we
# only allow these mechanisms over encrypted connections by default.
# You can set AUTH_CLIENT_ALLOW_NOTLS_PASSWORDS to allow unencrypted
# clear text password authentication on all connections.

I just set AUTH_CLIENT_ALLOW_NOTLS_PASSWORDS='true' in 
/etc/exim4/exim4.conf.template (I placed it just under the comment 
above), edited passwd.client, ran update-exim4.conf and restarted exim. 
This is the part that took me forever to figure out :\


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]