Jeg har et lillebitte problem med Postfix...
Det er første gang jeg installerer det, og efter en del pillen og nussen har
jeg fået det til at virke 50%; jeg kan sende, men ikke modtage mails.
Ved afsendelse kommer mails fint frem, med korrekt FROM-felt osv. Ingen bøvl
der.
Ved modtagelse bouncer alle mails med fejl 554 "Relay access denied (in
reply to RCPT TO command)"
domænet er "serverbreach.com", og serverens navn er "mail"
Kan nogen dog ikke hjælpe mig? Jeg er snart desperat!
her er min main.cf:
##############################################################
#Directories
##############################################################
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/packages/postfix/samples
readme_directory = /usr/share/doc/packages/postfix/README_FILES
mail_spool_directory = /var/mail
newaliases_path = /usr/bin/newaliases
sendmail_path = /usr/sbin/sendmail
mailq_path = /usr/bin/mailq
program_directory = /usr/lib/postfix
##############################################################
##############################################################
# SMTPD stuff
##############################################################
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
##############################################################
myhostname = mail.serverbreach.com
mydomain = serverbreach.com
myorigin = $mydomain
mydestination = $myhostname localhost.$mydomain
www.$mydomain ftp.$mydomain
$mydomain
mailbox_size_limit = 51200000
message_size_limit = 10240000
mail_owner = postfix
unknown_local_recipient_reject_code = 450
setgid_group = maildrop
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
masquerade_domains =
defer_transports =
disable_dns_lookups = no
mynetworks = 10.0.0.0/128
content_filter =
mailbox_command =
mailbox_transport =
alias_maps = hash:/etc/aliases
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
##############################################################
#Other that might be interesting once I get this to work...
##############################################################
# JUNK MAIL CONTROLS
#
# The controls listed here are only a very small subset. See the file
# sample-smtpd.cf for an elaborate list of anti-UCE controls.
# The header_checks parameter specifies an optional table with patterns
# that each logical message header is matched against, including
# headers that span multiple physical lines.
#
# By default, these patterns also apply to MIME headers and to the
# headers of attached messages. With older Postfix versions, MIME and
# attached message headers were treated as body text.
#
# For details, see the sample-filter.cf file.
#
#header_checks = regexp:/etc/postfix/header_checks