Front page | perl.beginners |
Postings from April 2010
Re: sendmail arguments
Thread Previous
|
Thread Next
From:
Jim Gibson
Date:
April 28, 2010 22:23
Subject:
Re: sendmail arguments
Message ID:
p06240800c7fec7550be2@[192.168.1.3]
At 3:10 PM +1200 4/29/10, John Bruin wrote:
>I have inherited a Perl script which sends and parses email. I am having
>trouble trying to figure out what the "-oi" and "-oem" arguments do in the
>sub below. Can anyone help?
>
>Thanks
>John
>
>sub mail(*) {
> my $top = shift;
> open(MAIL, "| $sendmail -t -oi -oem") or die "open: $!";
> $top->print(\*MAIL);
> close MAIL;
>}
I did a 'man sendmail' on my Unix-based system and came up with this
explanation:
-oi When reading a message from standard input, don't treat a line
with only a . character as the end of input.
but, alas, no explanation for -oem. Try the same command on your
system, or submit the query 'sendmail command line options' to your
favorite search engine
Good luck!
Thread Previous
|
Thread Next