Should I Install Domainkeys For SENDMAIL Or POSTFIX
Mar 16, 2008I have both sendmail and postfix installed. Which Should I install?
DK-MILTER-1.0.0?
or DKFILTER?
I have both sendmail and postfix installed. Which Should I install?
DK-MILTER-1.0.0?
or DKFILTER?
I am having a problem with the installation of DomainKeys on my server.
I have a dedicated server from Hosting Matters and I have DomainKeys installed for another domain on the same server.
The problem that i'm running into is that I have a domain that is an addon account of another (basically hosted within a sub-directory of another account).
When I install DomainKeys via the cPanel I get no errors. It "appears" to work fine HOWEVER when I check the headers in Yahoo I get the following:
Authentication-Results: mta215.mail.re2.yahoo.com from=paperboyllc.com; domainkeys=permerror (no key)
Received: from 63.247.138.128 (EHLO ws1.wpdnsgroup.com) (63.247.138.128)
by mta215.mail.re2.yahoo.com with SMTP; Mon, 04 Aug 2008 21:27:03 -0700
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=paperboyllc.com;
h=Received:To:Subject:Date:From:X-Mailer:MIME-Version:Content-Type:Message-Id:X ...
i am confused about setting up mail server.
1.Postfix or sendmail or exim as MTA? which is best?
2. which SMTP/POP3 is best? dovecot or courier or any other
3. or which MTA/POP3 combination is easy and works best?
i am looking for easy installation so that i can use webmail and outlook for emails.
what do you suggest? and of course not commercial ones.
how do I configure a minimal/basic sendmail/postfix mail server on an ubuntu 7.04 server edition? I tried with postfix but I ran only into errors.
View 1 Replies View RelatedCan i use Qmail or Sendmail or Postfix with WHM other than exim mail SMTP.
View 1 Replies View RelatedI recently moved to virtual dedicated hosting for my website, mainly because I wanted a better mail server to work with to manage a mailing list.
I have a few PHP software scripts for different things: managing affiliates and email marketing.
I want to send mail using both of those via SMTP on my new server. They both have a place to type in the host and username/password.
The problem I am noticing is SASL Authentication. They attempt to connect to the host without any trouble. However, the affiliate software fails SASL Authentication every time I try to send an email or test the email system.
Email marketing software connects when I manually send a campaign. However, users are supposed to immediately receive a confirmation mail upon opting in. In this case, it shows up as an attempt in the mail log, but it fails SASL Authentication. I don't know if it's a problem with the software or not, since it attempts to connect but fails, yet connects successfully in other cases.
My question is this: Is there another way around this? I've contacted my host to double check on the appropriate username/password to pass authentication. I will also be contacting the software developers after I receive an answer.
But if nothing comes of it, is there any way around it? Is there a place where I can have it automatically authenticate if the email is coming from a certain user, or if the attempt is being made from the same server (everything sits on the same server, I use localhost in the software to connect to the mail server). Since I am the only person who has access to the server and uses it, it seems safe to automatically authenticate if the request is being asked by the server itself...
I'm just looking for other alternatives if the software does indeed have a problem and I cannot figure it out.
Keep in mind I am very new to all this server and root access. Just a few days ago I was on a shared hosting plan, so I didn't have any access to anything. With that in mind, I know very little about mail servers, although I've been learning more over the past few days. I only stumbled upon the mail logs on my server recently by browsing files in the control panel (I'm not familiar with SSH, although I do have access to it)
I have a Plesk installation with Commandline access. Also on this server is a Request tracker installation. (The reason for the commandline access) CentOs 6 Server.
All installations are up to date, but this actually broke my installation after the last Plesk Upgrade.
At the last Plesk upgrade, my Request Tracker installation can no longer use sendmail to send email directly from the server.
The errors I am getting are:
/var/log/maillog:
May 1 22:58:53 vs10-janey postfix/smtpd[5345]: connect from localhost[127.0.0.1]
May 1 22:58:53 vs10-janey postfix/smtpd[5345]: disconnect from localhost[127.0.0.1]
May 1 22:58:53 vs10-janey plesk sendmail[5348]: Unable to get sender domain by sender mailname
May 1 22:58:53 vs10-janey py_limit_out[5349]: ERROR Rejecting forged message: PPP_SENDER_VHOST_ID is present in environment, but its value is empty
May 1 22:58:53 vs10-janey plesk sendmail[5348]: handlers_stderr: DATA REPLY:554:5.7.0 Your message could not be sent. The sender's domain is not registered in Panel, or is misconfigured.#012REJECT
May 1 22:58:53 vs10-janey plesk sendmail[5348]: REJECT during call 'limit-out' handler
My server is using Centos 6.5... I updated from Plesk 11.5 to 12 last week and postfix to 2.8.17.
Since then, all mails sent using the sendmail binary (notifications, mail forwards...) are being rejected with a wrong HELO hostname: localhost.
It seems that sendmail is using locahost as a HELO tag which is not accepted. Here is the following error:
Code:
Jun 23 14:23:20 ns395167 plesk sendmail[29817]: handlers_stderr: SKIP
Jun 23 14:23:20 ns395167 plesk sendmail[29817]: SKIP during call 'check-quota' handler
Jun 23 14:23:20 ns395167 postfix/pickup[29480]: B94BC6AA20A6: uid=0 from=<root@curuba.fr>
Jun 23 14:23:20 ns395167 postfix/cleanup[29507]: B94BC6AA20A6: message-id=<20140623122320.B94BC6AA20A6@ns395167.ip-176-31-117.eu>
[Code] .....
Here is my postconf -n content:
Code:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases, hash:/var/spool/postfix/plesk/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
[code] .....
My system hostname seems correct:
Code:
hostname -f
ns395167.ip-176-31-117.eu
hostname
ns395167.ip-176-31-117.eu
My CentOS 5.1 server has no control panel.
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'm trying to boot up a centos install on vmware it keeps stalling when trying to run sendmail in the bootup. All I have access to is the grub command line. Is it possible to remove sendmail from startup using grub?
View 2 Replies View RelatedMy issue started ince a couple of months seemed to increase with update to Plesk 12.0 (though I can't guarantee it).I am using Centos 6.5, all updated. What happens is that postfix usage starts to increase without any apparent reason (during week-ends for example). Then postfix is not responding anymore.
Code:
top - 13:27:13 up 3 days, 18:44, 0 users, load average: 0.73, 0.33, 0.32
Tasks: 238 total, 2 running, 236 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.3%us, 0.6%sy, 0.1%ni, 98.7%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 32917292k total, 8982212k used, 23935080k free, 1899416k buffers
Swap: 1046520k total, 0k used, 1046520k free, 4905884k cached
[code]....
how everyone else approaches DKIM and DomainKeys.
I'm starting to see a lot of implementations now and have recently started adding DKIM and DomainKeys verification to my outbound mail.
Two things strike me:
1) The number of DKIM users also adding DomainKeys
2) The number of DKIM and DomainKeys signed domains that remain in test mode. Example, Yahoo! and Amazon.
My questions:
Do you still use both DKIM and DomainKeys? If so, why?
Do you leave your domain in test mode? Or are you fully confident of your implementation?
Currently I support both, but dropping DomainKeys seems like the right thing to do, DKIM is the way forward, so can anyone tell me why I should still do DomainKeys? Is backward compatibility important?
Interested to hear others opinions.
My servers have issue when send email to yahoo. I found out something like my server have to use Domainkeys for send email to yahoo mail.
I'm using CentOS 5.1 64Bit, Cpanel 11.
recomplie exim with Domainkeys support?
Does any one know if plesk 8.6 / 9.0 supports DKIM
I have currently set up domainkeys on all outgoing email accounts but really need DKIM setting up
Wondered if anyone out there would like to share their experience, if any, of setting up cpanel to work with domainkeys via exim.
Hopefully anyone reading this thread will know by now what domainkeys are and how it affects the delivering of email to most major email providers inboxes rather than spam/bulk folders.
antispam.yahoo.com/domainkeys
The domainkeys support for exim is now in the 'experimental' phase:
duncanthrax.net/exim-experimental/
(page allegedly updated on 30th Oct, 06)
However cpanel themselves seem to be dragging their feet a little with implementing it:
bugzilla.cpanel.net/show_bug.cgi?id=4099
This is understandable considering support for domainkeys is not yet part of the main exim core code, and thus is likely to change. From what I've been reading elsewhere, re-compiling and upgrading exim is not advisable with cpanel.
My knowledge of exim (and cpanel TBH) is limited however, and I was wondering what might be the implications of *ahem* hacking it a little in order to enable domainkeys.
SPF records alone just don't seem to cut it anymore.
I recently realized that domainkeys headers are not added to mail messages that are generated on our server. We are using MailEnable Enterprise 8.60 (upgraded on the Stardart edition, that is installed with Plesk).
I thought the problem could be related with this upgrade and created a new VM and tried that out. Installed Windows Server 2012 R2 Std, enabled DNS and IIS with ASP.NET versions, applied all updates, installed Plesk 12 and Upgraded to MailEnabled Enterprise. On the new server mails are going with the correct domainkeys headers.
Now I think that the problem was generated because of the Migration. On the old server Plesk 11.5 was installed and we didn't have any domainkeys issues. When we created our new server, with the same steps I wrote below, and migrated our backup to the new server, domainkeys headers weren't there anymore.
I couldn't find any documentation about this issue. Is there any commands to reset the settings related to domainkeys or may be it's a curruption in the psd database?
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?
when I send mail with mail() function (on my forum ) I can't resieve it I have
when I execute tail -f /var/log/exim_mainlog
I have :
2007-08-14 17:29:43 1IKxOx-0002uq-Qi == nobody@server.XXXX.com R=localuser T=local_delivery defer (13): Permission denied: cannot create //mail
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?
View 1 Replies View RelatedI 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 3 Replies View Relatedhow 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 6 Replies View RelatedI 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
---------------------------------------------------------------------
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.
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
SENDMAIL not installed ?
CentOs 5
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 3 Replies View Relatedon 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].
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.
What are the main diffrenced between sendmail and exim? If you can explain,
View 1 Replies View RelatedHas anyone successfully configured sendmail to work with vm-pop3d under FReeBSD?
View 1 Replies View Related