Re: [exim] Why does exim add @my.domain when using smtp auth

Top Pagina
Delete this message
Reply to this message
Auteur: Daniel Müller
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] Why does exim add @my.domain when using smtp auth
SOLVED:

For everyone
Who is running in the same issue. This did the trick

dovecot_login:
  driver = dovecot
  public_name = LOGIN
    server_socket = /var/run/dovecot/auth-client
  ####server_set_id = $auth1      ##<--is creating the scrap @my.domain, comment it out!!
###neu
 server_mail_auth_condition = false  ##<--don not keep it in mind
###




 plain:
     driver = dovecot
     public_name = PLAIN
     server_socket = /var/run/dovecot/auth-client
 ####    server_set_id = $auth1
####neu
server_mail_auth_condition = false
####



EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen
Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller@???
Internet: www.tropenklinik.de



-----Ursprüngliche Nachricht-----
Von: Exim-users [mailto:exim-users-bounces+mueller=tropenklinik.de@exim.org] Im Auftrag von Daniel Müller
Gesendet: Freitag, 18. September 2015 09:29
An: exim-users@???
Betreff: [exim] Why does exim add @my.domain when using smtp auth

Dear all,

I am just testing smtp auth with exim an found that exim just add when authentificated, ex:

2015-09-18 09:14:14 1Zcps6-0005AK-L1 <= "tester@??? H=edvabteilung2.tplk.loc (edvabteilung2) [192.168.135.39] P=esmtpsa
X=UNKNOWN:AES256-GCM-SHA384:256 A=dovecot_login:tester@??? S=765

This will run an error when trying to mail outside:

2015-09-18 09:09:47 1Zcpnn-00057T-4Z ** danielmueller9@??? R=dnslookup
T=remote_smtp: SMTP error from remote mail server after MAIL FROM:<"tester@???> SIZE=3909: host mx01.emig.gmx.net
[212.227.17.5]: 550-Requested action not taken: mailbox unavailable\n550 invalid DNS MX or A/AAAA resource record
2015-09-18 09:09:47 1Zcpnn-00057W-Jr <= <> R=1Zcpnn-00057T-4Z U=exim P=local
S=3804
2015-09-18 09:09:47 1Zcpnn-00057T-4Z Completed
2015-09-18 09:09:47 1Zcpnn-00057W-Jr =>
/var/mail/maildata/administrator@???/ (administrator@???) <postmaster@???> R=dovecot_user T=dovecot_virtual_delivery
2015-09-18 09:09:47 1Zcpnn-00057W-Jr == tester@???@tplk.loc <"tester@???> R=localuser T=dovecot_virtual_delivery defer
(2): No such file or directory: failed to chdir to /var/mail/maildata/tester@???@tplk.loc/


If i change to not authentificate it is doing the right way:
2015-09-18 09:15:35 1ZcptP-0005Ag-66 <= tester@??? H=edvabteilung2.tplk.loc (edvabteilung2) [192.168.135.39] P=smtps
X=UNKNOWN:AES256-GCM-SHA384:256 S=724
2015-09-18 09:15:35 1ZcptP-0005Ag-66 => /var/mail/maildata/tester@???/
<tester@???> R=dovecot_user T=dovecot_virtual_delivery
2015-09-18 09:15:35 1ZcptP-0005Ag-66 Completed

How can I prevent exim from adding "my.domain" ex: @tplk.loc.

Greetings Daniel


EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen
Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller@???
Internet: www.tropenklinik.de





--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/