|
Fedora LinuxPreparing to configure sendmail and activating changes To configure sendmail easily, install the sendmail-cf package: # yum install sendmail-cf Changes to the sendmail configuration are made to the file /etc/mail/sendmail.mc . However, this isn't the sendmail configuration file! Instead, it's a file that is used to generate the sendmail configuration file, /etc/mail/sendmail.cf . To generate a new sendmail.cf file: # cd /etc/mail # make This must be done after each change is made to sendmail.mc . Reload the sendmail server to make your changes take effect: # service sendmail reload (You can also use the Restart button in the Services tool.) 7.6.1.2. Configuring sendmail to use a mail relay Some Internet Service Providers (ISPs) block email traffic to all mail servers except their own. This is intended to block viruses that set themselves up as a mail server, but it also interferes with Fedora's default sendmail configuration, which expects to be able to send email directly to the destination system. To configure sendmail to send your outbound email through your ISP's mail server, find the line in /etc/mail/sendmail.mc that contains the word SMART_HOST : dnl # Uncomment and edit the following line if your outgoing mail needs to dnl # be sent out through an external mail server: dnl # dnl define(\QSMART_HOST',\Qsmtp.your.provider ') In this file, dnl means discard to newline , which effectively turns this line into a comment ...» |
Код для вставки книги в блог HTML
phpBB
текст
|
|