Mail forwarding doesn't work if "Mail Forward" option is used

Discussion in 'ISPConfig 3 Priority Support' started by Turgut Kalfaoglu, Mar 10, 2025.

  1. Turgut Kalfaoglu

    Turgut Kalfaoglu Member HowtoForge Supporter

    Hello. I'm using centos 9+Postfix+Dovecot.
    If a user manually uses the left-column "Mail Forward" option, no mail goes out. Not to the mailbox that receives it, nor to the mail that it suppose to forward to.
    However, if those forwards are Deleted and then the:
    Send copy to
    Copy during delivery

    options are selected in that mailbox's properties, it then works fine.
    The trouble is, the migration tool favored the Mail Forward option and I have lots of Mail Forward's already in place. What could cause the Mail Forward not to work at all?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The Migration Tool used the right option, which is forwarding during delivery in postfix. I have not seen this option fail on any system yet, so I can't tell you why it does not work on your server. Maybe something in CentOS 9 changed, I use only Debian and Ubuntu. You should take a look at the maillog file to see which error you get.
     
  3. Turgut Kalfaoglu

    Turgut Kalfaoglu Member HowtoForge Supporter

    I am seeing things like this:
    Mar 10 10:04:26 latte postfix/cleanup[36057]: warning: 40F361000167D1: unreasonable virtual_alias_maps map nesting for [email protected] -- message not accepted, try again later

    Yes, they created loops :)
     
  4. pyte

    pyte Well-Known Member HowtoForge Supporter

    What is the hostname and fqdn of the mailserver? Is it "xyz.com"?
     
  5. Turgut Kalfaoglu

    Turgut Kalfaoglu Member HowtoForge Supporter

    Oh, I always try to anonymize those things, it was siparis (at) pemsan.com. the server is latte.kalfaoglu.net
    they made forward loops at the old plesk server, and those were carried to the new server with the migration.
    like info@them -> someone@them
    (....)
    someone@them -> info@them
     
  6. pyte

    pyte Well-Known Member HowtoForge Supporter

    Ok so it was a unintentional misconfiguration on your side then i see. Thought there still was an issue and asked for the hostname because it is possible to set it to "domain.tld" and use domain.tld within aliasmaps which will cause issues like this.
     
    Turgut Kalfaoglu likes this.
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Here is a more in-depth explanation (from ChatGPT) on the issue:

     
    Turgut Kalfaoglu likes this.
  8. Turgut Kalfaoglu

    Turgut Kalfaoglu Member HowtoForge Supporter

    Many thanks everyone for your help!
     
    till likes this.

Share This Page