This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
build:postfix [2008/05/17 23:40] 4.245.77.171 |
build:postfix [2008/07/22 13:51] (current) 151.145.245.20 |
||
|---|---|---|---|
| Line 38: | Line 38: | ||
| Set the host and domain names: | Set the host and domain names: | ||
| <code rootshell> | <code rootshell> | ||
| - | postconf -e 'myhostname=`hostname -f`' | + | postconf -e "myhostname=`hostname -f`" |
| - | postconf -e 'mydomain=`hostname -d`' | + | postconf -e "mydomain=`hostname -d`" |
| </code> | </code> | ||
| Line 138: | Line 138: | ||
| <code rootshell> | <code rootshell> | ||
| postconf -e 'smtpd_require_helo=yes' | postconf -e 'smtpd_require_helo=yes' | ||
| + | </code> | ||
| + | |||
| + | Turn off the VRFY command, so spammers cannot verify whether an address is valid or not. | ||
| + | <code rootshell> | ||
| + | postconf -e 'disable_vrfy_command=yes' | ||
| </code> | </code> | ||