Suse where is sendmail mc




















Linux Commands. SunOS Commands. FreeBSD Commands. Full Man Repository. Advanced Search. Contact Us. Forum Rules. Mark Forums Read. Thread Tools. View Public Profile for jumadhiya. Find all posts by jumadhiya. Simple Traffic Solutions. Modern Podcasting Course. Responses Dominik Freitag Which location contains configuration information for sendmail quizlet? Macaria How configure suse server to send email? Jeffry How to install sendmail to opensuse? Arabella How to install ssmtp server on opensuse?

Steffen How to set up sendemail in linux suse? The final entry tells sendmail to relay any mail that comes from the You can also provide hostnames or domain names instead of IP addresses, but IP addresses are slightly harder to forge , and so are preferable whenever possible. It also causes mail addressed to these hosts or domains to be relayed, as well. Once you've edited the access file, you can create a binary database file from it with the makemap command, thus:.

Many sendmail installations include such a command in their startup scripts, so this step may not be strictly necessary. Either way, you should restart sendmail to have it reread the access file. The preceding section dealt with the question of using sendmail as a mail relay. There's one other aspect of relay configuration you may want to consider, though: Having sendmail use another system as a mail relay.

You might do this if you run a small network or even a single computer, and want or need to use your ISP's mail server as a relay. Although Linux and sendmail are capable of queuing mail locally and delivering it directly, a few ISPs require you to use their own mail servers for outgoing mail. Some mail servers refuse mail that's sent directly from dial-up IP addresses that are listed on certain anti-spam lists, so dial-up users may need to use this approach to send mail reliably.

Most Linux distributions' sendmail configurations don't use an outgoing mail relay, but you can use one by adding a single line to your m4 configuration file:. In this example, outgoing.

After you rebuild sendmail. Be sure to test that mail is being delivered correctly after making this change. There are several ways to configure sendmail to block spam and to prevent unauthorized relay use. One simple anti-spam configuration is to use the access file and its binary equivalent, access. This can be an effective tool if you regularly receive spam from certain source sites, but you should be cautious about using this approach; you can easily block a great deal of legitimate mail if spammers happen to abuse a popular ISP.

Another approach to blocking incoming spam with sendmail is to use one or more blackhole lists. You can do this with the dnsbl feature in your m4 file, thus:. The final argument is a string that's included in bounced mail. You should use it to point the bounce recipient to the appropriate blackhole list's Web site, so that if legitimate e-mail is mistakenly bounced, the sender can take steps to correct the problem. You can specify multiple blackhole lists if you like.

The use of blackhole lists has changed substantially with sendmail 8. Prior versions had much less sophisticated blackhole provisions. Preventing unauthorized relaying with sendmail is a matter of configuring sendmail to relay in the most stringent manner possible. The simplest approach is usually to list individual IP addresses or IP address blocks in access , but some of the other relay options may be useful in some situations.

If you're using a version of sendmail that's older than 8. Versions prior to 8. Previous page. Merchandise Store. Communications Preferences. SendMail script containing spaces in the conventions causes the script to fail on startup or boot. Use the following changed startup syntax. Note that the syntax specifically addresses the issue stated above in the example.

Similar syntax may be used for related issues. Administrators should always make a backup of their original scripts prior to testing out solutions of this nature. Join Our Community.



0コメント

  • 1000 / 1000