9daf Email not sending from jail - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Server & Networking > Web & Network Services

Web & Network Services Discussion related to network/web services such as apache, bind, sendmail, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old July 30th, 2012, 12:29
nx nx is offline
Junior Member
 
Join Date: Aug 2010
Posts: 69
Thanks: 21
Thanked 0 Times in 0 Posts
Default Email not sending from jail

I can send email out of a jail via the mail command.

But I can't get a php contact form served by apache in the same jail to send mail via sendmail or ssmtp.

The script and php.ini (path to sendmail) appear configured right, but as I'm not getting any errors or email... sendmail and ssmtp aren't working. I've been trying both, as I'd like to switch to ssmtp later.

Is this caused by the jail?
Reply With Quote
  #2  
Old July 30th, 2012, 14:06
da1 da1 is offline
Member
 
Join Date: Sep 2009
Location: Berlin,DE
Posts: 659
Thanks: 23
Thanked 48 Times in 44 Posts
Default

I don't think it's caused by the jail but rather from improper settings. Try doing less on /var/log/maillog and see what's going on. For ssmtp, you can turn on debug mode.
Reply With Quote
The Following User Says Thank You to da1 For This Useful Post:
nx (August 1st, 2012)
  #3  
Old August 1st, 2012, 00:40
nx nx is offline
Junior Member
 
Join Date: Aug 2010
Posts: 69
Thanks: 21
Thanked 0 Times in 0 Posts
Default

To make things simpler I have removed the jail and am trying to use ssmtp in the original host. So far however, it's not working but sendmail is.

I've created a new thread regarding this as it's really about a different process.

Please have a look and see if you can help me solve it:

http://forums.freebsd.org/showthread.php?t=33678
Reply With Quote
Reply

Tags
email, jail, sendmail, smtp

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] Sending multicast bbzz Multimedia 5 September 7th, 2011 09:45
Sending 1 byte packets jsimpson Userland Programming & Scripting 0 September 22nd, 2010 13:08
[Solved] sending email fuhdan Web & Network Services 2 July 17th, 2010 10:15
Multicast sending issue bsd_newbie Networking 1 March 13th, 2009 00:09
sending process in bg hirohitosan General 4 December 22nd, 2008 08:06


All times are GMT +1. The time now is 18:57.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0