LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-17-2020, 06:12 AM   #1
shams
Member
 
Registered: Jan 2004
Posts: 537

Rep: Reputation: 30
exim error: (file or directory name for local_delivery transport) not permitted


In manjaro 20.0.3, i setup my local mail server with exim and dovecot, every thing was ok, i always upgrade my manjaro with new versions of packages, since some day suddenly exim fail to deliver the email messages to my local mail box in /var/mail/user, this is the /var/log/exim/paniclog error message:
Code:
2020-06-14 13:36:29 1jkOaz-0000te-2f == user@localhost R=localuser T=local_delivery defer (-1): Tainted '/var/mail/user' (file or directory name for local_delivery transport) not permitted
This is the /var/mail permissions mode:
Code:
#ls -al /var/mail
drwxrwxrwt 2 root  root    4096 Jun 17 15:44 .
drwxr-xr-x 8 root  root    4096 Jun  9 20:38 ..
-rw------- 1 user  user 947962 Jun 17 15:25 user
any help please?

Last edited by shams; 06-17-2020 at 06:16 AM.
 
Old 06-18-2020, 02:58 AM   #2
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by shams View Post
This is the /var/mail permissions mode:
Code:
#ls -al /var/mail
drwxrwxrwt 2 root  root    4096 Jun 17 15:44 .
drwxr-xr-x 8 root  root    4096 Jun  9 20:38 ..
-rw------- 1 user  user 947962 Jun 17 15:25 user
any help please?
I just think directory /var/mail should have group ID "mail" and that "user" file as well and the latter should be rw for that group, so
Code:
drwxrwxrwt 2 root  mail    4096 Jun 17 15:44 .
-rw-rw---- 1 user  mail 947962 Jun 17 15:25 user
 
Old 06-20-2020, 01:21 PM   #3
Deadeye412
LQ Newbie
 
Registered: Jun 2020
Posts: 9

Rep: Reputation: 0
I also had this error and found in my exim.conf file under transports the following for local deliveries:
local_delivery:
driver = appendfile
file = /var/mail/$local_part
delivery_date_add
envelope_to_add
return_path_add
group = mail
mode = 0660

The new (exim.conf.rpmnew) file had the "file" listed as: file = /var/mail/$local_part_data

I changed that line to match what was in the "rpmnew" file and it is now working fine.

Hope this helps.
 
Old 11-04-2020, 02:44 AM   #4
mediumlinux
LQ Newbie
 
Registered: Mar 2018
Posts: 1

Rep: Reputation: Disabled
SOLUTION!

that was it for me, thanks!

Guess I should have read the changelogs!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
(mail transport unavailable)warning:connect to transport private/vacation,vacation NW ramankannan Linux - Server 1 12-08-2013 02:13 PM
Cannot get transport for account 'local_mbox-transport' clausawits Fedora 1 11-04-2012 09:22 AM
SIOCSIFFLAGS: Operation not permitted SIOCSIFFLAGS: Operation not permitted sushan1982 Linux - Wireless Networking 1 01-01-2012 08:04 PM
exim is failed !!! error:package exim is not installed apache Linux - Software 0 06-24-2004 05:55 AM
Exim Mail Transport Agent Fernando Linux - General 0 02-05-2002 02:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration