[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: exim in cron - why for dialup system?



>>>>> "Jijo" == Jijo Jose A <jijojose@sancharnet.in> writes:

    Jijo> i still have dialup, so i need to deliver mail when it
    Jijo> connects , in my /etc/ppp/ip-up.d/exim, removed all lines
    Jijo> and added this to work exim regardless of retry times.

    Jijo> #!/bin/sh
    Jijo> #/etc/ppp/ip-up.d/exim
    Jijo> for i in /var/spool/exim/msglog/*
    Jijo> do
    Jijo>         exim -M $(echo $i|cut -b24-)
    Jijo> done

Reading the exim docs (just the man page is sufficient) would have
shown you

   exim -qf

does just what you want.  Add another "f" to thaw frozen messages
first.

Bye, J

-- 
               Jürgen A. Erhard  (juergen.erhard@gmx.net)
                     My WebHome: http://jerhard.org
           "Outside of a dog, a man's best friend is a book;
           inside of a dog, it's very dark." --  Groucho Marx

Attachment: pgp7kEZVHfiv0.pgp
Description: PGP signature


Reply to: