On Fri, Mar 04, 2005 at 08:46:08PM -0700, Nathan Given wrote:
> Hello All,
> 
> Andrew suggested this new question:
> 
> How do I tell postfix to relay it's mail through byu's servers?

Add(or edit) this to your /etc/postfix/main.cf
(assuming you want to use nm.byu.edu as the server you'll go through)

relayhost = nm.byu.edu
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/saslpass
smtp_sasl_security_options = noanonymous

Then in a file called /etc/postfix/saslpass add a line like this:
nm.byu.edu user:pass

Then run:
postmap hash:/etc/postfix/saslpass

That should produce a saslpass.db file.
Restart postfix (service postfix restart)

> 
> (Postfix won't compete with sendmail will it?)
> 

I'm assuming you mean on your box. Postfix takes place of sendmail, and
if you're running postfix already you have no need to fear, it should be
all set.

Hope that helps

-- 
Scott Paul Robertson
http://spr.mahonri5.net
GnuPG FingerPrint: 09ab 64b5 edc0 903e 93ce edb9 3bcc f8fb dc5d 7601

Attachment: pgpN28dMaXo5Q.pgp
Description: PGP signature

--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/

Reply via email to