18.07.2013 Views

Sidewinder G2 6.1.2 Administration Guide - Glossary of Technical ...

Sidewinder G2 6.1.2 Administration Guide - Glossary of Technical ...

Sidewinder G2 6.1.2 Administration Guide - Glossary of Technical ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Allowing or denying mail on a user basis<br />

Chapter 12: Electronic Mail<br />

Other sendmail features<br />

By default sendmail will allow or deny mail on a domain basis. However, you<br />

can also instruct sendmail to allow or deny mail to/from specific users within a<br />

domain. To do this, follow the steps below:<br />

1 Log into the Admin Console and select Services Configuration > Servers.<br />

2 Select sendmail and click the Configuration tab. Separate configuration<br />

files are maintained for each burb.<br />

3 Select the Access Table file for the appropriate burb and click Edit File.<br />

4 Add user-based allow (relay) and/or deny (reject) information to the access<br />

table.<br />

For example, if you want to allow mail addressed to Lloyd and Sharon but<br />

deny mail addressed to everyone else, you would add the following lines:<br />

# Allow mail addressed to these users<br />

To:Lloyd@example.com RELAY<br />

To:Sharon@example.com RELAY<br />

# Deny mail for everyone else<br />

To:example.com REJECT<br />

5 Save the changes you made to file and then close the file.<br />

Note: For additional information, see the README file in the<br />

/usr/share/sendmail directory on the <strong>Sidewinder</strong> <strong>G2</strong>.<br />

6 Click the Save icon to save the configuration changes and rebuild the<br />

configuration and database files. This will also automatically restart the<br />

sendmail servers.<br />

Changing mail aliases<br />

Aliases allow you to redirect mail to another person or location. (Individual<br />

users can also use a .forward file for this purpose, see “Redirecting mail to a<br />

different destination” on page 364.) Aliases are generally used for redirecting<br />

mail addressed to system users such as “postmaster.” On the <strong>Sidewinder</strong> <strong>G2</strong>,<br />

messages and other files are <strong>of</strong>ten e-mailed to root. By default, a root alias is<br />

created for the administrator you set up when you configured your system. For<br />

more information about mail aliases see Chapter 19 <strong>of</strong> the UNIX System<br />

<strong>Administration</strong> Handbook.<br />

Aliases are stored in the /etc/sidewinder/sendmail directory. Follow the steps<br />

below to edit this file:<br />

369

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!