Page 1 of 1
postfix main.cf
Posted: 2004-01-06 00:25
by funbad
relay access denied bei normalen mail-versand über smtpd ich raff das langsam nit mehr
Code: Select all
setgid_group = maildrop
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mynetworks = hash:/etc/postfix/confixx_localDomains
mailbox_command =
mailbox_size_limit = 629145600
myhostname = smtp.publichost.de
virtual_maps = hash:/etc/postfix/confixx_virtualUsers,hash:/etc/postfix/confixx_localDomains
smtpd_client_restrictions =
smtpd_recipient_restrictions = check_relay_domains
alias_maps = hash:/etc/aliases
program_directory = /usr/lib/postfix
daemon_directory = /usr/lib/postfix
Re: postfix main.cf
Posted: 2004-01-06 12:03
by trimo
Sitze nun auch schon länger vor dem Problem.
Finde auch keine richtige Hilfe oder Tutorial...
Weiß keiner einen guten Tip?
Re: postfix main.cf
Posted: 2004-01-06 12:08
by mmg-media
Genauere Fehlermeldungen? Logs?
Re: postfix main.cf
Posted: 2004-01-06 12:08
by bmp
funbad wrote:relay access denied bei normalen mail-versand über smtpd ich raff das langsam nit mehr
Auszug aus dem LOG fehlt.
Re: postfix main.cf
Posted: 2004-01-06 12:59
by trimo
Hier der Auszug aus /var/log/mail:
Jan 6 12:53:15 linux ipop3d[19742]: pop3 service init from xxx.xxx.xxx.xx
Jan 6 12:53:15 linux postfix/smtpd[19743]: connect from pD9E636.dip.t-dialin.net[xxx.xxx.xxx.xx]
Jan 6 12:53:15 linux ipop3d[19742]: Login user=domain host=pD9E636.dip.t-dialin.net [xxx.xxx.xxx.xx] nmsgs=0/0
Jan 6 12:53:15 linux postfix/smtpd[19743]: 907891569B: client=pD9E636.dip.t-dialin.net[xxx.xxx.xxx.xx]
Jan 6 12:53:15 linux postfix/smtpd[19743]: 907891569B: reject: RCPT from pD9E636.dip.t-dialin.net[xxx.xxx.xxx.xx]: 554 <
trimo@gmx.de>: Relay access denied; from=<
info@domain.de> to=<
trimo@gmx.de> proto=ESMTP helo=<philipp>
Jan 6 12:53:15 linux ipop3d[19742]: Logout user=domain host=pD9E66936.dip.t-dialin.net [xxx.xxx.xxx.xx] nmsgs=0 ndele=0
Jan 6 12:53:19 linux postfix/smtpd[19743]: disconnect from pD9E636.dip.t-dialin.net[xxx.xxx.xxx.xx]
domain ist die gehostete Domain (egal welche).
Hier noch ein Auszug aus der main.cf:
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
myhostname =
http://www.domain-online.de
mydomain = domain-online.de
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, $mydomain
mynetworks_style = host
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
fast_flush_domains = $relay_domains
debug_peer_level = 2
debugger_command =
PATH=/usr/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/sbin/sendmail
mailq_path = /usr/bin/mailq
setgid_group = maildrop
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/packages/postfix/samples
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
#inet_interfaces = all
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
Momentan lässt sich auch keine Mail an die gehosteten Domains empfangen, da bekommt man ebenfalls die Nachricht "relay access denied". Es werden nur Nachrichten für domain-online.de empfangen.
Thx;
Re: postfix main.cf
Posted: 2004-01-06 13:07
by luc
gib mal ein bei mydestination:
"mydestination = $myhostname, localhost.$mydomain, $mydomain, deinedomain1.tld, deinedomain2.tld, deinedomain3.tld etc."
und gib in inet_interfaces
"inet_interfaces = deineip, localhost"
ein
danach mit
/etc/init.d/postfix stop
/etc/init.d/postfix start
/etc/init.d/postfix reload
alles neu starten und dann nochmal versuchen.
Re: postfix main.cf
Posted: 2004-01-06 13:46
by trimo
Also mit $mydestination ist klar, das klappt.
Nun bleibt nur noch das Problem eMail an andere zu verschicken, die Fehlermeldung ist unverändert; von welchen Dateien/Einstellungen ist das abhängig? Bei Gelegenheit will ich auch mit smtp-auth arbeiten, aber vorher soll dies funktionieren.

Re: postfix main.cf
Posted: 2004-01-06 14:08
by luc
naja ich habe ein thread weiter oben auch ein problem mit dem senden. Ich hatte zuerst auch genau die gleiche fehlermeldung mit dem relay acces. Irgendwie habe ich die wohl gelöst denn mir wird nun die Fehlermeldung angezeigt
Jan 6 14:06:00 hostname postfix/qmgr[24612]: warning: connect to transport smtp: Connection refused