On Sat, Apr 27, 2002 at 09:59:32PM -0700, Jerry Van Brimmer wrote:
Yes, thanks, I found that after some more looking around. But, it still doesn't help me. I still can't get Postfix to send mail to/through my ISP. They require SMTP AUTH. Well. I have cyrus-sasl installed and configured and I still can't get it to work. I was trying to get this working so I could use Mutt, afer it being recommended by some experienced users on this list. I have Fetchmail and Procmail set up. I can fetch my mail, sort it with procmail, read it with mutt, I just can't send any mail with postfix. Oh well, I've still got Sylpheed.
Usually, all you need to set up for outbound delivery is the canonical file in postfix. This translates your local e-mail address to a valid "Internet" address (the one your ISP provides you). This is needed because most mail servers now do at least a domain check on your From: address to slow spammers down. Postfix will attempt to deliver e-mail directly by default and NOT relay e-mail through your ISP mail server unless you tell it to. Usually, this is not necessary so you DON'T need sasl. To set up the canonical file, edit /etc/postfix/main.cf and enable this line: canonical_maps = hash:/etc/postfix/canonical Then, edit the /etc/postfix/canonical and set up your translation. For example, I use: keithw@artifact.local kwinston@twmi.rr.com This converts my local ID keithw@artifact.local to my ISP assigned address on the way out. Then, run "postmap canonical" to create the canonical.db (the hash). Then, run "postfix reload" to have postfix reload the configuration. That should do it. You already have fetchmail grabbing your mail. Don't forget to set your aliases so that root e-mail gets delivered to your ID as well.
Look at /etc/rc.config.d/postfix.rc.config. You may be able to do what you want with just this file or may need to turn off SuSEconfig's meddling with:
POSTFIX_CREATECF="no"
By the way, in 8.0, this option not longer exists AFAIK. From looking at the new scripts, it appears that you have to set MAIL_CREATE_CONFIG="no" in /etc/sysconfig/mail to prevent SuSEconfig from overwriting your main.cf (even though it is documented as not overwriting sendmail.cf). That variable is checked in SuSEconfig.postfix as well. Best Regards, Keith -- LPIC-2, MCSE, N+ Got spam? Get spastic http://spastic.sourceforge.net