PDA

View Full Version : exim configuration error in line 680



extor
07-17-2004, 07:58 AM
Everytime an email is send from the server (localhost) the mail won't be delivered. And the logfile gives the next error:

==> /var/spool/exim/msglog/paniclog <==
2004-07-17 16:37:33 Exim configuration error in line 680:
missing error type
2004-07-17 16:40:09 Exim configuration error in line 680:
missing error type
2004-07-17 16:40:09 Exim configuration error in line 680:
missing error type
2004-07-17 16:55:25 Exim configuration error in line 680:
missing error type
2004-07-17 16:55:25 Exim configuration error in line 680:
missing error type

Webmail/Outlook are working fine but when someone sends via localhost (server) an email to the outside (example: via a php script on a site) then you get 2 errors of configuration in the exim config file on line 680.

Line 680 is: :q

And from under to above in the config are these the next lines:

######################################################################
# RETRY CONFIGURATION #
######################################################################

# This single retry rule applies to all domains and all errors. It specifies
# retries every 15 minutes for 2 hours, then increasing retry intervals,
# starting at 1 hour and increasing each time by a factor of 1.5, up to 16
# hours, then retries every 8 hours until 4 days have passed since the first
# failed delivery.

# Domain Error Retries
# ------ ----- -------


begin retry

* * F,2h,15m; G,16h,1h,1.5; F,4d,8h


# End of Exim 4 configuration
:q


I have tried everything I know and I can't figger out what the problem is :S could somebody pleae help me out??

Thank you very much!

nobaloney
07-17-2004, 09:52 AM
# End of Exim 4 configuration

should be the last line in the file.

Delete anything below that and restart exim.

Jeff

extor
07-17-2004, 10:02 AM
now I see that I had just inserted the vi command for quit the program, what an idiot :)... thx

nobaloney
07-17-2004, 10:11 AM
Thanks for pointing out reason 16,347 for not using vi :) .

I use "joe" as my editor of choice; it's a single-mode editor, works like WordStar and/or the Borland programming editor for DOS, if you're familiar with either of these.

Jeff

extor
07-17-2004, 11:12 AM
Originally posted by jlasman
Thanks for pointing out reason 16,347 for not using vi :) .

I use "joe" as my editor of choice; it's a single-mode editor, works like WordStar and/or the Borland programming editor for DOS, if you're familiar with either of these.

Jeff

Yes hehe vi is not that quite perfect :p.. I shall try the editor you named and hopefully I like that one :)