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

problem with configuration smtp relay

i have problems with the smtp proxy configuration, because send me that i am a open smtp relay, this is my configuration:

Hostname (mx): mail.mydomain.com
Postmaster address: administrator@mydomain.com
Max messagesize: unlimited

Incoming mail

mydomain.com             internalmail


Outgoing Mail

Allow networks      Internal_network
                              private-network-ipsec-lan

Use smarthost:  nothing
tls transaction encryption:  nothing


Global Whitelist

Trusted hosts/networks :    any

trusted domains:     nothing

Anti-spam /content control : nothing



Help me please ¡¡¡ 


This thread was automatically locked due to age.
Parents
  • With only your Internal network being permitted to send outgoing mail (no "Any" listed), you are technically not an open relay. However, your ISP may be upset because your port 25 (SMTP) shows as being live on your external interface.

    Turning on TLS Transaction Encryption and password access to your SMTP proxy is a good idea. It gives you additional security. Create a user on the ASL box called "mail", with rights to use just the SMTP proxy, and with an 8 character alphanumeric password, and instruct your users to enter this ID and PW in their outgoing mail server settings.  
  • This is the log of smtp relay:

    2004-Mar 25 00:01:01 (none) exim[8750]: 2004-03-25 00:01:01 1AzLsU-0003k7-HK SMTP error from remote mailer after initial connection: host mx2.mail.tw.yahoo.com [202.1.238.251]: 421 VS1-IP Excessive unknown recipients - possible Open Relay http://help.yahoo.com/help/us/mail/spam/spam-18.html (#4.1.8)
    2004-Mar 25 00:01:02 (none) exim[8750]: 2004-03-25 00:01:02 1AzLsU-0003k7-HK SMTP error from remote mailer after initial connection: host mx1.mail.tw.yahoo.com [202.1.238.248]: 421 VS1-IP Excessive unknown recipients - possible Open Relay http://help.yahoo.com/help/us/mail/spam/spam-18.html (#4.1.8)
    2004-Mar 25 00:01:03 (none) exim[8750]: 2004-03-25 00:01:03 1AzLsU-0003k7-HK SMTP error from remote mailer after initial connection: host mta.mail.tpe.yahoo.com [202.1.234.244]: 421 VS1-IP Excessive unknown recipients - possible Open Relay http://help.yahoo.com/help/us/mail/spam/spam-18.html (#4.1.8)
    2004-Mar 25 00:01:25 (none) exim[8750]: 2004-03-25 00:01:25 1AzLsU-0003k7-HK SMTP error from remote mailer after initial connection: host mta.mail.tpe.yahoo.com [202.1.238.78]: 421 VS1-IP Excessive unknown recipients - possible Open Relay http://help.yahoo.com/help/us/mail/spam/spam-18.html (#4.1.8)
    2004-Mar 25 00:01:26 (none) exim[8750]: 2004-03-25 00:01:26 1AzLsU-0003k7-HK SMTP error from remote mailer after initial connection: host mta.mail.tpe.yahoo.com [202.1.238.113]: 421 VS1-IP Excessive unknown recipients - possible Open Relay http://help.yahoo.com/help/us/mail/spam/spam-18.html (#4.1.8)
    2004-Mar 25 00:01:26 (none) exim[8749]: 2004-03-25 00:01:26 1AzLsU-0003k7-HK == yazi_cuzzi@yahoo.com.tw R=dnslookup T=remote_smtp defer (0): SMTP error from remote mailer after initial connection: host mta.mail.tpe.yahoo.com [202.1.238.113]: 421 VS1-IP Excessive unknown recipients - possible Open Relay http://help.yahoo.com/help/us/mail/spam/spam-18.html (#4.1.8)
    2004-Mar 25 00:01:26 (none) exim[8749]: 2004-03-25 00:01:26 1AzLsU-0003k7-HK == yazm@yahoo.com.tw R=dnslookup T=remote_smtp defer (0): SMTP error from remote mailer after initial connection: host mta.mail.tpe.yahoo.com [202.1.238.113]: 421 VS1-IP Excessive unknown recipients - possible Open Relay http://help.yahoo.com/help/us/mail/spam/spam-18.html (#4.1.8)
    2004-Mar 25 00:01:26 (none) exim[8749]: 2004-03-25 00:01:26 1AzLsU-0003k7-HK == yazn0718@yahoo.com.tw R=dnslookup T=remote_smtp defer (0): SMTP error from remote mailer after initial connection: host mta.mail.tpe.yahoo.com [202.1.238.113]: 421 VS1-IP Excessive unknown recipients - possible Open Relay http://help.yahoo.com/help/us/mail/spam/spam-18.html (#4.1.8)
    2004-Mar 25 00:01:26 (none) exim[8933]: 2004-03-25 00:01:26 1B6HNG-0002K5-M8 <> R=1AzLsU-0003k7-HK U=exim P=local S=2046
    2004-Mar 25 00:01:32 (none) exim[7206]: 2004-03-25 00:01:32 1B08po-00041Z-Kw SMTP timeout while connected to mx1.mail.yahoo.com [64.157.4.79] after initial connection: Connection timed out
     
  • From the log, it looks like your mail server is relaying (the proxy, if configured the way you did, does not). What mail server are you using? (version too)
    Are you sure that it is configured not to relay?

    Can you change the allowed networks to just the mail server? (mask=255.255.255.255) That way possibly infected workstations can't send SPAM out.

    You are not permitting outbound SMTP from your LAN, right?
  • Good Idea. 

    The server is Mdaemon 6.8.5 and this option is marked:

    This server not retransmit mail for external domains

    I think that the problem are the clients infected.

    I hate netskay  
     
Reply Children
No Data