Results 1 to 4 of 4

Thread: [case 49977] Localhost / 127.0.0.1 SMTP Auth

  1. #1
    Member
    Join Date
    Feb 2009
    Posts
    6

    Default [case 49977] Localhost / 127.0.0.1 SMTP Auth

    I've got a pretty bad problem that comes up every now and then -- as it appears, at least by default, anything from 127.0.0.1 can relay email without authenticating or in otherwords an open relay. And in some cases (mainly Perl), the mail (e.g. spam) is untraceable because the 'Track Origin' option in tweak settings seems to only work with some PHP scripts. Here's an example header of a message that was sent using badware uploaded via a client's compromised FTP logon:

    Received: from localhost ([127.0.0.1] helo=User)
    by xxxxxx.xxxxxxx.com with smtp (Exim 4.69)
    (envelope-from <segreteria@i-csr.it>)
    id 1QdT9L-0006zC-Mz; Sun, 03 Jul 2011 16:20:16 -0400
    Reply-To: <wilsongoh2011@dvaar.com>
    From: "GOH"<segreteria@i-csr.it>

    And the Exim headers are useless, as it indicates the Exim UID/GID and no source script:

    X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
    X-AntiAbuse: Primary Hostname - xxxxxx.xxxxxxx.com
    X-AntiAbuse: Original Domain - bobhatton.com
    X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
    X-AntiAbuse: Sender Address Domain - i-csr.it
    X-Source:
    X-Source-Args:
    X-Source-Dir:

    I will mention, that ALL domains shown in the above headers are spoofed... none of them exist on this server whatsoever.

    We can block localhost connections (CSF or in WHM) but then sending mail in webmail fails.

    So my question, is there a way to require authentication from 127.0.0.1 connections? To further that, can it be done without breaking webmail's ability to send mail?
    Last edited by fs-randy; 07-05-2011 at 08:42 AM.

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default re: [case 49977] Localhost / 127.0.0.1 SMTP Auth

    There is a thread where this was already discussed:

    http://forums.cpanel.net/f43/open-re...tml#post777302
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,307
    cPanel/WHM Access Level

    Root Administrator

    Default Re: [case 49977] Localhost / 127.0.0.1 SMTP Auth

    This has been resolved with case 49977, details are in the changelog. This resolution is propagating with version 11.31.1.2 and you can find if this version has propagated to your update tier yet by visiting Downloads - cPanel Inc.

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,307
    cPanel/WHM Access Level

    Root Administrator

    Default Re: [case 49977] Localhost / 127.0.0.1 SMTP Auth

    This functionality has propagated to all update tiers so I am now closing and archiving this thread.

Similar Threads

  1. MySql Fails -- once per day. CHANGE Localhost to 127.0.0.1?
    By sOliver in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 08-08-2011, 07:48 PM
  2. Replies: 5
    Last Post: 09-23-2008, 04:30 PM
  3. Mysql can't connect to 'localhost' but '127.0.0.1' works fine?
    By Miss Jacky in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 03-13-2006, 04:25 PM
  4. localhost, 127.0.0.1, server IP, host name: which is best?
    By sysnop in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 10-01-2005, 03:50 AM
  5. localhost[127.0.0.1]) - FTP no transfer timeout,
    By trout21 in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 09-17-2004, 02:59 AM

Tags for this Thread