2000-08-23 Kenichi OKADA <okada@opaopa.org>
- * smtp.el (smtp-system-name): New variable.
- (smtp-make-fqdn): Use `smtp-system-name' if non-nil.
+ * smtp.el (smtp-fqdn): New variable.
+ (smtp-make-fqdn): Use `smtp-fqdn' if non-nil.
2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
2000-08-23 Kenichi OKADA <okada@opaopa.org>
* mime-def.el (mime-library-product): Up.
-
+ * SLIM-VERSION: Up.
\f
2000-08-12 Kenichi OKADA <okada@opaopa.org>
)
(eval-and-compile
- (defconst mime-library-product ["SLIM" (1 14 2) "\e$B>>ED=c\e(B"]
+ (defconst mime-library-product ["SLIM" (1 14 2) "\e$B2C8n0!0M\e(B"]
"Product name, version number and code name of MIME-library package."))
(defmacro mime-product-name (product)
:type '(choice (const nil) string)
:group 'smtp)
+(defcustom smtp-fqdn nil
+ "*User's fully qualified domain name."
+ :type '(choice (const nil) string)
+ :group 'smtp)
+
(defcustom smtp-debug-info nil
"*smtp debug info printout. messages and process buffer."
:type 'boolean
"Return user's fully qualified domain name."
(let ((system-name (system-name)))
(cond
+ (smtp-fqdn
+ smtp-fqdn)
(smtp-local-domain
(concat system-name "." smtp-local-domain))
((string-match "[^.]\\.[^.]" system-name)
system-name)
(t
- (error "Cannot generate valid FQDN. Set `smtp-local-domain' correctly.")))))
+ (error "Cannot generate valid FQDN. Set `smtp-fqdn' or `smtp-local-domain' correctly.")))))
(defun smtp-via-smtp (sender recipients smtp-text-buffer)
(let ((server (if (functionp smtp-server)