[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
[an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]![]() |
![]() |
![]() |
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
![]() |
![]() |
![]() |
Ebbe Vang wrote: > Kunne desværre ikke kom til php-aften. > jeg har en redhat9 inst. der kører webserver på vores skole, men an ikk > efå mail funktionne til at virke - hvordan får jeg sat maskinen op så den > kan send mails? - det vil være praktisk i forbindelse med automatisk > afsendelse af mail i mine php-script > evang Installere ssmtp (ikke et stort program, som fungerer fint med php). Udfyld /etc/ssmtp/ssmtp.conf - efter dit behov. Men den sidste linie er vigtigt, for at få en "pæn" afsender adresse fra PHP. ============= /etc/ssmtp/ssmtp.conf ============= *** This file is auto-generated using debconf on install. *** *** Any changes made may be overwritten on next upgrade depending *** *** on your answer to the question on overwriting config files. *** # # Config file for sSMTP sendmail # # The person who gets all mail for userids < 1000 root=postmaster # The place where the mail goes. The actual machine name is required no # MX records are consulted. Commonly mailhosts are named mail.domain.com mailhub=smtp.mail.dk # Where will the mail seem to come from? rewriteDomain=linuxcafe.dk # The full hostname hostname=linuxcafe.dk # Are users allowed to set their own From: address? # YES - Allow the user to specify their own From: address # NO - Use the system generated From: address FromLineOverride=YES ================= -- "There are 10 types of people. Those who understand binary, and those who don't" -- Kilde: http://henrik.boegh.net/?citater
![]() |
![]() |
![]() |
||||||||||||
|
||||||||||||||
![]() | ||||||||||||||
|
||||||||||||||
![]() |
![]() |
![]() |