DaemonForums  

Go Back   DaemonForums > Miscellaneous > General software and network

General software and network General OS-independent software and network questions, X11, MTA, routing, etc.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 18th January 2011
wesley wesley is offline
Real Name: Wesley
Fdisk Soldier
 
Join Date: Aug 2009
Location: Reunion Island
Posts: 71
Thanked 1 Time in 1 Post
Default sendmail, mqueue : permission denied

Hi,

I'm trying to build a small mailserver using sendmail MTA.
I want to send and receive mail from my domain : example.net

In my /etc/mail, i have these files configured :
Code:
README              genericstable       openbsd.mc          virtusertable.db
aliases             genericstable.db    sendmail.cf
aliases.db          openbsd-proto.mc    virtusertable
my openbsd.mc file (to build sendmail.cf):
Code:
divert(-1)
# ...
divert(0)dnl
VERSIONID(`@(#)openbsd-proto.mc $Revision: 1.11 $')dnl
OSTYPE(openbsd)dnl
Cwexample.net
define(`confPRIVACY_FLAGS', `authwarnings,needmailhelo,noexpn,novrfy,nobodyreturn')dnl
FEATURE(nouucp, `reject')dnl
FEATURE(`virtusertable', `hash -o /etc/mail/virtusertable')dnl
FEATURE(genericstable, `hash -o /etc/mail/genericstable')dnl
DAEMON_OPTIONS(`Family=inet, Address=0.0.0.0, Name=MTA')dnl
MAILER(smtp)dnl
When i log in console with my user "wesley", i can receive mail from wesley@example.net but when i try to send an email, i have the folling error :
Code:
$ can not chdir(/var/spool/mqueue/): Permission denied
Program mode requires special privileges, e.g., root or TrustedUser.
Therefore, if i use su, and then send an email, it 's ok, i can send email from wesley@example.net
I need help. Thank you very much.

Last edited by wesley; 18th January 2011 at 12:49 PM. Reason: precision
Reply With Quote
  #2   (View Single Post)  
Old 20th January 2011
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,051
Thanked 198 Times in 156 Posts
Default

I haven't used sendmail for years and can't offer you any specific advice, but google found a few people with the same problem that seem to have solved it. For example: http://fixunix.com/security/17668-se...e-problem.html
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Reply

Tags
mqueue, sendmail

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
dns resolution being denied to some servers Frothingdog OpenBSD General 8 16th July 2010 02:12 AM
/tmp on ram write denied gosha OpenBSD General 8 29th March 2009 04:46 PM
Permission denied (publickey). Help pls rex FreeBSD General 13 14th October 2008 08:54 PM
Tightvnc startup script not loading fonts - permission denied master-richie FreeBSD Ports and Packages 2 3rd August 2008 09:29 PM
Permission denied delboy FreeBSD Ports and Packages 11 24th May 2008 09:26 PM


All times are GMT. The time now is 11:17 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick