smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
myhostname = mail.domain.de
myorigin = /etc/mailname
mydestination = mail, localhost.localdomain, localhost
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
virtual_alias_domains =
virtual_alias_maps = mysql:/etc/postfix/vms-forwardings.cf
virtual_mailbox_domains = mysql:/etc/postfix/vms-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/vms-mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
virtual_transport = virtual
local_recipient_maps = $virtual_mailbox_maps
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject
virtual_mailbox_limit = 0
message_size_limit = 70254592
smtpd_helo_required = yes
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappin
Ich vermute mal, dass liegt an smtpd_recipient_restrictions. Ich verstehe aber nicht was ich da eintragen muss, damit der Server von außen mails annimmt und sie an die Postfächer verteilt. Natürlich soll auch eine Passwort abfragen kommen wenn Benutzer mail verschicken.
Kann mir bitte jemand sagen was da hinkommt?
Das liegt daran. Relay Access Denied bedeutet, dass dein Postfix sich weigert die Email an einen anderen Server weiterzuleiten. Aber das sollte er ja nicht machen wenn er final destination ist.
*) myhostname ist ungültig.
*) mynetworks_style ist (vermutlich) unglücklich gewählt.
*) virtual_alias_[maps|domains] und virtual_maps können sich überlappen.
*) postconf -n und die passenden Logauszüge sind hilfreicher...
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Jun 2 22:53:39 SuSE-101-32-LAMP postfix/master[8184]: warning: process /usr/lib/postfix/trivial-rewrite pid 8408 exit status 1
Jun 2 22:53:39 SuSE-101-32-LAMP postfix/master[8184]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Jun 2 22:54:40 SuSE-101-32-LAMP postfix/master[8184]: warning: process /usr/lib/postfix/trivial-rewrite pid 8417 exit status 1
Jun 2 22:54:40 SuSE-101-32-LAMP postfix/master[8184]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Jun 2 22:55:41 SuSE-101-32-LAMP postfix/master[8184]: warning: process /usr/lib/postfix/trivial-rewrite pid 8424 exit status 1
Jun 2 22:55:41 SuSE-101-32-LAMP postfix/master[8184]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Jun 2 22:56:42 SuSE-101-32-LAMP postfix/master[8184]: warning: process /usr/lib/postfix/trivial-rewrite pid 8434 exit status 1
Jun 2 22:56:42 SuSE-101-32-LAMP postfix/master[8184]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Jun 2 22:57:43 SuSE-101-32-LAMP postfix/master[8184]: warning: process /usr/lib/postfix/trivial-rewrite pid 8444 exit status 1
Jun 2 22:57:43 SuSE-101-32-LAMP postfix/master[8184]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Jun 2 22:58:44 SuSE-101-32-LAMP postfix/master[8184]: warning: process /usr/lib/postfix/trivial-rewrite pid 8451 exit status 1
Jun 2 22:58:44 SuSE-101-32-LAMP postfix/master[8184]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
#
# Postfix master process configuration file. For details on the format
# of the file, see the Postfix master(5) manual page.
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - n - - smtpd
#submission inet n - n - - smtpd
# -o smtpd_etrn_restrictions=reject
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes
# -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission inet n - n - - smtpd
# -o smtpd_etrn_restrictions=reject
# -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628 inet n - n - - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
#tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - n - - smtp
-o fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
#localhost:10025 inet n - n - - smtpd -o content_filter=
scache unix - - n - 1 scache
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent. See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
cyrus unix - n n - - pipe
user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
procmail unix - n n - - pipe
flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}