Alerts This Week
Warning Icon 1 637
Alerts This Week
Warning Icon 1 637

Stay Ahead With Linux Security News

Filter Icon Refine news
X Clear Filters
X Clear Filters
View More

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Community Poll

What got you started with Linux?

No answer selected. Please try again.
Please select either existing option or enter your own, however not both.
Please select minimum {0} answer(s).
Please select maximum {0} answer(s).
/main-polls/150-what-got-you-started-with-linux?task=poll.vote&format=json
150
radio
0
[{"id":483,"title":"Self-taught through trial and error","votes":545,"type":"x","order":1,"pct":78.42,"resources":[]},{"id":484,"title":"Formal training or courses","votes":30,"type":"x","order":2,"pct":4.32,"resources":[]},{"id":485,"title":"A job that required it","votes":34,"type":"x","order":3,"pct":4.89,"resources":[]},{"id":486,"title":"Other","votes":86,"type":"x","order":4,"pct":12.37,"resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] ["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"] 350
bottom 200
Loading...

Explore Latest Linux Security news

We found 5 articles for you...
77

Maintaining DKIM Integrity for Linux-Based Email Servers in Operation

If you run Postfix, Exim, or OpenSMTPD on Linux, DKIM is already your problem. The private key lives on your box. If that key leaks or signing stops, your domain reputation moves without you. . You usually notice it in logs first. Bounces increase, DMARC reports show drift, or a partner says your mail failed authentication even though nothing “changed”. Something always changed. Where DKIM Actually Lives on a Linux System On most Linux deployments, DKIM signing runs through: Postfix + OpenDKIM Postfix + Rspamd Exim with DKIM built in Containerized MTAs with keys mounted as volumes The private keys are typically stored under paths like: /etc/opendkim/keys/example.com/ /var/lib/rspamd/dkim/ If those files are readable by the wrong account, an attacker does not need to spoof your domain. They can sign mail as you and pass authentication checks downstream. That is harder to detect and far more damaging over time. You start to see it during incident response. Phishing emails that pass DKIM and DMARC because the signing key was taken from a compromised host. What DKIM Failure Looks Like in Production It rarely announces itself clearly. You might see: dkim=none in headers after a package update dkim=fail after rotating a selector Postfix logging milter connection errors OpenDKIM running but not signing specific domains Mail still flows. That is the problem. Misconfigurations and alignment failures can persist unnoticed in complex environments. Regularly reviewing DMARC settings helps ensure that authentication issues are detected early and that policies are consistently enforced across all sending systems. When signing stops, DMARC enforcement weakens. If your policy is set to quarantine or reject, failure rates climb. If your policy is relaxed, spoofed mail starts slipping through because there is no valid signature to evaluate. Linux admins usually trace this through logs, not dashboards. Checking DKIM from a LinuxShell You do not need a web tool to confirm whether DKIM is visible. Start local. Check the DNS TXT record dig +short TXT selector1._domainkey.example.com You are looking for a complete public key string. If it is truncated, split incorrectly, or missing, validation will fail regardless of what your mail server is doing. After publishing or modifying a record, confirm global visibility using a DNS propagation tester . If DNS has not propagated, signing validation will fail outside your resolver even if it works locally. Validate the key against DNS opendkim-testkey -d example.com -s selector1 -vvv If you see “key OK”, DNS and your local configuration align. If not, the selector, domain, or key file does not match what is published. Mismatch between DNS and the private key is one of the most common causes of silent DKIM failure. Confirm the Server Is Actually Signing Mail DKIM configured is not the same as DKIM signing. Send a message from the server to a mailbox you control. Then inspect full headers and look for: dkim=pass If you see: dkim=none The message was not signed at all. If you see: dkim=fail The signature did not validate against DNS. Now check the local side. OpenDKIM service status systemctl status opendkim journalctl -u opendkim --since "1 hour ago" Postfix milter configuration postconf | grep -i milter If the Milter socket path changed or permissions shifted after an update, Postfix may be sending mail without passing it through the signing service. It does not always fail loudly. You start noticing it only after external reports show authentication drift. File Permissions and Key Exposure DKIM private keys should be treated like TLS private keys. Same risk profile. Check ownership and permissions: ls -l /etc/opendkim/keys/example.com/ Typical hardened setup: Owned by root Group set to the mail signing service account Permissions 0640 or stricter No world-readablekeys If a private DKIM key is readable by a compromised web user or container runtime account, an attacker can extract it and sign mail elsewhere. That bypasses simple spoof detection because the signature is valid. This is where DKIM moves from deliverability control to more of a Linux security issue. Selector Rotation and Drift Many teams generate a selector once and never rotate it. Years pass. The same key signs everything. Key rotation should follow the same operational pattern as certificate rotation: Generate a new key pair Publish a new selector in DNS Update the mail server to use the new selector Confirm signing and validation Retire the old selector If rotation is incomplete, you will see dkim=fail for one path and dkim=pass for another. That usually means multiple outbound systems are not aligned. Third-party senders are frequent offenders. Marketing platforms and ticketing systems often require their own DKIM configuration. If they are not aligned with your DNS records, DMARC alignment fails even though your primary Linux host is configured correctly. Containerized Mail and Hidden Risks In container deployments, DKIM keys are often mounted as volumes or baked into images. The second approach is risky. If private keys are embedded in container images: Anyone with registry access can extract them Rotating keys becomes operationally complex Old images may still contain valid signing material Mounting keys from a secured host path is safer, but permissions still matter. Containers run as specific UIDs. If that UID can read more than it should, the key exposure risk expands quietly. It usually surfaces during a breach review, not during setup. What to Watch in Logs Over Time DKIM problems are often slow drift issues. Patterns worth watching: Sudden increase in dkim=fail results Outbound mail without a DKIM-Signature header Milter timeouts in Postfix logs DNS lookup failures for selector records Theseare not noisy events. They blend into normal mail traffic unless someone is reviewing authentication headers or DMARC aggregate reports regularly. You start to see the pattern once you correlate bounce reports with log timestamps. Closing Perspective DKIM on Linux is not abstract email theory. It is a signing service running on your server, using private keys stored on disk, wired into your MTA through sockets and permissions. If the service stops, mail degrades quietly. If the key leaks, attackers inherit your domain identity. Most of the time, it works, and nobody thinks about it. Until a small config change, a package update, or a permissions shift introduces a gap that only shows up once external systems start rejecting your mail. That is usually when someone finally runs dig , checks headers, and traces it back to the Linux host where the key has been sitting all along. . Understand how DKIM impacts Linux mail servers, what to check, and how to ensure your keys are secure and functioning properly.. DKIM security email authentication Linux administration mail servers. . MaK Ulac

Calendar 2 Feb 16, 2026 User Avatar MaK Ulac Server Security
74

Exploring the Advantages of SPF for Email Security and Safeguards

Chris wrote in and mentioned a talk at Auscert which highlighted that (Sender Policy Framework) SPF would have helped in the instance of an intrusion and suggested a diary outlining some of the things that can and can't be achieved using SPF. . I have my own experiences with SPF and the effectiveness, but I'd like to hear you experiences with SPF, good or bad. so I can write a more complete diary on the topic. For those that are not familiar with SPF. The idea behind it is to create a DNS entry that specifies those machines in your network that are allowed to send email from your domain. The receiving mail server checks this record and if it does not match it will drop the message. There is a little bit more to it, but hat is the crux of it. So if you have had any experiences with SPF (good or bad) please let me know via the contact form or directly markh.isc at gmail.com. Thanks Chris for the idea and thanks in advance for your contributions. I'm aiming to get a diary out on this later this month. Cheers Mark H [All of article] The link for this article located at SANS is no longer available. . Examining the effectiveness of DKIM in protecting email communications by gathering anecdotes and expert knowledge.. Email Security, SPF Practices, Authentication Techniques. . Anthony Pell

Calendar 2 Jun 01, 2010 User Avatar Anthony Pell Network Security
74

E-Mail Summit Highlights Authentication And Reputation Strategies

Representatives from 37 e-mail technology companies used a one-day Summit in New York on Tuesday to exhort private sector administrators and online marketers to adopt e-mail sender authentication technology that helps block spam and phishing attacks. . Around 500 people attended the E-Mail Authentication Implementation Summit and heard speeches by Internet luminary Esther Dyson, as well as executives from Microsoft Corp., Yahoo Inc. and the Direct Marketing Association. With problems like spam and phishing continuing to grow, companies need to implement some form of e-mail authentication technology soon, and begin preparing for the next wave in e-mail security: sender reputation services, according to e-mail experts. The link for this article located at eWeek is no longer available. . About 500 participants took part in the Email Conference, promoting email verification as a means to combat junk mail and phishing threats.. Email Safety, Anti-Spam Techniques, Sender Reputation Management, Cybersecurity. . Brittany Day

Calendar 2 Jul 14, 2005 User Avatar Brittany Day Network Security
77

Spammers Manipulate Microsoft SPF For Malicious Email Tactics

Spammers seem to be always a notch ahead than all the efforts against their malicious intentions. According to a recent study by MX Logic Inc., a provider of email defense solutions for corporates, . . .. Spammers seem to be always a notch ahead than all the efforts against their malicious intentions. According to a recent study by MX Logic Inc., a provider of email defense solutions for corporates, spammers have now begun to use Microsoft's latest arsenal against spam, the Sender Policy Framework (SPF), to give their mail a garb of legitimacy. The SPF is an email authentication technology recently introduced by Microsoft to help stop fraudulent email. In its preliminary study, MX Logic found that some spammers have embraced SPF in the hope that their unsolicited email messages will be viewed as more legitimate because the messages have an SPF email authentication record associated with them. In a sample of more than 400,000 unique spam email messages that passed through the MX Logic Threat Center from Aug. 29 through Sept. 3, 16 percent had published SPF records. The link for this article located at CXOtoday Staff is no longer available. . Spammers cleverly exploit Microsoft’s Sender Policy Framework (SPF) to mask their fraudulent activities, deceiving filtering systems and users alike. email authentication, spam tactics, Microsoft SPF, email scams, email protection. . LinuxSecurity.com Team

Calendar 2 Sep 10, 2004 User Avatar LinuxSecurity.com Team Server Security
83

Email Legitimacy Study: Spammers Use SPF Protocol for Advantage

With few junk e-mail filters supporting a protocol for verifying the source address of digital messages, spammers have adopted it themselves as a way to appear more legitimate, according to a report released on Wednesday. . . .. The author of the study, e-mail services provider MX Logic, analyzed nearly 10 million bulk e-mail messages that it had filtered on behalf of its clients in late August. The company found that nearly a sixth of the sources of the junk messages used a protocol known as Sender Policy Framework (SPF) to certify that the e-mail addresses used in the messages were real. While SPF has been touted as a way to stop spam, the data has shown that the true value of the protocol is more about preventing fraud, said Scott Chasin, chief technology officer of the Denver company. "Authentication (with SPF) by itself is not a spam cure-all," Chasin said. "SPF--as it relates to having an impact on spam--will hurt only those who spoof domains. You are still going to need content filtering to see if the message was unsolicited." SPF is one of two technologies currently being considered as part of a hybrid method, dubbed Sender ID, for certifying the source of e-mail messages. Another technology, Microsoft's Caller ID for E-mail, makes up the other half of the proposed standard. Because it used technology that Microsoft is attempting to patent, Sender ID may require that users sign a license from the software giant, which has angered many project groups in the open-source world. The link for this article located at Robert Lemos, CNET News.com is no longer available. . Research indicates that spammers exploit DKIM to boost credibility in their messages in light of ineffective filtering techniques, while also underscoring the boundaries of this approach.. Email Authentication, Spam Detection, SPF Mechanism. . LinuxSecurity.com Team

Calendar 2 Sep 09, 2004 User Avatar LinuxSecurity.com Team Hacks/Cracks
77

Anti-Spam Measures: Open Source Rejects Microsoft Sender ID Licensing

Apache Software Foundation among developers shunning Microsoft anti-spam measure. Opposition to Microsoft's Sender ID anti-spam email scheme is growing in the open source community, which is complaining about the software giant's licensing terms. . . .. Opposition to Microsoft's Sender ID anti-spam email scheme is growing in the open source community, which is complaining about the software giant's licensing terms. The Apache Software Foundation (ASF) backed away from supporting Sender ID last Thursday, and fellow open source developer Debian followed suit at the weekend. Sender ID aims to verify that an email has been originated within the internet domain from which it claims to come. The idea is to stop spam with forged sender email addresses getting through. The ASF said in a statement: "The current Microsoft royalty-free Sender ID patent licence agreement terms are a barrier to any ASF project which wants to implement Sender ID. "We believe that the current licence is generally incompatible with open source, contrary to the practice of open internet, and specifically incompatible with the Apache Licence 2.0. "Therefore, we will not implement or deploy Sender ID under the current licence terms." Debian also maintains that Microsoft's licence terms are incompatible with its own free software guidelines, and will not implement or deploy Sender ID. The link for this article located at Peter Williams, vnunet.com is no longer available. . Resistance against IBM's cloud data management initiative rises within the open source sector due to concerns over proprietary regulations.. Microsoft Sender ID, Anti-Spam Measures, Open Source Developers. . LinuxSecurity.com Team

Calendar 2 Sep 07, 2004 User Avatar LinuxSecurity.com Team Server Security
76

Sendmail Introduces Email Authentication Module For Spam Blocking

Sendmail has taken a first stab at software to authenticate the source of e-mail messages, a technology that will be key to preventing the proliferation of spam. The company released a module for its Sendmail e-mail server software that attempts to verify the source of messages to help Internet users block mail from unwanted senders. . . .. Sendmail has taken a first stab at software to authenticate the source of e-mail messages, a technology that will be key to preventing the proliferation of spam. The company released a module for its Sendmail e-mail server software that attempts to verify the source of messages to help Internet users block mail from unwanted senders. The technique is part of a developing Internet standard known as Sender ID. "What authenticating does is allow you to rely on who sent the message," said David Anderson, CEO of Sendmail, a maker of e-mail software. "We believe people will stop filtering out bad messages based on bad content and instead allow good messages with good senders." The majority of e-mail carried across the Internet uses the open-source Sendmail program, which runs on the Linux and Unix operating systems. The new module for the program allows e-mail administrators to modify their systems and add the authentication technology. The e-mail server will then forward messages with the necessary Sender ID information and authenticate incoming e-mail messages using the system. . Sendmail has taken a first stab at software to authenticate the source of e-mail messages, a technol. sendmail, taken, first, software, authenticate, source, e-mail, messages, technol. . Anthony Pell

Calendar 2 Aug 31, 2004 User Avatar Anthony Pell Organizations/Events
79

Exploring Email Sender ID Solutions to Tackle Spam Effectively

There are a number of promising technical papers under consideration by the Internet Engineering Task Force which deal with the ever-growing problem of spam. Most of them seek to attack the spam problem obliquely rather than head on. . . .. There are a number of promising technical papers under consideration by the Internet Engineering Task Force which deal with the ever-growing problem of spam. Most of them seek to attack the spam problem obliquely rather than head on. These techniques avoid looking at message content in an attempt to determine if an email is spam or not. Instead, they focus on authenticating the sender. Since most spam comes from forged email addresses, eliminating such forgery would be a big step up in the fight against spam. In this article we'll look at the evolution of the current Sender ID proposals, and we'll also examine some of the non-technical barriers which might prevent any of the proposed solutions from ever working. The link for this article located at NewsForge is no longer available. . Investigating the advancement of Sender Identity strategies aimed at mitigating spam via email verification techniques.. Email Authentication, Spam Prevention, Sender ID, Technical Proposals. . LinuxSecurity.com Team

Calendar 2 Aug 27, 2004 User Avatar LinuxSecurity.com Team Security Projects
News Add Esm H340

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Community Poll

What got you started with Linux?

No answer selected. Please try again.
Please select either existing option or enter your own, however not both.
Please select minimum {0} answer(s).
Please select maximum {0} answer(s).
/main-polls/150-what-got-you-started-with-linux?task=poll.vote&format=json
150
radio
0
[{"id":483,"title":"Self-taught through trial and error","votes":545,"type":"x","order":1,"pct":78.42,"resources":[]},{"id":484,"title":"Formal training or courses","votes":30,"type":"x","order":2,"pct":4.32,"resources":[]},{"id":485,"title":"A job that required it","votes":34,"type":"x","order":3,"pct":4.89,"resources":[]},{"id":486,"title":"Other","votes":86,"type":"x","order":4,"pct":12.37,"resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] ["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"] 350
bottom 200
Your message here