Ubuntu Servers :: Why Sendmail Would Be Rewriting These Files

Jul 11, 2011

I recently inherited an Ubuntu server where the previous admin had installed sendmail and FCheck IDS.The issue I am encountering is that sendmail appears to be rewriting both /etc/mail/m4/dialup.m4 and /etc/mail/sendmail.cf constantly (at least once per hour).dailup.m4 never seems to change (other then the creation date), while sendmail.cf has the line describing who and when it was built changed.So far I have had no luck tracking down why sendmail would be rewriting these files.

View 2 Replies


ADVERTISEMENT

Ubuntu Servers :: Url Rewriting Not Working?

Jun 16, 2010

I aleardy set up an url rewriting before, but this time it does not seem to be working.To module is installed and activatedI created an htaccess file in http://localhost/entrepreneur/ contaning the following code:

Code:
Options +FollowSymLinks
RewriteEngine On

[code]....

View 4 Replies View Related

Ubuntu Installation :: Rewriting MBR And Then Reloading GRUB2?

Feb 12, 2010

I have to do but wanted to check first before I started messing around with my MBR.

Originally was running XP and installed WUBI 9.10 to play around with Ubuntu before doing a proper install. Got home from work tonight and removed WUBI leaving edited MBR with WUBI boot loader. I thought I might have to run fixmbr before installing Ubuntu but I assumed Ubuntu would write over WUBI edited MBR. Installed Ubuntu 9.10 and everything is fine but when I select XP from first boot option (Ububtu) it then takes me to another boot option which was from the WUBI install.

Basically to get to XP, I have to select it twice.

It's not a big issue but I know that this will annoy me and one day or another I will try and remove the second unnecessary option to boot into XP.

So if I have this correct I will need to run fixmbr from XP disc and then install Grub 2.0 from Ubuntu disc somehow?

Is this right? Is there another way I can delete the second boot option screen?

View 1 Replies View Related

Server :: URL Rewriting Without Redirection?

Apr 28, 2011

I got a peculiar request at work, and maybe you folks can help me out.I want to rewrite URL 'foo.com' as 'bar.com' (in the browser address bar) still display the content of 'foo.com'

View 2 Replies View Related

Server :: Sender Name Rewriting In Postfix?

Jan 8, 2010

I want a mail server that can relay mails to the internet using GMail and fetch the mails of different accounts into the mail server and distribute them to their respective users. I am using Postfix, Fetchmail and Dovecot. I have a PC with 3 users.I use the PC having Ubuntu 9.04 and share the internet. We all send mail and retrieve mail. We do use Evolution and Mutt sometimes. We want to send our mails with our email_ids without even logging in.

Hostname
mail.myhomepc.com
Domain
myhomepc.com

[code]....

I have created my custom certificate using SSL. I've created the Postfix's main.cf file following a tutorial on the net. Currently mails are going fine, but with our local email_ids. I want Postfix to rewrite our local email_ids with the equivalent email_id on the net.

View 2 Replies View Related

Ubuntu Servers :: How To Config Sendmail In 10.10

Apr 17, 2011

I want config ubuntu to send mail with sendmail. Any manual for cinfig sendmail in Ubuntu.

View 4 Replies View Related

Ubuntu Servers :: Change Sendmail Www-data?

Jul 21, 2010

The sendmail was setup in default condition. While testing some php application using @mail function, it uses the sender name as "www-data@xxx.com". How to replace the "www-data"?

View 2 Replies View Related

Server :: Apache2/Worpress Rewriting Url To Avahi's .local

Dec 18, 2010

I've got a home network that uses avahi's magic '.local' name service.

One computer is a server running Debian Testing/Apache2/Wordpress 3.0.x.

All the computers in the house have avahi-compatible service, so reaching the server is easy for computers.

I'd like to use my phone via the wireless lan to use the wordpress installation. The gotcha is, I can enter the ip address and get to the login page. The next page, the ip address is re-written to the avahi host name.

As an example,

1. I enter 192.168.11.110:100 and I land on the default page.

2. Click on a page of content.

3. URL is rewritten from the numeric address to the avahi, text address.

4. This is a 404 error on the phone. The laptops handle it just fine.

How do I stop apache2 from rewriting?

View 1 Replies View Related

Ubuntu Servers :: Sendmail Can Only Send To External Domains

Jun 15, 2011

When I use sendmail (or, most commonly, a PHP or Perl script uses it) to send to any other domain except my own, it works great. When I use it to send to my own domain, however, it's trying to deliver it to localhost. Problem is, all our mail is handled by an Exchange server on a different machine, so I really don't want If I run sendmail manually for a test message to myself, here's how it comes up after the message is closed out:

Code:

echo "Subject: test" | /usr/sbin/sendmail -v me@domain.com
354 Enter mail, end with "." on a line by itself
>>> .
050 <me@domain.com>... Connecting to local...

[code]...

The message then gets dropped into my box at /var/mail/xxxx, but that's really not helpful to me -- I need to to connect to that other machine to deliver the mail there. This machine isn't used as a mail server at all. Also, if it's trying to send to a username that doesn't have an account on this server (we have many), it just fails entirely with "user unknown" (that makes sense, as there are only a couple of user accounts on the web server). how to get sendmail to connect to our mail server instead of "local"?

View 4 Replies View Related

Ubuntu Servers :: Sendmail Goes To Wrong Address When Triggerd By Cron?

Mar 17, 2010

