LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-17-2005, 06:06 PM   #1
BillyB
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Rep: Reputation: 0
outgoing mail not working


Hello all,

I having a little problem trying to send outgoing mail from a php script which communicates with the sendmail service on a fedora lnux distribution. However i had it working before when i was using red hat and there wasn't any complications(confusing).

I've been doing some research on the net and the suggestions were to make sure that the send mail settings were correct. From what i can see they're being the smtp name is correct with the port number and the path to the where sendmail is saved was correct as well.

This is most confusing beause everthing to me seems correct and double checked to see if the sendmail service was actually running and it is


Any suggestions would be cool

Billl


P.S

Theres nothing wrong with my PHP script. lol
 
Old 04-18-2005, 12:08 PM   #2
barnamos
LQ Newbie
 
Registered: Apr 2005
Location: colorado
Distribution: mandriva
Posts: 27

Rep: Reputation: 15
can you send email from sendmail directly? can you see anything in the mail queue?
 
Old 04-18-2005, 04:18 PM   #3
BillyB
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Original Poster
Rep: Reputation: 0
When i look in the mail log for sendmail it stats that the mail has been sent(confusing). Also when i look at the sendmail program where the path in the php.ini file pointing to it comes encoded which i don't know nothing about at all.???????
 
Old 04-18-2005, 06:13 PM   #4
barnamos
LQ Newbie
 
Registered: Apr 2005
Location: colorado
Distribution: mandriva
Posts: 27

Rep: Reputation: 15
Have you sent yourself an email directly from sendmail? Sendmail is certainly a pain to play with but I'd really want to make sure sendmail was happy before looking at why the mail function isn't working.
 
Old 04-18-2005, 06:16 PM   #5
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
not sure if this is your problem, but by default sendmail does not allow you to relay mail from other computers, so if you want to set up an smtp service that other computers can use, you need to add their ip addresses to /etc/mail/access like this:

192.168.1 RELAY
110.7.191.71 RELAY

and then run make from that directory.
 
Old 04-19-2005, 08:01 AM   #6
BillyB
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Sorry for asking such a silly question but how do send an e-mail from sendmail. Do i have to run it in the graphic interface because i'm currently using ssh to view my web servers configuration.
 
Old 04-19-2005, 04:51 PM   #7
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
i always use pine (i do it all over ssh too). that's if you want to log into your mail server with ssh, and then send a message from the server directly (which, incidentally, is a good way to test whether your problem is with relaying).

Last edited by mcd; 04-19-2005 at 04:53 PM.
 
  


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
sendmail and outgoing mail shafey Linux - Networking 1 11-16-2005 04:57 AM
How to separate Incoming Mail and Outgoing Mail on SENDMAIL LiloAma Linux - Networking 1 03-22-2004 02:24 AM
Masking outgoing mail (Sendmail) Sillysoft Linux - Newbie 2 03-21-2004 08:30 PM
sendmail outgoing mail karunesh Linux - General 0 11-17-2003 02:19 PM
outgoing mail problem scheidel21 Linux - Networking 1 03-22-2003 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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