PythonQ 248-8XX Guide d'installation Page 215

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 294
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 214
Chapter 15. Email 215
In this situation, the sendmail server needs to masquerade the machine names on the company network
so that their return address is [email protected] instead of [email protected].
To do this, add the following lines to /etc/mail/sendmail.mc.
FEATURE(always_add_domain)dnl
FEATURE(‘masquerade_entire_domain’)
FEATURE(‘masquerade_envelope’)
FEATURE(‘allmasquerade’)
MASQUERADE_AS(‘bigcorp.com.’)
MASQUERADE_DOMAIN(‘bigcorp.com.’)
MASQUERADE_AS(bigcorp.com)
After generating a new sendmail.cf using m4, this configuration will make all mail from inside the
network appear as if it were sent from bigcorp.com.
15.3.5. Stopping Spam with Sendmail
Email spam can be defined as unnecessary and unwanted email received by a user who never requested
the communication. It is a disruptive, costly, and widespread abuse of Internet communication stan-
dards.
Sendmail has made it relatively easy to block new spamming techniques being employed to send
junk email using your system. It even blocks many of the more usual spamming methods by default.
You would need to consciously activate them by changing your /etc/mail/sendmail.mc file in a
particular way to make your system susceptible.
For example, forwarding of SMTP messages, also referred to as SMTP relaying, has been disabled
by default since Sendmail version 8.9. Before this change occurred, Sendmail would direct your mail
host (x.org) to accept messages from one party (y.com) and send them to a different party (z.net).
Now, however, you have to specifically tell Sendmail to permit a domain to relay mail through your
domain. Simply edit the /etc/mail/relay-domains file and restart Sendmail by typing the ser-
vice sendmail restart command as root to activate the changes.
However, many times, your users may be bombarded with spam from other servers throughout the In-
ternet that are beyond your control. In these instances, you can use Sendmail’s access control features
available through the /etc/mail/access file. As root, add the domains that you would like to block
or specifically allow access, such as in this example:
badspammer.com 550 Go away and do not spam us anymore
tux.badspammer.com OK
10.0 RELAY
Because /etc/mail/access.db is a database, you need to use makemap to activate your
changes by recreating the database map. This is easily done by running the makemap hash
/etc/mail/access
/etc/mail/access command as root.
This example shows that any email sent from badspammer.com would be blocked with a 550
RFC-821 compliant error code and message back to the spammer, except for email sent from the
tux.badspammer.com sub-domain, which would be accepted. The last line shows that any email
sent from the 10.0.*.* network can be relayed through your mail server.
As you might expect, this example only scratches the surface of what Sendmail can do in terms of
allowing or blocking access. See the /usr/share/doc/sendmail/README.cf for more detailed
information and examples.
Vue de la page 214
1 2 ... 210 211 212 213 214 215 216 217 218 219 220 ... 293 294

Commentaires sur ces manuels

Pas de commentaire

Origin Storage DELL-1000SH/5-NB62 podręczniki

Instrukcje obsługi i podręczniki użytkownika dla Wewnętrzne dyski twarde Origin Storage DELL-1000SH/5-NB62.
Dostarczamy 1 pdf podręczników Origin Storage DELL-1000SH/5-NB62 do pobrania za darmo według typów dokumentów: Arkusz Danych






Więcej produktów i instrukcji dla Wewnętrzne dyski twarde Origin Storage

Modele Rodzaj dokumentu
DELL-3000NLSA/7-F21 Arkusz Danych   Origin Storage 3TB NLSATA 7.2K 3.5", 1 strony
DELL-2000NLS/7-F21 Arkusz Danych   Origin Storage 2TB NLSAS 7.2k 3.5", 1 strony
NB-500SATA/7-7MM Arkusz Danych   Origin Storage 500GB 2.5" SATA 7mm, 1 strony
DELL-4000NLS/7-F21 Arkusz Danych   Origin Storage 4TB NLSAS 7.2k 3.5", 1 strony
CPQ-1200SAS/10-S7 Arkusz Danych   Origin Storage 1.2TB 2.5" SAS, 1 strony
DELL-2000NLSA/7-F21 Arkusz Danych   Origin Storage 2TB NL SATA 7.2k 3.5", 1 strony
DELL-320S/5-NB67 Arkusz Danych   Origin Storage 320GB 2.5" SATA 5.4k, 1 strony
DELL-600SAS/15-F22 Arkusz Danych   Origin Storage 600GB SAS 15K 3.5", 1 strony
DELL-500S/5-NB71 Arkusz Danych   Origin Storage 500GB 5400rpm 2.5" SATA, 1 strony
FUJ-500NLSA/7-S3 Arkusz Danych   Origin Storage 500GB 2.5" NLSATA, 1 strony
DELL-1000S/7-NB71 Arkusz Danych   Origin Storage 1TB 7200rpm 2.5" SATA, 1 strony
DELL-1000S/5-NB67 Arkusz Danych   Origin Storage 1TB 2.5" SATA 5.4k, 1 strony
DELL-500SH/5-NB46 Arkusz Danych   Origin Storage 500GB 5400rpm SATA Hybrid, 1 strony
DELL-2000SATA/7-F21 Arkusz Danych   Origin Storage 2TB SATA 7.2K 3.5", 1 strony
DELL-600SAS/10-F21 Arkusz Danych   Origin Storage 600GB SAS 10K 3.5", 1 strony
ENFIPLITE-D320/NB55 Arkusz Danych   Origin Storage Enigma 320GB SATA 256-bit AES TCG OPAL, 1 strony
ENFIPLITE-D320/NB66 Arkusz Danych   Origin Storage 320GB SATA 256-bit AES TCG OPAL, 1 strony
DELL-2000SA/7-F22X2 Arkusz Danych   Origin Storage 2TB 3.5" 7.2k SATA, 1 strony
DELL-1000SATA/7-F21 Arkusz Danych   Origin Storage 1TB SATA 7.2k 3.5", 1 strony
FUJ-2000NLSA/7-S2 Arkusz Danych   Origin Storage 2TB 3.5" NLSATA, 1 strony