19 |
|
|
20 |
In C</etc/aliases> something like: |
In C</etc/aliases> something like: |
21 |
|
|
22 |
mylist: "| /path/to/sender.pl --inbox=mylist" |
mylist: "| cd /path/to && ./sender.pl --inbox=mylist" |
23 |
|
mylist-bounce: "| cd /path/to && ./sender.pl --inbox=mylist --bounce" |
24 |
|
|
25 |
=head2 Command options |
=head2 Command options |
26 |
|
|
43 |
"verbose" => \$verbose, |
"verbose" => \$verbose, |
44 |
"from=s" => \$opt->{'from'}, |
"from=s" => \$opt->{'from'}, |
45 |
"driver=s" => \$opt->{'email_send_driver'}, |
"driver=s" => \$opt->{'email_send_driver'}, |
46 |
|
"bounce" => \$opt->{'bounce'}, |
47 |
); |
); |
48 |
|
|
49 |
my $nos = new Nos( |
my $nos = new Nos( |
221 |
|
|
222 |
Feed incomming message back into notice sender. |
Feed incomming message back into notice sender. |
223 |
|
|
224 |
|
Optional argument C<--bounce> define that this message is received to |
225 |
|
bounce address. |
226 |
|
|
227 |
=cut |
=cut |
228 |
|
|
229 |
} elsif ($list_name = $opt->{'inbox'}) { |
} elsif ($list_name = $opt->{'inbox'}) { |
236 |
$nos->inbox_message( |
$nos->inbox_message( |
237 |
list => $list_name, |
list => $list_name, |
238 |
message => $message, |
message => $message, |
239 |
|
bounce => $opt->{'bounce'}, |
240 |
) || die "can't receive message for list $list_name"; |
) || die "can't receive message for list $list_name"; |
241 |
|
|
242 |
|
|