Results 1 to 4 of 4

Thread: Catch-all account RCPT TO field being re-written

  1. #1
    jupiter is offline New Member
    Join Date
    Jul 2006
    Posts
    4
    Rep Power
    8

    Default Catch-all account RCPT TO field being re-written

    I have submitted a bug on this, but wanted to ask the question in the forums in case someone has some insight on it.

    I had recently posted a question on the forums here:
    http://www.zimbra.com/forums/showthread.php?t=3680

    I followed the example and entered this command (I had already created the account):
    zmprov ma catchall@domain.tld zimbraMailCatchAllAddress @domain.tld

    I tested two emails addressed to:
    RCPT TO:<something@domain.tld>
    RCPT TO:"Some One"<something@domain.tld>

    Both emails get delivered to the account catchall@domain.tld as expected, but the To: header has been changed to [To: undisclosed-recipients:;] instead of showing the correct header field [To: <something@domain.tld>] or [To: Some One <something@domain.tld>].

    I can't tell if it's postfix or amavisd-new that is rewriting the header, most likely postfix. Is there a zimbraMailCatchAllCanonicalAddress option that needs to be added when creating a catchall account?
    Any guidance would be greatly appreciated.

  2. #2
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    Looks like a bug. Mind filing it in bugzilla?
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  3. #3
    anand is offline Zimbra Employee
    Join Date
    Sep 2005
    Posts
    274
    Rep Power
    9

    Default

    Please understand the difference between RCPT TO/MAIL FROM envelope addresses and To:, From:, Cc: message headers.

    undisclosed-recipients is added by postfix cleanup if there are no To/CC headers.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  4. #4
    jupiter is offline New Member
    Join Date
    Jul 2006
    Posts
    4
    Rep Power
    8

    Default

    Thanks KevinH, I had filed a bug in Zimbra's bugzilla - #9480.

    Thanks anand. My thoughts exactly - Postifx will re-write the To: message header when there is no To and is why I'm so confused... HOLD ON...

    your comment
    Please understand the difference between RCPT TO/MAIL FROM envelope addresses and To:, From:, Cc: message headers.
    made me take a look at what I was doing - sending mail via telnet below:
    telnet mail.domain.tld 25
    220 mail.domain.tld ESMTP Postfix
    HELO testmachine
    250 mail.domain.tld
    MAIL FROM:<test@test.com>
    250 Ok
    RCPT TO:<something@domain.tld>
    250 Ok
    DATA
    354 End data with <CR><LF>.<CR><LF>
    Subject: test catchall

    testing again

    .
    250 Ok: queued as 24F425A85B3
    quit
    221 Bye
    I realize now what I've done wrong, first I tested using a MUA like thunderbird and it worked (I should have done this from the start). Then I retested using the correct commands below which also worked.
    220 mail.domain.tld ESMTP Postfix
    HELO testmachine
    250 mail.domain.tld
    MAIL FROM:<test@test.com>
    250 Ok
    RCPT TO:<something@domain.tld>
    250 Ok
    DATA
    354 End data with <CR><LF>.<CR><LF>
    Date: 11 Aug 2006 11:45:00
    From: test@test.com
    To: something@domain.tld
    Subject: test catchall

    testing again

    .
    250 Ok: queued as D06E05A85B3
    quit
    221 Bye
    When seting up a mail server I'll always test some initial things via telnet first. I'll test virus patterns like Eicar-Test-Signature to test the anti-virus daemon, sometimes I'll cheat and not put the full message headers in for this test, not thinking. Thanks again for guiding me down the right path, I'll also post a reply in bugzilla to close the bug.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. One account not receving email
    By EnglishDude in forum Administrators
    Replies: 12
    Last Post: 04-30-2010, 06:19 AM
  2. Replies: 4
    Last Post: 12-21-2007, 06:43 AM
  3. Catch all account
    By jch2os in forum Administrators
    Replies: 2
    Last Post: 08-01-2007, 08:16 AM
  4. Catch All for a specific account
    By LaptopsForLess in forum Administrators
    Replies: 4
    Last Post: 01-26-2007, 12:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •