Rehber

Kendinden barındırılan ve gerçekten gelen kutusuna ulaşan bir posta sunucusu

İleri45 dk okumaGüncellendi 4 Haziran 2026
Kısa cevap

Posta sunucusu kurmak kolaydır; alıcılar tarafından güvenilir olmak ise öyle değildir. Giden bağlantı noktası 25, banner ana bilgisayar adınızla eşleşen bir PTR kaydı, doğru yayınlanmış SPF, DKIM ve DMARC, geçmişte spam geçmişi olmayan bir adres alanı ve kademeli bir hacim artışı gerekir. Bunlardan biri eksikse posta spam'e düşer.

01 Önce ana bilgisayar adını ve ters DNS'i ayarlayın

Do this before installing anything. The PTR must resolve to the hostname the server announces, and that hostname must have a forward record pointing back to the same address.

hostnamectl set-hostname mail.example.com
# then set the PTR to mail.example.com in the OnionVPS panel

02 Yığın'ı kurun

Mailcow gives you a complete Docker-based stack. Stalwart is a single Rust binary if you prefer fewer moving parts.

git clone https://github.com/mailcow/mailcow-dockerized /opt/mailcow
cd /opt/mailcow && ./generate_config.sh
docker compose up -d

03 SPF, DKIM ve DMARC yayınlayın

All three are DNS records. DKIM keys are generated by the mail stack; copy the public key from its admin interface.

example.com.            TXT  "v=spf1 mx -all"
dkim._domainkey        TXT  "v=DKIM1; k=rsa; p=MIGfMA0..."
_dmarc                 TXT  "v=DMARC1; p=none; rua=mailto:[email protected]"

04 Adresi ısıtın

A few dozen messages a day for the first week, then roughly double weekly. A volume spike from a new IP is indistinguishable from a compromised host, and receivers treat it accordingly.

05 Raporlar temizlendikten sonra DMARC'ı sıkılaştırın

Read aggregate reports for a fortnight at p=none, fix whatever is failing, then move to p=quarantine and eventually p=reject. Going straight to reject reliably breaks systems you forgot were sending mail.

Sık sorulan sorular

Postam neden spam'e gidiyor?

Olasılık sırasına göre: eksik veya eşleşmeyen PTR, eksik DKIM, çok yeni bir IP'nin çok kısa sürede çok fazla göndermesi veya önceden kötüye kullanım geçmişi olan adres alanı. İlk üçü sizin çözmeniz gerekenlerdir; dördüncüsü sağlayıcının sorunudur.

Statik bir IP'ye ihtiyacım var mı?

Evet ve üzerine ters DNS ayarlayabileceğiniz bir tane. Her ikisi de her OnionVPS örneğinde standarttır.