Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: [SOLVED] How do I send email to fictional subdomain?

  1. #1
    Join Date
    May 2010
    Posts
    171
    Rep Power
    5

    Default [SOLVED] How do I send email to fictional subdomain?

    I'm testing Hylafax to add faxing to my network. I have this installed on a separate machine from Zimbra. Basically, when a send an email to @fax.mydomain.com I want this to be routed to my Hylafax machine.

    At the moment I get a mail delivery system error in Zimbra saying that @fax.mydomain.com cannot be found. It went out to my smtp relay ISP, but I wanted it to stay local.

    I tried adding a host record on my DNS server for fax.mydomain.com, but it doesn't work.

    I guess I need to do something else, but I'm not sure what to do.

    Any help is appreciated.

    Thanks

  2. #2
    Join Date
    Jan 2008
    Posts
    658
    Rep Power
    8

    Default

    I'm not familiar with Hylafax, but if all you need is for Zimbra to send emails to it, all you should need is an MX record for the domain fax.mydomain.com pointed at your Hylafax box.

  3. #3
    Join Date
    May 2010
    Posts
    171
    Rep Power
    5

    Default

    Quote Originally Posted by y@w View Post
    I'm not familiar with Hylafax, but if all you need is for Zimbra to send emails to it, all you should need is an MX record for the domain fax.mydomain.com pointed at your Hylafax box.
    Hi y@w

    I have tried adding an MX and A record to my DNS server, but I keep getting mail delivery errors. Zimbra keeps sending out the email to my ISP relay rather than delivering locally.

    Any other suggestions?

    Thanks

  4. #4
    Join Date
    May 2010
    Posts
    171
    Rep Power
    5

    Default

    I tried adding a second SMTP relay which is the FQDN for the fax server, i.e. faxserver@mydomain.com but that didn't seem to work.

    What do I have to do to get Zimbra to send an email @fax.mydomain.com locally rather than via the ISP's SMTP relay?

    Do I need to use transport tables http://wiki.zimbra.com/index.php?tit...ernal_servers?

  5. #5
    Join Date
    Jan 2008
    Posts
    658
    Rep Power
    8

    Default

    Ah, if you're using your ISP as a relay, it's going to try to send through that. What's probably the easiest solution then is to create the fax.mydomain.com domain on your Zimbra box and set the zimbraMailTransport for that domain:

    Code:
    zmprov cd fax.mydomain.com zimbraMailTransport hylafax.mydomain.com
    Make sure that whatever you put in as "hylafax.mydomain.com" is resolvable by the Zimbra server to the IP for your Hylafax box.

  6. #6
    Join Date
    May 2010
    Posts
    171
    Rep Power
    5

    Default

    Quote Originally Posted by y@w View Post
    Ah, if you're using your ISP as a relay, it's going to try to send through that. What's probably the easiest solution then is to create the fax.mydomain.com domain on your Zimbra box and set the zimbraMailTransport for that domain:

    Code:
    zmprov cd fax.mydomain.com zimbraMailTransport hylafax.mydomain.com
    Make sure that whatever you put in as "hylafax.mydomain.com" is resolvable by the Zimbra server to the IP for your Hylafax box.
    Hi again

    Would this not happen if I was using Zimbra's SMTP?

    Is this equivalent to creating a new domain in the GUI and adding SMTP relay pointing to the hylafax server?

    What about the transport tables thing that I found while googling for a solution?

    Thanks

  7. #7
    Join Date
    Jan 2008
    Posts
    658
    Rep Power
    8

    Default

    No, it's not the same. When the domain exists locally, Zimbra will try to deliver to whatever host is in the zimbraMailTransport property (can also be done per-user).

  8. #8
    Join Date
    May 2010
    Posts
    171
    Rep Power
    5

    Default

    y@w I removed my ISP's SMTP relay and added an A record for fax.mydomain.com on my DNS server and it works perfectly.

    HOWEVER, when I add the SMTP relay back again this obviously doesn't work as it goes through the relay. I tried the command you showed above:

    Code:
    zmprov cd fax.mydomain zimbraMailTransport faxserver.mydomain.com
    I added an A record for faxserver.mydomain.com on my DNS server, but now rather than getting mail delivery error I get "mail transport unavailable" when I look in the queue.

  9. #9
    Join Date
    May 2010
    Posts
    171
    Rep Power
    5

    Default

    I just tried with transport table and it worked!

    Out of curiosity is the transport table method the preferred way of "bypassing" the ISP's SMTP relay or should I do something else? I understand from the wiki that I'll need to redo this every time I update Zimbra, so if there is a better way please let me know.

    Thanks

  10. #10
    Join Date
    Jan 2008
    Posts
    658
    Rep Power
    8

    Default

    Heh, whoops. I told you the wrong zimbraMailTransport property. Should've been smtp:hylafax.mydomain.com:25. You can modify with:

    Code:
    zmprov md fax.mydomain.com zimbraMailTransport smtp:hylafax.mydomain.com:25
    Editing the transport table will certainly work, but doing it via zmprov will be upgrade-safe.

Similar Threads

  1. [SOLVED] vCenter cannot use Zimbra to send email
    By bhwong in forum Administrators
    Replies: 2
    Last Post: 11-02-2010, 08:44 PM
  2. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  3. upgrade to 4.0.3 antispam does'nt work
    By lucanannipieri in forum Administrators
    Replies: 14
    Last Post: 11-07-2006, 02:56 AM
  4. cannot send email to sina/yahoo
    By koolokamba in forum Administrators
    Replies: 2
    Last Post: 06-20-2006, 08:03 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
  •