LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-25-2013, 03:46 PM   #1
covert1
LQ Newbie
 
Registered: Aug 2013
Posts: 8

Rep: Reputation: Disabled
sendmail not working


I haven't been able to use sendmail. any suggestions?

am using php5 on wheezy.

tyvm.
 
Old 08-25-2013, 04:19 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,613

Rep: Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962
Quote:
Originally Posted by covert1 View Post
I haven't been able to use sendmail. any suggestions?
am using php5 on wheezy.
tyvm.
Nope...mainly because PHP doesn't have anything to do with sendmail, unless you've written a program in PHP to use it. Since you don't provide any details, code samples, log files, or even a basic error message, there's not much we can tell you.

Try to send mail from the command line...if that works, your problem is in your PHP code. If not, post relevant details about your configuration and we can try to help
 
Old 08-26-2013, 07:08 AM   #3
covert1
LQ Newbie
 
Registered: Aug 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
I tried to send a test mass mail using phpbb. here is a screenshot:
http://69.138.97.168/snapshot5.png
 
Old 08-26-2013, 08:21 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,613

Rep: Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962
Quote:
Originally Posted by covert1 View Post
I tried to send a test mass mail using phpbb. here is a screenshot:
http://69.138.97.168/snapshot5.png
...which still tells us nothing. Please see the questions asked of you previously...without details, there is NOTHING anyone can tell you.
 
Old 08-26-2013, 08:47 AM   #5
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,474

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Are you sure you've configured phpBB to use your localhost for mail rather than configuring it to use an SMTP connection to another host?

If you are using a separate SMTP host then ensure that you have access to that host, are allowed to use it as a mail relay and and that if you need any form of secure connection that this has been configured properly.

Otherwise as TB0ne says, you've not really given us much to go on.
 
Old 08-26-2013, 02:01 PM   #6
covert1
LQ Newbie
 
Registered: Aug 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
where do i find the logfiles? i tried using sendmail from bash, it locks up.i setup zend and am trying to configure it to run phpbb. i prefer to use local host, but anything that works. please be patient with the stupid guy (me). so, what's missing?
 
Old 08-27-2013, 08:44 AM   #7
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,474

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Start looking at sendmail tutorials, your mail log file is usually /var/log/maillog

Are you positive your PHP / PHPBB installation is set up to use your local mailer? From the screenshot it looks like it's trying to connect to smtp.yandex.com on port 465 which would indicate a secured connection.
 
Old 08-28-2013, 06:08 AM   #8
covert1
LQ Newbie
 
Registered: Aug 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
the log is an empty file. the origional default settings failed, so i tried to send it through a mail account. i am not really sure about my php5 environment.
 
Old 08-28-2013, 06:25 AM   #9
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,474

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by covert1 View Post
i tried to send it through a mail account. i am not really sure about my php5 environment.
Tried to send what? and how?

So you're telling us that your sendmail itself isn't working?
 
Old 08-29-2013, 07:48 AM   #10
covert1
LQ Newbie
 
Registered: Aug 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
i tried to send a test message. yes, thats it.
 
  


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
sendmail not working makaveli221 Linux - Server 1 06-13-2009 03:35 PM
sendmail not working RMLinux Linux - Newbie 2 02-16-2009 01:00 AM
Changing port in sendmail, sendmail not working. flschou Linux - Newbie 4 01-16-2008 09:03 AM
sendmail is not working & on $prompt the cmd sendmail hangs Pavan mahoorker Linux - Software 1 04-04-2006 03:57 PM
Sendmail seems working but not Swift&Smart Linux - Software 2 05-14-2003 07:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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