This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SMTP outgoing mail

hi @ all,
i'm using ASL v4 and i'd like to configure smtp outgoing connection.
I need to send mail from internal mailserver to any using DSL connection and i need to accept incoming mail only for mydomain.com

rules setting:
1) INTERNAL_NET  Any(services)  any(destination) allow
2) MAIL_SRV_IP     smtp(service)  any(destination) allow
3) any                    smtp(service) MAIL_SRV_IP(dest) allow

SMTP proxy enable allow incoming for mydomain.com

Now, this is my problem:
I'm able to get incoming mail from xxx@yahoo.com to myaccount@mydomain.com

..but  i can't  reply!
why ???

i get this msg error from my mailserver ( lotus domino ):  
NO msg trasferred to xxxx@yahoo.com  via smtp: server not responding

I'm using  USER AUTHENTICATION

does my_mail_server need to auth to ASL ?
or open outgoing DNS rule ?
or sometng else ??

regards 
 [:S]
  


This thread was automatically locked due to age.
  • Hi!

    I don't know whay you chose to use such complicated way to send emails.

    My sudgestion is:
    Use SMTP proxy, where you redirect mails for your domain to your lotus server, and tell your lotus server to send all mails to yout ASL box.

    Then you can delete all rules you have made before and ASL will take care, that you get your mails and that you can send them!

    BR, Matjaz

    P.S. This is also written in RTFM 
  • Sounds like Lotus is configured wrong to forward mail for outbound to the firewall's address; you shouldn't need the Any SMTP rule (proxies usually take care of the rules for you). Here's a test you can do from an internal workstation:

    telnet ip address of Astaro 25
    HELO 
    your domain (for example, mydomain.com)
    MAIL FROM: [email="test@mydomain.com"]test@[/b]mydomain.com[/email]
    RCPT TO: someone@whover.com (use a friend's Email address or a webmail account you might have)
    DATA
    Subject: 
    Test
    Testing 1 2 3...
    .
    QUIT


    This is a primitive interface and has no command-line editing (usually), so if you make a typo, close the telnet session and start over till you get it right. For each command, you should get acknowledgement messages, like OK. This is really a trivial example of how the SMTP protocol passes off a message. If you don't get the message after composing it, then it's a firewall configuration issue; otherwise you will have to look at your Lotus Notes, and maybe someone else here can help you with that (or a Lotus Notes forum might be of help...).
        
  • i've another firewall (isa server for testing) and if i change the default gateway of my mailserver i was able to send and reply .
    so , i suppose that lotusnotes work !!!

    I've tried to telnet my ASL on port 25 and this what i get:


    250 MY_PUB_IP ESMTP READY
    Hello MYDOMAIN.COM [MY_PUB_IP]
    MAIL FROM: TEST@MYDOMAIN.COM
    250 OK
    RCPT TO: HELL_BD@YAHOO.COM
    550 relay not permitted

    ?????

      
  • Hi!

    Remember sending mails is only allowed if you allow them explicitelly.
    So you will need to list your Lotus server under SMTP proxy/ Alowed networks!

    BR, Matjaz 
  • Straight Man:" Say, Hi to the people, Jack!"
    Comedian: "Hi to the people, Jack!"

    The mydomain.com must be replaced by whatever your domain is that you entered on the Astaro Settings/SMTP proxy pages. The firewall is doing its job quite well here: it's saying "I'm not going to be used to send mail for mydomain.com! That's something a spammer would do..." That's why I had mydomain.com in italics, meaning "not literally..."

    Iideally, everything that needs to access the Internet should have a gateway set to Astaro (if not directly, then indirectly by pointing to a router that in turn points to Astaro...)
          
  • mydomain.com  ( eg. moremusic.com ) is what i've wrote under smtp proxy setting in smtp routes table.


    my mailserver was already in allowed network.

    any other suggestion ????

      
  • From what you said above, the Lotus Notes can send mail out now, no?

    As for the test, you're now doing

    HELO moremusic.com
    MAIL FROM: test@moremusic.com

    right? And you're telnetting from the LAN or DMZ, right? Then it should work...
       
  • .....
    1) i'm telnetting from LAN
    2) when i try to test smtp relay ASL say:

    ..RCPT TO: hell_bd@yahoo.com
    550 RELAY NOT PERMITTED

    and i can't receive any mail ...

    so what goes wrong ? what i forget ?
      
  • The RCPT TO won't matter;
    it doesn't like who you say you are on the MAIL FROM;
    either you entered it wrong on Astaro or you are not typing the same domain name as what is listed on the Firewall settings...