LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-07-2004, 03:15 AM   #1
chrisfirestar
Member
 
Registered: Sep 2003
Location: Adelaide, Australia
Distribution: Fedora/RH
Posts: 231

Rep: Reputation: 30
Sendmail just to send through another mailserver


Basically I have setup a appserver to host a PHP web application which has email within. However the email wants to be sent from SENDMAIL sooo i need to configure my sendmail to just push all emails to my local SMTP server..

I have no idea with Sendmail and to be honest what ive read from my searches doesnt seem to cover what I want to do.. Im confused :S

If anyone could help that would be GREAT!!!

thanks
 
Old 05-07-2004, 03:48 AM   #2
OceanSurf
Member
 
Registered: Aug 2003
Location: Si
Distribution: SuSE, Slackware
Posts: 37

Rep: Reputation: 15
Experience with PHP mail() + sendmail:

what I had trouble with was that a SMTP server of my ISP was constantly rejecting my emails sent by my sendmail (linux.localhost does not exist). So i masqueraded it as my own domain (first had to setup DNS names). Then it got through.

If you already tried mail() on your server try looking in your /var/mail what went wrong. If your SMTP is rejecting mail addresses too.
 
Old 05-07-2004, 05:35 AM   #3
.oOZe.
LQ Newbie
 
Registered: May 2004
Location: Vancouver, BC
Distribution: FC14
Posts: 16

Rep: Reputation: 2
This might work.

add:

define(`SMART_HOST',`your.smtp.server')

to sendmail.mc
regenerate sendmail.cf
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to backup a Sendmail Mailserver jeffvd Linux - Networking 4 12-17-2010 10:00 PM
anybody knows which is better mailserver ? Sendmail OR Postfix ? gajaykrishnan Programming 1 08-03-2005 03:38 AM
Can't send mail with Sendmail familyman Linux - Software 3 09-15-2004 10:30 AM
Sendmail allows receive but not send rob19 Linux - Software 8 06-17-2003 11:02 AM
mailserver sendmail ssrikant Linux - Networking 3 05-05-2003 11:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:39 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