[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SMTP MAIL FROM:<>



> There is a bug in smtpserver - when strict address checking is turned on
> (-sf), the smtpserver rejects:
> 
> 	MAIL FROM:<>

  In fact the bug is in  $MAILSHARE/cf/server.cf  router script.
Here is a cut&paste from my xterm of how to accept that:

--- server.cf   1998/02/10 21:01:50     1.1.1.1
+++ server.cf   1999/03/08 09:43:07
@@ -68,7 +68,16 @@
 #| otherwise proper for the purpose.  The value specified for the privilege
 #| level should be appropriate.
 
-       case $key in
+       case "$key" in
+       from)
+               if [ "$1" = "" ]; then
+                       echo "250 Ok (sourcechannel 'error' accepted)"
+                       return
+               fi
+               ;;
+       esac
+
+       case "$key" in


> Which is a legal construct from RFC821 meaning "do not send me any error
> reply to this E-mail"; it must be accepted.
> 
> 	Erik <fair@clock.org>

/Matti Aarnio <mea@nic.funet.fi>