Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Web Hosting


Advertisements:




SuperbHosting.net & Arvixe.com have generously sponsored dedicated servers and web hosting to ensure a reliable and scalable dedicated hosting solution for BigResource.com.







Sendmail Sends From Localhost.localdomain No Matter What I Try


I have these lines in sendmail.mc and I've compiled the sendmail.cf with them:

LOCAL_DOMAIN(`freesexdoor.com')dnl
MASQUERADE_AS(`freesexdoor.com')dnl
FEATURE(masquerade_envelope)dnl
MASQUERADE_DOMAIN(localhost)dnl
MASQUERADE_DOMAIN(localhost.localdomain)dnl

I have the users daemon, freesexd and root in the trusted_users file. I have restarted sendmail (using service sendmail restart). I have the domains: server.freesexdoor.com, freesexdoor.com and mail.freesexdoor.com in the sendmail's local_hosts file.

In Apache 2's httpd.conf, I have this: php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f freesexd [at} freesexdoor.com'

Yet when I sent an e-mail with php to advertising [at} freesexdoor.com, I got these headers in the e-mail, which don't look good to a spam filter:

Received: from localhost.localdomain (IS-3293 [127.0.0.1])
by localhost.localdomain (8.13.8/8.13.8) with ESMTP id

Received: (from daemon@localhost)
by localhost.localdomain (8.13.8/8.13.8/Submit) id

Message-Id: <200712180935.lBI9ZrRs005480@localhost.localdomain>

Additionally hotmail rejects my e-mails and it is obvious why. (My OpenSPF record is fine btw and on my former server I was able to send e-mails with it fine.)

Naturally I want something like "freesexdoor.com" to replace "localhost.localdomain" in those header lines. So how can I get this working?

The OS is CentOS 5 by the way.


View Complete Thread with Replies

Sponsored Links:

Related Forum Messages:
How To Change VZ SSL To "localhost.localdomain"
I'm planning to buy a high end VPS for reselling as a whole.

Does any one know how to change the VZ SSL to localhost.localdomain as shown in the attachment? I asked many providers and non of them like to change this. I got one provider willing to change this for me but he's not very sure how.

Someone told me that "Ask your provider to study how VZPP is handled by apache in the service container and they should find his way through"

I'm already aware that this should be done from the main hardware node not from the clients VPS itself.

View Replies!   View Related
Mail Is Not Received From Localdomain
I need help with email issue.

Sending and receiving from yahoo,google mail is just fine.

But when i try to receive email from another server or an localdomain on same server, i receive an email with the below content:

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

support@xxx1.com
SMTP error from remote mail server after RCPT TO:<support@xxx1.com>:
host xxx1.com [xxx.xxx.31.49]: 550-Verification failed for <admin@xxx2.com>
550-No Such User Here
550 Sender verify failed

I am not sure it is the issue of sender or receiver?

View Replies!   View Related
What Are Sends / Smtp In Mysql Eximstats
1. What is the difference between the send & smtp tables within MySQL's eximstats?

2. What do they log?

3. Do they get cleaned up and old stats gets removed?

View Replies!   View Related
How To Change IP Couior Sends Its Mail Out Under
My host gave refuge to a ROKSO spammer and got the C-block listed in SpamHaus and cant get it removed.

So they mapped a new, clean IP to my server and I need to change the IP that my MTA is sending out under. Since I didnt set this up and the guy who did is not avaliable to me ATM, I cant seem to figure this out.

View Replies!   View Related
Does Location Always Matter
I have seen a number of threads that specify location (mostly US) as a critereon for VPS selection. I am based in India and looks like there are vew VPS providers here and most of the VPS providers are located in the US (some in the UK as well).

View Replies!   View Related
Qmail - Check Which Account Sends Emails
I have loads of spam messages being sent from my VPS and I think one (or more) of the legit email accounts are used to send spam (either someone worked out the passwords or users of those accounts have malicious software installed on their machines.

How can I check which email accounts send which emails? Currently nothing is being logged by qmail (/var/log/mail* are empty).

View Replies!   View Related
Every Email Which Sends Outputs Unwanted Lines
Every email which gets automatically sent out from my server begins with:

Reply-To: noreply@MYDOMAIN.com

X-Mailer: PHP/4.4.7
Message-Id: <20080319210750.564111CEC004@mx.MYDOMAIN.com>
Date: Wed, 19 Mar 2008 22:07:50 +0100 (CET)

Dear DOMAIN.com Member,

This is not in our PHP code or anything, and I can't seem to remove it, its just a tad annoying. How do I remove it?

View Replies!   View Related
Does Uptime Guarantee Really Matter
Just looking for opinions on uptime guarantees. Does anyone actually look at those guarantees anymore? Or is it just assumed that every host now a days is up 99.9% of the time.

The reason I ask is that it appears that every host has one, but I haven't really ever experienced one myself.

View Replies!   View Related
As A Customer, How Much Does Design Matter
If you're browsing for a new host, do you care about the design of the site you're looking at? Would you be put off a host if their site was poorly designed and ugly?

View Replies!   View Related
Does Location Of Datacenter Matter
We currently have two vps's one in chicago and one in dallas. We have our primary in chicago because we figured fewer hops=faster load times for website. is this really true?

right now we get pings around 35-60ms to chicago and 60-170ms to dallas. does this major difference really amount to anything?

View Replies!   View Related
FTP - Does Memory Matter
include FTP Backup space for my clients, However I was thinking would memory be an issue for a few connections per day and fair usage.

I was just thinking 1-2GB memory should that be okay?

View Replies!   View Related
Does It Matter If The Company Owns Its Equipment
employees, owners, customers and everyone feel free to join in and tell us what you think.

Do you feel that your data is safe if the company manages their own servers? By manage I mean they fully own and operate their own hardware.

Or does it not matter as long as the company is a long time and known provider? Do you ask yourself this question when you look for a host?

View Replies!   View Related
Does Server Location Matter For VPS
I intend to subscribe to a VPS and I'm trying to decide whether to go with a company in the US or in my home country, Singapore (which is on the other side of the globe).

Price wise, US web hosting companies beat their Singapore counterparts hands down. The prices in Singapore are easily 2.5 times that of the US (for equivalent specs).

But in terms of server round trip times, Singapore is much faster for local users. (99% of my users will be based in Singapore.) A ping to a US server takes an average of 380ms, compared to 13ms for a ping to a Singapore server (from Singapore).

In terms of reliability, both are the same.

MY QUESTIONS:

1. Is the server round trip time really the main bottleneck (from the time the user clicks a button to the time she gets a response)? Or should I not be worried about this?

2. What is the recommended hosting option (US or Singapore), taking into consideration just two factors: price and speed?

View Replies!   View Related
Direct Admin: Php Mail() Only Sends Email To Certain Domains
I am currently setting up my server, and are experiencing some problems.

Some of the mails sendt with the php mail() func, ends up in the mail queue in DA, and I get the following error log in DA:

2009-06-04 20:36:02 Received from <> R=1MCHnG-0005uQ-9v U=mail P=local S=1344 T="Mail delivery failed: returning message to sender"
2009-06-04 20:36:02 routing failed for admin@vmnd001.local <admin@munnbind.net> F=<>: Unrouteable address
2009-06-04 20:36:02 routing failed for admin@vmnd001.local <admin@munnbind.net> F=<>: Unrouteable address
*** Frozen (delivery error message)

This only happens with some email domains though. If I set the recipient to my yahoo mail, it works as a sharm, but when I set my other email (<<removed>>) as recipient, i get the error log above.

View Replies!   View Related
Does Support Matter If There Was 100% Uptime And Scalability?
Does support matter if there was 100% uptime and scalability?

Our team has been developing scalable sites since 2004. We started renting servers from Layeredtech then, since they had good reviews and they were still good until we migrated away from dedicated server land. Although we have systems administration backgrounds, it still took time away from developing software in order to administer the servers (look over logs, backups/restores, performance graphs, hardware failure, etc). Having said that, one thing I've noticed is that customers are usually happy if servers are always running and running fast.

To get rid of the systems administration part we tried Mosso (they had just released, great support but a lot of problems), we tried mediatemple's grid (also had a lot of problems), couldnt try EC2 because of persistent storage, and lastly we are currently using thegridlayer (it lags, the initial request takes about a second to display a page with no load on the server).

The next things to try were VPS then managed dedicated servers. We decided to try VPSes so we can isolate sites from each other and add VPSes as needed for specific sites. So I got a zone.net and they were running fine until they had a problem mentioned here. People recommended them because they had fast servers, now is the opposite because of this one downtime.

So finally, my questions:

1) how much do you think support is needed if your hosts provides fast servers and 100% uptime?

2) What measures do you take (if any) to verify the host's procedures such as backups, company size, profitability, etc?