I wrote/cobbled-together this nifty sendmail script to read some logs and take some disk stats. basically i'm reporting on rsnapshot. When I run it as

Code:
sudo /etc/rsnapshot/mailSta.sh
Everything works wonderful and the emails arrive as expected and fires off an email to two accounts at a remote server

View 1 Replies View Related

Ubuntu Servers :: Avoid Starting Sendmail As Daemon Process

May 1, 2010

I currently have sendmail installed. It starts as a daemon but I want to avoid doing that. I want to start it manually.Also am a dynamic host.so every time i start my computer my ip changes. I use ddclient to update my records at dyndns.com.but how to configure sendmail in the case of dynamic hosts since it looks at the file /etc/hosts which contains information about the static hosts.

View 2 Replies View Related

Ubuntu Servers :: Mail/sendmail Issue [127.0.0.1 Connection Refused]

Jun 17, 2010

I have sendmail running (quite well) on my ubuntu box. It worksfine with Thunderbird locally. It runs fine with a few other MUAson (allowed) remote machines. It has one small problem I have notbeen able to clear up: it will not send mail that is initiated bythe 'mail' program locally. It gives me a "[127.0.0.1 connectionrefused] error in the logs. The /etc/hosts file is fine (as faras I know). The sendmail.cf file has been rebuilt from sendmeil.mc.'hostname' and 'dnsdomainname' return proper values. Okay, I'mstumped and looking for another set of eyes on the problem.

View 2 Replies View Related

Fedora Servers :: Sendmail Server Configuration?

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

Fedora Servers :: Sendmail Broke (tcpwrappers) / What To Do?

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

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 View Related

Fedora Servers :: Sendmail Server Configuration ?

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

Ubuntu Servers :: Save All Of The Mail Sendmail Processes To A Named Pipe?

Apr 12, 2010

how I could save all of the mail sendmail processes to a named pipe?

View 5 Replies View Related

Ubuntu Servers :: Iptables / Netfilter Config Stops Sendmail From Working?

Oct 8, 2010

I have an ubuntu server virtual machine with a webhost. I am trying to configure the firewall. I am having a problem with sendmail and the required firewall configuraiton If I type the command:

iptables -F

Then sendmail works perfectly. I can see the emails sent in my googlemail inbox. I then configure my firewall as follows:

iptables -F
iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -p tcp --dport 2252 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
[Code]....

(I have moved SSH to a diffrent port) Once this is setup sendmail no longer works. I had assumed that sendmail will establish a tcp connection and the first rule will allow all established connections to pass. why this iptables/netfilter config stops sendmail from working.

View 5 Replies View Related

Fedora Servers :: Sendmail / Genericstable / Virtual Domains?

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

Fedora Servers :: Sendmail Delivery To Local Boxes

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

Fedora Servers :: Configure Sendmail To Send / Receive Through IP?

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

Fedora Servers :: Catching The Spam At The Sendmail Level

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

Fedora Servers :: Sendmail And Home Network Woes?

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

Fedora Servers :: F15 Sendmail Service Not Starting On Boot-up?

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

Server :: Debian Apache2 Rewriting Subdirectory To Root Breaks Accessing Cgi Scripts

May 25, 2010

OS: Debian 5.0.4
Server: Apache2

I've used mod_rewrite to rewrite my apache2 root (my.server.com/) to point to /var/www/drupal6/ instead of /var/www/. I also have a script installed in my cgi-bin (/usr/lib/cgi-bin) but since the rewrite I can't seem to access it. When I go to my.server.come/cgi-bin/test.pl, I get a page not found from my drupal.

Is there a way I can access my cgi-bin without resorting to accessing my drupal through my.server.com/drupal6/?

Background: I have installed drupal CMS which has a base address of my.server.com/drupal6/ as it resided in /var/www/drupal6/. However I wanted users to be able to access it as my.server.com/ so I added the following into my httpd.conf

Code:
NameVirtualHost *:80
<Directory /var/www/drupal6>
RewriteEngine on
RewriteBase /

[Code].....

View 1 Replies View Related

Fedora Servers :: Migrate Local Users And Sendmail Mailboxes?

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

General :: Sendmail - Creating Queue Files Directly?

Jul 27, 2010

I am directly creating "qf" & "df" files into the sendmail queue folder and then processing this queue by command line. This is the only way to export data and email from this old application I am stuck with.This works quite well in my test enviornment but I am really new to linux/sendmail and just looking for any feedback on this process. Is this direct creation of queue files safe and any pitfalls that I should be aware of?

View 2 Replies View Related

Ubuntu Servers :: Logwatch / Sendmail - Error (grandchild 27612 Failed With Exit Status 127)?

Dec 14, 2010

I am using ubuntu server 10.10. Tried to create a cronjob for logwatch/sendmail, but without sucess.
I followed the instructions : URL

When I type :

Quote:

sudo grep CRON /var/log/syslog

I get the result :

CRON[27611]: (CRON) error (grandchild #27612 failed with exit status 127)

View 4 Replies View Related

General :: Setup Sendmail So That It Use Separate User And Password Files?

Oct 14, 2010

I have configured dovecot to use separate user and password file. Can I tell endmail to use it too? If not, then does postfix can this?

View 2 Replies View Related

Server :: Sendmail Block Sending Or Receiving .exe Files As Attachment

Jun 22, 2010

Please tell me how i can block sending or receiving .exe files as a attachment in sendmail server

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved