Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sendmail installation: persmission problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pgu
l33t
l33t


Joined: 30 Jul 2009
Posts: 721
Location: Oslo, Norway

PostPosted: Fri Feb 01, 2013 8:44 am    Post subject: sendmail installation: persmission problems Reply with quote

I had to

Code:
emerge -C mail-mta/ssmtp


since it was blocking sendmail. Then I

Code:
emerge -v mail-mta/sendmail


And installed my cf file etc. But it seems like the default permissions are wrong somehow since I get:

Code:
Feb  1 09:34:12 www sm-mta[15292]: r118YC66015292: from=<info-EMID0A6036F0MBADE9H04SEMI00HK12GP@news.groupon.no>, size=93878, class=0, nrcpts=1, bodytype=8BITMIME, proto=ESMTP, daemon=MTA, relay=mx111.group.fagms.net [62.27.57.111]
Feb  1 09:34:22 www sm-mta[15293]: r118YLeY015293: SYSERR(root): collect: Cannot write ./dfr118YLeY015293 (bfcommit, uid=0, gid=209): Permission denied


I seem to remember that there was a tool which would check if all the sendmail permissions were right? I don't feel like solving this issue by chmod 777 /var/spool/*.
Back to top
View user's profile Send private message
pgu
l33t
l33t


Joined: 30 Jul 2009
Posts: 721
Location: Oslo, Norway

PostPosted: Wed Feb 13, 2013 10:54 am    Post subject: Reply with quote

This problem caused me to switch to postfix, which was a good move...
Back to top
View user's profile Send private message
syn0ptik
Apprentice
Apprentice


Joined: 09 Jan 2013
Posts: 267

PostPosted: Sat Feb 16, 2013 7:12 am    Post subject: Reply with quote

what user ran sendmail? mail? in your adjust you not include internal files in mail catalog chmod -R 777 /var/spool/mail/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum