sendmail

eoghan eoghanj at gmail.com
Sat Aug 26 15:15:28 UTC 2006


On 25 Aug 2006, at 19:20, Giorgos Keramidas wrote:

> If someone was to re-write a step by step guide for Sendmail on  
> FreeBSD,
> it would take far more than a single email response.
>
> You should definitely start by reading, at least, the following:
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail.html
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ 
> sendmail.html
>
> For available configuration options and the functionality they
> implement, you can also look at: /usr/share/sendmail/cf/README
>
> The Sendmail FAQ is also a valuable resource, and it is available  
> online
> at: http://www.sendmail.org/faq/index.html
>
> In general, what you have as a goal is something that works like this:
>
>                           work
>     +--------------+      related            +------------------+
>     |              |      messages           |                  |
>     |   Sendmail   |  ====================>  |  Company's Mail  |
>     |              |                         |     Gateway      |
>     |   Running    |                         |                  |
>     |     as       |                         +------------------+
>     |   a local    |
>     |     MTA      |
>     |              |  ==========.
>     |              |            | other      +------------------+
>     +--------------+            | messages   |                  |
>                                 |            |   Mail Gateway   |
>                                 `=========>  |     of your      |
>                                              |     Internet     |
>                                              |     Provider     |
>                                              |                  |
>                                              +------------------+
>
> This is very easy to do in FreeBSD.  You just have to run `make'  
> once in
> the `/etc/mail' directory.  This will create two files, called:
>
>     HOSTNAME.mc
>     HOSTNAME.submit.mc
>
> where `HOSTNAME' is your local host name.  You can configure Sendmail,
> by following the instructions in the Handbook, the help in the README
> file of the Sendmail macros, at `/usr/share/sendmail/cf/README', and
> making configuration changes to `HOSTNAME.mc'.
>
> You can direct all outgoing email from `localhost' to the mail gateway
> of your ISP, by reading the comments in `/etc/mail/HOSTNAME.mc' and
> enabling the `SMART_HOST' feature.

Hey thanks a mill Giorgos
Will read up on this.
Eoghan


More information about the freebsd-questions mailing list