[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mutt can't send mail (Interrupted system call)



Moin mitnanner, moin Anthony.


I remember having had similar problems with my mutt/wheezy on my laptop.
(My mails are handled by my provider; I use fetchmail to get them.)

As Interrupt reactions of your mail system could be due to missing files
or directories, I put an excerpt of my own exim4/mutt configuration here
running under Wheezy in order to assist you in evaluating your entries.

(my local login name = wwf)


~/.muttrc (mode= 0640, owner =wwf:mail)
---------------------------------------
...
my_hdr From:	wfokken@web.de (my email address at my email provider)
...
set realname="Wilko Fokken"

set editor=vim	(make sure vim is found by mutt!)

set charset=UTF-8
...

set folder=~/Mail			# Where my mail folders go
set postponed=~/Mail/mutt/postponed	# Where to put postponed messages
set tmpdir=/tmp
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Make sure to install directories according to .muttrc contents:

mkdir -p ~/Mail/archive
cd ~/Mail/archive
touch now

mkdir -p ~/Mail/mutt
cd ~/Mail/mutt
touch postponed
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

check for entry in /etc/email-addresses:

wwf:	wfokken@web.de
<relating local login name to my mail name at my provider>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

my mail files (mode= 0660, owner= wwf:mail)
are located in directory:
/var/mail (mode= 2775, owner= root:mail)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

in directory /etc/exim4/ (0755, root:root), I modified 3 files:


/etc/exim4/update-exim4.conf.conf:
----------------------------------
(active entries = my alterations)

# dc_eximconfig_configtype='local'
dc_eximconfig_configtype='smarthost'
#
# dc_other_hostnames='<my local mailname>'
dc_other_hostnames=''
#
# dc_local_interfaces='127.0.0.1'
dc_local_interfaces='127.0.0.1 ; ::1'
#
# dc_readhost=''
dc_readhost='fok02.laje.edewe.de'	(=my local mailname)
#
dc_relay_domains=''
#
# dc_minimaldns='false'
dc_minimaldns='true'
#
dc_relay_nets=''
#
# dc_smarthost=''
dc_smarthost='smtp.web.de'	(my provider's smtp address)
#
CFILEMODE='644'
#
# dc_use_split_config='false'
dc_use_split_config='true'
#
# dc_hide_mailname=''
dc_hide_mailname='true'
#
dc_mailname_in_oh='true'
#
dc_localdelivery='mail_spool'
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -


/etc/exim4/passwd.client:
-------------------------
# Example:
# target.mail.server.example:login:password
#
smtp.web.de:<my smtp login>:<my smtp passwd>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

/etc/exim4/conf.d/router/800_exim4-config_maildrop:
---------------------------------------------------
#  check_local_user		(ORIG: this entry was activated)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

(in order to keep my original configuration, I save
 my original files in an added subdir: "./ORIG/")

Good luck!

Wilko


Reply to: