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

Re: Exim for ISDN systems ?

Hello Preben

On Sat, Jul 15, 2000 at 12:54:43AM +0200, Preben Randhol wrote:
> Peter Palfrader <peter@palfrader.org> wrote on 15/07/2000 (00:48) :
> > Hi Preben!
> > 
> > exim -qf and/or  exim -qff will send all mail from the queue. If I remember
> > they both are blocking, i.e. will only return when all messages got send.

I too have ISDN set up.
When PPP is up, /etc/ppp/ip-up.d/3exim takes care of sending mails just
after the link is brought up.
When PPP is up and a new mail is going into the queue, exim realises 
PPP is up and sends it right away. Comfortable default behaviour this is.

Anyway, my setup is to have an alias called "pmail" like this: (in

alias pmail="/usr/sbin/pppd call bw ipparam mail"

This is in fact what identical to pon with the addition that I use
'ipparam'. I have set up /etc/ppp/ip-up as follows:

-- /etc/ppp/ip-up --
# Main Script starts here

case $PPP_IPPARAM in
		run-parts /etc/ppp/ip-up.d
		killall pppd;		<-- link is killed after email exchange
		run-parts /etc/ppp/ip-up.d

# last line
-- /etc/ppp/ip-up --

This way, a user can issue pmail and pending mail gets sent and new mail
gets fetched.


For users to be able to do this, they simply needa be in group "dip".

> To make it user-friendly (my father is no computer expert (yet)) I want
> a button he can press which runs a script to connect run exim and
> disconnect.

I dont know how to do that with just one button... but issuing pmail is
probably not too big a deal.

I havent really been following the thread, but this might help in some
way or the other. :)

   I am the "ILOVEGNU" signature virus. Just copy me to your signature.
This email was infected under the terms of the GNU General Public License.

Reply to: