• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

-GELÖST-Postfix! relay access denied HILFE!!!

Status
Für weitere Antworten geschlossen.

chameleon

Newbie
Hallo! Habe ein Problem habe Postfix meiner Meinung nach komplett konfiguriert!

Doch beim senden kreige ich auf dem Client immer eine email vom Systemadministrator mit der Fehlermeldung " 554 <xxx@yyy.de>: Relay access denied
Ein auszug aus der mail.info
Jan 20 15:47:52 linux postfix/smtpd[11950]: connect from matrix.TUX-NET[192.168.178.99]
Jan 20 15:47:53 linux postfix/smtpd[11950]: NOQUEUE: reject: RCPT from matrix.TUX-NET[192.168.178.99]: 554 <xxx@yyy-k.de>: Relay access denied; from=<katrix@linux.tux-net> to=<xxx@yyy.de> proto=ESMTP helo=<matrix>
Jan 20 15:47:56 linux postfix/smtpd[11950]: disconnect from matrix.TUX-NET[192.168.178.99]

Hier noch ein auszug aus meiner main.cf
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
myhostname = linux.TUX-NET
mydomain = TUX-NET
proxy_interfaces = 192.168.178.1
unknown_local_recipient_reject_code = 550
mynetworks = 192.168.0.0/24, 127.0.0.0/8
relayhost = post.strato.de


debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = maildrop
html_directory = /usr/share/doc/packages/postfix/html
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/packages/postfix/samples
readme_directory = /usr/share/doc/packages/postfix/README_FILES
inet_protocols = all
biff = no
mail_spool_directory = /var/mail
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_classes = envelope_sender, header_sender, header_recipient
myhostname = linux.TUX-NET
program_directory = /usr/lib/postfix
mydestination = $myhostname, localhost.$mydomain
defer_transports =
disable_dns_lookups = no
relayhost = post.strato.de
mailbox_command =
mailbox_transport =
strict_8bitmime = no
disable_mime_output_conversion = no
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = YES
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
linux:~ # debugger_command =
-bash: debugger_command: command not found
linux:~ # PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
linux:~ # xxgdb $daemon_directory/$process_name $process_id & sleep 5
-bash: xxgdb: command not found
[1] 8933
[1] Exit 127 xxgdb $daemon_directory/$process_name $process_id
linux:~ # vi /etc/fetchmailrc
linux:~ # cat /etc/postfix/main123.cf | grep -v "^#" | grep -v ^$
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
myhostname = linux.TUX-NET
mydomain = TUX-NET
proxy_interfaces = 192.168.178.1
unknown_local_recipient_reject_code = 550
mynetworks = 192.168.0.0/24, 127.0.0.0/8
relayhost = post.strato.de


debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = maildrop
html_directory = /usr/share/doc/packages/postfix/html
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/packages/postfix/samples
readme_directory = /usr/share/doc/packages/postfix/README_FILES
inet_protocols = all
biff = no
mail_spool_directory = /var/mail
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_classes = envelope_sender, header_sender, header_recipient
myhostname = linux.TUX-NET
program_directory = /usr/lib/postfix
mydestination = $myhostname, localhost.$mydomain
defer_transports =
disable_dns_lookups = no
relayhost = post.strato.de
mailbox_command =
mailbox_transport =
strict_8bitmime = no
disable_mime_output_conversion = no
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = YES
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
[/code]
 
OP
C

chameleon

Newbie
Habe das Problem gelöst!!!

command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
myhostname = linux.TUX-NET
mydomain = TUX-NET
proxy_interfaces = 192.168.178.1
unknown_local_recipient_reject_code = 550
mynetworks = 192.168.0.0/24, 127.0.0.0/8
relayhost = post.strato.de


debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = maildrop
html_directory = /usr/share/doc/packages/postfix/html
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/packages/postfix/samples
readme_directory = /usr/share/doc/packages/postfix/README_FILES
inet_protocols = all
biff = no
mail_spool_directory = /var/mail
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_classes = envelope_sender, header_sender, header_recipient
myhostname = linux.TUX-NET
program_directory = /usr/lib/postfix
mydestination = $myhostname, localhost.$mydomain
defer_transports =
disable_dns_lookups = no
relayhost = post.strato.de
mailbox_command =
mailbox_transport =
strict_8bitmime = no
disable_mime_output_conversion = no
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = YES
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
linux:~ # debugger_command =
-bash: debugger_command: command not found
linux:~ # PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
linux:~ # xxgdb $daemon_directory/$process_name $process_id & sleep 5
-bash: xxgdb: command not found
[1] 8933
[1] Exit 127 xxgdb $daemon_directory/$process_name $process_id
linux:~ # vi /etc/fetchmailrc
linux:~ # cat /etc/postfix/main123.cf | grep -v "^#" | grep -v ^$
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
myhostname = linux.TUX-NET
mydomain = TUX-NET
proxy_interfaces = 192.168.178.1
unknown_local_recipient_reject_code = 550
mynetworks = 192.168.0.0/24, 127.0.0.0/8
dummkopf fehler vertippt muss heißen 192.168.178.0/24
relayhost = post.strato.de


debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = maildrop
html_directory = /usr/share/doc/packages/postfix/html
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/packages/postfix/samples
readme_directory = /usr/share/doc/packages/postfix/README_FILES
inet_protocols = all
biff = no
mail_spool_directory = /var/mail
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_classes = envelope_sender, header_sender, header_recipient
myhostname = linux.TUX-NET
program_directory = /usr/lib/postfix
mydestination = $myhostname, localhost.$mydomain
defer_transports =
disable_dns_lookups = no
relayhost = post.strato.de
mailbox_command =
mailbox_transport =
strict_8bitmime = no
disable_mime_output_conversion = no
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
Muss heißen: smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtp_sasl_auth_enable = YES
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000 [/b]
 
Status
Für weitere Antworten geschlossen.
Oben