Koozali.org: home of the SME Server

E-mail addresses with hyphens

Offline DWells

  • *
  • 8
  • +0/-0
E-mail addresses with hyphens
« on: January 16, 2007, 10:40:07 PM »
I was using TMDA with SME 6.5 and over time had created some e-mail addresses similar to:

test-keyword-bike12345@mydomain.com

I tore the old server down, installed new drives, and did a fresh install of SME 7.1.

Shortly after I set it up I received an e-mail to test-keyword-bike12345@mydomain.com which surprised me as I would have expected it to be bounced.  The user 'test' existed, but TMDA was not installed.

Since then I've done some additional testing. If I have the user 'bob' then mail to:

bob@mydomain.com goes through -- which I expect.
bob-smith@mydomain.com goes through -- I would not expect.
bob-anythingelsehere@mydomain.com goes through -- again, unexpected.

bobsmith@mydomain.com bounces as expected.
bob_smith@mydomain.com bounces as expected.

The hyphen seems to signal an end to the string up to the @.

Is this happening to anybody else?

exocet

E-mail addresses with hyphens
« Reply #1 on: January 17, 2007, 08:55:45 AM »
So you are running a normal sme 7.1 without TMDA, but spamassassin to filter emails?

And which email settings do you use?

I use the multi-drop setting and "return/reject unknown email to sender enabled, and it indeed seems to work like a catchall...
Quote

spamassassin=service
    DNSAvailable=yes
    MessageRetentionTime=90
    OkLanguages=all
    OkLocales=all
    RejectLevel=0
    ReportSafe=0
    Sensitivity=low
    SkipRBLChecks=0
    SortSpam=enabled
    Subject=[SPAM]
    SubjectTag=disabled
    TagLevel=5
    UseBayes=0
    status=enabled

qmail=service
    ConcurrencyLocal=5
    ConcurrencyRemote=3
    DoubleBounceTo=devnull
    MaxMessageSize=15000000
    status=enabled

qpsmtpd=service
    Bcc=disabled
    BccMode=cc
    BccUser=maillog
    DNSBL=disabled
    LogLevel=8
    MaxScannerSize=25000000
    RBLList=sbl-xbl.spamhaus.org,whois.rfc-ignorant.org,dnsbl.njabl.org,relays.ordb.org
    RHSBL=disabled
    RequireResolvableFromHost=no
    SBLList=dsn.rfc-ignorant.org
    access=public
    status=enabled



so yes, i have the same problem, see bug 2310:
http://bugs.contribs.org/show_bug.cgi?id=2310

To re-enable spamassassin i changed localhost to 127.0.0.2 eg bug 2223.

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
E-mail addresses with hyphens
« Reply #2 on: January 17, 2007, 11:49:49 AM »
It's a qmail feature

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
E-mail addresses with hyphens
« Reply #3 on: January 17, 2007, 01:12:32 PM »
Quote from: "snoble"
It's a qmail feature


I'm sure I read that somewhere.

Similar to google's gmail + after the name feature

bob+something@gmail.com  = bob@gmail.com

Handy for forum signups to see who passed your email on.
Regards,
William

IF I give advise.. It's only if it was me....