Postfix - SPAMHAUS bouncing external mail

Discussion in 'Installation/Configuration' started by galleon34, Apr 1, 2010.

  1. galleon34

    galleon34 New Member

    Afternoon,
    im a bit of a newbie to this, Ive im the process of setting up my own mails server, running on Ubuntu Server. with Postfix and Dovecot.

    I have set up a couple of users accounts and can send emails round my domain (internal), but im unable to send to an external account, although emails from an external account are getting delivered to my test user account.

    the error message im receiving upon looking at /var/log/mail.log is as follows

    Apr 1 15:13:30 galleon34 postfix/smtp[11323]: 3F24D2235: to=<[email protected]>, relay=mail.dns21.co.uk[194.154.164.60]:25, delay=11, delays=0.2/0.06/0.27/10, dsn=5.0.0, status=bounced (host mail.dns21.co.uk[194.154.164.60] said: 550-ATLAS(2504): 90.204.127.47 is blacklisted and not authenticated. Please 550-request delisting via the following link: 550 http://www.spamhaus.org/query/bl?ip=90.204.127.47. (in reply to MAIL FROM command))
    Apr 1 15:13:30 galleon34 postfix/cleanup[11321]: E642B2242: message-id=<[email protected]>
    Apr 1 15:13:31 galleon34 postfix/qmgr[11312]: E642B2242: from=<>, size=3129, nrcpt=1 (queue active)
    Apr 1 15:13:31 galleon34 postfix/bounce[11333]: 3F24D2235: sender non-delivery notification: E642B2242
    Apr 1 15:13:31 galleon34 postfix/qmgr[11312]: 3F24D2235: removed


    the main jist of the error what i can gather is that spamhaus is bouncing my mail, but ive been on the spamhaus site and my IP is not list on any blacklists.

    As a bit of a newbie to Linux, if anybody has come across this error / or knows how i can sort this out. That would be much appreciated.


    Many Thanks
    Chris
     
  2. dclardy

    dclardy Member

    I did a quick check at this site: http://www.blacklistalert.org./

    You are blacklisted on several different lists.

    Result for 90.204.127.47 in LHSBL Blocklists (Alphabetic order):
    Code:
    0spam.fusionzero.com OK
    aspews.ext.sorbs.net OK
    bl.spamcop.net OK
    bl.spamcannibal.org OK
    blackholes.five-ten-sg.com OK
    blackholes.intersil.net OK
    bogons.cymru.com OK
    cbl.abuseat.org OK
    combined.njabl.org OK
    db.wpbl.info OK
    dnsbl.ahbl.org OK
    dnsbl.inps.de OK
    dnsbl.sorbs.net Listed! See why
    dnsbl.rangers.eu.org OK
    dnsbl-0.uceprotect.net OK
    dnsbl-1.uceprotect.net OK
    dnsbl-2.uceprotect.net Listed! See why
    dnsbl-3.uceprotect.net Listed! See why
    dyna.spamrats.com OK
    ips.backscatterer.org OK
    ix.dnsbl.manitu.net OK
    l2.apews.org Listed! See why
    no-more-funn.moensted.dk OK
    noptr.spamrats.com OK
    psbl.surriel.com OK
    rbl.efnet.org OK
    spam.spamrats.com OK
    spamguard.leadmon.net OK
    t1.dnsbl.net.au OK
    tor.dnsbl.sectoor.de OK
    ubl.unsubscore.com OK
    virbl.dnsbl.bit.nl OK
    zen.spamhaus.org OK

    Code:
    Entry matching your Query: E-313295
    90.192.0.0/11CASE: C-1010
    Dynamic IP space, generic DNS/rDNS, no PTR
    Direct connections to MX not permitted, you
    need to use your ISP servers or smarthostSpecial Reason:
    Dynamic IP, generic DNS, missing rDNS/PTR not permitted for direct email connection. You must use correctly configured [with registered working abuse contact] static IP / ISP mail servers / smarthost serviceHistory:
    Entry created 2007-12-22 
    You are going to have to use the SMTP servers of your provider to route the mail. It will still show up from you though. It is not a big deal really.
     
  3. BorderAmigos

    BorderAmigos New Member

  4. galleon34

    galleon34 New Member

    Thanks so far

    thanks dclardy & BorderAmigos for the advice given so far, I've managed to set up postfix to relay though my ISP, but it might seem a silly question. Since ive not re-configured my main.cf to relay though my ISP, the emails are getting received as being sent from my ISP's email account and not my Linux mail server im trying to get up and running.

    how can i stop this, thus still keeping the email as being sent from my mailserver rather that its being relayed of my ISP SMTP servers.

    Many Thanks, in advance again
    Chris
     

Share This Page