Advanced Email Routing widlcard

Discussion in 'Installation/Configuration' started by diablo666, May 8, 2014.

  1. diablo666

    diablo666 Active Member HowtoForge Supporter

    I'm trying to setup a wildcard in advanced routing mail, to forward all incomcing traffic to a second server.

    I've tried something like this

    Code:
    mail-dmz-frontend.domain.tld	*	smtp:[172.16.100.200]	5
    But not working.

    Is it possible to do?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    This should be possible, but your mailserver may not contain any email domains or mailboxes as they will conflict with this transport and you might have to add the domains that shall be forwraded as relay domains.
     
  3. diablo666

    diablo666 Active Member HowtoForge Supporter

    sure, i don't need email account on that server, it only do a filter node that deliver mail to another server.

    How may i configure the filter node this way?
     
  4. diablo666

    diablo666 Active Member HowtoForge Supporter

    p.s.: i've only added Relay recipients to let the forward work...
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    I wont use a wildcard forward. This will cause backsctter spam and your server will get banned by other mailservers as it will accpet emails for non existing domains and addresses.

    Better add a forward for existing domains only and then add only the email addresses that exist on the target server as relay recipients.
     
  6. diablo666

    diablo666 Active Member HowtoForge Supporter

    Ok, i thought infact only to add the wildcard for the forward and the relay recipinet will filter the the non existing domain.

    In this way i only had to add new domains in in relay reipient and not also in Advanced mail routing ;)
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    taht should be ok as well.
     

Share This Page