Displaying 1 result from an estimated 1 matches for "anotherdude".
2011 Nov 05
1
Newbie Question/Feature Request
...h/to/temp/email' All good, expected behavior. A perl snippet:
local $/=undef;
open FH, "< ./demo.mail";
my $stringified = <FH>;
# this is roughly equivalent to how other LDA queues work.
close FH;
open (CMD_OUT, " /usr/lib/dovecot/deliver -f somedude\@someplace.com -d anotherdude\@destination.dom $stringified |");
my $test = <CMD_OUT>;
print $test;
The above code errors out because the expected behavior is $stringified is supposed to be a file name. It would be great if deliver could be fed the email as a string so I don't have to add a step of writing to f...