Hallo,
ich habe mich heute mal an Postfix und Cyrus auf einer SuSE 9.2-Maschiene versucht. leider bleibe ich an einem kleinen Problem hängen. Und zwar schickt postfix alle mails an den Relay-Server, obwohl ich einen lokalen User anschreibe... :shock:
wäre schön wenn ihr mir helfen könntet.
hier die main.cf
hier noch ein Eintrag aus der mail.log
und hier noch die master.cf
falls noch andere configs benötigt werden, bitte schreien [/code]
ich habe mich heute mal an Postfix und Cyrus auf einer SuSE 9.2-Maschiene versucht. leider bleibe ich an einem kleinen Problem hängen. Und zwar schickt postfix alle mails an den Relay-Server, obwohl ich einen lokalen User anschreibe... :shock:
wäre schön wenn ihr mir helfen könntet.
hier die main.cf
Code:
biff = no
command_directory = /usr/sbin
debug_peer_level = 2
html_directory = /usr/share/doc/packages/postfix/html
manpage_directory = /usr/share/man
newaliases_path = /usr/bin/newaliases
readme_directory = /usr/share/doc/packages/postfix/README_FILES
sample_directory = /usr/share/doc/packages/postfix/samples
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
unknown_local_recipient_reject_code = 550
relayhost = smtprelay.t-online.de
program_directory = /usr/lib/postfix
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
queue_directory = /var/spool/postfix
mailq_path = /usr/bin/mailq
default_privs = nobody
mail_spool_directory = /var/mail
mailbox_command = /usr/lib/cyrus/bin/deliver
mailbox_transport = lmtp:unix:public/lmtp
local_destination_concurrency_limit = 2
default_destination_concurrency_limit = 10
default_peer_level = 2
mynetworks = 192.168.1.0/24, 127.0.0.0/8
myhostname = smtp.heimnetz.loc
mydomain = heimnetz.loc
myorigin = $mydomain
mail_owner = postfix
default_transport = smtp
canonical_maps = hash:/etc/postfix/canonical
smtpd_banner = $myhostname ESMTP
alias_maps = hash:/etc/aliases
setgid_group = maildrop
luser_relay = $root@smtp.heimnetz.loc
hier noch ein Eintrag aus der mail.log
Code:
Jan 11 00:25:08 server postfix/qmgr[5392]: 1D58E1D65: from=<fra@heimnetz.loc>, size=513, nrcpt=1 (queue active)
Jan 11 00:25:20 server postfix/smtp[5404]: 1D58E1D65: to=<ann@heimnetz.loc>, relay=smtprelay.t-online.de[194.25.134.28], delay=12, status=sent (250 Message accepted.)
Jan 11 00:25:20 server postfix/qmgr[5392]: 1D58E1D65: removed
und hier noch die master.cf
Code:
# ==========================================================================
# 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 -o smtpd_etrn_restrictions=reject
#628 inet n - n - - qmqpd
pickup fifo n n n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
#tlsmgr fifo - - n 300 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
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
anvil unix - - n - 1 anvil
#localhost:10025 inet n - n - - smtpd -o content_filter=
#
# 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
flags=R 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
procmail unix - n n - - pipe
flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}
falls noch andere configs benötigt werden, bitte schreien [/code]