Hallo,
vor ab die Sachen die installiert sind.
cyrus-sasl-2.1.25
postfix-2.8.11
Ich will ueber postfix emails versenden koennen ueber einen 1und1 account den ich angelegt habe.
bei dem Befehl "mailq" bekomme ich folgende Meldung nachdem ich ueber telnet eine testmail verschicken will.
Meine main.cf sieht wie folgt aus:
meine sasl_passwd:
Habe danach mit postmap sasl_passwd das sasl_passwd.db file hergestellt und den postfix service neu gestartet.
Leider bis jetzt saemtliche foren die ich gefunden habe ohne erfolg durchprobiert.
Habe auch [smtp.1und1.de]:465 und [smtp.1und1.de]:25
Ich hoffe Ihr koennt mir irgendwie weiterhelfen.
Gruss myortyo
vor ab die Sachen die installiert sind.
cyrus-sasl-2.1.25
postfix-2.8.11
Ich will ueber postfix emails versenden koennen ueber einen 1und1 account den ich angelegt habe.
bei dem Befehl "mailq" bekomme ich folgende Meldung nachdem ich ueber telnet eine testmail verschicken will.
Code:
(SASL authentication failed; cannot authenticate to server smtp.1und1.de[212.227.15.183]: no mechanism available)
Meine main.cf sieht wie folgt aus:
Code:
## -- Basics
# Loopback only, or 'all' for public service
inet_interfaces = loopback-only
#inet_interfaces = all
mynetworks = $myhostname, 127.0.0.0/8
mail_owner = postfix
setgid_group = maildrop
## -- Paths
home_mailbox = Maildir/
command_directory = /opt/local/sbin
daemon_directory = /opt/local/libexec/postfix
mailq_path = /opt/local/bin/mailq
newaliases_path = /opt/local/bin/newaliases
queue_directory = /var/spool/postfix
sendmail_path = /opt/local/sbin/sendmail
## -- Miscellaneous
default_database_type = hash
html_directory = no
owner_request_special = no
recipient_delimiter = +
smtpd_banner = $myhostname ESMTP
smtpd_delay_reject = yes
smtpd_helo_required = yes
soft_bounce = no
strict_rfc821_envelopes = yes
unknown_local_recipient_reject_code = 550
## -- SASL
smtpd_sasl_auth_enable = no
broken_sasl_auth_clients = no
smtpd_sasl_application_name = smtpd
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
## -- TLS
#smtpd_enforce_tls = no
#smtpd_tls_cert_file = /opt/local/etc/openssl/private/selfsigned.pem
#smtpd_tls_loglevel = 0
#smtpd_use_tls = yes
## -- Limits
mailbox_size_limit = 102400000
message_size_limit = 51200000
queue_minfree = 76800000
## -- Restrictions
smtpd_client_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unknown_reverse_client_hostname
smtpd_helo_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_invalid_helo_hostname,
reject_non_fqdn_helo_hostname
smtpd_sender_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unlisted_sender,
reject_non_fqdn_sender,
reject_unknown_sender_domain
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unlisted_recipient,
reject_non_fqdn_recipient,
reject_unauth_destination,
reject_unknown_recipient_domain,
check_recipient_access hash:/opt/local/etc/postfix/filtered_domains
smtpd_data_restrictions =
permit_mynetworks,
reject_unauth_pipelining,
permit_sasl_authenticated
smtpd_end_of_data_restrictions =
## -- Maps
alias_maps = hash:/opt/local/etc/postfix/aliases
alias_database = hash:/opt/local/etc/postfix/aliases
canonical_maps = hash:/opt/local/etc/postfix/canonical
recipient_canonical_maps = hash:/opt/local/etc/postfix/recipient_canonical
sender_canonical_maps = hash:/opt/local/etc/postfix/sender_canonical
virtual_alias_maps = hash:/opt/local/etc/postfix/virtual
###1und1
relayhost = smtp.1und1.de
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/opt/local/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_always_send_ehlo = yes
smtp_connect_timeout = 120s
## -- Mailman (enable if used)
#relay_domains = hash:/opt/local/etc/postfix/maillists
#transport_maps = hash:/opt/local/etc/postfix/transport
#mailman_destination_recipient_limit = 1
meine sasl_passwd:
Code:
smtp.1und1.de test@example.com:password
Habe danach mit postmap sasl_passwd das sasl_passwd.db file hergestellt und den postfix service neu gestartet.
Leider bis jetzt saemtliche foren die ich gefunden habe ohne erfolg durchprobiert.
Habe auch [smtp.1und1.de]:465 und [smtp.1und1.de]:25
Ich hoffe Ihr koennt mir irgendwie weiterhelfen.
Gruss myortyo
Last edited by a moderator: