Results 1 to 5 of 5

Thread: [SOLVED] Send mails from external account trough Zimbra

Threaded View

  1. #1
    Join Date
    Feb 2011
    Posts
    2
    Rep Power
    4

    Default [SOLVED] Send mails from external account trough Zimbra

    Hi all,

    I'm fairly new to Zimbra but managed to install the ZCS community edition 7.0.0_GA_3077 on Ubuntu 10.04 Server. Sending and receiving mails works just fine.

    My Problem:
    It is quite easy to get Zimbra to fetch mails from external mail accounts (via POP3 or IMAP) but in addition to that I would like to send mails "from" these external accounts.

    My Zimbra account: me@mydomain.com
    Some external account: me@somedomain.com

    I set up postfix as described in this post http://www.zimbra.com/forums/177359-post12.html
    By doing this postfix can send outgoing mails to different relay servers depending on the mail address they originate from. I verified this using telnet (localhost port 25) on the Zimbra server. Works great, meaning if I send a mail from me@somedomain.com postfix automatically relays it to smtp.somedomain.com instead of sending it to the default relay server of my domain hoster.

    But if I send a mail using the Zimbra Web-Client and choose an external account as the origin of my mail (e.g. me@somedomain.com) Zimbra substitutes the "from" address of my mail for the address of my Zimbra account (me@mydomain.com). This causes postfix NOT to send the mail to the "right" relay host. BTW I already checked "Allow sending email from any address" in the preferences.

    Is it somehow possible to prevent Zimbra from substituting the "from" so that postfix could route the mail to the right relay host? I'm very grateful for any pointers!

    Tanks in advance!
    Benjamin

    EDIT:
    Found solution here Bug 40731 – Wrong MAIL FROM in SMTP dialog when using a Persona

    SMTP behavior now switches based on the value of
    zimbraSmtpRestrictEnvelopeFrom. When it's set to TRUE, we force
    MAIL FROM in the SMTP session to be the address of the account.
    When it's set to FALSE, MAIL FROM is set to either the Sender or
    From header value in the outgoing message, in that order.
    zmprov mc default zimbraSmtpRestrictEnvelopeFrom FALSE
    Last edited by fleiben; 02-26-2011 at 06:04 AM. Reason: Found solution

Similar Threads

  1. Old Backup stay in TO_DELETE status and no clearing..
    By bartounet in forum Administrators
    Replies: 0
    Last Post: 10-05-2010, 08:40 AM
  2. Replies: 12
    Last Post: 02-25-2008, 07:28 PM
  3. Zimbra shutdowns every n hours.
    By Andrewb in forum Administrators
    Replies: 13
    Last Post: 08-14-2007, 09:55 AM
  4. Replies: 8
    Last Post: 02-27-2007, 04:10 AM
  5. huge log size
    By rmvg in forum Administrators
    Replies: 5
    Last Post: 01-02-2007, 10:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •