Portál AbcLinuxu, 4. prosince 2025 07:46
relay_domains = domana.xx #preposilej emaily pro domena.xx relayhost = 212.212.212.212 #přeposílej vše do serverovnycelý: /etc/postfix/main.cf:
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
myhostname = smtp.domana.xx
mydomain = domana.xx
myorigin = $myhostname
inet_interfaces = all
unknown_local_recipient_reject_code = 550
mynetworks = 127.0.0.0/8
relay_domains = domana.xx #preposilej emaily pro domena.xx
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
home_mailbox = Maildir/
mail_spool_directory = /var/mail
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
inet_protocols = all
biff = no
canonical_maps = hash:/etc/postfix/canonical
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_alias_domains = 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
delay_warning_time = 1h
message_strip_characters = \0
program_directory = /usr/lib/postfix
masquerade_domains =
mydestination = $myhostname, $mydomain
defer_transports =
mynetworks_style = subnet
disable_dns_lookups = no
relayhost = 212.212.212.212 #přeposílej vše do serverovny
mailbox_command =
mailbox_transport =
strict_8bitmime = no
disable_mime_output_conversion = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = check_relay_domains
permit_mynetworks
permit_sasl_authenticated
check_policy_service inet:127.0.0.1:10025
reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_path = smtpd
smtpd_use_tls = no
smtp_use_tls = no
mailbox_size_limit = 0
message_size_limit = 31457280
v Logu je chyba:
Aug 7 10:41:14 Tubus postfix/smtpd[3480]: NOQUEUE: reject: RCPT from smtp1.seznam.cz[77.75.72.43]: 550 5.1.1 <uzivatel@domena.xx>: Recipient address rejected: User unknown in local recipient table; from=<motorcb@seznam.cz> to=<uzivatel@domena.xx> proto=ESMTP helo=<<smtp1.seznam.cz>
Co dělám špatně?
Řešení dotazu:
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.