ich habe heute auf meinen Strato Power Server (ich weis, nicht gerade das beste Angebot, aber für den Anfang muss es reichen) endlich mal einen Mailserver installiert, da mit persönlich exim auch schon unter woody nicht gefallen hat (dort war aber noch exim3 drauf) habe ich auf meinem rootie heute postfix installiert, zuhause verwende ich persönlich sendmail, aber das ist ein anderes Thema.
Nun zu meinem eigentlichem Problem:
Ich kann von aussen (Internet) keine mail via SMTP an meinen Rootie schicken, es dauert immer ewig, bis halt dann mal ein Timeout kommt...
Auf dem Server läuft ein Debian Sarge (+ Security Updates), als Kernel verwende ich 2.4.32 + Grsecurity Patch. Die /proc Restrictions sind aktiviert!
So sieht meine /etc/postfix/main.cf momentan aus:
Code: Select all
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
myhostname = encbladexp.de
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydomain = encbladexp.de
mydestination = h752837.serverkompetenz.net, localhost, encbladexp.de
mynetworks = 127.0.0.0/8
inet_interfaces = all
virtual_alias_domains = encbladexp.net, stefan-betz.net
virtual_alias_maps = hash:/etc/postfix/virtual
Code: Select all
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - - - - smtpd
#submission inet n - - - - smtpd
# -o smtpd_etrn_restrictions=reject
#628 inet n - - - - qmqpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - - 300 1 qmgr
#qmgr fifo n - - 300 1 oqmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - - - - smtp
relay unix - - - - - smtp
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - - - - showq
error unix - - - - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -d -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mfg Betz Stefan
