Re: [Exim] rsmtp: to many processes

Etusivu
Poista viesti
Vastaa
Lähettäjä: Joerg Sommer
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [Exim] rsmtp: to many processes
Jochen Erwied schrieb :
> Tuesday, September 3, 2002, 4:57:37 PM, you wrote:
>
>> Jochen Erwied schrieb :
>
>>> This combination won't change anything. Use 'rsmtp -odq' inside
>>> 'rbsmtp' and call 'exim -q' after all batches have been processed.
>
>> But how I detect, that all batches have been pocessed?
>
> Write a script containing:
>
> uucico -D -s<system>
> exim -q


I can't do this, because I start uucico on internet call in. So the line
is held open, while uuxqt runs the batch commands and no data is
transmitted. I don't want this.

For the archive:
* set admin_groups = mail (or other exim admin group)
* add user uucp to group mail
* uucico can run exim -q in the rbsmtp scrip
#!/bin/sh
bzcat | rsmtp -odq

# We are a member of the mail group
[ id -G -n | grep -q mail ] && exim -q

Joerg.