Exim + Procmail + Mutt

1999-05-08 Thread J Horacio M G
I just installed Debian 2.1, and swifted from Smail to Exim.  I'm having
some trouble with it, though:

I lost some incoming mail as I tried to use Exim with the same .forward
and .procmailrc scripts I had with Debian 2.0, it sent mails to
/var/spool/exim/input/ and /var/spool/exim/msglog/.  I believe Exim
complained about |exec and IFS (I tried both with .forward).  This is
what I had in my ~/.forward:

|exec /usr/bin/procmail

¿Any idea?

Also, the problem with the From: header... my email address is
[EMAIL PROTECTED], but smail used to write it as
[EMAIL PROTECTED] (horacio being the user in the machine).  I
solved that by creating an user homega;  now, I'm trying to work it
right with Exim, so I created user horacio and in ~/.muttrc:

unmy_hdr From:
my_hdr From: J Horacio M G [EMAIL PROTECTED]
my_hdr Reply-To: [EMAIL PROTECTED] (Horacio)

but this is still not the way it should be done... or is it?  how can I
tell the MTA to show the full correct address?

TIA

Horacio


Re: Exim + Procmail + Mutt

1999-05-08 Thread J Horacio M G
~ Exim is kind of like a MTA+MDA in one; to a degree, it does what
~ smail+procmail does.

I fear that the to a degree bit will be meaningful here.

~ That in mind, you can uninstall procmail, and have exim do all of your
~ mail sorting.  (You'll need take your procmail recipies, convert them
~ to exim's language, and stick them in your ~/.forward.)

Just a bit lost here... all I have to do is create an empty ~/.forward
file, and rewrite my procmail recipes into it?  is that all, or do I
have to tell exim to look for (and where is) .forward?

~ For example, here is what I have in my ~/.forward to filter this
~ mailing lists' posts:

~ # Exim filter
~ #  take care of mailing list debian-user
~ if
~$header_X-Mailing-List: contains debian-user@lists.debian.org
~ then
~save my_mail_directory/debian-user
~ finish
~ endif
~ # enf of debian-user filter

~ This works, although I think I liked smail+procmail better,
~ personally.  shrug

Agreed... well, sort of;  may be exim works better than smail, and I'll
probably be glad I changed the MTA, but somehow I feel uncomfortable
with droping procmail as my MDA.  Ummh, I think I'll try to get by with
Exim for a while until I learn how to install and configure Qmail, which
I think it interacts well with Procmail.

Meanwhile, I used to have this in my ~/.procmailrc:

PATH=$HOME/bin:/usr/bin:/bin:/usr/local/bin:.
MAILDIR=~/Mail
LOGDIR=/var/log
DEFAULT=$MAILDIR/mbox
LOGFILE=$LOGDIR/procmail.log
LOCKFILE=$HOME/.lockmail

which would make mail go to ~/Mail/ instead of /var/spool/mail/user, and
then the tipical procmail recipes to process mail to the different
mailboxes within ~/Mail/;  and ~/Mail/mbox as the default mailbox where
non rule processed mail would go to... I see this bit in /etc/exim.conf:

local_delivery:
  driver = appendfile
  group = mail
  mode = 0660
  mode_fail_narrower = false
  file = /var/spool/mail/${local_part}

I hope changing it to:

file = ~/Mail/mbox

will work... not sure... I'll give it a try... NO!  it didn't work:

1999-05-08 16:36:39 Exim configuration error for local_delivery
transport:
  the file option must specify an absolute path
  Error al mandar mensaje, 1 ().
  Presione una tecla para continuar...
(Error to send message, 1 ()
Press a key to continue...)

Let's see with the full /home/horacio/Mail/mbox path

Thanks

Horacio


Re: xwin

1999-05-08 Thread J Horacio M G
Brian Servis dixit:
~ 
~ To stop xdm from starting in Debian 2.1 you have several options:
~ 
~ 1) remove the xdm package
~ 2) put an exit 0 at the top of the /etc/init.d/xdm script
~ 3) remove the symlinks in rc?.d to xdm with: update-rc.d -f remove xdm
~ 4) comment out the :0 local /usr/X11R6/bin/X line in
~/etc/X11/xdm/Xservers.  This will still allow remote XDMCP
~connections since xdm is still running but not managing the local
~display.

Sorry to take back on an old issue.

Since Ctrl+Alt+Fn can switch from X to almost any V.C., and supposing
you can then take on any task under the command line, I'm seeing no real
point in removing xdm or preventing it from starting the x server on
startup.

But still, if I wanted to exit X... how do I do it?  The exit menus in WM
take me back to the X login prompt, they don't take me to the command
prompt as they used to do in 2.0.

TIA

Horacio