Quantcast

transport loop

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

transport loop

Duufoy
This post has NOT been accepted by the mailing list yet.
Hallo Zusammen,

ich habe hier gerade eine harte Nuss zu knacken.

Ich habe Domains auf dem System, die dem Postfix bekannt sind.
Versuche ich nun via 1blu über eine von 1blu gehosted mailadresse (mymail@domain.de) an einen Gmail account  (gmailaccount@gmail.com) zu senden versucht postfix zuerst diese Mail intern zuzustellen.
Da die Adresse aber extern ist gibt es irgendwie einen Loop und postfix versucht wohl ohne Account via smtp.gmail.com zu senden, was natürlich ohne Account nicht geht.

Irgendwie müssten vor der transport noch der relay abgefragt werden und nicht zuerst transport, damit die mails nicht generel via smtp.gmail.com rausgehen, sondern diese über den richtigen Account mit Zugangsdaten geroutet werden..

Hier die transport:
mailtestsystem@gmail.com  lmtp:127.0.0.1:2003
mailtestsystem345@gmail.com  lmtp:127.0.0.1:2003
mt@gmail.com lmtp:127.0.0.1:2003
dodo@googlemail.com lmtp:127.0.0.1:2003
dodo@gmail.com lmtp:127.0.0.1:2003
mymail@domain.de lmtp:127.0.0.1:2003
mymail@domain2.de lmtp:127.0.0.1:2003
domain1.de smtp:[smtp.1blu.de]
domain2.de smtp:[smtp.1blu.de]
gmail.com smtp:[smtp.gmail.com]
googlemail.com smtp:[smtp.gmail.com]

