how to configure postfix
![](https://seccdn.libravatar.org/avatar/9db9a4c4e08dfb4bb205b8cb1aefe717.jpg?s=120&d=mm&r=g)
Hi List, this Q. is regarding my home-box running SuSE 9.0. It is connected to the internet via ADSL where the modem is in IP passthrough mode and handles all the pppoe stuff for me. I have been successful in sending and receiving mail through kmail by configuring it to use my provider's smtp/pop server. So far, local mail stayed local and I was using pine to look over whatever root sends as regular reports. At this point I would like to be able to send mail to the outside world, i.e., forward things automatically to one of my other email addresses (office address). My provider doesn't allow relaying for obvious reasons. So, now I have to figure out how to tweak postfix into not attempting to relay but to actually connecting to my provider's smtp server with authentication and all and deliver its payload rather than to use it as a relay. At least this is how I understand how it ought to work. I seem to be unable to figure this out using YaST, though. Can someone please point me to the knobs and switches that have to be turned and thrown? Thank you very much, Alex.
![](https://seccdn.libravatar.org/avatar/2a3d30001c8a1c759a06ec93b9762ba9.jpg?s=120&d=mm&r=g)
Wed, 11 Feb 2004, by alex@chem.ufl.edu:
Hi List,
[..]
provider doesn't allow relaying for obvious reasons. So, now I have to figure out how to tweak postfix into not attempting to relay but to actually connecting to my provider's smtp server with authentication and all and deliver its payload rather than to use it as a relay. At least this is how I understand how it ought to work.
Normally, when your ISP sees you're on it's network, you're automatically allowed to relay, at least that's the way it works with my provider. For that purpose you only need to set the 'relayhost' parameter. relayhost = [aa.bb.cc.dd] # ip# of ISPs mailserver.
I seem to be unable to figure this out using YaST, though. Can someone please point me to the knobs and switches that have to be turned and thrown?
If you need to authenticate first. In /etc/postfix/main.cf: smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl-list smtp_sasl_security_options = noplaintext, noanonymous See smtp(8) Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 27N , 4 29 45E. SUSE 8.2 Kernel k_athlon-2.4.20 See headers for PGP/GPG info.
participants (2)
-
Alex Angerhofer
-
Theo v. Werkhoven