Previous 1 2 Next 20 Replies Latest reply: Apr 14, 2015 6:49 AM by Ivan Robertovich Go to original post
  • levindenboer1975 Level 1 (0 points)

    Thank's,

     

    Does anybody allready test it yet?

  • Mark23 Level 3 (975 points)

    d

  • Mark23 Level 3 (975 points)

    Fixed it!

     

    In terminal:

    sudo nano /Library/Server/Mail/Config/postfix/virtual_users

     

    There you should add:

     

    @example.com destinaionusername

     

    Press ctrl + x to exit, Y to save and hit return, confirming the name.

     

    Then enter:

    sudo postmap /Library/Server/Mail/Config/postfix/virtual_users

    sudo postfix reload

     

    Tested

  • Mark23 Level 3 (975 points)

    I don't use this solution though as I don't have a need for a catch-all address...

  • Mark23 Level 3 (975 points)

    Following up:

     

    I now do want to catch all email as it has become my lives work to report spam.

     

    So I figured out an easier way to catch all email using simply the serveradmin command-line tool:

     

    sudo serveradmin settings mail:imap:lmtp_luser_relay_enabled = yes

    sudo serveradmin settings mail:imap:lmtp_luser_relay = catchallusername

    sudo postfix reload

  • Ivan Robertovich Level 1 (30 points)

    Mark23 wrote:

     

    So I figured out an easier way to catch all email using simply the serveradmin command-line tool:

     

    sudo serveradmin settings mail:imap:lmtp_luser_relay_enabled = yes

    sudo serveradmin settings mail:imap:lmtp_luser_relay = catchallusername

    sudo postfix reload

     

    this would be a good solution for a single domain, but how do you handle several domains, with each having a different catch-all user?

     

    the postfix aliases in the virtual_users is easy to see how to do that, but the local user looks like it would all from any domain to the luser specified.

Previous 1 2 Next