LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   sendmail not working (https://www.linuxquestions.org/questions/linux-server-73/sendmail-not-working-4175474676/)

covert1 08-25-2013 03:46 PM

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

am using php5 on wheezy.

tyvm.

TB0ne 08-25-2013 04:19 PM

Quote:

Originally Posted by covert1 (Post 5015780)
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

covert1 08-26-2013 07:08 AM

I tried to send a test mass mail using phpbb. here is a screenshot:
http://69.138.97.168/snapshot5.png

TB0ne 08-26-2013 08:21 AM

Quote:

Originally Posted by covert1 (Post 5016175)
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.

TenTenths 08-26-2013 08:47 AM

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.

covert1 08-26-2013 02:01 PM

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?

TenTenths 08-27-2013 08:44 AM

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.

covert1 08-28-2013 06:08 AM

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.

TenTenths 08-28-2013 06:25 AM

Quote:

Originally Posted by covert1 (Post 5017450)
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?

covert1 08-29-2013 07:48 AM

i tried to send a test message. yes, thats it.


All times are GMT -5. The time now is 07:52 PM.