summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/serialmail/files/serialmail-0.75-smtpauth_comp.patch')
-rw-r--r--net-mail/serialmail/files/serialmail-0.75-smtpauth_comp.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/net-mail/serialmail/files/serialmail-0.75-smtpauth_comp.patch b/net-mail/serialmail/files/serialmail-0.75-smtpauth_comp.patch
new file mode 100644
index 000000000000..b193279232cd
--- /dev/null
+++ b/net-mail/serialmail/files/serialmail-0.75-smtpauth_comp.patch
@@ -0,0 +1,20 @@
+diff -u serialmail-0.75-orig_1/maildirsmtp.sh serialmail-0.75-orig_2/maildirsmtp.sh
+--- serialmail-0.75-orig_1/maildirsmtp.sh 2004-01-01 17:08:29.000000000 +0200
++++ serialmail-0.75-orig_2/maildirsmtp.sh 2004-01-01 17:35:20.000000000 +0200
+@@ -1,5 +1,16 @@
+
++if [ -z "$6" ]; then
++
++exec \
++HOME/bin/maildirserial -b -t 1209600 -- "$1" "$2" \
++tcpclient -RHl0 -- "$3" 25 \
++HOME/bin/serialsmtp "$2" "$4"
++
++else
++
+ exec \
+ HOME/bin/maildirserial -b -t 1209600 -- "$1" "$2" \
+ tcpclient -RHl0 -- "$3" 25 \
+ HOME/bin/serialsmtp "$2" "$4" "$5" "$6"
++
++fi