]> code.citadel.org Git - citadel.git/commitdiff
* Suppress domain forgery check when using LMTP
authorArt Cancro <ajc@citadel.org>
Tue, 9 Sep 2003 01:47:02 +0000 (01:47 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 9 Sep 2003 01:47:02 +0000 (01:47 +0000)
citadel/ChangeLog
citadel/serv_smtp.c

index 8225965984584d63028634ee4574721426645e3a..9e5c9dd4cb31918516f567e8c65caaab2252ed97 100644 (file)
@@ -1,4 +1,7 @@
  $Log$
+ Revision 610.13  2003/09/09 01:47:02  ajc
+ * Suppress domain forgery check when using LMTP
+
  Revision 610.12  2003/09/08 18:48:14  ajc
  * The unix domain socket used for citmail to talk to citserver now
    implements LMTP (RFC2033).  Other LMTP client implementations (such as
@@ -5012,3 +5015,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import
+
index 9730a0e891799230dd876d240f7cc983180c2877..e2d1b93b06f51be10adc02bbf8b13bf0147c00c5 100644 (file)
@@ -408,6 +408,10 @@ void smtp_mail(char *argbuf) {
                return;
        }
 
+       else if (SMTP->is_lmtp) {
+               /* Bypass forgery checking for LMTP */
+       }
+
        /* Otherwise, make sure outsiders aren't trying to forge mail from
         * this system.
         */