1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Does RV042 Router support SMTP?

Discussion in 'Cisco Small Business Routers and VPN Solutions' started by Ant718, Mar 9, 2007.

  1. Ant718

    Ant718 LI Guru Member

    I tried searching, couldn't get a defintive answer. Basically our Exchange email server is in another location so our email guys tell us for it work we need "authentication" to occur. It is similar to setting up a pop3 client, as long as we the option of "outgoing server requires authentication". Is there an area for smtp server settings in the control panel?
     
  2. venom51

    venom51 LI Guru Member

    If you are asking if the RV042 email alerts support sending SMTPAUTH to the mail server when sending and a logging alert I do not think so. That does not mean your IT guys can't set a relay exception for the RV042 to use.
     
  3. Toxic

    Toxic Administrator Staff Member

    Authentication for a pop3 account is done within your Email Client on your workstation, not the router.
     
  4. Ant718

    Ant718 LI Guru Member

    Ok I tried googling for "relay exception" but i'm having a hard time figuring out what you mean. Can you elaborate just a bit so I can paraphrase the suggestion to the IT email guys?

    I'm also not sure what you mean by SMTPAUTH, but in RV042 Web Management > Log > it asks if I want to enable Email Alert.

    I can check that option but all it asks for is mail server (i'll put in our email server ip#) and Send Email To:, but that will not send so I'm guessing I need a SMTP authorization option (right?).

    Thanks in advance for your help.
     
  5. aviegas

    aviegas Network Guru Member

    Let me see if I understand correctly:

    You want to configure the RV042 to send it's logs using SMTP. But the SMTP relay that you were provided by your IT guys requires some form of authentication.

    If that is the case, then the answer is "NO, RV042 and it's siblings RV016 and RV082 do not support SMTP authentication".

    Why? The reason is simple: it is NEVER required. If the STMP relay/server to be configured in the "LOG" tab (Mail Server) is properly defined, then you will NOT NEED TO USE SMTP AUTHENTICATION.

    Let me explain:

    SMTP transactions allow relaying based on several factors. Although Exchange is not the most "standard" SMTP server it will behave predictably in this scenario, like most server software. Typically relay considers:
    - SMTP mail envelope "FROM" Address
    - SMTP mail envelope "TO" Address

    The key here is the SMTP envelope "TO" address. If it matches a local address it will be accepted independently of other factors. If a SMTP server does not work this way, you would never receive mail from users that cannot authenticate to your SMTP server. STMP authentication is usually required to originate mail from a mail user agent (or mail client).

    How do I pick the correct SMTP server that will always accept the email without requiring authentication:

    Use "nslookup" command, available under Windows, linux and MacOS/FreeBSD.

    Example: suppose logs are to be send to "joedoe@example.com"

    C:\>nslookup
    Defaut Server: ns1.example.com
    Address: 10.10.10.10

    > set type=MX
    >example.com
    Server: ns1.example.com
    Address: 10.10.10.10

    example.com
    primary name server = dns1.icann.org
    responsible mail addr = hostmaster.icann.org
    serial = 2005111500
    refresh = 7200 (2 hours)
    retry = 3600 (1 hour)
    expire = 1209600 (14 days)
    default TTL = 86400 (1 day)
    >exit

    This means that mail for "joedoe@example.com" is handled by the mail server at "hostmaster.icann.org".

    So in the LOG tab, set "hostmaster.icann.org" as the mail server and joedoe@example.com as the recipient. It will be delivered no matter what rules are used to control relay (not counting some spam detection tool, but that's another story).

    THIS IS JUST AN EXAMPLE! You actual mail server and mail addressee will be different.

    Hope this helps.
     
  6. eric_stewart

    eric_stewart Super Moderator Staff Member Member

    That is an excellent response! Couldn't have said it better myself!!

    /Eric
     
  7. Ant718

    Ant718 LI Guru Member

    Here is the situation. I am on a domain that is *seperate* from our exchange server. So when I type nslookup I get (for example) lan.mydomain.com and that translates to (for example) 192.1.168.1.1

    Our exchange server is hosted by a 3rd party, on a completely seperate server in another state. We have a static ip address for that server (for example) 150.29.10.5

    How can I get the firewall sitting on lan.mydomain.com to send emails to 150.29.10.5 ?

    I hope this clears it up somewhat. :(
     
  8. russwmc

    russwmc Network Guru Member

    The firewall doesn't sent the emails, unless it is sending log information as described earlier. It sounds like you are retrieving email from the Exchange server on PCs behind the firewall but need to send out SMTP email through the local ISP. To do this get the local ISPs SMTP server information and set up your PC clients to point outbound email to that server. Alternatively you can have the Exchange email server configured to allow relaying as described in an earlier post.

    This does not sound like a firewall configuration issue but an email client configuration issue.
     
  9. aviegas

    aviegas Network Guru Member

    For the RV042 to send the logs it does not matter where the server is located. It talks plain SMTP, so it does not care if the target server is on the same LAN or WAN segment or on the other side of the world.
    If the "nslookup" for the host that handles the mail for addressee domain (the MX for the domain or the "mail exchanger" - not to be confused with Micro$oft Exchange) is 150.29.10.5, then configure the following on the "LOG" tab:

    MailServer: 150.29.10.5
    Send Email to: youruserid@yourmaildomain

    Here is a "complete" example:

    RV0xx is firewalling the lan.example.com network. The users on this network have all their mails handled by another service provider located on the opposite side of the country. The mail domain is mail.example.com, meaning that all emails are like joedoe@mail.example.com

    All RV0xx logs are to be sent do lanmaster@mail.example.com. nslookup reveals that the MX for mail.example.com is at ip address, 4.4.4.4.

    So the settings for the LOG page are:

    Mail Server: 4.4.4.4
    Send Email to: lanmaster@mail.exemple.com

    Hope this clears things out.

    Unless your needs are different, and you are talking about users inside the firewalled area sending mail to the mailserver, something that the RV0xx can handle out of the box (??)
     
  10. Ant718

    Ant718 LI Guru Member

    Ok, you are correct. It works just fine. The problem was that I had to put another ip address for the mail server (why I don't know but that's what our Exchange host gave me and it works).

    Thanks.
     
  11. aviegas

    aviegas Network Guru Member

    I'm glad you sorted it out!
     

Share This Page