Fedora Servers :: Apache - PHP - Sendmail - TrustedUser ?
Jan 13, 2010
I'm running a fresh F12 server configuration install from DVD, and I'm having some issues with getting sendmail to actually function when called from a php script..
I'm using a mail() function in php run by apache. The httpd error log reports.
Httpd Error_Log
Code:
Code:
View 5 Replies
ADVERTISEMENT
Mar 26, 2009
i have two Pc in my home , in my first pc i installed Fedora 8 and it has a ip adderss 192.168.10.1 and DNS Name client.redhat.com And in my second system i installed Rehat Enterprise Linux 5 it has a ip address 192.168.10.2 and DNS name server.redhat.com , and this is also my DNS server(192.168.10.2), and i also want to configure sendmail server on my second system and also tell me what is necessary entry should i make into my DNS forward lookup file for running sendmail server, i read lots of post
View 12 Replies
View Related
Aug 28, 2009
I updated sendmail during a routine set of updates. I found it replaced my old sendmail with sendmail+tcpwrappers. I had to create an entry in hosts.allow as my hosts.deny was set to deny all. Never had to do this before, but I had not updated sendmail in a while. Just a heads up in case anyone else is about to perform updates.
View 1 Replies
View Related
Nov 14, 2010
I am having problem with my Sendmail Server configuration. I had configured my send mail macros and make it. but i m having problem with "dnl"..i dont know what to put in this line.my ISP's name or localhost..? I am trying to create sendmail server with my dynamic IP address. i Just want basic configuration to use sendmail.
View 2 Replies
View Related
Feb 18, 2009
WTF am I doing wrong with sendmail? I am trying to reverse alias a user as follows:
USER1 USER@MYDOMAIN.COM
USER1@hshlnb.hsh.com USER@MYDOMAIN.COM
That is how I have the entry in the genericstableWhen he sends mail, it comes from USER1@MYDOMAIN.COM, so I have the domain rewrite correct. The forward mapping in virtusertable works fine as well - he gets all mail redirected to the user1 account as specified.My sendmail.mc file has this:
divert(-1)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`setup for linux')dnl
[code]....
View 1 Replies
View Related
Jun 1, 2009
I have fedora running as our email server at work using sendmail. It used to have spamassassin and MailScanner installed, but one of those died over the weekend and killed the mail server. We do not need either of these as we are using a web based spam filter now (postini), so I tried removing these. I have discovered that the mail is in the mqueue waiting for delivery to the users mailboxes. I have tried using "sendmail -q -v":
Code:
Running /var/spool/mqueue/n51Jx6Gg023820 (sequence 1 of 1174)
<abaughman@grandproductsinc.com>... Connecting to local...
<abaughman@grandproductsinc.com>... Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL
Running /var/spool/mqueue/n51JsuRe023619 (sequence 2 of 1174)
<ksullivan@grandproductsinc.com>... Connecting to local...
<ksullivan@grandproductsinc.com>... Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL .....
I do not have a procmail config file: /etc/procmailrc. I am not sure why, or what it should be, perhaps that is the problem. I guess I don't exactly know how this server runs all that well. I was able to get it up and running but never understood it enough to now find what is not working correctly.
View 1 Replies
View Related
Sep 23, 2009
Regarding few things I am facing problem :
1. How to send one copy of that outgoing mail generated from the source. It should cc to another mail id in server's backend while mail sending.
2. I don't have any domain - internally or externally. Only have static ip, accessible from outside. Can I configure sendmail to send-receive through that ip.
3. How to transfer all mails and addressbook from exchange server to linux sendmail server.
View 1 Replies
View Related
Oct 16, 2009
I'm running FC10, with the sendmail that was part of it in Feb 09. Anyway, Up till now I've been using the user client to do spam filtering, But I'd like to start catching the spam at the sendmail level. What are my options today? I tried searching the forums and found a bunch of threads from 2001-2006, but I figured many of the ideas are now longer vaild.
View 2 Replies
View Related
Feb 22, 2011
I have a rather interesting issue. I have set up a home network and a fedora 14 box as a server. I am running the version of Sendmail that came with fedora 14. I wrote a PHP script that changes http access passwords(to give authorized access to the outside by multiple users) once a week and emails the users their new passwords. It also finds out my WAN IP (because it is dynamic, and I am using a Linksys router with NAT), and E-Mails users when this has changed along with the new access password. I have Sendmail set up so that it should log on to my websites mail server (smtp.example.net) and send the email through it.
The problem I am having is that I have set up my home server with an internal domain like exampledomain.home, but the wan IP reverse lookup returns xx.xxx.xxx.xxx.static.xxx.xx.charter.com, so that when my sendmail server connects to my smtp server for my website it gives "EHLO server.exampledomain.home" then my smtp server rejects it because the connecting IP (WAN IP) resolves toxxx.xxx.xxx.xxx.static.opls.la.charter.com gives a host not found error. Or it gives the error because server.exampledomain.home is obviously not a valid host name on the internet. I was hoping someone out there had some insight on how I could get around this without editing or adding any DNS entries to my websites domain. I would also like to avoid getting a static IP for my house as it is more expensive. I thought about making a dynamic DNS entry with dyndns.com and then making Sendmail use that host name. I dont know how to trick sendmail like that though.Here is a copy of my sendmail.mc (scrubbed of course).
divert(-1)dnl
dnl #
dnl # This is the sendmail macro config file for m4. If you make changes to
[code].....
View 4 Replies
View Related
May 29, 2011
Just upgraded to F15 and I cannot seem to get the sendmail service starting at boot time.It starts and works just fine by hand after boot, so there's nothing wrong with the sendmail
configuration itself."runlevel" shows a current run level of 5 and "chkconfig" shows sendmail on for run level 5.All the other mail service (mailman, clamd, etc.) start fine.Doing "service sendmail start" after boot gets everything up and running just fine, but itsure would be nice to have it run at boot like it used to
View 1 Replies
View Related
Jun 7, 2009
I am trying to setup sendmail on a fc10 box with dovecot running imap. I have everything configured and running on the server. For example, when I run "echo 'test' | mail -s test user@mydomain.com" or even to someuser@gmail.com, the mail goes through just fine. I can then reply from both of those accounts back to the server, no problem.
Relaying denied Cannot send mail. The SMTP server does not recognize any of the authentication methods supported by Entourage. Try changing the SMTP authentication options in Account settings or contact your network administrator.
View 10 Replies
View Related
Apr 21, 2010
I found 2 previous posts, one from 2005 and one from 2006. The 2005 post was not very helpful and the 2006 threads are not exactly what I was expecting. So I wanted to ask the question to be sure. I have already stood up the new fedora 12 server. The old server is also fedora 12. I need to migrate local users and sendmail mailboxes. In the past couple of years the environment was small enough to create a copy of the users and then have the users mail themselves, but I want to start migrating users/mailboxes properly.
On a unix level I am a jr admin, but I have extensive senior level experience as a windows engineer and network engineer. I do feel comfortable with using the unix command line, but usually operate the unix systems thru webmin because I am not familular with more complex commands. Ideally a software solution to migrate users and/or mailboxes from one server to another is what I am looking for, but in leiu of a software solution I still need to migrate user accounts and their mailboxes. LDAP is not in place, but if the process becomes easier with LDAP I am willing to do what is needed to set up LDAP. (I have no previous experience setting up LDAP)
I do not want to change my mail server from sendmail to different software. At least right now. Both systems are up and running. They can connect to each other via public ipv4 address' only. The new server has already been installed and configured with all the software to match the old server. How do I migrate users and sendmail mailboxes from one fedora 12 server to another fedora 12 server?
View 3 Replies
View Related
Sep 7, 2010
I've been using cyrus and sendmail together for a very very long time now. Just recently I upgraded to fedora 13 and now my virtual users can not send email from the /etc/sasldb2 passwords. I get in the /var/log/messages sendmail[31427]: unable to open Berkeley db /etc/sasldb2: Unknown error: Its weird that they can still log in and get email from imapd.conf
sasl_pwcheck_method:auxprop saslauthd
sasl_auxprop_plugin: sasldb
sasl_mech_list: LOGIN PLAIN CRAM-MD5 DIGEST-MD5
[code].....
I even tried re-creating sasldb2 and sasldblistusers2 shows my two users 'one' that is also a local user account and the saslauthd authenticates when sending emails, but the virtual user 'two' can't send just only can log in to receive. /etc/sysconfig/saslauthd is set up as mech=pam. but I don't see how that would be relevant to this issue.
View 5 Replies
View Related
Feb 23, 2009
I installed fedora10 on my system with live cd.I started httpd service.I also set static IP address, subnetmask and default gateway as my proxy server.It is only accessible through http://localhost at the same machine.but I need to access it through http://ipaddress/ on my other LAN machines which has window operating system.
View 8 Replies
View Related
Feb 7, 2009
I've installed a server (CentOS5.2) - and I need a new(er) PHP, so, I get me one. This is what I did:
- unzipped the bundle in the root's home
- of course, I entered the folder
- entered "./configure"
- entered "make" - the compile didn't come back with errors
- entered "make test" - there was a _possible_ fail...
- entered "make install"
I noticed there's nothing in the /libs, where I'd expect a module (lib5php5.so) to exist. there is one, but it belongs to the older PHP. It's located in ets/httpd/modules (a link BTW - but I think that's normal). At the console I type:
"which php" and get a path to PHP /usr/local/bin/php
"php --version" and get 5.2.8 and some extra info
in the server I entered "<?php phpinfo(); .>" in a PHP page, as I call that page, I get ... 5.1.6 as version.
Of course, I suspect Apache to have the OLD PHP in its config, (the old lib5php.so) and that I may have to overwrite the old one with the newly compiled one, if I had it. I ran a locate on the system, but no other lib5php.so files exist. Where did I loose track?
View 2 Replies
View Related
Feb 15, 2010
FedoraVersion 12 ConstantineNoyau Linux 2.6.31.12-174.2.3.fc.x86_64Gnome 2.28.2Memory 871.4 MoAMD Athlon LE-600Free disk 71.5GoSelinux is deactivated.Httpd doesnot start and, when I start "onfiguration des services", and click D�marrer, it runs for ever, but never starts Apache...
View 8 Replies
View Related
Jul 20, 2010
I have now blown Windows XP away completely and done a clean install into 80Gb hard disk (x86). I know that httpd is running and I've added the snippets to httpd.conf that output server status and server info to the web browser, so I can see that all the required PHP stuff is loaded. So something like http://localhost/server-info works fine but something like http://localhost/helloworld.htm produces the wrong output:
contents of helloworld.htm:
<?php>
print("hello world");
print(phpinfo());
<?>
[Code]....
View 4 Replies
View Related
Dec 24, 2010
I moved from F12 to F14, I've installed using yum Apache, MySql, php, phpMyAdmin. That all works fine, I've made index.php with phpinfo() function and if it is in /var/www/html/ it opens in web browser. I extracted daloradius-0.9-8 in /var/www/hmtl/daloradius folder changed ownership to apache:apache set alias to myradius. When I point web browser to localhost/myradius I get error 403, forbidden. I moved index.php with phpinfo() to daloradius (overwriting old index.php) and same stuff happens. Error 403. What am I doing wrong?
View 4 Replies
View Related
Feb 14, 2009
I just installed FC 10 and have apache running with the default config. the problem is that it is only listening on ipv6 for ports 80 and 443
Code:
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 2059/exim
tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 2059/exim
[code]....
here is the only part in the httpd.conf file that seems to have anything to do with this:
Code:
Listen 80
which from my understanding should make it listen on all interfaces, ipv4 and ipv6
View 8 Replies
View Related
Feb 28, 2009
having an absolute mare on this one and doin me in.! I'm trying to install apache on fedora 9 to a non default directory /usr/local/apache as i need to set it up with resin see[URL]... I've removed the default install with yum remove httpd and then tried installing using apache's ./configure make make install commands. This all appears to work ok but when trying to start the server i get command not found error.any suggestions **ps why are the apache files all over the place in fedora..
View 14 Replies
View Related
Mar 21, 2009
I have been struggling with this for the past two days and I can't seem to figure it out.SIMPLE GOAL: use subdomains with my wildcard Rapid SSL cert on Apahce2. This is not a chained certificate.Currently my default SSL virtual host, listening on 443 works fine. So, https://www.myDomain.com is recognized correctly by all browsers. But, the below virtual host listening on port 1025 is not coming across to the browser securely. The page renders, but the browsers do not see it as encrypted SSL.
View 1 Replies
View Related
Mar 29, 2009
I'm running Fedora 10 with Apache 2.2.11 and I noticed something a little strange going on. This morning, logwatch alerted me to the following concerning apache:
Code:
Sure enough, the apache access log file shows the following:
Code:
mod_proxy is disabled in the apache config file anyway (default mod_proxy commented out):
Code:
When I tried to access my web server to check, it was down, and I got the following when checking its status:
Code:
So I checked the apache error logs and found the following:
Code:
There's nothing wrong with line 188 of the config file:
Code:
It seems fairly apparent that there has been an attempt to use my web server as a proxy to gain access to other servers, so I have a couple of questions:
1) I presume that the attack failed, since mod_proxy was disabled?
2) Why did my web server crash? (It has never done this before). It seems very suspicious that it tried to restart, but failed to load proxy_module modules/mod_proxy.so on the same night that someone had attempted to use mod_proxy. I have since successfully started apache without making any configuration changes.
3) Do I need to worry that any part of my system has been compromised?
View 4 Replies
View Related
Jun 17, 2009
I'm trying to setup eRuby on my Apache server, and I'm having problems. Currently, I have this in a separate config file in "/etc/httpd/conf.d/eruby.conf":
Code:
AddType application/x-httpd-eruby .rhtml
Action application/x-httpd-eruby /cgi-bin/eruby
DirectoryIndex index.rhtml
I have a file named "index.rhtml" in a folder called "test" that's in the root of my server. When I try to get to the file I get this, though:
Code:
You don't have permission to access /cgi-bin/eruby/test/index.rhtml on this server.
View 3 Replies
View Related
Jun 17, 2009
I've run into some problems trying to change the default cgi folder from /var/www/cgi-bin to /var/www/cgi-local (in order to migrate scripts from a much older server to a new one). I have edited httpd.conf to modify the following:
Code:
ScriptAlias /cgi-bin/ "/var/www/cgi-local/"
#
# "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/var/www/cgi-local">
[Code]...
I have also tried several variations. I left ScriptAlias at the default "/var/www/cgi-bin" and I have tried it with AllowOverride None and without the +ExecCGI after Options. I am getting a 404 error when a form has an action directed at a cgi script that is in cgi-local.
View 4 Replies
View Related
Aug 16, 2009
Running a LAMP server, CentOS as the OS.The sites always been slow, but now that ive optimized it with mysql cache, gzip compression and some other things, its really fast.Except when pages loading seem to randomly 'time out'. The browser sits on 'waiting for x.com'. Closing the browser and/or the tab and opening a new one fixes it, but then it'll happen again eventually. Clicking further links while its 'waiting for x.com' does nothing, basically the site becomes unusable until you close the tab and reopen it.
This happens on all 3 virtual servers we're running within apache. Mainly noticable on the PHPbb forums, probably because they are visited the most.It's not a slow mysql query, i turned on slow query logging over 2 seconds, and the only two hits i got on that i know are unrelated.Ive turned off some optimizations thinking they might be it, but no dice.
View 2 Replies
View Related
Sep 24, 2009
I am using FC9. Can anyone tell me how to host all the manpages on a Apache Server so that a user can access it using the webbrowser like firefox. After googling I came across something called man2html but it really did not work.
View 11 Replies
View Related
Oct 14, 2009
I am having a problem with my web server. On index.html, it should say "Welcome to my website! More coming soon!" but instead, in Firefox, if I go through my server by going to eggbertx.linium.net or localhost, it shows this:
[Code]...
I know it isn't the file, because the file looks normal if I open it by going to /var/www/html/index.html I looked at /etc/httpd/conf/httpd.conf and it says that it is using UTF-8, which I'm pretty sure is normal. I don't remember it doing this before I installed kdewebdev and ran Quanta Plus, although I have no idea how it could have caused this. Has this happened to anyone else?
View 3 Replies
View Related
Dec 19, 2009
I'm using Fedora 12 with Apache 2.2.14, and I was having this error on 2.2.13 as well.
Even when I connect to my server over LAN, Firefox times out occasionally while connecting. I can't figure out what is causing this. The error_log isn't showing anything. I even cleaned the error_log file, so that if something happened, it'd be a little easier to spot. But I'm still getting time outs, and nothing in the error_log.
Here is my httpd.conf [URL]
It's the default Fedora configuration, I've only changed the ServerName if I remember correctly. it's not the Timeout setting, because on LAN it should never time out.
View 4 Replies
View Related
Dec 19, 2009
I just did a clean install of FC12 x86_64 and want to configure tomcat to run behind apache httpd. What is the easiest way to accomplish this? I'm a newbie at server configuration so detailed instructions would be nice
View 4 Replies
View Related
Jan 9, 2010
I'm trying to move an existing webserver from an old machine to a machine with Fedora 12 installed on it. ThSince the version available in the repository is version 2.X I downloaded the source from apache.org and tried to compile it. I ran configure using the default options and it an without any warnings or errors. However when I run make it fails with the following error:
gcc -c -I../os/unix -I../include -DLINUX=22 -DHAVE_SET_DUMPABLE -DUSE_HSREGEX -DNO_DL_NEEDED `../apaci` htpasswd.c
htpasswd.c:101: error: conflicting types for getline
/usr/include/stdio.h:653: note: previous declaration of getline was here
make[2]: *** [htpasswd.o] Error 1
make[2]: Leaving directory `/root/apache_1.3.41/src/support'
make[1]: *** [build-support] Error 1
make[1]: Leaving directory `/root/apache_1.3.41'
make: *** [build] Error 2
what the problem and more importantly the solution to this problem is?
View 9 Replies
View Related