road warrior - relay access denied

Discussion in 'Server Operation' started by HoUsECAt, Aug 21, 2008.

  1. HoUsECAt

    HoUsECAt New Member

    Hi There,

    I have a postfix server running according to the perfect setup using ubuntu..

    I want a road warrior to be able to send an e-mail from a dynamic ip adress in the world using SMTP AUTH... The error i'm getting is 'relay access denied' ... i already disabled mynetworks but that doesn't do the trick.. the error message is:

    Code:
    Aug 21 12:28:51 localhost nss_wins[14298]: NOQUEUE: reject: RCPT from unknown[91.141.192.166]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<[91.141.192.166]>
    this is how my main.cf looks like in the restriction area:

    Code:
    smtpd_recipient_restrictions =
        reject_invalid_hostname,
        reject_non_fqdn_sender,
        reject_non_fqdn_recipient,
        reject_unknown_sender_domain,
        reject_unknown_recipient_domain,
        reject_unauth_destination,
        permit_sasl_authenticated,
            reject_rbl_client zen.spamhaus.org,
            reject_rbl_client list.dsbl.org,
            reject_rbl_client cbl.abuseat.org,
            reject_rbl_client dul.dnsbl.sorbs.net,
            reject_rhsbl_client blackhole.securitysage.com,
            reject_rhsbl_sender blackhole.securitysage.com,
            reject_rbl_client blackholes.easynet.nl,
            reject_rbl_client cbl.abuseat.org,
            reject_rbl_client bl.spamcop.net,
            reject_rbl_client dnsbl.njabl.org,
        permit
    
    any ideas?
     
  2. HoUsECAt

    HoUsECAt New Member

    solved.. smtpd_recipient_restrictions now looks like;

    Code:
    smtpd_recipient_restrictions =
        reject_invalid_hostname,
        reject_non_fqdn_sender,
        reject_non_fqdn_recipient,
        reject_unknown_sender_domain,
        reject_unknown_recipient_domain,
        permit_sasl_authenticated,
        permit_mynetworks,
        reject_unauth_destination,
            reject_rbl_client zen.spamhaus.org,
            reject_rbl_client list.dsbl.org,
            reject_rbl_client cbl.abuseat.org,
            reject_rbl_client dul.dnsbl.sorbs.net,
            reject_rhsbl_client blackhole.securitysage.com,
            reject_rhsbl_sender blackhole.securitysage.com,
            reject_rbl_client blackholes.easynet.nl,
            reject_rbl_client cbl.abuseat.org,
            reject_rbl_client bl.spamcop.net,
            reject_rbl_client dnsbl.njabl.org,
        permit
    
     

Share This Page