Posfix,qpopper,drac: Relay access denied

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
dude4you
Posts: 49
Joined: 2003-11-25 10:01

Posfix,qpopper,drac: Relay access denied

Post by dude4you » 2004-03-17 11:15

Habe Posfix version 2.0.18. qpopper4.0.5 und drac-1.11-1 auf Redhat 7.3
und habe Outlook und evolution(pop-before-smtp) versucht, doch jedes mal die Fehlermeldung "Relay Access denied"
Darauf hin hab ich versucht ein open relay zu configurieren um nacher smtpd_recipient_restrictions anzupassen was jedoch auch nicht funktioniert hat.
jemand eine Idee?



/var/log/pop3
Mar 17 05:06:17.068 2004 [10426] [drac]: login by info from host 138.Red-217-125-78.pooles.rima-tde.net (217.125.78.138)
Mar 17 05:06:17.068 2004
Mar 17 05:06:18.152 2004 [10426] Stats: info 0 0 0 0 138.Red-217-125-78.pooles.rima-tde.net 217.125.78.138
Mar 17 05:06:18.152 2004

[root@mailkast postfix]# db_dump /etc/mail/dracd.db
VERSION=3
format=bytevalue
type=btree
HEADER=END
3231372e3132352e37382e313338
31303739353139373737
DATA=END


/var/log/maillog
Mar 17 05:06:17 mailkast postfix/smtpd[10427]: connect from 138.Red-217-125-78.pooles.rima-tde.net[217.125.78.138]
Mar 17 05:06:18 mailkast postfix/smtpd[10427]: 19FAA188086: client=138.Red-217-125-78.pooles.rima-tde.net[217.125.78.138]
Mar 17 05:06:18 mailkast postfix/smtpd[10427]: 19FAA188086: reject: RCPT from 138.Red-217-125-78.pooles.rima-tde.net[217.125.78.138]: 554 <dude@dude.li>: Relay access denied; from=<info@mailkast.com> to=<dude@dude.li> proto=ESMTP helo=<[172.26.0.5]>
Mar 17 05:06:19 mailkast postfix/smtpd[10427]: disconnect from 138.Red-217-125-78.pooles.rima-tde.net[217.125.78.138]



[root@mailkast postfix]# /etc/init.d/postfix restart
Stopping mail transport agent: Postfix.
Starting mail transport agent: Postfix.
[root@mailkast postfix]# /usr/sbin/postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname, localhost.$mydomain, $mydomain, mail.$mydomain, http://www.$mydomain, ftp.$mydomain
mydomain = mailkast.com
myhostname = mail.mailkast.com
mynetworks_style = class
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_recipient_restrictions = btree:/etc/mail/dracd, reject_unauth_destination
unknown_local_recipient_reject_code = 450

dude4you
Posts: 49
Joined: 2003-11-25 10:01

Re: Posfix,qpopper,drac: Relay access denied

Post by dude4you » 2004-03-17 12:49

Habe alles noch mal installiert, diesmal mit rpm's
Hat leider nichts gebracht.
Dann nochmal main.cf configuriert und ... wunderbar.

inet_interfaces = all

smtpd_recipient_restrictions= permit_mynetworks, check_client_access,btree:/etc/mail/dracd, reject_unauth_destination

mydestination = $myhostname, localhost.$mydomain, $mydomain, mail.$mydomain, http://www.$mydomain, ftp.$mydomain,ns1.$mydomain

relay_domains = $mydestination

#mynetworks_style = class
#mynetworks_style = subnet
#mynetworks_style = host

#mynetworks = 217.125.78.138, 127.0.0.0/8
#mynetworks = $config_directory/mynetworks
#mynetworks = hash:/etc/postfix/network_table