The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

exim -- adding local_part_suffix

Discussion in 'General Discussion' started by amusive, Aug 15, 2003.

  1. amusive

    amusive Member

    Joined:
    Jul 7, 2003
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I'm trying to tweak exim so that any email address can optionally add a +something and still go to the correct address (Sendmail has this functionality). IE, say you have one email, jim@mydomain.com.

    jim+stringa@mydomain.com would automatically go to jim@mydomain.com (no matter what stringa is).

    I found that local_part_suffix and local_part_suffix_optional can do this... but I have no idea where to add them in without breaking exim :)

    Any ideas or suggestions?

    Thanks!

    cPanel.net Support Ticket Number:
     
  2. sandip

    sandip Member

    Joined:
    Aug 13, 2003
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Delhi
    Warning! :)
    1. Haven't tried this. This comes from the heavy reading on exim that i have been doing in the last few days.
    2. Backups are your friend ;)

    You got to add the lines:
    ---
    local_part_suffix = +*
    local_part_suffix_optional
    ---

    ... to the localuser router(comes just before the transports definitions). But this won't let your .forward files to work correctly. To let them work you got to add them to the userforward router.

    Psst. Do tell me if I need to read up exim a bit more. :D

    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:
     
  3. amusive

    amusive Member

    Joined:
    Jul 7, 2003
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    I added this to most of the routers (just localuser didn't work) and it appears to function. HOPEFULLY ;)

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page