Net::LMTP queue lmtp to dspam, lmtp socket to cyrus imap.

Is there something bad about this(not iterating line by line)
for large messages? It might be faster not to send 80 byte
packets(lines) one by one--

$lmtp->data( $transaction->header->as_string . $transaction->body_as_string );

It works, but I haven't tested it with multi-megabyte messages.

I tried passing $transaction but it didn't work. Documentation
for mail() suggests it will.

$lmtp->mail( $sender , Transaction=>$transaction);

didn't send data.

Since dspam will use Delivered-To instead of value of 'To'--

$lmtp->to($u . '@' . $d);

dspam would probably use--

$lmtp->recipients($a,$b,$c,$d,$etc);

and avoid multiple scanning of the same message, but is qpsmtpd
currently keeping multiple recipients in $transaction->recipients
or just calling queue hook per recipient?

-Bob Dodds

Reply via email to