Hallo,
ich habe unter einer virtuellen FreeBSD 8.2.-Maschine, die als GAST unter einem FreeBSD-Host läuft, folgende Ports installiert, wobei das Ganze später noch auf TLS/SSL umgestellt werden soll. Bislang arbeite ich mit sendmail und möchte das durch postfix ersetzen:
postfix-2.9.2,1
cyrus-sasl-2.1.25_2
dovecot-1.2.17
Dovecot mit SASL als IMAP/POP3-Server klappt einwandfrei!
Eingehende Mails können abgefragt werden.
Ich möchte erreichen, dass mit den gleichen Zugangsdaten, mit denen POP3/IMAP abgefragt wird, auch Mails über postfix versendet werden können.
Leider bekomme ich Postfix (mit Authentifizierung über Dovecot SASL/ SMTP AUTH through Dovecot SASL) für das Versenden meiner EMails (also als Relay über meine Internetverbindung von zuhause) einfach nicht zum Laufen bzw. nimmt postfix von meinem EMail-Client (Thunderbird) keine Mail zum Versenden entgegen. Maillog zeigt beim Starten von postfix vom Webmin aus an:
Hier noch einige weitere Ausgaben, wobei ich gestehen muss, dass mir der Unterschied zwischen
virtual_maps und virtual_alias_maps nicht klar ist:
postconf -a
cyrus
dovecot
postconf -n
Hat jemand vielleicht eine Idee, woran es liegen könnte, dass mein Thunderbird-Client keine Mails über postfix versenden kann?
Herzlichen Dank und viele Grüße
testit
ich habe unter einer virtuellen FreeBSD 8.2.-Maschine, die als GAST unter einem FreeBSD-Host läuft, folgende Ports installiert, wobei das Ganze später noch auf TLS/SSL umgestellt werden soll. Bislang arbeite ich mit sendmail und möchte das durch postfix ersetzen:
postfix-2.9.2,1
cyrus-sasl-2.1.25_2
dovecot-1.2.17
Dovecot mit SASL als IMAP/POP3-Server klappt einwandfrei!
Eingehende Mails können abgefragt werden.
Ich möchte erreichen, dass mit den gleichen Zugangsdaten, mit denen POP3/IMAP abgefragt wird, auch Mails über postfix versendet werden können.
Leider bekomme ich Postfix (mit Authentifizierung über Dovecot SASL/ SMTP AUTH through Dovecot SASL) für das Versenden meiner EMails (also als Relay über meine Internetverbindung von zuhause) einfach nicht zum Laufen bzw. nimmt postfix von meinem EMail-Client (Thunderbird) keine Mail zum Versenden entgegen. Maillog zeigt beim Starten von postfix vom Webmin aus an:
Code:
Oct 6 14:36:10 postfix/master[46755]: daemon started -- version 2.9.2, configuration /usr/local/etc/postfix
Oct 6 14:36:10 postfix/qmgr[46757]: fatal: open dictionary: expecting "type:name" form instead of "ftp.meinedomain.de/usr/local/sbin/postconf:"
Oct 6 14:36:10 postfix/cleanup[46758]: error: open database /etc/postfix/virtual/usr/local/sbin/postconf:.db: Not a directory
Oct 6 14:36:10 postfix/cleanup[46758]: fatal: open dictionary: expecting "type:name" form instead of "warning:"
Oct 6 14:36:11 postfix/master[46755]: warning: process /usr/local/libexec/postfix/cleanup pid 46758 exit status 1
Oct 6 14:36:11 postfix/master[46755]: warning: /usr/local/libexec/postfix/cleanup: bad command startup -- throttling
Oct 6 14:36:11 postfix/master[46755]: warning: process /usr/local/libexec/postfix/qmgr pid 46757 exit status 1
Oct 6 14:36:11 postfix/master[46755]: warning: /usr/local/libexec/postfix/qmgr: bad command startup -- throttling
Hier noch einige weitere Ausgaben, wobei ich gestehen muss, dass mir der Unterschied zwischen
virtual_maps und virtual_alias_maps nicht klar ist:
postconf -a
cyrus
dovecot
postconf -n
Code:
access_map_reject_code = 554/usr/local/sbin/postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter: virtual_maps=hash:etc/postfix/virtual
alias_database = hash:/etc/mail/aliases
alias_maps = hash:/etc/mail/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
data_directory = /var/db/postfix
debug_peer_level = 2
debug_peer_list = 127.0.0.1
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
html_directory = /usr/local/share/doc/postfix
inet_protocols = ipv4
invalid_hostname_reject_code = 501/usr/local/sbin/postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter: virtual_maps=hash:etc/postfix/virtual
mail_owner = postfix
mailbox_size_limit = 1073741824
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
maps_rbl_reject_code = 554/usr/local/sbin/postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter: virtual_maps=hash:etc/postfix/virtual
message_size_limit = 10240000
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, mail.$mydomain, www.$mydomain, ftp.$mydomain
mydomain = meinedomain.de
myhostname = mail.meinedomain.de
mynetworks = 127.0.0.1
mynetworks_style = host
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/local/share/doc/postfix
reject_code = 554/usr/local/sbin/postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter: virtual_maps=hash:etc/postfix/virtual
relay_domains = $mydestination/usr/local/sbin/postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter: virtual_maps=hash:etc/postfix/virtual
relay_domains_reject_code = 554/usr/local/sbin/postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter: virtual_maps=hash:etc/postfix/virtual
relay_recipient_maps = /usr/local/sbin/postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter: virtual_maps=hash:etc/postfix/virtual
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = no
smtpd_banner = $myhostname ESMTP $mail_name/usr/local/sbin/postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter: virtual_maps=hash:etc/postfix/virtual
smtpd_client_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
smtpd_enforce_tls = no
smtpd_error_sleep_time = 1s/usr/local/sbin/postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter: virtual_maps=hash:etc/postfix/virtual
smtpd_etrn_restrictions = /usr/local/sbin/postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter: virtual_maps=hash:etc/postfix/virtual
smtpd_hard_error_limit = ${stress?1}${stress:20}/usr/local/sbin/postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter: virtual_maps=hash:etc/postfix/virtual
smtpd_helo_required = yes
smtpd_helo_restrictions = reject_invalid_hostname
smtpd_recipient_limit = 1000/usr/local/sbin/postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter: virtual_maps=hash:etc/postfix/virtual
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_soft_error_limit = 10/usr/local/sbin/postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter: virtual_maps=hash:etc/postfix/virtual
smtpd_timeout = ${stress?10}${stress:300}s/usr/local/sbin/postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter: virtual_maps=hash:etc/postfix/virtual
smtpd_tls_auth_only = no
smtpd_tls_loglevel = 2
smtpd_use_tls = no
unknown_address_reject_code = 450/usr/local/sbin/postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter: virtual_maps=hash:etc/postfix/virtual
unknown_client_reject_code = 450/usr/local/sbin/postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter: virtual_maps=hash:etc/postfix/virtual
unknown_hostname_reject_code = 450/usr/local/sbin/postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter: virtual_maps=hash:etc/postfix/virtual
unknown_local_recipient_reject_code = 550
virtual_alias_domains = /etc/postfix/local-host-names
virtual_alias_maps = $virtual_maps/usr/local/sbin/postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
virtual_maps = hash:/etc/postfix/virtusertable, hash:/etc/postfix/aliases, hash:/etc/postfix/virtual
Hat jemand vielleicht eine Idee, woran es liegen könnte, dass mein Thunderbird-Client keine Mails über postfix versenden kann?
Herzlichen Dank und viele Grüße
testit
Zuletzt bearbeitet: