* wl.el (wl-check-environment): Don't check Message-ID when
`wl-insert-message-id' is nil.
+ Revive checking if `wl-message-id-domain' contains "@".
2002-03-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
(let ((message-id (funcall wl-message-id-function))
domain)
(unless (string-match "^<\\([^@]*\\)@\\([^@]*\\)>$" message-id)
- (error
- "Check around `wl-message-id-function' to get valid Message-ID string."))
+ (cond
+ ((string-match "@" wl-message-id-domain)
+ (error "Please remove `@' from `wl-message-id-domain'."))
+ (t
+ (error
+ "Check around `wl-message-id-function' to get valid Message-ID string."))))
(setq domain (match-string 2 message-id))
(if (or (not (string-match "[^.]\\.[^.]" domain))
(string= domain "localhost.localdomain"))