Hi all,
I've got the primary account/email which is user1@mydomain.com
Then I've added an external email like user2@my2domain.com
When I'm sending from the external account, it always appear on the From field the primary email user1@mydomain instead of the account I'm actually sending.
Is there a workaround on this?
thanks
From: address on an external account shows always the primary email and not the external?
- jorgedlcruz
- Zimbra Alumni
- Posts: 2782
- Joined: Thu May 22, 2014 4:47 pm
From: address on an external account shows always the primary email and not the external?
Hi mrdebian,
How did you add the account? Using the persona feature, or IMAP? Let us know.
Best regards
How did you add the account? Using the persona feature, or IMAP? Let us know.
Best regards
From: address on an external account shows always the primary email and not the external?
I also have that issue. Then I did the following solved that but in my case on reply it works but when new mail send is good but it does not get to the receiver.
In the Zimbra Admin side
Under Class of service - default (COS) - Preferences - Sending mail
Save to sent - checked
Allow sending email from any address -checked
In the Zimbra Mail side
Prefecences - Accounts
Added an External Account
Named it Personal Gmail
Input the ff:
email: user@gmail.com
Email Server: imap.gmail.com
Use an encrypted connection (SSL) when accessing this server - checked
Settings for Sent Messages
From: Choose what appears in the "From" field of email messages - user@gmail.com
After that the IMAP works fine and the mail reply is good. The new composed mail sends but the receiver does not receive the mail. Below is the log output...
Note that I replaced the "receiver@email.com" to hide my test email.
Jul 8 16:47:50 mailserver postfix/smtpd[21103]: connect from localhost[127.0.0.1]
Jul 8 16:47:50 mailserver postfix/smtpd[21103]: NOQUEUE: filter: RCPT from localhost[127.0.0.1]: <ramir@mailserver.net>: Sender address triggers FILTER smtp-amavis:[127.0.0.1]:10026; from=<ramir@mailserver.net> to=<receiver@email.com> proto=ESMTP helo=<mailserver.net>
Jul 8 16:47:50 mailserver postfix/smtpd[21103]: BAF8741CB3: client=localhost[127.0.0.1]
Jul 8 16:47:50 mailserver postfix/cleanup[21106]: BAF8741CB3: message-id=<1904966353.16111.1436345269433.JavaMail.zimbra@mailserver.net>
Jul 8 16:47:50 mailserver postfix/smtpd[21103]: disconnect from localhost[127.0.0.1]
Jul 8 16:47:50 mailserver postfix/qmgr[16930]: BAF8741CB3: from=<ramir@mailserver.net>, size=30720, nrcpt=1 (queue active)
Jul 8 16:47:50 mailserver amavis[2735]: (02735-06) ESMTP:[127.0.0.1]:10026 /opt/zimbra/data/amavisd/tmp/amavis-20150708T093952-02735-Hp3aIFvR: <ramir@mailserver.net> -> <receiver@email.com> Received: from mailserver.net ([127.0.0.1]) by localhost (mailserver.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP for <receiver@email.com>; Wed, 8 Jul 2015 16:47:50 +0800 (PHT)
Jul 8 16:47:51 mailserver amavis[2735]: (02735-06) Checking: e1lrib7j4E2D ORIGINATING/MYNETS [127.0.0.1] <ramir@mailserver.net> -> <receiver@email.com>
Jul 8 16:47:51 mailserver postfix/dkimmilter/smtpd[21110]: connect from localhost[127.0.0.1]
Jul 8 16:47:51 mailserver postfix/dkimmilter/smtpd[21110]: 75FA841977: client=localhost[127.0.0.1]
Jul 8 16:47:51 mailserver postfix/cleanup[21106]: 75FA841977: message-id=<1904966353.16111.1436345269433.JavaMail.zimbra@mailserver.net>
Jul 8 16:47:51 mailserver opendkim[3139]: 75FA841977: no signing table match for 'codezfix@gmail.com'
Jul 8 16:47:51 mailserver postfix/qmgr[16930]: 75FA841977: from=<ramir@mailserver.net>, size=31201, nrcpt=1 (queue active)
Jul 8 16:47:51 mailserver amavis[2735]: (02735-06) e1lrib7j4E2D FWD from <ramir@mailserver.net> -> <receiver@email.com>, BODY=7BIT 250 2.0.0 from MTA(smtp:[127.0.0.1]:10030): 250 2.0.0 Ok: queued as 75FA841977
Jul 8 16:47:51 mailserver postfix/dkimmilter/smtpd[21110]: disconnect from localhost[127.0.0.1]
Jul 8 16:47:51 mailserver amavis[2742]: (02742-06) ESMTP:[127.0.0.1]:10032 /opt/zimbra/data/amavisd/tmp/amavis-20150708T093952-02742-0r6doO8B: <ramir@mailserver.net> -> <receiver@email.com> SIZE=31201 Received: from mailserver.net ([127.0.0.1]) by localhost (mailserver.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP for <receiver@email.com>; Wed, 8 Jul 2015 16:47:51 +0800 (PHT)
Jul 8 16:47:51 mailserver amavis[2735]: (02735-06) Passed CLEAN {RelayedOutbound}, ORIGINATING/MYNETS LOCAL [127.0.0.1]:58544 <ramir@mailserver.net> -> <receiver@email.com>, Queue-ID: BAF8741CB3, Message-ID: <1904966353.16111.1436345269433.JavaMail.zimbra@mailserver.net>, mail_id: e1lrib7j4E2D, Hits: -, size: 30720, queued_as: 75FA841977, 642 ms
Jul 8 16:47:51 mailserver postfix/smtp[21107]: BAF8741CB3: to=<receiver@email.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.89, delays=0.15/0.05/0.05/0.65, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10030): 250 2.0.0 Ok: queued as 75FA841977)
Jul 8 16:47:51 mailserver postfix/qmgr[16930]: BAF8741CB3: removed
Jul 8 16:47:51 mailserver amavis[2742]: (02742-06) Checking: LmLMQEynFHKR ORIGINATING_POST/MYNETS [127.0.0.1] <ramir@mailserver.net> -> <receiver@email.com>
Jul 8 16:47:56 mailserver zmconfigd[972]: Fetching All configs
Jul 8 16:47:56 mailserver zmconfigd[972]: All configs fetched in 0.09 seconds
Jul 8 16:47:57 mailserver postfix/amavisd/smtpd[21368]: connect from localhost[127.0.0.1]
Jul 8 16:47:57 mailserver postfix/amavisd/smtpd[21368]: C463C41C67: client=localhost[127.0.0.1]
Jul 8 16:47:57 mailserver postfix/cleanup[21106]: C463C41C67: message-id=<1904966353.16111.1436345269433.JavaMail.zimbra@mailserver.net>
Jul 8 16:47:57 mailserver postfix/qmgr[16930]: C463C41C67: from=<ramir@mailserver.net>, size=31566, nrcpt=1 (queue active)
Jul 8 16:47:57 mailserver amavis[2742]: (02742-06) LmLMQEynFHKR FWD from <ramir@mailserver.net> -> <receiver@email.com>, BODY=7BIT 250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as C463C41C67
Jul 8 16:47:57 mailserver postfix/amavisd/smtpd[21368]: disconnect from localhost[127.0.0.1]
Jul 8 16:47:57 mailserver amavis[2742]: (02742-06) Passed CLEAN {RelayedOutbound}, ORIGINATING_POST/MYNETS LOCAL [127.0.0.1]:47447 <ramir@mailserver.net> -> <receiver@email.com>, Queue-ID: 75FA841977, Message-ID: <1904966353.16111.1436345269433.JavaMail.zimbra@mailserver.net>, mail_id: LmLMQEynFHKR, Hits: -1.994, size: 31167, queued_as: C463C41C67, 6243 ms
Jul 8 16:47:57 mailserver postfix/smtp[21112]: 75FA841977: to=<receiver@email.com>, relay=127.0.0.1[127.0.0.1]:10032, delay=6.4, delays=0.1/0.02/0.01/6.2, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as C463C41C67)
Jul 8 16:47:57 mailserver postfix/qmgr[16930]: 75FA841977: removed
Jul 8 16:47:58 mailserver zmconfigd[972]: Watchdog: service antivirus status is OK.
Jul 8 16:47:58 mailserver zmconfigd[972]: All rewrite threads completed in 0.00 sec
Jul 8 16:47:58 mailserver zmconfigd[972]: All restarts completed in 0.00 sec
On the Sent Items the FROM is correct and the TO is also correct. This is a test server I am still working on before the big upgrade soon. I liked the WebUI so I wished for this to work. Also can you give me a hint on how to keep the local mail address internally only cause we use the gmail as the external mail for that. But I wish to use your webmail for all of this.
In the Zimbra Admin side
Under Class of service - default (COS) - Preferences - Sending mail
Save to sent - checked
Allow sending email from any address -checked
In the Zimbra Mail side
Prefecences - Accounts
Added an External Account
Named it Personal Gmail
Input the ff:
email: user@gmail.com
Email Server: imap.gmail.com
Use an encrypted connection (SSL) when accessing this server - checked
Settings for Sent Messages
From: Choose what appears in the "From" field of email messages - user@gmail.com
After that the IMAP works fine and the mail reply is good. The new composed mail sends but the receiver does not receive the mail. Below is the log output...
Note that I replaced the "receiver@email.com" to hide my test email.
Jul 8 16:47:50 mailserver postfix/smtpd[21103]: connect from localhost[127.0.0.1]
Jul 8 16:47:50 mailserver postfix/smtpd[21103]: NOQUEUE: filter: RCPT from localhost[127.0.0.1]: <ramir@mailserver.net>: Sender address triggers FILTER smtp-amavis:[127.0.0.1]:10026; from=<ramir@mailserver.net> to=<receiver@email.com> proto=ESMTP helo=<mailserver.net>
Jul 8 16:47:50 mailserver postfix/smtpd[21103]: BAF8741CB3: client=localhost[127.0.0.1]
Jul 8 16:47:50 mailserver postfix/cleanup[21106]: BAF8741CB3: message-id=<1904966353.16111.1436345269433.JavaMail.zimbra@mailserver.net>
Jul 8 16:47:50 mailserver postfix/smtpd[21103]: disconnect from localhost[127.0.0.1]
Jul 8 16:47:50 mailserver postfix/qmgr[16930]: BAF8741CB3: from=<ramir@mailserver.net>, size=30720, nrcpt=1 (queue active)
Jul 8 16:47:50 mailserver amavis[2735]: (02735-06) ESMTP:[127.0.0.1]:10026 /opt/zimbra/data/amavisd/tmp/amavis-20150708T093952-02735-Hp3aIFvR: <ramir@mailserver.net> -> <receiver@email.com> Received: from mailserver.net ([127.0.0.1]) by localhost (mailserver.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP for <receiver@email.com>; Wed, 8 Jul 2015 16:47:50 +0800 (PHT)
Jul 8 16:47:51 mailserver amavis[2735]: (02735-06) Checking: e1lrib7j4E2D ORIGINATING/MYNETS [127.0.0.1] <ramir@mailserver.net> -> <receiver@email.com>
Jul 8 16:47:51 mailserver postfix/dkimmilter/smtpd[21110]: connect from localhost[127.0.0.1]
Jul 8 16:47:51 mailserver postfix/dkimmilter/smtpd[21110]: 75FA841977: client=localhost[127.0.0.1]
Jul 8 16:47:51 mailserver postfix/cleanup[21106]: 75FA841977: message-id=<1904966353.16111.1436345269433.JavaMail.zimbra@mailserver.net>
Jul 8 16:47:51 mailserver opendkim[3139]: 75FA841977: no signing table match for 'codezfix@gmail.com'
Jul 8 16:47:51 mailserver postfix/qmgr[16930]: 75FA841977: from=<ramir@mailserver.net>, size=31201, nrcpt=1 (queue active)
Jul 8 16:47:51 mailserver amavis[2735]: (02735-06) e1lrib7j4E2D FWD from <ramir@mailserver.net> -> <receiver@email.com>, BODY=7BIT 250 2.0.0 from MTA(smtp:[127.0.0.1]:10030): 250 2.0.0 Ok: queued as 75FA841977
Jul 8 16:47:51 mailserver postfix/dkimmilter/smtpd[21110]: disconnect from localhost[127.0.0.1]
Jul 8 16:47:51 mailserver amavis[2742]: (02742-06) ESMTP:[127.0.0.1]:10032 /opt/zimbra/data/amavisd/tmp/amavis-20150708T093952-02742-0r6doO8B: <ramir@mailserver.net> -> <receiver@email.com> SIZE=31201 Received: from mailserver.net ([127.0.0.1]) by localhost (mailserver.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP for <receiver@email.com>; Wed, 8 Jul 2015 16:47:51 +0800 (PHT)
Jul 8 16:47:51 mailserver amavis[2735]: (02735-06) Passed CLEAN {RelayedOutbound}, ORIGINATING/MYNETS LOCAL [127.0.0.1]:58544 <ramir@mailserver.net> -> <receiver@email.com>, Queue-ID: BAF8741CB3, Message-ID: <1904966353.16111.1436345269433.JavaMail.zimbra@mailserver.net>, mail_id: e1lrib7j4E2D, Hits: -, size: 30720, queued_as: 75FA841977, 642 ms
Jul 8 16:47:51 mailserver postfix/smtp[21107]: BAF8741CB3: to=<receiver@email.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.89, delays=0.15/0.05/0.05/0.65, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10030): 250 2.0.0 Ok: queued as 75FA841977)
Jul 8 16:47:51 mailserver postfix/qmgr[16930]: BAF8741CB3: removed
Jul 8 16:47:51 mailserver amavis[2742]: (02742-06) Checking: LmLMQEynFHKR ORIGINATING_POST/MYNETS [127.0.0.1] <ramir@mailserver.net> -> <receiver@email.com>
Jul 8 16:47:56 mailserver zmconfigd[972]: Fetching All configs
Jul 8 16:47:56 mailserver zmconfigd[972]: All configs fetched in 0.09 seconds
Jul 8 16:47:57 mailserver postfix/amavisd/smtpd[21368]: connect from localhost[127.0.0.1]
Jul 8 16:47:57 mailserver postfix/amavisd/smtpd[21368]: C463C41C67: client=localhost[127.0.0.1]
Jul 8 16:47:57 mailserver postfix/cleanup[21106]: C463C41C67: message-id=<1904966353.16111.1436345269433.JavaMail.zimbra@mailserver.net>
Jul 8 16:47:57 mailserver postfix/qmgr[16930]: C463C41C67: from=<ramir@mailserver.net>, size=31566, nrcpt=1 (queue active)
Jul 8 16:47:57 mailserver amavis[2742]: (02742-06) LmLMQEynFHKR FWD from <ramir@mailserver.net> -> <receiver@email.com>, BODY=7BIT 250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as C463C41C67
Jul 8 16:47:57 mailserver postfix/amavisd/smtpd[21368]: disconnect from localhost[127.0.0.1]
Jul 8 16:47:57 mailserver amavis[2742]: (02742-06) Passed CLEAN {RelayedOutbound}, ORIGINATING_POST/MYNETS LOCAL [127.0.0.1]:47447 <ramir@mailserver.net> -> <receiver@email.com>, Queue-ID: 75FA841977, Message-ID: <1904966353.16111.1436345269433.JavaMail.zimbra@mailserver.net>, mail_id: LmLMQEynFHKR, Hits: -1.994, size: 31167, queued_as: C463C41C67, 6243 ms
Jul 8 16:47:57 mailserver postfix/smtp[21112]: 75FA841977: to=<receiver@email.com>, relay=127.0.0.1[127.0.0.1]:10032, delay=6.4, delays=0.1/0.02/0.01/6.2, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as C463C41C67)
Jul 8 16:47:57 mailserver postfix/qmgr[16930]: 75FA841977: removed
Jul 8 16:47:58 mailserver zmconfigd[972]: Watchdog: service antivirus status is OK.
Jul 8 16:47:58 mailserver zmconfigd[972]: All rewrite threads completed in 0.00 sec
Jul 8 16:47:58 mailserver zmconfigd[972]: All restarts completed in 0.00 sec
On the Sent Items the FROM is correct and the TO is also correct. This is a test server I am still working on before the big upgrade soon. I liked the WebUI so I wished for this to work. Also can you give me a hint on how to keep the local mail address internally only cause we use the gmail as the external mail for that. But I wish to use your webmail for all of this.