messages are submitted via Authenticated SMTP.
$Log$
+ Revision 622.6 2004/07/03 04:09:37 ajc
+ * Check the "Permission to send Internet mail" access controls when
+ messages are submitted via Authenticated SMTP.
+
Revision 622.5 2004/06/28 17:09:20 ajc
* Properly re-terminate messages posted via IMAP APPEND. The newline
conversion process was shortening the text but not adjusting string
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
+
$(INSTALL) $$i $(root)$(prefix)/$$i; \
fi \
done
- @for i in utilsmenu ; do \
+ @for i in utilsmenu database_cleanup.sh ; do \
if test -f $(srcdir)/$$i; then \
echo $(INSTALL) $(srcdir)/$$i $(root)$(prefix)/$$i; \
$(INSTALL) $(srcdir)/$$i $(root)$(prefix)/$$i; \
return;
}
+ if (valid->num_internet > 0) {
+ if (CC->logged_in) {
+ if (CtdlCheckInternetMailPermission(&CC->user)==0) {
+ cprintf("551 5.7.1 <%s> - you do not have permission to send Internet mail\r\n", recp);
+ free(valid);
+ return;
+ }
+ }
+ }
+
if (valid->num_internet > 0) {
if ( (SMTP->message_originated_locally == 0)
&& (SMTP->is_lmtp == 0) ) {