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 07-05-2003, 09:13 AM   #1
NightShade737
LQ Newbie
 
Registered: Jun 2003
Location: Worcs, UK
Distribution: Gentoo
Posts: 29

Rep: Reputation: 15
Unhappy Exim Mail Stuck


I have setup Exim and Teapop, and mail is going into my server from other people, and I can send mail out, but the problem is, when mail comes into the server, it just sits in the "/var/spool/exim/input" folder and doesnt get delived to (I think its supposed to be) "/var/mail/username" folder, thus its all just piling up (currently 1036 mails).

Any ideas why this is happening?

Cheers,
NS
 
Old 07-05-2003, 09:18 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
well, you've given precious little information really... what does the exim log file say about incoming mail? (run eximon) do you have a valid local transport configured? e.g:
Code:
local_delivery:
  driver = appendfile
  file = /var/mail/$local_part
  delivery_date_add
  envelope_to_add  
  return_path_add 
  group = mail
 
Old 07-05-2003, 10:49 AM   #3
NightShade737
LQ Newbie
 
Registered: Jun 2003
Location: Worcs, UK
Distribution: Gentoo
Posts: 29

Original Poster
Rep: Reputation: 15
As far as I know.
Cant find Eximon anywhere btw.

Forgot to add this.....

http://atomnet.co.uk/exim.conf

NS

Last edited by NightShade737; 07-05-2003 at 10:54 AM.
 
Old 07-05-2003, 11:22 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
i'm not too hot with the intricacies of exim yet, but you'ev commented out the mail delivery group, which might be causing problems, moreover though... log files, you'll probably be screaming for attention.
 
Old 07-05-2003, 11:56 AM   #5
NightShade737
LQ Newbie
 
Registered: Jun 2003
Location: Worcs, UK
Distribution: Gentoo
Posts: 29

Original Poster
Rep: Reputation: 15
I dont see an entry for log files at all, never mind commenting them out. These are all commented out by default. The group and user exim didnt exist. I have created them, but I dont think it helped.

I have lots of the mail comming in and stuff, but it doesnt say anything about local delivery or that its even trying.

NS
 
Old 07-05-2003, 12:03 PM   #6
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
well exmion should be in the same directory as the exim executable, the default location is /usr/exim/bin/eximon form a source install... if you can't find it, try whereis eximon or updatedb and then locate eximon.
 
Old 07-05-2003, 12:31 PM   #7
NightShade737
LQ Newbie
 
Registered: Jun 2003
Location: Worcs, UK
Distribution: Gentoo
Posts: 29

Original Poster
Rep: Reputation: 15
/usr/sbin/exim
/usr/sbin/exim_fixdb
/usr/sbin/exim_dbmbuild
/usr/sbin/exim_lock
/usr/sbin/eximstats
/usr/sbin/exim_dumpdb
/usr/sbin/exim_tidydb

Are the only exim files in the same directory, locate eimon finds nothing and whereis eximon just says "eximon:" .

NS
 
Old 07-05-2003, 12:53 PM   #8
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
well the main log file directory *should* be /var/spool/exim/log
 
Old 07-05-2003, 01:11 PM   #9
NightShade737
LQ Newbie
 
Registered: Jun 2003
Location: Worcs, UK
Distribution: Gentoo
Posts: 29

Original Poster
Rep: Reputation: 15
There is only a `msglog` folder in there with a single file with -

2003-07-05 00:02:02 routing failed for root@ragnarok: Unrouteable address
*** Frozen (delivery error message)

Writen in it, which is just the failure of 1 message as deilvery to `root` isnt allowed.

EDIT: w00t, its working. Turned out it was the exim user and group causing the problem. all sorted now. Thanks!

as all the rest were wrong, I just chowned * in the folder to exim and it delivered them all.

Cheers,
NS
 
Old 07-05-2003, 01:29 PM   #10
NightShade737
LQ Newbie
 
Registered: Jun 2003
Location: Worcs, UK
Distribution: Gentoo
Posts: 29

Original Poster
Rep: Reputation: 15
Hmm....... another issue.......

mail only seems to be being delivered to me......

If I try and send it to any of the other user accounts I just get......

550 unknown user

Even though they have an account with password set etc. Is there something else I need to do to their accounts before hand?

Also I have searched but cant find out how I can specify email aliases either (NOT domain aliases). Well, how to change it, as it says add the aliases to /etc/aliases but then how does it know who to send it to?

NS
 
Old 07-06-2003, 06:26 AM   #11
NightShade737
LQ Newbie
 
Registered: Jun 2003
Location: Worcs, UK
Distribution: Gentoo
Posts: 29

Original Poster
Rep: Reputation: 15
Bump

NS
 
Old 07-06-2003, 02:38 PM   #12
footfrisbee
Member
 
Registered: Apr 2003
Distribution: Debian Sarge
Posts: 259

Rep: Reputation: 30
The exim log file resides in /var/log/exim/ on my system. You might check there for 'mainlog' and 'paniclog' to help you debug this.
 
Old 07-06-2003, 02:55 PM   #13
NightShade737
LQ Newbie
 
Registered: Jun 2003
Location: Worcs, UK
Distribution: Gentoo
Posts: 29

Original Poster
Rep: Reputation: 15
Turned out anything in the aliases file seems to be automatically errored with the message "unrouteable address" in the log (and unknown user is the response by email).

The other users I didnt notice were aliases to themselves in the aliases file, I removed that and its fine for them now, but aliases are still not working.

What format does it have to be in? Is it like this.....

root: ben
postmaster: ben

So that should redirect anything from root@atomnet.co.uk and postmast@atomnet.co.uk to ben@atomnet.co.uk shouldnt it?
Or do I have the syntax wrong?

NS
 
Old 07-06-2003, 03:05 PM   #14
footfrisbee
Member
 
Registered: Apr 2003
Distribution: Debian Sarge
Posts: 259

Rep: Reputation: 30
That's the right syntax. I noticed above that you're editing /etc/aliases, but I think exim is looking for /etc/mail/aliases. I'm not sure though. I think I saw this in your exim.conf, but the link is down now.
 
Old 07-06-2003, 05:35 PM   #15
NightShade737
LQ Newbie
 
Registered: Jun 2003
Location: Worcs, UK
Distribution: Gentoo
Posts: 29

Original Poster
Rep: Reputation: 15
I make a symlink from /etc/mail/aliases to /etc/aliases, but it is /etc/mail/aliases that it uses.

Need to find out why it isnt working then..........

NS
 
  


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
Sending mail through exim snipersock Linux - Networking 4 08-27-2008 02:08 AM
Flamebait: if you want mail use Exim rcs1000 Linux - Software 1 04-24-2004 09:36 PM
openna exim mail lynger Linux - Software 0 04-20-2004 10:55 PM
Exim Mail Server mairul Debian 16 12-28-2003 01:36 PM
exim mail server cirofren Linux - Networking 8 12-15-2003 10:44 PM

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

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