[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]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [LOKALT] måske nok mest til hr Therkildsen (mail m PHP)



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




 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:56 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *