[Pkg-exim4-users] exim4 problem
    Thomas H. George 
    lists at tomgeorge.info
       
    Tue Oct 21 14:05:10 UTC 2008
    
    
  
More on failure to send message as a normal user - tried the following:
# /etc/init.d/exim4 stop
# rm -rf  /var/log/exim4
# rm -rf  /var/spool/exim4
# dpkg --purge exim4
# apt-get install exim4
# dpkg-reconfigure exim4-config  (content of update-exim4.conf.conf 
attached. There was a question, "System mail name: " which I answered
                                                         
mail.tomgeorge.info.  This answer does not appear in 
update-exim4.conf.conf.  Why?)
# update-exim4.conf
$ exim4 mail at tomgeorge.info
  test
   .
Result: Failed to create file /var/spoo/exim4/info: Permission denied.
# exim4 mail at tomgeorge.info
   test
   .
Failed because there is no directory /var/log/exim4
# mkdir /var/log/exim4
# chown Debian-exim:adm /var/log/exim4
# chmod 2750 /var/log/exim4
# exim4 mail at tomgeorge.info
   test
   .
Result: Message sent and received.
$ exim4 mail at tomgeorge.info
  test
  .
Result: Failed to create file /var/spoo/exim4/info: Permission denied.
There is no directory /var/spool/exim4/info.  Should I create one?  If 
so, what ownership and permissions?
Before I erased /var/spool/exim4 and subdirectories above there was a 
directory /var/spool/exim4/info.  When I tried to send messages as tom I 
did not received any messages regarding /var/spool/exim4/info but rather 
a permission denied message regarding /var/spool/exim4/msglog.
So root can send mail, tom cannot.
What is wrong and how can I fix it?
Tom
------------------------------------------------------------------------
dc_eximconfig_configtype='smarthost'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='outgoing.verizon.net'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='false'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
    
    
More information about the Pkg-exim4-users
mailing list