I gave up on Sendmail, and now I'm trying to configure Postfix. All I want to do is get Postfix to send my mail to my dialup ISP mail server, which requires SMTP Auth. In my /etc/postfix/main.cf file I enter: relayhost = mail.vei.net Then I run "postfix reload". Everything goes okay up to this point. Then I run SuSEconfig just for kicks because I know it will run at some time in the future when I install another package or do an online update, so I want to see what it will do to my system. Well, SuSEconfig changes "relayhost = mail.vei.net" back to "relayhost =" Why does it do this and how do I stop it? -- Rev. 1:7 ; Registered Linux User #153217
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" HTH, Jeffrey Quoting Jerry Van Brimmer <jerryvb@vei.net>:
I gave up on Sendmail, and now I'm trying to configure Postfix. All I want to do is get Postfix to send my mail to my dialup ISP mail server, which requires SMTP Auth. In my /etc/postfix/main.cf file I enter:
relayhost = mail.vei.net
Then I run "postfix reload".
Everything goes okay up to this point. Then I run SuSEconfig just for kicks because I know it will run at some time in the future when I install another package or do an online update, so I want to see what it will do to my system. Well, SuSEconfig changes "relayhost = mail.vei.net" back to "relayhost ="
Why does it do this and how do I stop it?
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. On Sat, 27 Apr 2002 22:58:48 -0500 Jeffrey Taylor <jeff.taylor@ieee.org> wrote:
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"
HTH, Jeffrey
Quoting Jerry Van Brimmer <jerryvb@vei.net>:
I gave up on Sendmail, and now I'm trying to configure Postfix. All I want to do is get Postfix to send my mail to my dialup ISP mail server, which requires SMTP Auth. In my /etc/postfix/main.cf file I enter:
relayhost = mail.vei.net
Then I run "postfix reload".
Everything goes okay up to this point. Then I run SuSEconfig just for kicks because I know it will run at some time in the future when I install another package or do an online update, so I want to see what it will do to my system. Well, SuSEconfig changes "relayhost = mail.vei.net" back to "relayhost ="
Why does it do this and how do I stop it?
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com
-- Rev. 1:7 ; Registered Linux User #153217
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
On Sun, 28 Apr 2002 09:32:10 -0400 Keith Winston <kwinston@twmi.rr.com> wrote:
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.
That would be nice. The I don't NEED to do SMTP AUTH, right? Do I turn OFF relayhost ?
To set up the canonical file, edit /etc/postfix/main.cf and enable this line:
canonical_maps = hash:/etc/postfix/canonical
This is set.
Then, edit the /etc/postfix/canonical and set up your translation. For example, I use: keithw@artifact.local kwinston@twmi.rr.com
^^^^^^^^^^^^^^^^ Where do I get this information from, for my case?
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.
How do I do this? Thanks very much!!!
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
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com
-- Rev. 1:7 ; Registered Linux User #153217
On Sun, Apr 28, 2002 at 07:57:58AM -0700, Jerry Van Brimmer wrote:
unless you tell it to. Usually, this is not necessary so you DON'T need sasl.
That would be nice. The I don't NEED to do SMTP AUTH, right? Do I turn OFF relayhost ?
Yup, you should not need relayhost.
Then, edit the /etc/postfix/canonical and set up your translation. For example, I use: keithw@artifact.local kwinston@twmi.rr.com ^^^^^^^^^^^^^^^^ Where do I get this information from, for my case?
That is just your local user ID and hostname.domainname. My local SuSE user ID is keithw, my local host name is artifact, and since my laptop hops around from my home domain and work domain, I have it a bogus domain name "local". The other address is my valid ISP assigned e-mail address.
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.
How do I do this?
Edit /etc/aliases, go to the bottom of and add a line like this: root: youruserid Then run "postalias /etc/aliases" to rebuild the /etc/aliases.db file. Best Regards, Keith -- LPIC-2, MCSE, N+ Got spam? Get spastic http://spastic.sourceforge.net
participants (3)
-
Jeffrey Taylor
-
Jerry Van Brimmer
-
Keith Winston