3) How do you verify that a host is not overselling before buying a hosting package (assuming shared or VPS)?

View Replies!   View Related
WHM/CPanel Sends Private Key Via Clear Text Email
Why does the WHM panel send me my private key and passphrase for my SSL certificate to my inbox when I generate a CSR? Um... isn't that a bit insecure?

I purchased a Rapid SSL cert from NameCheap who then needed a Certificate Signature Request(CSR) which is generated from WHM.

After generating the CSR, WHM sent me an email that is literally titled 'SSL RSA PRIVATE KEY for *.<domain_removed>.com'

The email not only contains the ----- RSA PRIVATE KEY----- but also my 'challenge password' .

is this supposed to happen? and why on earth would my private key and passphrase be sent via unencrypted email? The only think I can think of is that the WHM panel feature is being used to generate the CSR and is sending me a self-signed cert private key , which I'm not going to use (i'm only going to use the CSR) Even if thats the case, I think it still shouldn't happen, its too confusing for newbies like me and I could just end up using the same passphrase for my actual certificate.

Here are the steps I followed:
1. purchased a RapidSSL from namecheap
2. Clicked 'Activate' in namecheap's SSL dashboard which then asks me for a CSR.

To get the CSR, per Site5's wiki:
1.logged into WHM
2. clicked 'Generate a SSL Certificate and Signing Request'
3. completed the 'create a new cert' form which among other things, asks me for the 'Email address the cert will be sent to'. For all the fields, see the site5 wiki
4. click Create

