[Postfixbuch-users] Eigener Mailserver-Problem mit Empfang von Mails ->HIIILFEEEEEE !!!!

Frank Berner fberner at cox.net
So Jan 25 20:31:15 CET 2004


....hier noch der Rest zum prüfen.....

1. main.cf

##############################################################################
#Mailserverkonfiguration#mail.berneronline.org################################
##############################################################################
myhostname = server01.berneronline.org
mydomain = berneronline.org
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, www.$mydomain
myorigin = $myhostname
mynetworks =  192.168.0.0/24, 127.0.0.0/8
mail_owner = postfix
smtpd_banner = $myhostname ESMTP
queue_directory = /var/spool/postfix
program_directory = /usr/lib/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
alias_maps = hash:/etc/aliases
virtual_maps = hash:/etc/postfix/virtual
soft_bounce = no
unknown_local_recipient_reject_code = 550
mail_spool_directory = /var/mail
#smtpd_helo_required = no
#smtpd_receipient_restrictions = permit_mynetworks,reject_unauth_destination,permit_mx_relay
transport_maps = hash:/etc/postfix/master.cf
#relay_domains = $mydomain
inet_interfaces = all
########################KONFIGURATION##ENDE###################################

2.master.cf
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp	  inet	n	-	n	-	-	smtpd
#smtps	  inet	n	-	n	-	-	smtpd
#  -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission	inet	n	-	n	-	-	smtpd
#  -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628	  inet	n	-	n	-	-	qmqpd
pickup	  fifo	n	-	n	60	1	pickup
cleanup	  unix	n	-	n	-	0	cleanup
qmgr	  fifo	n	-	n	300	1	qmgr
#qmgr	  fifo	n	-	n	300	1	nqmgr
#tlsmgr   fifo  -       -       n       300     1       tlsmgr
rewrite	  unix	-	-	n	-	-	trivial-rewrite
bounce	  unix	-	-	n	-	0	bounce
defer	  unix	-	-	n	-	0	bounce
flush	  unix	n	-	n	1000?	0	flush
proxymap  unix	-	-	n	-	-	proxymap
smtp	  unix	-	-	n	-	-	smtp
relay	  unix	-	-	n	-	-	smtp
#	-o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix	n	-	n	-	-	showq
error     unix	-	-	n	-	-	error
local	  unix	-	n	n	-	-	local
virtual	  unix	-	n	n	-	-	virtual
lmtp	  unix	-	-	n	-	-	lmtp
localhost:10025 inet	n	-	n	-	-	smtpd -o content_filter=
192.168.0.10:10025 inet	n	-	n	-	-	smtpd 
#
# 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}
cyrus	  unix	-	n	n	-	-	pipe
  user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
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=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
vscan     unix  -       n       n       -       10       pipe
  user=vscan argv=/usr/sbin/amavis ${sender} ${recipient}
procmail  unix  -       n       n       -       -       pipe
  flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}

3.named
# The following zone definitions don't need any modification.  The first one
# is the definition of the root name servers.  The second one defines
# localhost while the third defines the reverse lookup for localhost.

zone "." in {
	type hint;
	file "root.hint";
};

zone "localhost" in {
	type master;
	file "localhost.zone";
};

zone "0.0.127.in-addr.arpa" in {
	type master;
	file "127.0.0.zone";
};

# Include the meta include file generated by SuSEconfig.named.  This includes
# all files as configured in NAMED_CONF_INCLUDE_FILES from
# /etc/sysconfig/named

include "/etc/named.conf.include";
zone "intranet.berneronline.org" in {
	file "master/intranet.berneronline.org";
	type master;
};

# You can insert further zone records for your own domains below or create
# single files in /etc/named.d/ and add the file names to
# NAMED_CONF_INCLUDE_FILES.
# See /usr/share/doc/packages/bind/README.SuSE for more details.


#zone "berneronline.org" {
#	type master;
#	file "/var/lib/named/berneronline.org.hosts";

4.virtual
# SEE ALSO
#        cleanup(8) canonicalize and enqueue mail
#        postmap(1) create mapping table
#        regexp_table(5) POSIX regular expression table format
#        pcre_table(5) Perl Compatible Regular Expression table format
# 
# LICENSE
#        The Secure Mailer license must be  distributed  with  this
#        software.
# 
# AUTHOR(S)
#        Wietse Venema
#        IBM T.J. Watson Research
#        P.O. Box 704
#        Yorktown Heights, NY 10598, USA
# 
#                                                        VIRTUAL(5)
berneronline.org		anything
#};

...das nur zur Komplettierung !

Viele Grüsse

Frank







Mehr Informationen über die Mailingliste Postfixbuch-users