Configuration for Forms and Gmail MX

Discussion in 'ISPConfig 3 Priority Support' started by MaxT, Feb 27, 2020.

  1. MaxT

    MaxT Member HowtoForge Supporter

    Hi !

    Why it doesn't' work? :
    a is configured to use the Gmail MX in its DNS registers. (@ 3600 MX 1 ....and etc). And it works.

    The website includes a Contact Form for the communications. The form is configured so the adresss <[email protected]> will send the Form contents to <[email protected]>.

    Inside ISPC panel, the address <[email protected]> is an alias of <[email protected]>.

    Problem is the message is not sent to Gmail servers but it stays inside /var/vmail/

    This is the postfix mail.log:

    Feb 27 13:50:51 host postfix/pickup[4509]: B233244237C: uid=5016 from=<[email protected]>
    Feb 27 13:50:51 host postfix/cleanup[10087]: B233244237C: message-id=<[email protected]>
    Feb 27 13:50:51 host postfix/qmgr[5195]: B233244237C: from=<[email protected]>, size=841, nrcpt=1 (queue active)
    Feb 27 13:50:51 host postfix/pipe[10090]: B233244237C: to=<[email protected]>, relay=dovecot, delay=0.09, delays=0.05/0.01/0/0.03, dsn=2.0.0, status=sent (delivered via dovecot service)
    Feb 27 13:50:51 host postfix/qmgr[5195]: B233244237C: removed
    Feb 27 13:51:01 host postfix/smtpd[8077]: connect from localhost[]
    Feb 27 13:51:01 host postfix/smtpd[8077]: lost connection after CONNECT from localhost[]
    I believe it worked well until recent days. I cannot see the reason and I start to not be sure if it worked any time.

    Why it doesn't work?
    Is the alias the problem?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    So you have configured at gmail now and also in ISPConfig as email domain? This can't work as email that you send on your server locally will not make it to your gmail account as local delivery in postfix has a higher priority than sending the email outside of your server. If gmail is the responsible mail provider for this domain now, then remove the domain from ISPConfig email module (not from web).
    MaxT likes this.
  3. MaxT

    MaxT Member HowtoForge Supporter

    oh, ok. I believed ISPC would check the MX in some way. Which would be non sense at all, I can see now.
    After reading your post I have searched more information, and it seems there is need to integrate into Wordpress another plugin to use STMP or a Google API to send the form.

    thanks for the help:)

Share This Page