View Replies!   View Related
Vietnamese Localhost
I am a Vietnamese girl and a new member. I'd just like to ask anybody knows about vietnamese localhost? I use appserv, but it does not have vietnamese language, so if I'd like to submit categories, etc. in Vietnamese into my phpmyadmin, it does not work.

Only languages are okay, like: English, Deutsch, French, Spain, .... but there are no Vietnamese language. What should I do?

We write with latin characters, but there are apostrophes which appserv cannot read.

Does it happen to any Vietnamese here in forum?

how can write a text in Vietnamese language into phpmyadmin,

View Replies!   View Related
DSL + Localhost
A friend of me would like to setup a local server with my DSL. The problem is the IP address keeps changing and he does not want to purchase a static IP.

The script needs to detect the IP address and then email it to the admin over here daily.

View Replies!   View Related
How To Catch Localhost Spammers
I am failed to catch this spammer, please help me to find out the source. There is no such domain on my server. User is using localhost in smtp, I am using mail enable standard on my server ....

View Replies!   View Related
127.0.0.1 Works But Not Localhost
I just installed wamp here on my laptop to set up a developer machine for my website. I am used to going into the browser and just typing in "localhost" and having it bring up the test website. I'm sure there is probably something wrong with the configuration of the wamp files because it works for 127.0.0.1.

View Replies!   View Related
How Associate 127.0.0.1 To Localhost
I've installed WampServer on my Windows Vista machine.

Haven't used it for a while but now for some reason I can't access http://localhost, firefox tells me, "Firefox can't establish a connection to the server at localhost.".

I can access WampServer via [url]and the main WampServer default page appears.

Apache version : 2.2.8

PHP : 5.2.6

MySql : 5.0.51b

Which file(s) do I need to edit in order to associate localhost to 127.0.0.1

View Replies!   View Related
Limit Access To Localhost
I have a win2003 server running some apps in the 'default web site'

I have just installed PHP on the 'default web site' and I want to use it to run some admin jobs. BUT I do not want the PHP scripts to be accessible over the internet, they should only run from local machine.

Is it possible to set it up so that the files can be executed only by localhost?

View Replies!   View Related
Accessing Blog On Localhost
I installed Wordpress on a local install of Apache so that I can play around with it and get my design down before I put it on the web. I can get to the admin and do everything, but I can't actually get to the site. I had an index.html in my htdocs directory, which was deleted, but now when I go to localhost, it just shows the directory.

View Replies!   View Related
Loading Localhost With Apache
I've had a localhost server setup for awhile now, and all of a sudden when I access [url]it wants to download my "index.php" file. However, when I access it via [url]is loads fine.

