Skip to content
December 2, 2026
  • Bluesky
  • Facebook
  • Linkedin
  • Mastodon
  • RSS
  • Twitter
  • Youtube

Daily CyberSecurity

Zero-hour alerts. Unmatched analysis.

Primary Menu
  • Home
  • ADVISORIES
    • All vendors
    • Microsoft
    • Cisco
    • Fortinet
    • Ivanti
    • Linux
    • Citrix
    • WordPress
    • Oracle
    • Google
    • Apple
    • VMware
    • Palo Alto Networks
    • Atlassian
    • Apache
    • Adobe
    • SAP
  • CVE Data
    • CVE Watchtower
    • Top Exploited CVEs
    • CVE Stats by Vendor
    • Q3 2026 Report
    • CVE Alerts
    • CVE Alert Settings
    • Pricing
  • Cyber Criminals
  • Data Leak
  • Free Security Tools
    • Base64 / URL Encoder & SHA Hash Generator
    • CVSS 3.1 Calculator & Vector Decoder
    • DNS Lookup Tool
    • IP Subnet Calculator & CIDR Reference
    • SSL Certificate Viewer & X.509 Decoder
    • Whois Lookup Tool
  • Malware
  • Vulnerability News
Light/Dark Button
  • Home
  • Technique
  • Creating the simple mail server for penetration testing
  • Technique

Creating the simple mail server for penetration testing

Do Son May 6, 2018 2 minutes read
mail server

Sometimes, your penetration testing requires the assembly of various additional tools. For example, a mail server will be possible to send phishing emails to check employees for social engineering attacks. This mail server should be able to send messages from any address and generally ask a minimum of questions when sending. As such a server we will use Postfix.

Postfix is a free and open-source mail transfer agent that routes and delivers electronic mail. 

To install Postfix, you run the command below

apt-get install postfix

Our server is already ready to work, but it’s better to add small restrictions for senders (especially if it is accessible from external networks).

Therefore, open the file /etc/postfix/main.cf and make some minor changes to it:

Firstly, you can change the system mail name in the line:

myhostname =

Next, change the list of networks from which the sender can send mail without authorization, listing the space between addresses and subnets:

 mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
Now it only remains to restart Postfix
service postfix restart

The SMTP server is ready. It allows you to send mail to anyone, filtering the sender only by IP address, which allows you to use it to send emails in the framework of penetration testing.

Tags: mail server

🚨 Active Exploits in the Wild

  • CVE-2026-125615CVSS 9.8
    Movable Type provided by Six Apart Ltd. contains an OS command injection vulnerability (CWE-78). If a remote unauthenticated...
    Watchtower Verified📅 Updated: Dec 1, 2026
  • CVE-2023-54424CVSS 8.7
    JIESHUN JieLink+ Intelligent Terminal Operation Platform contains a SQL injection vulnerability that allows unauthenticated attackers to execute arbitrary...
    Watchtower Verified📅 Updated: Dec 1, 2026
  • CVE-2023-54425CVSS 9.3
    Kedacom Phoenix surveillance platform streaming media server through 1R2SP8Fix5L contains an unrestricted file upload vulnerability in the /pmc-bin/upload_fcgi...
    Watchtower Verified📅 Updated: Dec 1, 2026
  • CVE-2026-61500CVSS 9.3
    Rejetto HFS 3.0.0 through 3.2.0 derives its session-cookie signing key from the non-cryptographic Math.random() generator and discloses outputs...
    CISA KEV📅 Added to KEV: Nov 30, 2026
  • CVE-2026-125160CVSS 6.3
    Files uploaded through FileUpload or ImageUpload elements are stored in an unguessable sub-folder that remains the same for...
    CISA KEV📅 Added to KEV: Nov 30, 2026
  • CVE-2026-125812CVSS 9.8
    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in WP Media WP Rocket wp-rocket...
    Admin intel📅 Updated: Nov 29, 2026
  • CVE-2026-120705CVSS 8.6
    GeoServer exposes the built-in WFS 2.0 stored query `urn:ogc:def:query:OGC-WFS::GetFeatureById` through the public `GetFeature` operation. The stored query substituted...
    CISA KEV📅 Added to KEV: Nov 27, 2026
  • CVE-2026-129243CVSS 8.8
    A `service` parameter with a prefix, such as `service=x/WFS`, was resolved to the WFS service by the dispatcher,...
    CISA KEV📅 Added to KEV: Nov 27, 2026
Powered by CVE Watchtower

Search

CVE ALERTS
📈

EPSS Spike Alerts
Catch risk spikes before they make headlines.

🎯

Custom EPSS/CVSS
Set score thresholds to effectively filter noise.

🛡️

Exploit Intel
Real-world exploit signals beyond the KEV catalog.

🐙

GitHub Issues
Auto-create alert tickets without duplication.

📬

Weekly Digest
Clean summaries, eliminating email spam.

🏷️

Watchlist Groups
Tag vulnerabilities by team (Infra/AppSec/SOC).

🔀

Smart Routing
Route chat channels based on severity levels.

🚨

RBP Tracker
Early warning detection and tracking system.

Get free CVE alerts Pro from $7/mo

Critical Vulnerabilities

  • CVE-2026-68137CVSS 9.8
    In the Linux kernel, the following vulnerability has been resolved: net/x25: fix use-after-free in x25_kill_by_neigh() x25_kill_by_neigh() walks the...
    📅 Updated: Dec 2, 2026
  • CVE-2026-114021CVSS 9.8
    An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in macOS Golden Gate...
    📅 Updated: Dec 2, 2026
  • CVE-2026-114022CVSS 9.8
    An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in macOS Sequoia 15.8.2,...
    📅 Updated: Dec 2, 2026
  • CVE-2026-68154CVSS 9.8
    In the Linux kernel, the following vulnerability has been resolved: libceph: reject zero bucket types in crush_decode CRUSH...
    📅 Updated: Dec 2, 2026
  • CVE-2026-132475CVSS 9.8
    An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in macOS Golden Gate...
    📅 Updated: Dec 2, 2026
  • CVE-2026-68156CVSS 9.8
    In the Linux kernel, the following vulnerability has been resolved: libceph: refresh auth->authorizer_buf{,_len} after authorizer update ceph_x_create_authorizer() caches...
    📅 Updated: Dec 2, 2026
  • CVE-2026-18543CVSS 9.3
    GoAnywhere MFT contains a stored cross-site scripting (XSS) vulnerability in the Recent Web User Logins dashboard gadget. An...
    📅 Updated: Dec 2, 2026
  • CVE-2026-138407CVSS 10.0
    A vulnerability has been found in Beetel 777VR1 Broadband Router 01.00.09/01.00.09_55. This issue affects some unknown processing of...
    📅 Updated: Dec 2, 2026
Powered by CVE Watchtower

Daily CyberSecurity

  • About Daily CyberSecurity
  • Advertise with us
  • Submit Press Release
  • Announcement
  • Editorial Policy
  • Corrections Policy
  • Contact
  • Login
  • Disclaimer
  • DMCA
  • Privacy Policy

When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works

  • CVE Watchtower
  • CVE Statistics by Vendor 2026
  • Q3 2026 Report
  • Top Exploited CVEs
  • Bluesky
  • Facebook
  • Linkedin
  • Mastodon
  • RSS
  • Twitter
  • Youtube
© 2017 - 2026 Daily CyberSecurity. All Rights Reserved.