Virtualdomains and Badhelo: Difference between pages

From QmailToaster
(Difference between pages)
Jump to navigation Jump to search
(Created page with "<u>'''virtualdomains'''</u> man '''qmail-send''' excerpt: List of virtual users or domains, one per line. A virtual user has the form <u>user</u>'''@'''<u>domain</u>:<u>prepend</u>, without any extra spaces. When '''qmail-send''' sees the recipient address <u>user</u>'''@'''<u>domain</u>, it converts it to <u>prepend</u>-<u>user</u>'''@'''<u>domain</u> and treats it as local. A virtual domain has the form <u>domain</u>:<u>prepend</u>. It applies to any recipient addr...")
 
(Created page with "<u>'''badhelo'''</u> man '''qmail-smtpd''' excerpt: Unacceptable HELO/EHLO host names. '''qmail-smtpd''' will reject every recipient address for a message if the host name is listed in, or matches a POSIX regular expression pattern listed in, <u>badhelo</u>. If the '''NOBADHELO''' environment variable is set, then the contents of <u>badhelo</u> will be ignored. For more information, please have a look at README.qregex.")
 
Line 1: Line 1:
<u>'''virtualdomains'''</u>
<u>'''badhelo'''</u>




man '''qmail-send''' excerpt:
man '''qmail-smtpd''' excerpt:


List of virtual users or domains, one per line. A virtual user has the form <u>user</u>'''@'''<u>domain</u>:<u>prepend</u>, without any extra spaces. When '''qmail-send''' sees the recipient address <u>user</u>'''@'''<u>domain</u>, it converts it to <u>prepend</u>-<u>user</u>'''@'''<u>domain</u> and treats it as local.
Unacceptable HELO/EHLO host names. '''qmail-smtpd''' will reject every recipient address for a message if the host name is listed in, or matches a POSIX regular expression pattern listed in, <u>badhelo</u>. If the '''NOBADHELO''' environment variable is set, then the contents of <u>badhelo</u> will be ignored. For more information, please have a look at [[README.qregex]].
 
A virtual domain has the form <u>domain</u>:<u>prepend</u>. It applies to any recipient address at <u>domain</u>. For example, if
  nowhere.mil:joe-foo
is in <u>virtualdomains</u>, and a message arrives for '''info@nowhere.mil''', '''qmail-send''' will rewrite the recipient address as '''joe-foo-info@nowhere.mil''' and deliver the message locally.
 
<u>virtualdomains</u> may contain wildcards:
  .fax:uucp-fax
  :alias-catchall
  .nowhere.mil:joe-foo-host
 
<u>virtualdomains</u> may also contain exceptions: an empty <u>prepend</u> means that <u>domain</u> is not a virtual domain.
 
'''qmail-send''' handles <u>virtualdomains</u> after <u>locals</u>: if a domain is listed in [[locals]], <u>virtualdomains</u> does not apply.

Latest revision as of 09:03, 16 March 2024

badhelo


man qmail-smtpd excerpt:

Unacceptable HELO/EHLO host names. qmail-smtpd will reject every recipient address for a message if the host name is listed in, or matches a POSIX regular expression pattern listed in, badhelo. If the NOBADHELO environment variable is set, then the contents of badhelo will be ignored. For more information, please have a look at README.qregex.