View Replies!   View Related
Configuring Subdomains In Apache On A Localhost
I'm currently trying to configure apache 2 to handle subdomains. This is on a local machine (not tied to any domain names) and I'm only doing it to research how the final structure of a site 'could' be setup.

Basically I have a single install of Apache 2 running. The outcome eventually should be to have specific sub domains that all point to the same document root as the actual domain name. So eventually I will have:

http://www.mydomain.com
http://subdomain1.mydomain.com
http://subdomain2.mydomain.com

with both subdomains showing the content at mydomain.com (there is reasoning behind this but I'm not gonna go into that).

I have apache setup as follows:

NameVirtualHost *:80

<VirtualHost *:80>
ServerName daneastley
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"
</VirtualHost>


<VirtualHost *:80>
ServerName subdomain1.daneastley
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"
</VirtualHost>

<VirtualHost *:80>
ServerName subdomain2.daneastley
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"
</VirtualHost>

Now on my local machine, only the top one works - the subdomains dont. if I add the following into my hosts file in windows, they all work:
127.0.0.1 daneastley
127.0.0.1 subdomain1.daneastley
127.0.0.1 subdomain2.daneastley

the problem being, that I wish to test this enviroment on the local network. How would I go about having every computer being able to access this? I'm assuming it comes down to DNS stuff.

View Replies!   View Related
Iphone Lighttpd-no Localhost When Offline
Does anyone know where the seek order information is located on an apple iphone. I installed lighttpd on the mobile, however I can only see localhost when I'm online.

View Replies!   View Related
Malicious Mail Sent Out Via MailEnable On Localhost
we received a report of a malicious mail being sent from our servers. Problem is that the sender and recipients are not hosted with us. What I'm trying to find out is how the mail got sent out. The ME logs shows that the connection was made from 127.0.0.1 to the smtp service, but that's it.

We don't run mail services (pop3/imap/webmail) on the web servers, if that helps any. Have run out of ideas after sifting thru lots of logs (was trying to find if anyone called an application to send the mail and attachments out), but came up empty.

View Replies!   View Related
Unable To Connect Localhost(10061)
I am stuck in re-installing mysql server..... Everything I have removed even mysql service give reboot the machine but still not able to complete the installation.

At the end I receive error " Can't connect to Mysql server with LocalHost (10061)

By the way if port 3306 is not enabled in firewall can this issue be occurred because of this?

View Replies!   View Related
Fast MySql Access- Localhost
I've been using Dreamhost for years and they're very good, but their MySql databases are quite slow. Then I moved to ServInt with a VPS, and my MySql is on localhost instead of on a different server. WOW! It's so fast!

However, now I'm trying to find a shared hosting package that has fast MySQL service.

I'm not sure if the requirement is that it's on localhost but it sure doesn't hurt.

Is there anyone who is familiar of a good solid shared hosting package with fast MySQL service?

View Replies!   View Related
Local Mysql Server Name, IP Or Localhost
I am using localhost as mysql server name on my config file. then, when I enter [url], the address will automatically change to[url]that obviously getting error. when I change the mysql server name from localhost to the server public IP, everything seems ok.

My sql is 4.1.x with php 4.4.7, is that any way I may use localhost instead of IP?

or is there any potential danger using IP?

View Replies!   View Related
Bluescreen On Win XP Accessing Localhost
I just installed IIS on my Windows XP machine and any time I access localhost I get a bluescreen and my computer will restart. I have tried to uninstall IIS, reboot, re-install, reboot then try accessing localhost and that does not fix anything. This is on an almost fresh install of Windows. (The computer is only 1 week old)

View Replies!   View Related
Error Connecting To IMAP Server: Localhost
i'm on Linux dedicated box -DirectAdmin panel

I use Squirrelmail to se my e-mail. When i try to log inn and read mail i get this message: Error connecting to IMAP server: localhost. Where can i change this......

Squirrelmail

SquirrelMail version 1.4.17
By the SquirrelMail Project Team
ERROR
Error connecting to IMAP server: localhost.
111 : Connection refused

webmail

ERROR (2): fsockopen() [function.fsockopen]: unable to connect to localhost:110 (Connection refused) (/var/www/html/webmail/inc/class.uebimiau_mail.php:80)

RoundCube Webmail

Connection to Imap server failed

Read on another forum, that this can solve the problem

/etc/rc.d/init.d/imaps restart
/etc/rc.d/init.d/imap restart

-bash: /etc/rc.d/init.d/imaps: No such file or directory

-bash: /etc/rc.d/init.d/imap: No such file or directory

telnet localhost 143 for imap or 993 for imap over ssl

Usage: telnet [-8] [-E] [-K] [-L] [-X atype] [-a] [-d] [-e char] [-k realm]
[-l user] [-f/-F] [-n tracefile] [-r] [-x] [host-name [port]]

Also Xinetd restart don't help

[root@server etc]# /etc/rc.d/init.d/xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]

Looks like that Imap isn't installed ?
Correct me if i'm wrong ..............

View Replies!   View Related
Can't Connect To MySQL Server On 'localhost' (10055)
Do you guys know anything about this?

My server works perfectly with INSERT, UPDATE, DELETE for mysql.
but after like 12 hours later, my application crashes and I get this
"Can't connect to MySQL server on 'localhost' (10055)" and I would have to restart my applications and everything will be working perfectly.

Do you guys have any idea why this happen?

I do have a lot of connections coming in and out of my server. Would that mean anything?

View Replies!   View Related
Mail Server & Webmail In Localhost
I want to run a local Mail Server + Webmail Client (opensource. I googled and I found hmailserver[server] and Roundcube [webmail]. the problem that i can't config any of them
How have an other alternative for mail server or a solution

View Replies!   View Related
Access Denied For User 'root'@'localhost
I'm getting the error after running
[root@server ~]# mysqladmin processlist

Quote:

mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'

I'm running plesk on FC4.

Not too sure why it says failed or denied, as I'm root?

View Replies!   View Related
MS Virtual PC - How To Access My Localhost (Apache) Subdomains On Guest OS?
I've just downloaded Microsoft Virtual PC and the Internet Explorer 6 Application Compatibility VPC Image containing an XP installation for testing sites with IE6 [url].

Everything works fine, I chose VPC Shared Networking (NAT) and I can access the internet from the VPC as well as my Apache development server which runs on the host OS (Win XP) by going to the host's IP address which is [url] in my case. And here I have 2 problems:

1. I want to access [url]on VPC just by typing [url]. I added the following line to the hosts file:

192.168.52.141 localhost

But this doesn't work. Interestingly, any name other than localhost works fine, for example:

192.168.52.141 localhost.localhost
or
192.168.52.141 local

This is not a major problem but I'd prefer localhost. Any ideas how to do that?

2. And the more important issue: on my host OS I have some development sites which I have set up to be accessed by subdomains, for example [url], in httpd.conf:

Code:
<VirtualHost 127.0.0.3>
ServerName perfekt.localhost
DocumentRoot C:wwwperfekt
DirectoryIndex index.php index.html
</VirtualHost>
and in hosts file:

Code:
127.0.0.3 perfekt perfekt.localhost
And now I want to access this site from my VPC too by using subdomains like this! How can I do that? The address 127.0.0.3 seems to be local to the OS and VPC can't see it. I have tried setting other IP addesses in httpd.conf but nothing outside the 127.x.x.x range works on either OS. I suppose I need to make each of my sites to be seen under a different IP from the outside network so that VPC (which is "outside" the host OS) can access them - then I just set up the appropriate subdomain names in VPC hosts file -

View Replies!   View Related
DirectAdmin - Access Denied For User 'apache'@'localhost' (using Password: NO)
I get the following error when let my site connect to my database: Access denied for user 'apache'@'localhost' (using password: NO)

But when im running lil test script which connect to my localhost with the same passwords and it gives the status 'Connection OK' (im running on admin account, made a MySQL account with DA)


Code:

<?php $link = mysql_connect('localhost','admin_removed','removed'); if (!$link) { die('Could not connect to MySQL: ' . mysql_error()); } echo 'Connection OK'; mysql_close($link); ?>

View Replies!   View Related
Installed Apache Can Access Via LAN IP + Localhost But WAN IP Doesnt Work
I'm on windows vista. I've got an SDSL line into the house with a dedicated IP 62.etc. I've then got a Prestige 791R and all PC's plugged in to that. I've also got a wireless router for my Wii set up.

Basically I've set up this DHCP thingy to start at 192.etc.3 and the Wireless router is at 192.etc.1 and the Prestige is at 192.etc.2 my pc is at 192.etc.9

This is about where my knowledge stops unfortunately.

I have installed apache as the most basic default install I think you can and it seems to be working absolutely fine. I'm assuming I could also install PHP and MySQL etc and wouldn't have too much of a problem, however, my friend cannot seem to access the environment from the WAN IP and when I type in my WAN IP I get the prestige router's control panel.

I read somewhere that I needed to forward port 80, now I can 'open' ports in the prestige control panel but I did try opening port 80 in the control panel and pointing it to my LAN IP (92.etc.9) but it didn't seem to work.

I'm at a bit of a loss so if anyone could point me in the right direction I would be most grateful, just to clarify:

//localhost loads the html file 100%
//192.etc.9 loads the html file 100%
//62.WANIP internally loads my prestige routers control panel
//62.WANIP externally does not load a page (cannot be found)

If you need any more info just let me know and I'll get it.

View Replies!   View Related
ERROR 1045 (28000): Access Denied For User 'root'@'localhost' (using Password: NO)
Im trying to setup a mysql server on my centos vps server. Ive installed mysql server and done chkconfig and the mysql server has started. My problems start when i want to set a mysql root password.

Quote:

mysqladmin -u root password yourrootsqlpassword
mysqladmin -h server1.example.com -u root password yourrootsqlpassword

I get an error "ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)"

Which i totally dont understand because why would it want a password when im trying to set the password?

View Replies!   View Related
ERROR 1044 (42000) At Line 21: Access Denied For User 'umar_cs'@'localhost' To Data
in ssh i try create new database

root@server1 [~]# mysql -uumar_cs -ppassword umar_cs </home/umar/public_html/localhost.sql

it is show direct
ERROR 1044 (42000) at line 21: Access denied for user 'umar_cs'@'localhost' to database 'umar_cs'

i try from script same message

i think maybe the problem from the size in this file
/etc/my.conf
set-variable = max_connections=500
i change to
set-variable = max_connections=500M

and restart mysql

and i try create same problem!

View Replies!   View Related
Sendmail
i have two issues:

1) I had disabled the php mail() function due to spam, but this has stopped so many hosted scripts to stop emailing their users... how do I enable that function again?

2) in a failed attempt to fix #1 (i thought it was sendmail which caused it) sendmail has stopped sending in or delivering emails... not quite sure why this happened eventhough I backed up sendmail before working on it and reverted back when i failed to resolve the issue?

View Replies!   View Related
Sendmail
I have installed sendmail program on the server and when I try to send email to any external address, it is trying to connect to localhost. Am I missing anything here?

View Replies!   View Related
Relay Via Sendmail
I have found a bunch of articles to setup Sendmail as a mail relay, but none have been successful for me or the articles are very outdated. Anyone have a 'stupid-proof' set of current instructions on how setup Sendmail Pop before SMTP? This is a CentOS 4.5 Box with Sendmail 8.14.2/8.13.1 and Dovecot. Any successful guidance would be appreciated!

View Replies!   View Related
Configuring Sendmail
how to which will help me to make a correct configuration of mail server. I want to set up a mail server with e.g three domain names and all three domain names will have few similar email addresses like info, sales, marketing and so on. I know that this can be done by using control panels but I am not big fan of control panels I want to do a pure Linux administration using the command line.

View Replies!   View Related
Sendmail Tightening
I haven't used Sendmail in a while and would like to clarify a specific setup.

Suppose we have a box hosting a handful of clients, thus it is a Shared setup.
Suppose we have Sendmail sendmail-8.13.1-3.3.el4 on a CentOS 4.7 Final installed with 0 extra configuration other than the default one.

Such setup allows on to relay via the localhost method through php/cgi scripts or even manually through sendmail binary.

