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?
My website is running of a windows server, and so doesn't let PHP sendmail work .
I only remembered this recently, and now know why I have been loosing out on clients.
Is there a work around to this? i.e possibly some sort of script that emulates the linux sendmail? Note: I don't have access to the windows server config, it is a shared hosting account.
As I was on windows and hated my hosts spam protection (took almost 3 hours for the spam filter to confirm safety of emails from gmail servers) I moved the email system to an external company, that now manages my pop3/smtp etc. (not sure if this makes any difference - but may as well explain it just incase)
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?
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!
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.
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 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.
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
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?
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
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].
My OS is FreeBSD 6.2 and I use Sendmail as software to send the e-mail. When I sent a french letter, specials character will display as é. Is there a way to fix it?
I currently have sendmail(mini_sendmail in chroot) running, and wanted to know how can I send the mail from php scripts to my e-mail server running exim/dovecot?
Are there any VPS providers with verifiable expertise in either qmail or sendmail?
Acceptable demonstration of expertise would include at least one long-term employee with one or more of: citation in respected MTA related reference book useful tech posts to any related email list/forum/whatever
I am on a VPS and set everything up myself. When I try and email a friend, I get it bounced back with the following message (with his email filtered):
<<< 550-5.7.1 {mx078} Sorry, your helo has been denied. <<< 550 5.7.1 [url] 550 5.1.1 <**********@gmx.co.uk>... User unknown
I'm pretty sure the user isn't unknown, I have checked and it is his email address. Can anyone tell me what is wrong, and if the problem is on my end or his, and if my end how I might go about fixing it?
I run a small hosting company in Spain. I have some dedicated servers in USA with Ensim control panel.
I have found some sendmail connections from spammers that use the accounts of my customers.
I want to know if I can deny connections to sendmail from all countries except Spain. This way most of foreigns spammers could not use the accounts of my customers to send spam.
I have a default CentOS box wth sendmail. It's working fine. But now, I want to limit the messages to root only. So, every message to other domains, like yahoo, gmail, hotmail, whatever goes to null, or if they can be forwarded to root too
I've executed the following commands on my server:
yum install sendmail
yum install sendmail-cf
I don't know what exactly they did so I need to know what more do I need to do to setup my server so that I can send and receive e-mail. What configuration files should I edit etc?
I'll also install vm-pop3d. At what point should I create e-mail accounts and how?
I have few cpanel server, but I have got a question. When mails send using script, does it use exim or sendmail? Are these different? From my understanding exim uses sendmail as MTA, am I right?