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

exim question



The mail on my home network worked well untill recently (maybe after
updating Woody on one machine).

My setup is as follows:
192.168.0.1 (spyker) is the gateway to the outside world through a
ppp-connection. My isp is adept.co.za.

192.168.0.2 (storm) is the other machine.  The user(s) on storm gets
mail from spyker using fetchmail.

Exim is the mta on both machines.

runq -d9 on storm produces i.a. the following line:

failed to open database lock file
/var/spool/exim/db/wait-remote_smtp.lockfile: Permission denied
(euid=8 egid=8)

The contents of /var/spool/exim/db/ on spyker is:

-rw-r-----    1 root     root            0 Okt  2  2001
 wait-remote_smtp.lockfile
-rw-r-----    1 root     root         4096 Okt  2  2001
 wait-remote_smtp
-rw-r-----    1 root     root            0 Okt  2  2001 retry.lockfile
-rw-r-----    1 root     root         4096 Okt  2  2001 retry

 
I have tried to solve the problem by removing
/var/spool/exim/db/wait-remote_smtp.lockfile but that did not solve
the problem.

I then did a chown mail.mail on all the files in /var/spool/exim/db/
but that did not make any difference.  I changed them back to
root.root afterwards.  BTW I do not understand why they should be
root.root if mail is the user for exim?

My exim.conf on spyker:
---------------------------------------------------------------
qualify_domain = spyker
qualify_recipient = localhost
local_domains = localhost:spyker:storm:spyker.alterit.co.za:alterit.co.za
local_domains_include_host = true
local_domains_include_host_literals = true
relay_domains = 
relay_domains_include_local_mx = true
never_users = root
host_accept_relay = localhost:storm
trusted_users = mail
smtp_verify = true
gecos_pattern = ^([^,:]*)
gecos_name = $1
smtp_accept_queue_per_connection = 500
freeze_tell_mailmaster = true
received_header_text = "Received: \
         ${if def:sender_rcvhost {from ${sender_rcvhost}\n\t}\
         {${if def:sender_ident {from ${sender_ident} }}\
         ${if def:sender_helo_name {(helo=${sender_helo_name})\n\t}}}}\
         by ${primary_hostname} \
         ${if def:received_protocol {with ${received_protocol}}} \
         (Exim ${version_number} #${compile_number} (Debian))\n\t\
         id ${message_id}\
         ${if def:received_for {\n\tfor <$received_for>}}"
end
local_delivery:
  driver = appendfile
  group = mail
  mode = 0660
  mode_fail_narrower = false
  envelope_to_add = true
  file = /var/spool/mail/${local_part}
address_pipe:
  driver = pipe
  return_output
address_file:
  driver = appendfile
address_directory:
  driver = appendfile
  no_from_hack
  prefix = ""
  suffix = ""
address_reply:
  driver = autoreply
procmail_pipe:
  driver = pipe
  command = "/usr/bin/procmail -d ${local_part}"
  return_path_add
  delivery_date_add
  envelope_to_add
  check_string = "From "
  escape_string = ">From "
  user = $local_part
  group = mail
remote_smtp:
  driver = smtp

end
real_local:
  prefix = real-
  driver = localuser
  transport = local_delivery
system_aliases:
  driver = aliasfile
  file_transport = address_file
  pipe_transport = address_pipe
  file = /etc/aliases
  search_type = lsearch
procmail:
  driver = localuser
  transport = procmail_pipe
  require_files = ${local_part}:+${home}:+${home}/.procmailrc:+/usr/bin/procmail
  no_verify
userforward:
  driver = forwardfile
  file_transport = address_file
  pipe_transport = address_pipe
  reply_transport = address_reply
  no_verify
  check_ancestor
  file = .forward
  modemask = 002
  filter
localuser:
  driver = localuser
  transport = local_delivery

end
smarthost:
  driver = domainlist
  transport = remote_smtp
  route_list = "alterit.co.za localhost byname; spyker localhost byname; storm byname; * smtp.adept.co.za bydns_a"
end
*                      *           F,2h,15m; G,16h,2h,1.5; F,4d,8h

end
*@adept.co.za    ${lookup{$1}lsearch{/etc/email-addresses}\
						{$value}fail} bcfrF
*@spyker    ${lookup{$1}lsearch{/etc/email-addresses}\
						{$value}fail} bcfrF
----------------------------------- 

I hope somebody can help me with this one.

Regards.
Johann
-- 
J.H. Spies - Tel. 021-982 2694 / 082 782 0336 / 021-808 4036(w)  
             Posbus 4668, Tygervallei 7536
     "One thing have I desired of the LORD, that will I seek
      after; that I may dwell in the house of the LORD all
      the days of my life, to behold the beauty of the LORD,
      and to inquire in his temple."            
                               Psalms 27:4       


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: