Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-18-2010, 07:43 AM
Active Member
 
Posts: 26
Default SMTP Auth works - but MAIL FROM is replaced

Hi guys.

I'm struggling now for more than 4 days / nights with following problem.
I changed my provider and now my IP is fixed, but from a dynamic IP Range.
Everybody knows what happens now. So I decided to change to SMTP Relay to my providers SMTP Server.

But: my provider seems not to accept the submitted user information from relay_password. Every send request is not successfull because "UNKNOWN USER" (which is for sure unknown - because my "local" Zimbra User)
Even when I entered the correct User in relay_password he doesn't accept.

So I decided to use gmail.com to forward all my emails.
Gmail needs TLS - ok no problem - configured and finally emails are sent through gmail. BUT: all emails are sent as "username@gmail.com" (entered in relay_password) and not from original MAIL FROM.

Do you have an idea how to solve my problem?

Best regards

Alexander
Reply With Quote
  #2 (permalink)  
Old 05-18-2010, 07:48 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by ASebestian View Post
But: my provider seems not to accept the submitted user information from relay_password. Every send request is not successfull because "UNKNOWN USER" (which is for sure unknown - because my "local" Zimbra User)
Even when I entered the correct User in relay_password he doesn't accept.
What error messages did you get when relaying through your ISP? I assume you used these settings to authenticate?

BTW, you should have started a new thread with this and not added it to one that's almost five years old. I'll move it to the correct forum.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 05-18-2010, 07:56 AM
Active Member
 
Posts: 26
Default

Hi Bill!

Yes I used exactly these settings.

I do get diffrent messages:
First of all the reason why I have to relay:

<******@inode.at>: host mx0.inode.at[213.46.255.2] said: 550 5.1.0 Dynamic
IP addresses are blocked. Please contact your Email Provider. Your IP was
95.90.***.*** (in reply to MAIL FROM command)
Reporting-MTA: dns; FQDN.DOMAIN.COM
X-Postfix-Queue-ID: 86F9929C91B
X-Postfix-Sender: rfc822; *****@****.com
Arrival-Date: Fri, 14 May 2010 15:08:04 +0200 (CEST)


When I send through the account of my ISP I do get the "sender unknown Message" even I used the correct settings of kabelmail.de in relay_password


<*****@me.com>: host smtp.kabelmail.de[194.25.41.13] said: 550 5.0.0
<*****@*****.biz>... Sender unknown (in reply to MAIL FROM command)
Reporting-MTA: dns; FQDN.DOMAIN.COM
X-Postfix-Queue-ID: 63C4929C91C
X-Postfix-Sender: rfc822; *****@****.biz
Arrival-Date: Mon, 17 May 2010 12:25:22 +0200 (CEST)



When I change the settings to relay through GMAIL:

<*****@me.com>: host smtp.gmail.com[74.125.39.109] said: 530 5.7.0 Must
issue a STARTTLS command first. 7sm25344209far.18 (in reply to MAIL FROM
command)
Reporting-MTA: dns; FQDN.DOMAIN.COM
X-Postfix-Queue-ID: 017C129C91C
X-Postfix-Sender: rfc822; ****@*****.biz
Arrival-Date: Mon, 17 May 2010 13:06:21 +0200 (CEST)

Then I enabled TLS and it works but all emails are sent with the gmail account in MAIL FROM.

I hope this is understandable.

BR

Alexander
Reply With Quote
  #4 (permalink)  
Old 05-19-2010, 05:14 AM
Active Member
 
Posts: 26
Default

Hi Bill!
Quote:
Originally Posted by phoenix View Post
BTW, you should have started a new thread with this and not added it to one that's almost five years old. I'll move it to the correct forum.
I didn't want to full the forum with thousands of questions. But thanks for moving.

Did you find time to have a short look on this?
It's still not working, and I tried another provider as well with the same result.

Looking forward to you're reply.

Alexander
Reply With Quote
  #5 (permalink)  
Old 05-19-2010, 05:45 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

In your example 2 above, what errors do you see in the log file when you try to send a message?
__________________
Regards


Bill
Reply With Quote
  #6 (permalink)  
Old 05-19-2010, 08:59 AM
Active Member
 
Posts: 26
Default

Hi!

Following entries are produced in my second attempt comes following entry in the log:

May 19 17:46:10 sasamail01 postfix/smtp[27994]: 5E5D429C3F1: to=<echo@univie.ac.at>, relay=127.0.0.1[127.0.0.1]:10024, delay=52, delays=0.93/0.01/4.4/47, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=24586-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 03E5229C3F2)
May 19 17:46:10 sasamail01 postfix/qmgr[27359]: 5E5D429C3F1: removed
May 19 17:46:10 sasamail01 amavis[24586]: (24586-01) extra modules loaded: /opt/zimbra/zimbramon/lib/x86_64-linux-gnu-thread-multi/auto/Net/SSLeay/autosplit.ix, /opt/zimbra/zimbramon/lib/x86_64-linux-gnu-thread-multi/auto/Net/SSLeay/randomize.al, IO/Socket/SSL.pm, Net/LDAP/Extension.pm, Net/SSLeay.pm
May 19 17:46:10 sasamail01 postfix/smtp[27402]: certificate verification failed for smtp.gmail.com[74.125.39.109]:25: untrusted issuer /C=US/O=Equifax/OU=Equifax Secure Certificate Authority
May 19 17:46:12 sasamail01 postfix/smtp[27402]: 03E5229C3F2: to=<echo@univie.ac.at>, relay=smtp.gmail.com[74.125.39.109]:25, delay=2.3, delays=0.04/0/1/1.2, dsn=2.0.0, status=sent (250 2.0.0 OK 1274283972 r25sm36536323fai.23)
May 19 17:46:12 sasamail01 postfix/qmgr[27359]: 03E5229C3F2: removed

another try with more details:

ay 19 18:04:25 sasamail01 postfix/smtpd[11923]: connect from localhost[127.0.0.1]
May 19 18:04:25 sasamail01 postfix/smtpd[11923]: 381E729C3F2: client=localhost[127.0.0.1]
May 19 18:04:25 sasamail01 postfix/cleanup[11817]: 381E729C3F2: message-id=<B759A551-CBA2-4DC4-9402-C6EC11F6792B@sebestian.com>
May 19 18:04:25 sasamail01 postfix/qmgr[27359]: 381E729C3F2: from=<*****@****.com>, size=999, nrcpt=1 (queue active)
May 19 18:04:25 sasamail01 amavis[24591]: (24591-01) FWD via SMTP: <*****@******.com> -> <*****@me.com>,BODY=7BIT 250 2.0.0 Ok, id=24591-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 381E729C3F2
May 19 18:04:25 sasamail01 amavis[24591]: (24591-01) Passed CLEAN, MYNETS LOCAL [10.0.1.1] [10.0.1.1] <*****@*****.com> -> <*****@me.com>, Message-ID: <B759A551-CBA2-4DC4-9402-C6EC11F6792B@*****.com>, mail_id: 9WBkv0-75JGj, Hits: 0.78, size: 562, queued_as: 381E729C3F2, 5078 ms
May 19 18:04:25 sasamail01 postfix/smtp[11836]: CFEC529C3F1: to=<****@me.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=6.5, delays=0.23/0.1/1.4/4.8, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=24591-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 381E729C3F2)
May 19 18:04:25 sasamail01 postfix/qmgr[27359]: CFEC529C3F1: removed
May 19 18:04:25 sasamail01 amavis[24591]: (24591-01) extra modules loaded: /opt/zimbra/zimbramon/lib/x86_64-linux-gnu-thread-multi/auto/Net/SSLeay/autosplit.ix, /opt/zimbra/zimbramon/lib/x86_64-linux-gnu-thread-multi/auto/Net/SSLeay/randomize.al, IO/Socket/SSL.pm, Net/LDAP/Extension.pm, Net/SSLeay.pm
May 19 18:04:25 sasamail01 postfix/smtp[11924]: certificate verification failed for smtp.gmail.com[74.125.39.109]:25: untrusted issuer /C=US/O=Equifax/OU=Equifax Secure Certificate Authority
May 19 18:04:27 sasamail01 postfix/smtp[11924]: 381E729C3F2: to=<******@me.com>, relay=smtp.gmail.com[74.125.39.109]:25, delay=2.1, delays=0.03/0.06/1.2/0.75, dsn=2.0.0, status=sent (250 2.0.0 OK 1274285067 2sm36620738fav.13)
May 19 18:04:27 sasamail01 postfix/qmgr[27359]: 381E729C3F2: removed
May 19 18:04:40 sasamail01 zmmailboxdmgr[12309]: status requested
May 19 18:04:40 sasamail01 zmmailboxdmgr[12309]: status OK
May 19 18:04:41 sasamail01 zmmailboxdmgr[12370]: status requested
May 19 18:04:41 sasamail01 zmmailboxdmgr[12370]: status OK



Any ideas?

Many thanks for you're help in advance!

Alexander

Last edited by ASebestian; 05-19-2010 at 09:07 AM..
Reply With Quote
  #7 (permalink)  
Old 05-19-2010, 09:24 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by ASebestian View Post
Hi!

Following entries are produced in my second attempt comes following entry in the log:

May 19 17:46:10 sasamail01 postfix/smtp[27994]: 5E5D429C3F1: to=<echo@univie.ac.at>, relay=127.0.0.1[127.0.0.1]:10024, delay=52, delays=0.93/0.01/4.4/47, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=24586-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 03E5229C3F2)
May 19 17:46:10 sasamail01 postfix/qmgr[27359]: 5E5D429C3F1: removed
May 19 17:46:10 sasamail01 amavis[24586]: (24586-01) extra modules loaded: /opt/zimbra/zimbramon/lib/x86_64-linux-gnu-thread-multi/auto/Net/SSLeay/autosplit.ix, /opt/zimbra/zimbramon/lib/x86_64-linux-gnu-thread-multi/auto/Net/SSLeay/randomize.al, IO/Socket/SSL.pm, Net/LDAP/Extension.pm, Net/SSLeay.pm
May 19 17:46:10 sasamail01 postfix/smtp[27402]: certificate verification failed for smtp.gmail.com[74.125.39.109]:25: untrusted issuer /C=US/O=Equifax/OU=Equifax Secure Certificate Authority
May 19 17:46:12 sasamail01 postfix/smtp[27402]: 03E5229C3F2: to=<echo@univie.ac.at>, relay=smtp.gmail.com[74.125.39.109]:25, delay=2.3, delays=0.04/0/1/1.2, dsn=2.0.0, status=sent (250 2.0.0 OK 1274283972 r25sm36536323fai.23)
May 19 17:46:12 sasamail01 postfix/qmgr[27359]: 03E5229C3F2: removed

another try with more details:

ay 19 18:04:25 sasamail01 postfix/smtpd[11923]: connect from localhost[127.0.0.1]
May 19 18:04:25 sasamail01 postfix/smtpd[11923]: 381E729C3F2: client=localhost[127.0.0.1]
May 19 18:04:25 sasamail01 postfix/cleanup[11817]: 381E729C3F2: message-id=<B759A551-CBA2-4DC4-9402-C6EC11F6792B@sebestian.com>
May 19 18:04:25 sasamail01 postfix/qmgr[27359]: 381E729C3F2: from=<*****@****.com>, size=999, nrcpt=1 (queue active)
May 19 18:04:25 sasamail01 amavis[24591]: (24591-01) FWD via SMTP: <*****@******.com> -> <*****@me.com>,BODY=7BIT 250 2.0.0 Ok, id=24591-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 381E729C3F2
May 19 18:04:25 sasamail01 amavis[24591]: (24591-01) Passed CLEAN, MYNETS LOCAL [10.0.1.1] [10.0.1.1] <*****@*****.com> -> <*****@me.com>, Message-ID: <B759A551-CBA2-4DC4-9402-C6EC11F6792B@*****.com>, mail_id: 9WBkv0-75JGj, Hits: 0.78, size: 562, queued_as: 381E729C3F2, 5078 ms
May 19 18:04:25 sasamail01 postfix/smtp[11836]: CFEC529C3F1: to=<****@me.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=6.5, delays=0.23/0.1/1.4/4.8, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=24591-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 381E729C3F2)
May 19 18:04:25 sasamail01 postfix/qmgr[27359]: CFEC529C3F1: removed
May 19 18:04:25 sasamail01 amavis[24591]: (24591-01) extra modules loaded: /opt/zimbra/zimbramon/lib/x86_64-linux-gnu-thread-multi/auto/Net/SSLeay/autosplit.ix, /opt/zimbra/zimbramon/lib/x86_64-linux-gnu-thread-multi/auto/Net/SSLeay/randomize.al, IO/Socket/SSL.pm, Net/LDAP/Extension.pm, Net/SSLeay.pm
May 19 18:04:25 sasamail01 postfix/smtp[11924]: certificate verification failed for smtp.gmail.com[74.125.39.109]:25: untrusted issuer /C=US/O=Equifax/OU=Equifax Secure Certificate Authority
May 19 18:04:27 sasamail01 postfix/smtp[11924]: 381E729C3F2: to=<******@me.com>, relay=smtp.gmail.com[74.125.39.109]:25, delay=2.1, delays=0.03/0.06/1.2/0.75, dsn=2.0.0, status=sent (250 2.0.0 OK 1274285067 2sm36620738fav.13)
May 19 18:04:27 sasamail01 postfix/qmgr[27359]: 381E729C3F2: removed
May 19 18:04:40 sasamail01 zmmailboxdmgr[12309]: status requested
May 19 18:04:40 sasamail01 zmmailboxdmgr[12309]: status OK
May 19 18:04:41 sasamail01 zmmailboxdmgr[12370]: status requested
May 19 18:04:41 sasamail01 zmmailboxdmgr[12370]: status OK
That entry seems to be for your gmail connection not the second one via your ISP.
__________________
Regards


Bill
Reply With Quote
  #8 (permalink)  
Old 05-19-2010, 09:42 AM
Active Member
 
Posts: 26
Default

Ok, sorry!
I missunderstood you!
Now with my provider setting:

May 19 18:38:18 sasamail01 postfix/smtpd[10281]: lost connection after RCPT from unknown[59.28.218.92]
May 19 18:38:18 sasamail01 postfix/smtpd[10281]: disconnect from unknown[59.28.218.92]
May 19 18:38:18 sasamail01 postfix/smtp[10511]: certificate verification failed for smtp.kabelmail.de[194.25.41.13]:25: untrusted issuer /C=ZA/ST=Western Cape/L=Cape Town/O=Thawte Consulting cc/OU=Certification Services Division/CN=Thawte Server CA/emailAddress=server-certs@thawte.com
May 19 18:38:19 sasamail01 amavis[24587]: (24587-02) ESMTP::10024 /opt/zimbra/data/amavisd/tmp/amavis-20100519T174614-24587: <mailrobot@xing.com> -> <****@****.biz> SIZE=5324 BODY=8BITMIME Received: from mail.****.com ([127.0.0.1]) by localhost (mail.*****.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP for <*****@*****.biz>; Wed, 19 May 2010 18:38:18 +0200 (CEST)
May 19 18:38:19 sasamail01 postfix/smtp[10511]: 7008729C91F: to=<echo@univie.ac.at>, relay=smtp.kabelmail.de[194.25.41.13]:25, delay=2, delays=0.06/0.02/1/0.91, dsn=5.0.0, status=bounced (host smtp.kabelmail.de[194.25.41.13] said: 550 5.0.0 <*****@*****.biz>... Sender unknown (in reply to MAIL FROM command))
May 19 18:38:19 sasamail01 postfix/cleanup[10222]: 8CB3C29C921: message-id=<20100519163819.8CB3C29C921@mail.*****.com>
May 19 18:38:19 sasamail01 postfix/qmgr[9794]: 8CB3C29C921: from=<>, size=3588, nrcpt=1 (queue active)
May 19 18:38:19 sasamail01 postfix/bounce[10544]: 7008729C91F: sender non-delivery notification: 8CB3C29C921
May 19 18:38:19 sasamail01 postfix/qmgr[9794]: 7008729C91F: removed
May 19 18:38:19 sasamail01 postfix/lmtp[10545]: 8CB3C29C921: to=<*****@*****.biz>, relay=mail.*****.com[10.0.1.15]:7025, delay=0.21, delays=0.04/0.01/0.02/0.14, dsn=2.1.5, status=sent (250 2.1.5 Delivery OK)
May 19 18:38:19 sasamail01 postfix/qmgr[9794]: 8CB3C29C921: removed

And in my INBOX I got:
The mail system

<echo@univie.ac.at>: host smtp.kabelmail.de[194.25.41.13] said: 550 5.0.0
<*****@*****.biz>... Sender unknown (in reply to MAIL FROM command)

I used exactly the same settings, like I did with gmail.com (relay_password) and so on.

BR

Alexander
Reply With Quote
  #9 (permalink)  
Old 05-19-2010, 11:56 PM
Active Member
 
Posts: 26
Default

Good Morning!

Did you find another problem, where I can look?

Best regards

Alexander
Reply With Quote
  #10 (permalink)  
Old 05-20-2010, 05:16 AM
Active Member
 
Posts: 26
Default

By the way:
I updated my Ubuntu 8.04. System and Zimbra to the latest release 6.0.6 GA

Email distribution still doesn't work. :-(

Here the log:

May 20 14:17:09 sasamail01 amavis[878]: (00878-01) Passed CLEAN, MYNETS LOCAL [10.0.1.15] [10.0.1.15] <****@****.biz> -> <echo@univie.ac.at>, Message-ID: <401978254.1.1274357809027.JavaMail.root@sasamail0 1>, mail_id: IjSvYRKNMsLd, Hits: -0.716, size: 3686, queued_as: 3F1C929C12C, 19099 ms
May 20 14:17:09 sasamail01 postfix/smtp[16977]: B408529C01A: to=<echo@univie.ac.at>, relay=127.0.0.1[127.0.0.1]:10024, delay=20, delays=0.19/0.1/0.7/19, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=00878-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 3F1C929C12C)
May 20 14:17:09 sasamail01 postfix/qmgr[4058]: B408529C01A: removed
May 20 14:17:09 sasamail01 amavis[878]: (00878-01) extra modules loaded: /opt/zimbra/zimbramon/lib/x86_64-linux-gnu-thread-multi/auto/Net/SSLeay/autosplit.ix, /opt/zimbra/zimbramon/lib/x86_64-linux-gnu-thread-multi/auto/Net/SSLeay/randomize.al, IO/Socket/SSL.pm, Net/LDAP/Extension.pm, Net/SSLeay.pm
May 20 14:17:09 sasamail01 postfix/smtp[17161]: certificate verification failed for smtp.kabelmail.de[194.25.41.13]:25: untrusted issuer /C=ZA/ST=Western Cape/L=Cape Town/O=Thawte Consulting cc/OU=Certification Services Division/CN=Thawte Server CA/emailAddress=server-certs@thawte.com
May 20 14:17:10 sasamail01 postfix/smtp[17161]: 3F1C929C12C: to=<echo@univie.ac.at>, relay=smtp.kabelmail.de[194.25.41.13]:25, delay=1.6, delays=0.08/0.12/0.71/0.72, dsn=5.0.0, status=bounced (host smtp.kabelmail.de[194.25.41.13] said: 550 5.0.0 <****@*****.biz>... Sender unknown (in reply to MAIL FROM command))
May 20 14:17:11 sasamail01 postfix/cleanup[16976]: F2D3A29C12E: message-id=<20100520121710.F2D3A29C12E@mail.vdi-guru.com>
May 20 14:17:11 sasamail01 postfix/qmgr[4058]: F2D3A29C12E: from=<>, size=6161, nrcpt=1 (queue active)
May 20 14:17:11 sasamail01 postfix/bounce[17162]: 3F1C929C12C: sender non-delivery notification: F2D3A29C12E
May 20 14:17:11 sasamail01 postfix/qmgr[4058]: 3F1C929C12C: removed
May 20 14:17:11 sasamail01 postfix/lmtp[16814]: F2D3A29C12E: to=<****@****.biz>, relay=mail.****.com[10.0.1.15]:7025, delay=0.26, delays=0.04/0/0/0.22, dsn=2.1.5, status=sent (250 2.1.5 Delivery OK)
May 20 14:17:11 sasamail01 postfix/qmgr[4058]: F2D3A29C12E: removed


Do you think it's because of the certificate problem? (untrusted issuer)


Would appreciate you're help.

BR

Alexander
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.