Ubuntu :: Fatal - Postfix Command Reserved For Superuser
Dec 30, 2010
I'm trying to change the owner of a /var/www/example/var I've changed all the /var content (chown www-data /var instead of chown www-data var ). I tried executing chown root /var, but now I have problems with Postfix...
In my webpages I use different commands to send mails:
- The phpMailer class
- The mail() command
The phpmailer is working, but not mail()
When I try mail() I've these messages in /var/log/mail.log:
Code:
Dec 30 09:42:31 zeus postfix[3829]: error: to submit mail, use the Postfix sendmail command
Dec 30 09:42:31 zeus postfix[3829]: fatal: the postfix command is reserved for the superuser
Terminal mail command is not working either.
In my /etc/php5/apache2/php.ini I've this configuration:
Code:
[mail function]
; For Win32 only.
; [URL]
;SMTP = localhost
; http://php.net/smtp-port
;smtp_port = 25
; For Win32 only.
; [URL]
;sendmail_from = dstreich.girona.ics@gencat.cat
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; [URL]
sendmail_path = /usr/sbin/postfix
I also tried sendmail -t -i without luck.
View 2 Replies
ADVERTISEMENT
Mar 11, 2010
Here is what i do: make clean make makefiles CCARGS='-DEF_CONFIG_DIR="/opt/product/postfix-2.6.5/etc"
-DEF_COMMAND_DIR="/opt/product/postfix-2.6.5"
-DEF_DAEMON_DIR="/opt/product/postfix-2.6.5/libexec"
-DEF_MAILQ_PATH="/opt/product/postfix-2.6.5/bin/mailq"
-DEF_DATA_DIR="/opt/product/postfix-2.6.5/lib"
-DEF_NEWALIAS_DIR="/opt/product/postfix-2.6.5/bin/newaliases"
[Code]...
make install then i got this error: postfix: fatal: chdir(/usr/libexec/postfix): No such file or directory make: *** [install] Error 1 I don't understand why it's checking the usr/libexec folder for the daemons although I've set the folder to /opt/product/postfix-2.6.5/libexec in the makefile. Here is also the cat of my makedefs.out:
[Code]....
View 1 Replies
View Related
May 11, 2011
I upgraded postfix to 2.8 today after the security bulletin from the list.
now I get the following error:
'postfix/local[2442]: fatal: unable to determine open file limit'
I can receive/send mail, it just wont let me deliver locally
uname output: 2.6.37-1-686 #1 SMP Tue Feb 15 18:21:50 UTC 2011 i686 GNU/Linux
View 2 Replies
View Related
May 24, 2010
I'm runing FC11 and have compiled the vanilla kernel 2.6.33.4 to support Dazuko. It has broken my NFSD server in the process, and I can't figure out why. I get these errors on boot. FATAL: Module nfsd not found. FATAL: Error running install command for nfsd
[code]....
View 2 Replies
View Related
May 10, 2010
I am using ubuntu 9.10...now I have created an USB startup disk in my 1gb pen drive with a persistence region of 200MB. But after I have booted into the live ubuntu version using the pen drive how will I access the reserved space?.. I have tried mounting the pen drive but still couldn't access the reserved space.
NB:-I have only one FAT32 partition in my pen drive...
View 3 Replies
View Related
May 19, 2010
i have a 700GB ext4 partition for storage purposes. By default it has 5% of the space (35GB!) reserved for root, which does not make sense for this partition. how can i reduce this percentage? there is already a lot of data on the partition and i'm afraid that mke2fs would erase all the data. is there a way to change the percentage without touching the data?
View 1 Replies
View Related
Nov 8, 2010
i'm running out of partitions, i was thinking if i could get rid of the windows system reserved partition without messing any of my windows 7 OS & the recovering partition. I'm currently using grub2 to boot ubuntu & win 7.
View 6 Replies
View Related
Dec 11, 2010
I've just setup a new Ubuntu 10.04 LTS server on linode for myself. Followed an excellent instruction at: here to finish the installation of some basic stuff including postfix.
I am trying to figure out a way to send an email to my gmail address with an attachment, but cannot find how. Already confirmed that email can reach my gmail account.
In the end I have to use mutt to send the email with attachments, probably SendEmails will also do well, but I am wondering how to do the same thing in postfix from command-line?
View 3 Replies
View Related
Mar 14, 2010
how to list all postfix user accounts in command line?
View 10 Replies
View Related
Nov 30, 2010
Is it true that I can safely set reserved blocks percentage to 0% on some ext4 partition which contains only my personal data but no OS files?
View 1 Replies
View Related
Jul 9, 2009
Is there anyone that can tell me what the above error is all about. When I beet my Centos5.3 server I get the error it doesnt effect the bootup and the system is working fine but the error I am assuming isnt a good thing.
View 3 Replies
View Related
Aug 2, 2011
I'd like to use pyRenamer to identify and rename files with reserved characters in the file name. The files came from windows where I'm guessing the characters didn't cause problems. For example, I want to replace the ? (question mark), ' (single quote), etc. I tried using the escape () character before the special character in the replace field on the substitutions tab, but for some reason I don't believe that method was identifying the special characters. What is the correct way to identify a special / reserved character within a file name and replace it?
View 1 Replies
View Related
Jan 15, 2010
I'm running this command to increase the available storage area of my ext3 drive but It has no effect.
Code:
I would like to get more storage space out of this drive since it's only use is a backup mirror of the ntfs drive.
I think that drive size might be related to something else.
View 10 Replies
View Related
Sep 26, 2010
I have a problem after newly installation of rhel5. Actually i am not facing any problem by this but getting this message at system startup PCI: Bios Bug: MCFG area at e0000000 in not E820-Reserved.
View 1 Replies
View Related
Aug 16, 2010
So I'm trying to install the icon package called Token-Dark. I figured out that I have to move the icons to usr/share/icons. When I try to copy the file I get the error "permission denied". I tried to change the permissions on the folder, but it says that I'm not the root, or the owner of the files, so I can't change anything.
View 9 Replies
View Related
Sep 25, 2010
is there any HOWTO for configuring Webmin Postfix server with multiple postfix virtual hosts? Seems to be a tough challenge to set it up without any easy manual..
View 1 Replies
View Related
Apr 26, 2010
I get tired of the ugly default GNOME theme that rears its head when I'm doing something as superuser. I understand why it's desirable for these windows with elevated privileges to look different, but I'd like to choose a different theme.
So... what terminal command do I run to bring up the Appearance window? My thought is if I simply run it with "sudo", any changes made would affect the appearance of future elevated-privilege windows. Does that sound right, or am I out in left field?
View 9 Replies
View Related
May 19, 2010
My father put a new superuser password on my laptop, and now I cant access my computer without him putting the password in. How can I get rid of his superuser control? Can I delete or change the superuser thing.
View 4 Replies
View Related
Feb 8, 2011
I have a regular password and a masterpassword, but sometimes I am being asked for a superuserpassword? I have no scripting experience and a very basic idea of how linux works. I am trying to get enough of a handle on this OS, so I can use it comfortably.
View 3 Replies
View Related
Jul 19, 2011
So, I'm not quite sure what the difference is? Is it that sudo allows you to "borrow" superuser privileges, whilst su allows you to actually log in as superuser? Also, when I sudo [command] and get prompted for a password, after I input it, things work just fine, but if I su, and then get prompted for a password, I can't log in as superuser... Why is this?
View 9 Replies
View Related
Dec 6, 2010
ok I have installed and configured postfix to setup a mail directory to $HOME/Maildir
when I check ls Maildir/new there is mail there but when I run the command it outputs "No Mail"?
View 7 Replies
View Related
May 24, 2010
I want to login as root in GUI just like login as normal user, how this can be achieved. i tried giving root and its password but failed. i dont want to go from terminal. just want to know how this can be done.
View 14 Replies
View Related
Jul 18, 2010
Im comming from ubuntu/mint and one of the things I got used too was doing something like "sudo nautilus" or "sudo gedit" and similar things. In Suse 11.3 I always get errors like the following
(gedit:6115): Gtk-WARNING **: cannot open display:
kate: cannot connect to X server
Could not parse arguments: Cannot open display:
or similar variations of these.What can I so to prevent this from happening? even if I do "su" and try from there it doesnt always work.I like Suse as it feels more professional then ubuntu, but I am trying to make it as user friendly.
View 5 Replies
View Related
Jul 29, 2011
I have never set up any other password, yet I'm asked for Root password and therefore locked out from superuser.This is my own personal computer at home and there is no other O/S installed.My password works for almost anything else I've needed it for so far but I can't install my printer driver, or access su, or any of its other related privileges
View 5 Replies
View Related
Oct 4, 2010
so i set out to change the default smtp port the server uses because my ISP blocks port 25 and i need the email to work in outlook. this morning i could receive email, but not send it. so i did some research and thought that i needed to edit the master.cf file in /etc/postfix/ by commenting out this line: smtp inet n - n - - smtpd -oand replace it with587 inet n - n - - smtpd (587 being the port i want to use)somewhere along the lines postfix server stopped running and now i cannot get it to start.if i try using SSH it crashes immediately and if i restart it in simple control panel nothing happens
View 7 Replies
View Related
Feb 25, 2011
I recently moved over user from an old box running postfix(v 2.0.16) over to rhel 6 running postfix (v mail_version = 2.6.6). ive tried to make sure all the files are of correct permissions and that the main.cf file is configured corectly. However there is something wrong as when i run postfix: service postfix server i get no error but when checking the status:service postfix status i get: master dead but pid file exists Looking into /var/log/mailog i find this line being the issue:
Feb 25 16:24:39 puny1 postfix/master[3517]: fatal: fifo_listen: create fifo public/pickup: Permission denied
I gather this is a file permission issue and ive tried to make sure the public folder in /var/spool/postfix is correctly set but still no avail.
View 2 Replies
View Related
Nov 8, 2010
mount an NFS directory as a regular user (which doesn't have sudo rights) because a suitable entry (i.e. with the user option) is defined in /etc/fstab file.But, when I mount it, I am not the owner of it! The owner is the default superuser of the system. So I don't have write permissions in the mounted directory.
View 4 Replies
View Related
May 11, 2010
I was trying to write a graph plotting program with c++. I need to convert the infix expression from user to postfix expression for quick evaluation. However, the evaluation of postfix is kind of interpreted, and thus kind of slow for evaluating huge number of values. Say if I plot an implicit function the penalty is quite huge. Is there a way that I can compile the infix expression from my running graph plotting application for high speed evaluation.
View 6 Replies
View Related
Dec 12, 2008
I have isntalled a server with Centos 5.2 OS, now I would like to switch from the default sendmail to postfix doing a yum install postfix I've noticed there is already available an rpm version for the OS but I would like to compile my own 2.5 version, I've noticed compiling from source does not allow me to use the mail switcher to tell to the system I'm gonna use Postfix instead of Sendmail as the default MTA while this is possible when I use the "official" rpm version of the package. Now my question is this, would this be a problem? There is some specific procedure/best practice I should follow? Or once compiled and configured Postfix I can safely disable/uninstall sendmail?
View 6 Replies
View Related
Nov 10, 2009
It's been a while, I haven't used Linux since version 6 or 7, and at that time, Anaconda gave you a choice of which level of SELinux to install - as I remember, I chose the "relaxed" version... but this time, with Version 11, I was not given any choice of which level of SELinux to use. I was automatically forced into a USER (drone) account with no administrative or limited administrative capabilities. I have my administrative name and password I assigned during the Anaconda install...but I don't know how to get into the superuser or root account and execute it so that I have full, unvarnished permission to do as I please on MY machine.
First of all, let me explain - This is MY computer and I can do with it exactly as I want. I am the Aministrator and I am the one and only OWNER of this machine. Therefore, I should have automatic access to SuperUser, and if I corrupt something, that is my fault...and its my machine. Cutting through the bull, I would like someone on here to just plain tell me, without cryptic remarks, to give me a step-by-step - The is a HOW TO to access the superuser account, name and password. And - this is HOW TO create a ROOT account with superuser permissions. What I need is a one-two-three this-is-how-to-do-it.
If I mess things up, I merely reinstall Fedora again and start from scratch. I don't care if I screw things up accidentally. What does irritate me is being forced to have a "drone" account on my machine that I own, without even asking me, what I wanted..
View 11 Replies
View Related