Ideal setup would be one where I would have the ability to specify into a file, the usernames allowed to relay email. E.g

if /etc/passwd contains

user1
user2
user3
user3
baduser
user6
spaminguser

than ideally I'd like to pick 'baduser' + 'spaminguser' and disallow them the ability to relay through the localhost.

I should not know anything about their domains or where they are sending.

A general directory setup might be

/home/user1/domain1.com
/home/user1/domain2.com
/home/user1/domain3.com
/home/user2/domain.com
/home/user2/sub.domain.com

etc.

Thus, the server has 0 more than a barebones installation of Sendmail with the following configuration
----------------------------------------------
divert(-1)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`setup for Red Hat Linux')dnl
OSTYPE(`linux')dnl
define(`confDEF_USER_ID',``8:12'')dnl
define(`confTO_CONNECT', `1m')dnl
define(`confTRY_NULL_MX_LIST',true)dnl
define(`confDONT_PROBE_INTERFACES',true)dnl
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
define(`ALIAS_FILE', `/etc/aliases')dnl
define(`STATUS_FILE', `/var/log/mail/statistics')dnl
define(`UUCP_MAILER_MAX', `2000000')dnl
define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
define(`confAUTH_OPTIONS', `A')dnl
define(`confTO_IDENT', `0')dnl
FEATURE(`no_default_msa',`dnl')dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl
FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl
FEATURE(`blacklist_recipients')dnl
EXPOSED_USER(`root')dnl
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
FEATURE(`accept_unresolvable_domains')dnl
LOCAL_DOMAIN(`localhost.localdomain')dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
---------------------------------------------------------------------

View Replies!   View Related
Sendmail To Exim
I've got a chroot setup and I'm currently using mini_sendmail but I'm getting:

Quote:

Deferred: 451-The server has reached its limit for processing requests from your host

I'm assuming thats because I don't have Exim on this server, but I would like to send the mail to Exim on my mail server.

View Replies!   View Related
Sendmail Redirect
A spammer has sent a ton of users a phishing email requesting the users password...

I work for a regional ISP, and we deal with alot of elderly people who would probably send him a response with a password... I looked over the mail log and one person did respond back to him...

Basically... I want to do like... a virtusertable entry that forwards any email sent to HIM... to ME...

so basically... his email is for instance: phishingspammer@gmail.com

I want to do something like this in the virtusertable (I understand it probably cannot be done thru the virtusertable):

phishingspammer@gmail.com goodguy@regionalisp.com

This way I can alert the people who DO try to send him emails that the email was stopped and to never respond with a password.

View Replies!   View Related
Sendmail Not Work (
I sent email through php function mail - false.
Open putty ->
php -r 'mail("***@gmail.com","test","jjjjjjjj";'
sh: /usr/sbin/sendmail: No such file or directory

SENDMAIL not installed ?

CentOs 5

View Replies!   View Related
Sendmail Configuraion
Our mail server is rejecting port 25 connections, when anyone trying to send email. We are running sendmail. What configuration file needs to check? And what needs to be changed?

View Replies!   View Related
Sendmail- Between Two Hosts
on a sendmail issue that I'm seeing, to which both my hosts are saying "nothing wrong at this end".

Some background:
A few months back, I moved my XXX.com from SLHost to another host. But I forgot to remove the account in WHM at SLHost until a day or two ago.

Since then, mails generated by the server (eg, from a PHP script, or the cron messages) are not getting to the XXX.com account - they're just sitting in the mail queue. I can use POP3 to send mails from accounts on SLHost to XX.com without any problems.

Some diagnostics:

MAIL QUEUE OUTPUT FROM SLHOST.COM

Message 1Iju1W-0001a9-G6 is not frozen
delivering 1Iju1W-0001a9-G6
Connecting to XXX.com [209.51.132.1]:25 ... connected
SMTP<< 220-bee.nswebhost.com ESMTP Exim 4.68 #1 Tue, 23 Oct 2007 08:01:17 -0500
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
SMTP>> EHLO server.resource-directory.info
SMTP<< 250-bee.nswebhost.com Hello server.resource-directory.info [207.210.221.149]
250-SIZE 52428800
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
SMTP>> STARTTLS
SMTP<< 220 TLS go ahead
SMTP>> EHLO server.resource-directory.info
SMTP<< 250-bee.nswebhost.com Hello server.resource-directory.info [207.210.221.149]
250-SIZE 52428800
250-PIPELINING
250-AUTH PLAIN LOGIN
250 HELP
SMTP>> MAIL FROM:<nobody@server.resource-directory.info> SIZE=2117
SMTP>> RCPT TO:<subtest3@XXX.com>
SMTP>> DATA
SMTP<< 250 OK
SMTP<< 451 Temporary local problem - please try later
SMTP<< 503-All RCPT commands were rejected with this error:
503-Temporary local problem - please try later
503 Valid RCPT command must precede DATA
SMTP>> QUIT
LOG: MAIN
== subtest3@XXX.com R=lookuphost T=remote_smtp defer (-44): SMTP error from remote mail server after RCPT TO:<subtest3@XXX.com>: host XXX.com [209.51.132.1]: 451 Temporary local problem - please try later

DIG MX OUTPUT FROM SLHOST:
; <<>> DiG 9.2.4 <<>> mx XXX.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3132
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1

;; QUESTION SECTION:
;XXX.com. IN MX

;; ANSWER SECTION:
XXX.com. 4116 IN MX 0 XXX.com.

;; AUTHORITY SECTION:
XXX.com. 76116 IN NS ns2-bee.nswebhost.com.
XXX.com. 76116 IN NS ns1-bee.nswebhost.com.

;; ADDITIONAL SECTION:
XXX.com. 4116 IN A 209.51.132.1

;; Query time: 1 msec
;; SERVER: 207.210.221.149#53(207.210.221.149)
;; WHEN: Tue Oct 23 08:03:33 2007
;; MSG SIZE rcvd: 123

So, that seems to be OK - the server at SLHost recognises that mail should go to the IP listed for the new account.

DNSREPORT.COM WARNINGS:
WARNSOA REFRESH valueWARNING: Your SOA REFRESH interval is : 86400 seconds. This seems high. You should consider decreasing this value to about 3600-7200 seconds (or higher, if using DNS NOTIFY). RFC1912 2.2 recommends a value between 1200 to 43200 seconds (20 minutes to 12 hours, with the longer time periods used for very slow Internet connections), and if you are using DNS NOTIFY the refresh value is not as important (RIPE recommend 86400 seconds if using DNS NOTIFY). This value determines how often secondary/slave nameservers check with the master for updates. A value that is too high will cause DNS changes to be in limbo for a long time.

------

WARNSOA EXPIRE valueWARNING: Your SOA EXPIRE time is : 3600000 seconds. This seems a bit high. You should consider decreasing this value to about 1209600 to 2419200 seconds (2 to 4 weeks). RFC1912 suggests 2-4 weeks. This is how long a secondary/slave nameserver will wait before considering its DNS data stale if it can't reach the primary nameserver.

--------

FAILReverse DNS entries for MX recordsERROR: The IP of one or more of your mail server(s) have no reverse DNS (PTR) entries/* (if you see "Timeout" below, it may mean that your DNS servers did not respond fast enough)*/. RFC1912 2.1 says you should have a reverse DNS for all your mail servers. It is strongly urged that you have them, as many mailservers will not accept mail from mailservers with no reverse DNS entry. You can double-check using the 'Reverse DNS Lookup' tool at the DNSstuff site if you recently changed your reverse DNS entry (it contacts your servers in real time; the reverse DNS lookups in the DNS report use our local caching DNS server). The problem MX records are:
1.132.51.209.in-addr.arpa [No reverse DNS entry (rcode: 3 ancount: 0) (check it)]

-------

WARNMail server host name in greetingWARNING: One or more of your mailservers is claiming to be a host other than what it really is (the SMTP greeting should be a 3-digit code, followed by a space or a dash, then the host name). If your mailserver sends out E-mail using this domain in its EHLO or HELO, your E-mail might get blocked by anti-spam software. This is also a technical violation of RFC821 4.3 (and RFC2821 4.3.1). Note that the hostname given in the SMTP greeting should have an A record pointing back to the same server. Note that this one test may use a cached DNS record.

XXX.com claims to be host bee.nswebhost.com [but that host is at 64.22.69.42 (may be cached), not 209.51.132.1].

View Replies!   View Related
Sendmail Error
I am on CentOS 4.4 64 bit, installed sendmail using

yum install sendmail

everything was installed.

when I

service sendmail start

I got:

Starting sendmail: 554 5.3.5 /etc/mail/sendmail.cf: line 265: service "smtp" unknown [FAILED]

Starting sm-client: [ OK ]

what does that mean? how to fix it?

I just want to allow local php script sending email only. no pop3 and smtp service required.

View Replies!   View Related
Exim Vs Sendmail
What are the main diffrenced between sendmail and exim? If you can explain,

View Replies!   View Related
Sendmail + Vm-pop3d
Has anyone successfully configured sendmail to work with vm-pop3d under FReeBSD?

View Replies!   View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved