In the case of sending 250,000+ emails, this seems farely ugly in how many
processes it'll be forking.  I guess qmail-inject is designed to be farely
small, but our current process involes writing directly to disk qf and df
files in sendmail.

-- Tim "Mylo" Madams
-- [EMAIL PROTECTED]

Sergio Strampelli wrote:
> Mylo wrote:
> 
> > Does anyone have an example Perl code that uses qmail-inject?
> 
>   $sendmail_command="/var/qmail/bin/qmail-inject";
>   open(SENDMAIL, "|$sendmail_command -f$mailfrom $rcptto");
>   print SENDMAIL $s;
>   close(SENDMAIL);
> 
> $s cointain the mail, with RFC headers if needed.
> 
> 

Reply via email to