ok I fixed it,
just for the /etc/init.d/courier-mta script I changed the first line from
#! /bin/sh -e
to
#! /bin/bash -e
I am guessing the "sh" shell has some issues in this instance?
now running one of the worlds smallest physical mail servers!
thanks all
-Matt
> Hi Tim,
>
> everything looks ok here to my untrained eye :)
>
> -Matt
>
> root@raspberrypi:/etc/rc3.d# runlevel
> N 2
> root@raspberrypi:/etc/rc3.d# ls -al /etc/rc2.d/
> total 12
> drwxr-xr-x 2 root root 4096 Sep 21 23:19 .
> drwxr-xr-x 90 root root 4096 Sep 22 14:08 ..
> lrwxrwxrwx 1 root root 17 Aug 16 10:48 K01lightdm -> ../init.d/lightdm
> lrwxrwxrwx 1 root root 20 Aug 16 10:35 K05nfs-common ->
> ../init.d/nfs-common
> lrwxrwxrwx 1 root root 17 Aug 16 10:35 K05rpcbind -> ../init.d/rpcbind
> -rw-r--r-- 1 root root 677 Sep 1 08:11 README
> lrwxrwxrwx 1 root root 18 Aug 16 10:13 S01bootlogs ->
> ../init.d/bootlogs
> lrwxrwxrwx 1 root root 17 Aug 16 10:35 S01ifplugd -> ../init.d/ifplugd
> lrwxrwxrwx 1 root root 14 Sep 21 23:00 S01motd -> ../init.d/motd
> lrwxrwxrwx 1 root root 17 Aug 16 10:35 S01rsyslog -> ../init.d/rsyslog
> lrwxrwxrwx 1 root root 14 Aug 16 10:35 S01sudo -> ../init.d/sudo
> lrwxrwxrwx 1 root root 17 Sep 21 23:17 S02apache2 -> ../init.d/apache2
> lrwxrwxrwx 1 root root 28 Sep 21 23:17 S03courier-authdaemon ->
> ../init.d/courier-authdaemon
> lrwxrwxrwx 1 root root 21 Sep 21 23:17 S03courier-mta ->
> ../init.d/courier-mta
> lrwxrwxrwx 1 root root 21 Sep 21 23:18 S03courier-pop ->
> ../init.d/courier-pop
> lrwxrwxrwx 1 root root 25 Sep 21 23:18 S03courier-pop-ssl ->
> ../init.d/courier-pop-ssl
> lrwxrwxrwx 1 root root 14 Sep 21 23:17 S03cron -> ../init.d/cron
> lrwxrwxrwx 1 root root 14 Sep 21 23:17 S03dbus -> ../init.d/dbus
> lrwxrwxrwx 1 root root 24 Sep 21 23:17 S03dphys-swapfile ->
> ../init.d/dphys-swapfile
> lrwxrwxrwx 1 root root 13 Sep 21 23:17 S03ntp -> ../init.d/ntp
> lrwxrwxrwx 1 root root 19 Sep 21 23:19 S03sqwebmail ->
> ../init.d/sqwebmail
> lrwxrwxrwx 1 root root 13 Sep 21 23:17 S03ssh -> ../init.d/ssh
> lrwxrwxrwx 1 root root 18 Sep 21 23:17 S05rc.local ->
> ../init.d/rc.local
> lrwxrwxrwx 1 root root 19 Sep 21 23:17 S05rmnologin ->
> ../init.d/rmnologin
> root@raspberrypi:/etc/rc3.d#
>
>
>
>
>> Hi Matt,
>>
>> What runlevel is it booting in to, and what does the appropriate
>> /etc/rc?.d/ have in the way of {K,S}??courier-mta symlinks?
>> Sounds like there's no S??courier-mta in the default runlevel.
>>
>> Cheers,
>> Tim Lyth
>>
>> On 22/09/2012 9:51 AM, [email protected] wrote:
>>> just got my raspberry pi (arm based www.raspberrypi.org)and thought i'd
>>> install courier on it just for kicks.
>>>
>>> It works fine but courier-mta is the only service that wont start on
>>> reboot.
>>>
>>> If I manually run /etc/init.d/courier-mta start as root, things work
>>> normally and it drops to the daemon user.
>>>
>>> rc.d is correct
>>>
>>> ESMTPDSTART="YES" in esmtpd
>>>
>>> nothing notable in the logs.
>>>
>>> any other ideas of what to check?
>>>
>>> Debian wheezy/sid - rasperian image
>>> courier 0.86.2-1 (packaged version)
>>>
>>> thanks
>>>
>>> -Matt
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> How fast is your code?
>>> 3 out of 4 devs don\\\'t know how their code performs in production.
>>> Find out how slow your code is with AppDynamics Lite.
>>> http://ad.doubleclick.net/clk;262219672;13503038;z?
>>> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
>>> _______________________________________________
>>> courier-users mailing list
>>> [email protected]
>>> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>>
>> ------------------------------------------------------------------------------
>> How fast is your code?
>> 3 out of 4 devs don\\\'t know how their code performs in production.
>> Find out how slow your code is with AppDynamics Lite.
>> http://ad.doubleclick.net/clk;262219672;13503038;z?
>> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
>> _______________________________________________
>> courier-users mailing list
>> [email protected]
>> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>>
>
>
>
> ------------------------------------------------------------------------------
> How fast is your code?
> 3 out of 4 devs don\\\'t know how their code performs in production.
> Find out how slow your code is with AppDynamics Lite.
> http://ad.doubleclick.net/clk;262219672;13503038;z?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> _______________________________________________
> courier-users mailing list
> [email protected]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>
------------------------------------------------------------------------------
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users