und der Logauschnitt:
May 12 12:10:08 ucs postfix/smtpd[18153]: connect from localhost[127.0.0.1]
May 12 12:10:09 ucs postfix/smtpd[18153]: 011B263E83A: client=localhost[127.0.0.1]
May 12 12:10:09 ucs postfix/cleanup[18154]: 011B263E83A: message-id=<kcim.59158a00.46e6
May 12 12:10:09 ucs postfix/qmgr[18119]: 011B263E83A: from=<mymail@domain.de>, size=1060, nrcpt=1 (queue active)
May 12 12:10:09 ucs postfix/smtpd[18153]: disconnect from localhost[127.0.0.1]
May 12 12:10:09 ucs postfix/smtpd[18159]: connect from localhost[127.0.0.1]
May 12 12:10:09 ucs postfix/smtpd[18159]: 8584463E83B: client=localhost[127.0.0.1], orig_queue_id=011B263E83A, orig_client=localhost[127.0.0.
May 12 12:10:09 ucs postfix/cleanup[18154]: 8584463E83B: message-id=<kcim.59158a00.46e6
May 12 12:10:09 ucs postfix/qmgr[18119]: 8584463E83B: from=<mymail@domain.de>, size=1748, nrcpt=1 (queue active)
May 12 12:10:09 ucs amavis[17597]: (17597-01) Passed CLEAN {RelayedInternal}, LOCAL [127.0.0.1]:41636 <mymail@domain.de> -> <gmailaccount@gmail.com>, Queue-ID: 011B263E83A, Message-ID: <kcim.59158a00.46e6.055910fa7bMay 12 12:10:08 ucs postfix/smtpd[18153]: connect from localhost[127.0.0.1]
May 12 12:10:09 ucs postfix/smtpd[18153]: 011B263E83A: client=localhost[127.0.0.1]
May 12 12:10:09 ucs postfix/cleanup[18154]: 011B263E83A: message-id=<kcim.59158a00.46e6
May 12 12:10:09 ucs postfix/qmgr[18119]: 011B263E83A: from=<mymail@domain.de>, size=1060, nrcpt=1 (queue active)
May 12 12:10:09 ucs postfix/smtpd[18153]: disconnect from localhost[127.0.0.1]
May 12 12:10:09 ucs postfix/smtpd[18159]: connect from localhost[127.0.0.1]
May 12 12:10:09 ucs postfix/smtpd[18159]: 8584463E83B: client=localhost[127.0.0.1], orig_queue_id=011B263E83A, orig_client=localhost[127.0.0.
May 12 12:10:09 ucs postfix/cleanup[18154]: 8584463E83B: message-id=<kcim.59158a00.46e6
May 12 12:10:09 ucs postfix/qmgr[18119]: 8584463E83B: from=<mymail@domain.de>, size=1748, nrcpt=1 (queue active)
May 12 12:10:09 ucs amavis[17597]: (17597-01) Passed CLEAN {RelayedInternal}, LOCAL [127.0.0.1]:41636 <mymail@domain.de> -> <gmailaccount@gmail.com>, Queue-ID: 011B263E83A, Message-ID: <kcim.59158a00.46e6.055910fa7b
May 12 12:10:09 ucs postfix/smtp[18155]: 011B263E83A: to=<gmailaccount@gmail.com>, relay=127.0.0.1[127.0.0.1]:100
May 12 12:10:09 ucs postfix/qmgr[18119]: 011B263E83A: removed
May 12 12:10:10 ucs postfix/smtp[18123]: 8584463E83B: SASL authentication failed; server smtp.gmail.com[74.125.206.109] said: 535-5.7.8 Username and Password not accepted. Learn more at?535 5.7.8  https://support.google.com/mai x126sm4620887wme.12 - gsmtp
May 12 12:10:10 ucs postfix/smtp[18123]: 8584463E83B: to=<gmailaccount@gmail.com>, relay=smtp.gmail.com[74.125.20smtp.gmail.com[74.125.206.108] said: 535-5.7.8 Username and Password not accepted. Learn more at?535 5.7.8  https://support.google.com/mai a73sm3279842wrc.58 - gsmtp)
May 12 12:10:09 ucs postfix/smtp[18155]: 011B263E83A: to=<gmailaccount@gmail.com>, relay=127.0.0.1[127.0.0.1]:100
May 12 12:10:09 ucs postfix/qmgr[18119]: 011B263E83A: removed
May 12 12:10:10 ucs postfix/smtp[18123]: 8584463E83B: SASL authentication failed; server smtp.gmail.com[74.125.206.109] said: 535-5.7.8 Username and Password not accepted. Learn more at?535 5.7.8  https://support.google.com/mai x126sm4620887wme.12 - gsmtp
May 12 12:10:10 ucs postfix/smtp[18123]: 8584463E83B: to=<gmailaccount@gmail.com>, relay=smtp.gmail.com[74.125.20smtp.gmail.com[74.125.206.108] said: 535-5.7.8 Username and Password not accepted. Learn more at?535 5.7.8  https://support.google.com/mai a73sm3279842wrc.58 - gsmtp)

Hier die postcon ausgabe:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
broken_sasl_auth_clients = yes
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/lib/postfix
disable_vrfy_command = no
inet_interfaces = all
inet_protocols = ipv4
local_header_rewrite_clients =
masquerade_domains = $mydomain
masquerade_exceptions = root
message_size_limit = 10240000
mydestination = $myhostname, localhost.$mydomain, localhost, maildomain1.de, maildomain2.de, gmail.com, googlemail.com
myhostname = ucs.intranet
mynetworks = 127.0.0.0/8
myorigin = ucs.intranet
relocated_maps = hash:/etc/postfix/relocated
sender_dependent_relayhost_maps = hash:/etc/postfix/sender_dependent
smtp_connection_cache_on_demand = no
smtp_helo_name = ucs.intranet
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_password
smtp_sasl_security_options = noanonymous
smtp_sender_dependent_authentication = yes
smtp_tls_exclude_ciphers = RC4, aNULL
smtp_tls_loglevel = 0
smtp_tls_mandatory_protocols = !SSLv2,!SSLv3
smtp_tls_protocols = !SSLv2,!SSLv3
smtp_tls_security_level = may
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_unlisted_recipient
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_starttls_timeout = 300s
smtpd_timeout = 300s
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/univention/ssl/ucs.intranet/cert.pem
smtpd_tls_dh1024_param_file = /etc/postfix/dh_2048.pem
smtpd_tls_dh512_param_file = /etc/postfix/dh_512.pem
smtpd_tls_eecdh_grade = strong
smtpd_tls_exclude_ciphers = RC4, aNULL
smtpd_tls_key_file = /etc/univention/ssl/ucs.intranet/private.key
smtpd_tls_loglevel = 0
smtpd_tls_mandatory_protocols = !SSLv2,!SSLv3
smtpd_tls_protocols =
smtpd_tls_received_header = no
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_preempt_cipherlist = yes
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport

Wenn ich von einer gmail zu gmail adresse sende geht es ohne Probleme nur mit der 1blu Domain will es nicht.
Freue mich über jeden hinweis....Gruss Theo
Loading...