Hello, Trying to figure out how to get dovecot to startup at boot. I saw the Ubuntu script on the dovecot site, but that didn't work on my system (SuSe 10.2). Of course, copying the /usr/local/sbin/dovecot file into /etc/init.d doesn't work at all. Any one have working SuSe script?? Rodman
rodman at thefrowerts.com wrote:> Hello, > > Trying to figure out how to get dovecot to startup at boot. I saw the > Ubuntu script on the dovecot site, but that didn't work on my system (SuSe > 10.2). Of course, copying the /usr/local/sbin/dovecot file into > /etc/init.d doesn't work at all. Any one have working SuSe script??I don't have a SuSE script, but I use something like this on Solaris just adjust CFG and BIN to fit your needs ----begin---- #!/bin/sh # # Dovecot Secure IMAP/pop server ## please configure to fit your needs here CFG=/etc/dovecot.conf BIN=/usr/local/sbin/dovecot PROC=dovecot ## configuration ends if [ ! -f $CFG ]; then exit 0; fi case $1 in 'start') $BIN -c $CFG ;; 'stop') pkill -KILL $PROC ;; 'restart') pkill -KILL $PROC sleep 2 $BIN -c $CFG ;; *) echo "Usage: $0 {start|stop|restart}" ;; esac ----end----> Rodman >dirk
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 rodman at thefrowerts.com schrieb:> Hello, > > Trying to figure out how to get dovecot to startup at boot. I saw the > Ubuntu script on the dovecot site, but that didn't work on my system (SuSe > 10.2). Of course, copying the /usr/local/sbin/dovecot file into > /etc/init.d doesn't work at all. Any one have working SuSe script?? > > Rodman >why not using the suse rpms init included http://repos.opensuse.org/server:/mail/openSUSE_10.2/ chooese your arch and then download dovecot example http://repos.opensuse.org/server:/mail/openSUSE_10.2/x86_64/dovecot-1.0.rc28-4.1.x86_64.rpm after all a dovecot rpm comes with suse 10.2 included, you can user yast to install it - -- Mit freundlichen Gruessen Best Regards Robert Schetterer https://www.schetterer.org Munich/Bavaria/Germany -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFGEYsdfGH2AvR16oERAsvhAJ9Z07chrCyXt3SMyhhtOJA6sOxWawCeNksp CE3hJEccXyWQvCq11GYdLGQ=s8NB -----END PGP SIGNATURE-----
That did it!! Thanks man!
rodman at thefrowerts.com schrieb:> Hello, > > Trying to figure out how to get dovecot to startup at boot. I saw the > Ubuntu script on the dovecot site, but that didn't work on my system (SuSe > 10.2). Of course, copying the /usr/local/sbin/dovecot file into > /etc/init.d doesn't work at all. Any one have working SuSe script??Time for being nasty: People who can't write boot scripts shouldn't be operating mail servers. Sounds harsh? That's intentional. SCNR.
Reasonably Related Threads
- 2 root disks sdb1,sdc1; if set "root=/dev/sdc1", mtab lies saying sdb1 is root!?
- Lots of pop3-logins
- Dovecot 1.0 for openSUSE 10.2?
- [Blasphemy] Can I build dovecot with "-fstack-protector"?
- Proper way to start multiple icecast services through bash script?