LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-17-2006, 03:01 AM   #1
vikasumit
Member
 
Registered: Apr 2006
Location: Delhi, India
Distribution: Fedore , CentOs, Debian
Posts: 121

Rep: Reputation: 15
Exim Panic Error


Hi,

I have install exim few minutes before and to test it out, I start following guidelines given in the exim documentation.

as given in there to test a mail I should do this
Code:
[root@Sumit rc.d]# exim -v sumit@example.com
From: sumit@localhost.com
To: sumit@example.com
Subject Testing Exim on local machine
    
This is great
.
LOG: MAIN
  <= root@Sumit.190 U=root P=local S=361
delivering 1FgFhY-0000qG-EC
[root@Sumit rc.d]# LOG: MAIN PANIC
  User 0 set for remote_smtp transport is on the never_users list
LOG: MAIN PANIC
  == sumit@nethuesindia.com R=dnslookup T=remote_smtp defer (-29): $
User 0 set for remote_smtp transport is on the never_users list
I got this error in Panic Log
Code:
[root@Sumit rc.d]# cat /var/spool/exim/log/paniclog 
2006-05-17 11:20:11 1FgEu8-0000q4-5S User 0 set for remote_smtp transport is on the never_users list
2006-05-17 11:20:11 1FgEu8-0000q4-5S == sumit@nethuesindia.com R=dnslookup T=remote_smtp defer (-29): $
User 0 set for remote_smtp transport is on the never_users list
2006-05-17 12:11:47 1FgFhY-0000qG-EC User 0 set for remote_smtp transport is on the never_users list
2006-05-17 12:11:47 1FgFhY-0000qG-EC == sumit@nethuesindia.com R=dnslookup T=remote_smtp defer (-29): $
User 0 set for remote_smtp transport is on the never_users list
Any idea whats wrong i did ?

Thanks

Last edited by vikasumit; 05-17-2006 at 03:02 AM.
 
Old 05-17-2006, 03:43 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
user 0 is root. the never_users list is a lite of uid's who can not send mail to various places, and in this case it is the remote_smtp transport. i.e. root is not allowed to send emails out of the local machine. makes sense to me. you can remove or override the never_users list if you really want, but it's not recommended.
 
Old 05-17-2006, 04:06 AM   #3
vikasumit
Member
 
Registered: Apr 2006
Location: Delhi, India
Distribution: Fedore , CentOs, Debian
Posts: 121

Original Poster
Rep: Reputation: 15
Hi,

Quote:
root is not allowed to send emails out of the local machine. makes sense to me.
I would like to get your point on this, I mean why root cannot send mail out? Also while doing configuration of Exim, I set EXIM_USER=root I guess that is Root is allowed user, infact Exim will run as root user (also a recommanded in exim configuration). Or Shall I make new user say exim and run application as that user?

Thanks
 
Old 05-17-2006, 04:12 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
the uid is the uid of the user who has opened a connection to the smtp server, not the own of the server process itself. you really shouldn't be sending mail about to and from root, only local stuff like logs and thigns would be suitable for root to send emails. try sending as a normal usre and it should go through that just fine.
 
Old 05-17-2006, 05:43 AM   #5
vikasumit
Member
 
Registered: Apr 2006
Location: Delhi, India
Distribution: Fedore , CentOs, Debian
Posts: 121

Original Poster
Rep: Reputation: 15
Hi,

I did it this way

Code:
[root@Sumit rc.d]# exim -v sumit
From: sumit@localhost
To: sumit@nethuesindia.com
Subject: this is subject

This is test message for eamil to be sent through Exim

Thank
.
LOG: MAIN
  <= root@Sumit.190 U=root P=local S=382
delivering 1FgHpc-0000qy-2u
[root@Sumit rc.d]# LOG: MAIN
  == sumit@sumit.190 R=localuser T=local_delivery defer (13): Permission denied: creating lock file hitching post /var/mail/sumit.lock.Sumit.190.446ae56d.00000cd6 (euid=500 egid=500)
I have sumit as user in system with user ID as 500, Not sure why it can make lock file though I found
a zero byte file in /var/mail/ with name as "sumit" .

Edit:
Just to mention /var/mail is synbolic link to /var/spool/mail and have 777 permission where as /var/spool/mail is
directory with 775 permission (user root and group mail)


Thanks

Last edited by vikasumit; 05-17-2006 at 05:45 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Debian Mirrors do not work, even exim has the same error..... sibylle1970 Debian 2 03-27-2005 02:12 PM
Installing using debootstrap -> exim error? ohman Debian 1 09-19-2004 10:00 PM
exim is failed !!! error:package exim is not installed apache Linux - Software 0 06-24-2004 06:55 AM
exim connection timed out error(host lookup is done fine) rmanocha Linux - Software 2 06-20-2004 01:40 AM
Exim error blueplazma Linux - Software 1 05-10-2004 04:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:12 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