Aha, nu hittade jag det! Här kommer alltså svaret på min egen fråga:
<snipp>
You can run sendmail to be your own SMTP server. While most people really have no need to do this, some of us just like the power. However, you can´t just run it. You´ll have to modify a few things.
Your first step will be to edit "/etc/hostconfig" from your terminal. I recommend you use either pico or vi, two of the built in text editors. Unless you know vi, you´re probably better off using pico. You need to change "MAILSERVER=-NO-" to "MAILSERVER=-YES-" as well as "HOSTNAME=-AUTOMATIC-" to "HOSTNAME=host.yourdomain.whatever" then save the file.
You´ll also need to issue one other command: "chmod 755 /" This sets permissions on the root level that sendmail requires for operation. While I´m not sure why, I do know that sendmail requires this. Perhaps as a security consideration.
You should be all set now. Just reboot your machine and sendmail will start during the boot process. You can then point your email software´s smtp server to "localhost" and start sending mail. However, you´ll want to monitor the mail log to see if it´s working. Type "tail -f /var/log/mail.log" to monitor the mail log in your terminal window.
Your new SMTP server is now set to deliver mail. If, for any reason, a message is undeliverable, it will go into the mail queue (/var/spool/mqueue) and sendmail will try to send it again once an hour.
Some ISP´s don´t allow smtp connections through them but require that you relay to their server from yours. Earthlink is one such example. If you are getting a message in your mail log that says "no route to host" then this is most likely the cause. This is also why your mail app may not be able to send mail to smtp.mac.com via Apple´s prefered service provider. If this is happening to you, then you´ll need to edit "/etc/mail/sendmail.cf". Look for a line that says simply "DS" and modify it with your normal smtp server for relaying purposes. My line looks like this:
DSmail.earthlink.net
</snipp>
[ 29-11-2001: Meddelandet ändrat av: kimmo ]