Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Exim: how to set allow local_part_suffix properly?

Discussion in 'E-mail Discussion' started by Fral-IT, Oct 9, 2012.

  1. Fral-IT

    Fral-IT Member

    Joined:
    Jun 13, 2012
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Greetings,

    I'd like to request this feature be added in the configuration settings for Exim:
    allow local_part_suffix

    This enables users to add suffixes to their email addresses, like alice+shopping@domain.tld; bob+mailinglists@domain.tld.

    I manually added the following settings to various exim routers:
    Code:
    local_part_suffix = +*
    local_part_suffix_optional
    
    However, there are certain problems:
    1. The settings get overwritten often (I suspect by upcp)
    2. The setting work strangely for locally generated email

    So if I for example do the following on a shell prompt (as root):
    Code:
    echo "Testing email" | mail -s test myself+testing@mydomain.com
    then, while email is delivered, I also receive a message as root with subject "Mail delivery failed: returning message to sender".

    Additionally, the message's body contains the following text:

    Code:
    A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es) failed:
    
      myself+testing@mydomain.com
        No such person at this address"
    
    Strange thing is the double quotes character at the end of the last line. I traced this back to /etc/valiases/mydomain.com where the last line contains:

    Code:
    *: ":fail: No such person at this address" 
    
    So the double quotes added to the end is probably a bug.

    I want this all to "Just Work™" and I don't want to update exim.conf each time.

    Please advice... I'd be much obliged!
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Fral-IT

    Fral-IT Member

    Joined:
    Jun 13, 2012
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Great, thank you Tristan. :)
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice