LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-10-2006, 08:04 PM   #31
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50

Quote:
Originally Posted by scrupul0us
i guess my only question is about the mail(); function.... in the php.ini for win32 i had to set my smtp server to my roadrunner server (smtp.nycap.rr.com) however there doesnt seem the be a place for this for "unix"... how do i setup the outgoing server address for the mail function?
http://us3.php.net/mail

Short answer: mail() uses sendmail. The setup you used before utilized Win32 specific commands. You need to configure Sendmail properly. May mean setting up a smart_host.

Quote:
Originally Posted by scrupul0us
--ive got a legal pad 3 pages deep with notes since i started this box--
Format it all. Make a website.
 
Old 01-10-2006, 08:05 PM   #32
scrupul0us
Member
 
Registered: Jan 2006
Location: Albany, NY
Distribution: CentOS 6.3
Posts: 159

Original Poster
Rep: Reputation: 30
so dare i ask how to upgrade to apache 2.x i just check the server that the php package was on and didnt see that...
 
Old 01-10-2006, 08:08 PM   #33
scrupul0us
Member
 
Registered: Jan 2006
Location: Albany, NY
Distribution: CentOS 6.3
Posts: 159

Original Poster
Rep: Reputation: 30
shilo: i know how to use mail(); im asking how to properly configure linux such that it will send the mail corectly over my ISP's server.... actually... ideally setting up my own mail server would be cool but ive never done that on any OS so that would be a completely new endevour for me
 
Old 01-10-2006, 08:15 PM   #34
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Quote:
Originally Posted by scrupul0us
shilo: i know how to use mail(); im asking how to properly configure linux such that it will send the mail corectly over my ISP's server.... actually... ideally setting up my own mail server would be cool but ive never done that on any OS so that would be a completely new endevour for me
From the page I linked, you will see this:


Quote:
Note that there is a big difference between the behavior of this function on Windows systems vs. UNIX systems. On Windows it delivers directly to an SMTP server, while on a UNIX system it uses a local command to hand off to the system's own MTA.
I don't see a way around this. Maybe FormMail (perl script) can be used instead.
 
Old 01-10-2006, 08:50 PM   #35
scrupul0us
Member
 
Registered: Jan 2006
Location: Albany, NY
Distribution: CentOS 6.3
Posts: 159

Original Poster
Rep: Reputation: 30
how do i configure linuxs' MTA then? im currenty in the:

Code:
/usr/share/sendmail/cf
directory but have no idea what todo

Last edited by scrupul0us; 01-10-2006 at 08:54 PM.
 
Old 01-10-2006, 09:46 PM   #36
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
You can see my post at the top, but I think that an even better expalianation is given by SeigeX. Search the forum for his article on Sendmail. Read both and you should get it. It's too long to give you a step by step as you do it.
 
Old 01-31-2006, 03:36 PM   #37
scrupul0us
Member
 
Registered: Jan 2006
Location: Albany, NY
Distribution: CentOS 6.3
Posts: 159

Original Poster
Rep: Reputation: 30
when i try to search for SeigeX i get an invalid user specified error
 
Old 01-31-2006, 06:16 PM   #38
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Sorry. Typo. SiegeX. http://www.linuxquestions.org/questi...light=sendmail
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xerces: upgrading version 1 to 2 jbsarma Linux - Newbie 2 08-24-2005 02:15 PM
upgrading to newest version of php BoBByCooL Linux - Newbie 4 05-25-2005 11:05 AM
Upgrading from old to new version of teamspeak. requiem Linux - Software 0 06-08-2004 10:15 PM
Upgrading KDE to newest version Shadzilla Linux - Software 6 01-21-2004 02:21 AM
upgrading OOo to version 1.1 demmylls Linux - Software 2 01-14-2004 08:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration