Koozali.org: home of the SME Server

Debian bug - ssmtp.conf

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Debian bug - ssmtp.conf
« on: July 20, 2014, 01:42:43 PM »
Hi Selintra

I'm experimenting with the Debian install for V4, and have run across a small bug with the latest package (I've not tested anything prior).

Attempting to modify the SSMTP configuration from the SAIL GUI fails until I chmod 666 the file /etc/ssmtp/ssmtp.conf. The error is "can't open /etc/ssmtp/ssmtp.conf".

Otherwise this is looking very nice indeed.

Cheers
David

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Debian bug - ssmtp.conf
« Reply #1 on: July 21, 2014, 06:17:58 PM »
Hmmm

Thought we'd fixed that.  For now, just give /etc/ssmtp/ssmtp.conf ownership/group of www-data:www-data and it will be fine.

Kind Regards

S

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: Debian bug - ssmtp.conf
« Reply #2 on: July 22, 2014, 03:06:41 AM »
Thanks for that.

Might this have had something to do with the install order? I installed the ssmtp package after SAIL.

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Debian bug - ssmtp.conf
« Reply #3 on: July 22, 2014, 08:03:06 AM »
Yes that is correct.
If you had installed ssmtp first then the sail installer would have set the ownership it needs.  However, there is something a bit "hackish" about changing file ownership on third party software so we have changed the way we access the file.  It just hasn't made it out the door yet.

We can't make ssmtp a sail dependency because some users may want to use other MTA offerings.

Kind Regards

S

     

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: Debian bug - ssmtp.conf
« Reply #4 on: July 22, 2014, 08:18:42 AM »
Okay, great. For the time being, why don't you update the installation instructions. At the moment the SSMTP install is after the main SAIL install - which is how I ended up coming across this bug.

guest22

Re: Debian bug - ssmtp.conf
« Reply #5 on: July 22, 2014, 11:25:09 PM »
May I ask what the Debian install has to do with the SME forums please?

Would it not be appropriate if the Sail/Selintra website/community could deal with these distro specific issues?

guest

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: Debian bug - ssmtp.conf
« Reply #6 on: July 25, 2014, 10:30:57 PM »
Sorry, this is just where I usually post  :-? Will keep things SME-specific from now on.

Offline del

  • *
  • 765
  • +0/-0
Re: Debian bug - ssmtp.conf
« Reply #7 on: July 28, 2014, 10:09:56 AM »
May I ask what the Debian install has to do with the SME forums please?

Would it not be appropriate if the Sail/Selintra website/community could deal with these distro specific issues?

guest

Isn't this section of the forum called "SME VoIP (Asterisk, SAIL etc)" therefore the etc. includes pretty much anything to do with the SAIL distro regardless of the base system, it's the petty things like this that drive people away from the forum.

Regards,
Del
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

guest22

Re: Debian bug - ssmtp.conf
« Reply #8 on: July 28, 2014, 05:42:33 PM »
Isn't this section of the forum called "SME VoIP (Asterisk, SAIL etc)"

Correct, hence the SME part referring to anything to do with SME Server (afer all these are the SME Server forums), not SME's in general.

guest

Offline del

  • *
  • 765
  • +0/-0
Re: Debian bug - ssmtp.conf
« Reply #9 on: July 28, 2014, 06:33:20 PM »
Correct, hence the SME part referring to anything to do with SME Server (afer all these are the SME Server forums), not SME's in general.

guest

Look up etc.  and you'll find it means "and other things"

Regards,
Del
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Debian bug - ssmtp.conf
« Reply #10 on: July 28, 2014, 06:33:50 PM »
Isn't this section of the forum called "SME VoIP (Asterisk, SAIL etc)"

yes, it is.. but look at the name.. it says "SME VoIP..."

Quote
therefore the etc. includes pretty much anything to do with the SAIL distro regardless of the base system

I disagree.. the "regardless of the base system" is incorrect.. here we discuss about SME and VoIP on SME..

Quote
, it's the petty things like this that drive people away from the forum.

Regards,
Del

au contraire mon frere.. redirecting people on correct forums:
- helps (redirected) people because this is not (likely) the right place
- will keep clean this forum from OT and topic hijacking..

I have nothing against Sark Devs and their developement on DEbian, but here we are talking about SME

all IMVHO