mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
d368a7dd35
* make sure recipient addresses starting with '-' are not mistaken for flags
15 lines
379 B
Plaintext
15 lines
379 B
Plaintext
|
|
$FreeBSD$
|
|
|
|
--- rsmtp.in.orig
|
|
+++ rsmtp.in
|
|
@@ -72,7 +72,7 @@
|
|
print STDERR "Recipient: $r\n" if ($debug);
|
|
push (@recipients, $r);
|
|
}
|
|
- $sendmail="$sendmailproto -f$mailfrom -p@INPROTO@:$fromhost";
|
|
+ $sendmail="$sendmailproto -f$mailfrom -p@INPROTO@:$fromhost --";
|
|
while (defined $recipients[0]) {
|
|
$sendmail .= " " . $recipients[0];
|
|
shift (@recipients);
|