Proxmox Mail Gateway 5.0 released!

Discussion in 'Mail Gateway: Installation and configuration' started by martin, Jan 23, 2018.

  1. tom

    tom Proxmox Staff Member
    Staff Member

    Joined:
    Aug 29, 2006
    Messages:
    13,338
    Likes Received:
    376
    Please just follow the tutorial.

    Yes, but you can check the status on your shop account (or ask your reseller).

    Debian 9, 64 bit.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    ProxUser3000 likes this.
  2. ProxUser3000

    ProxUser3000 New Member

    Joined:
    Dec 20, 2013
    Messages:
    15
    Likes Received:
    0
  3. fayaz khan

    fayaz khan New Member

    Joined:
    Jul 26, 2018
    Messages:
    16
    Likes Received:
    0
    hi team

    i need a help .i have just install the proxmox mail gateway .my proxmox have domain name.moreover i need to use as a proxy for my email server which is already running in production environment .i want to use proxmox as to control spamming and checking incoming and outgoing emails from my server (proxmox server).can any budy guide me how can i do this ??? looking your prompt response on it.
     
  4. heutger

    heutger Active Member

    Joined:
    Apr 25, 2018
    Messages:
    462
    Likes Received:
    107
    Ehm, read the manual? In ultrashort: Point your mx to PMG, enter your domain for PMG to handle, enter your host, where PMG should deliver the mail for incoming, change your mailserver to use PMG as relayhost with port 26 to send outgoing mails. That's it. Long version: See manual or purchase subscription and open a ticket.
     
  5. fayaz khan

    fayaz khan New Member

    Joined:
    Jul 26, 2018
    Messages:
    16
    Likes Received:
    0
    hi

    i am sending you two logs one is my internal server which is running postfix and another one is proxmox server logs . looking your good response.

    internal server maillogs.
    ###################

    Aug 6 10:06:39 cwp postfix/smtpd[32762]: connect from unknown[202.63.215.48]
    Aug 6 10:06:40 cwp postfix/smtpd[32762]: 8D86C2009D3: client=unknown[202.63.215.48], sasl_method=LOGIN, sasl_username=cubexs@weatherlycloud.com
    Aug 6 10:06:41 cwp postfix/cleanup[32766]: 8D86C2009D3: message-id=<002701d42d43$26c1a270$7444e750$@weatherlycloud.com>
    Aug 6 10:06:41 cwp postfix/qmgr[32692]: 8D86C2009D3: from=<cubexs@weatherlycloud.com>, size=2679, nrcpt=1 (queue active)
    Aug 6 10:06:42 cwp postfix/smtp[32716]: 8D86C2009D3: to=<fayazlinux@gmail.com>, relay=proxmox.cubexs.net.pk[202.63.215.11]:26, delay=2.5, delays=1/0/1.2/0.25, dsn=4.3.0, status=deferred (host proxmox.cubexs.net.pk[202.63.215.11] said: 451 4.3.0 <fayazlinux@gmail.com>: Temporary lookup failure (in reply to RCPT TO command))
    Aug 6 10:06:44 cwp postfix/smtpd[32762]: disconnect from unknown[202.63.215.48]



    Porxmox mail.log:
    ###############
    Aug 6 10:13:16 prosmox postfix/postscreen[86439]: CONNECT from [103.7.229.11]:49055 to [61.28.1.200]:25
    Aug 6 10:13:16 prosmox postfix/postscreen[86439]: warning: postscreen_access_list: non-null host address bits in "38.108.7.55/24", perhaps you should use "38.108.7.0/24" instead
    Aug 6 10:13:16 prosmox postfix/postscreen[86439]: warning: postscreen_access_list: permit_mynetworks: mynetworks lookup error -- ignoring the remainder of this access list
    Aug 6 10:13:16 prosmox postfix/postscreen[86439]: PASS OLD [103.7.229.11]:49055
    Aug 6 10:13:16 prosmox postfix/smtpd[88844]: connect from ns2.dmanet.co.id[103.7.229.11]
    Aug 6 10:13:16 prosmox postfix/smtpd[89088]: connect from cwp.weatherlycloud.com[38.108.7.51]
    Aug 6 10:13:16 prosmox postfix/smtpd[89088]: warning: smtpd_client_event_limit_exceptions: non-null host address bits in "38.108.7.55/24", perhaps you should use "38.108.7.0/24" instead
    Aug 6 10:13:17 prosmox postfix/smtpd[88844]: NOQUEUE: reject: RCPT from ns2.dmanet.co.id[103.7.229.11]: 454 4.7.1 <aone@cubexs.net.pk>: Relay access denied; from=<fbi@usa.net> to=<aone@cubexs.net.pk> proto=ESMTP helo=<mail.dmanet.co.id>
    Aug 6 10:13:17 prosmox postfix/smtpd[89088]: warning: mynetworks: non-null host address bits in "38.108.7.55/24", perhaps you should use "38.108.7.0/24" instead
    Aug 6 10:13:17 prosmox postfix/smtpd[89088]: NOQUEUE: reject: RCPT from cwp.weatherlycloud.com[38.108.7.51]: 451 4.3.0 <fayazlinux@gmail.com>: Temporary lookup failure; from=<cubexs@weatherlycloud.com> to=<fayazlinux@gmail.com> proto=ESMTP helo=<cwp.weatherlycloud.com>
    Aug 6 10:13:17 prosmox postfix/smtpd[89088]: warning: smtpd_client_event_limit_exceptions: non-null host address bits in "38.108.7.55/24", perhaps you should use "38.108.7.0/24" instead
     
  6. heutger

    heutger Active Member

    Joined:
    Apr 25, 2018
    Messages:
    462
    Likes Received:
    107
    Hi,

    looks like basic misconfiguration, there seems to be a /24 address in mynetworks settings, maybe you entered /24, where you should net enter networks or you should enter 38.108.8.0/24 as recommended instead.

    You may look the videos linked in the installation guide on how to setup and get first started.

    P.S.: If you can't get further, a configuration dump would be helpful.
     
  7. fayaz khan

    fayaz khan New Member

    Joined:
    Jul 26, 2018
    Messages:
    16
    Likes Received:
    0
    hi

    i already added in my proxmox server in main.cf .which is mention below ..kindly guide me further.

    mynetworks = 127.0.0.0/8 [::1]/128 61.28.1.0/24 38.108.7.55/24 38.108.7.0/24 38.108.7.51/24 202.63.192.0/19 202.63.215.11/32
     
  8. heutger

    heutger Active Member

    Joined:
    Apr 25, 2018
    Messages:
    462
    Likes Received:
    107
    Hi,

    please use the extra thread you opened on this issue, this thread announces the release of PMG 5.0

    However, as readable in your log: You should not use anything with any number not null / 24 as that’s no valid network. Please use a CIDR tool to generate valid network definitions, 38.108.7.56/24 should be 38.108.7.0/24, next two entries are then obsolete, if you want to set only 38.108.7.55 and 51 use /32
     
  9. fayaz khan

    fayaz khan New Member

    Joined:
    Jul 26, 2018
    Messages:
    16
    Likes Received:
    0
    hi

    can you please share the video link .
     
  10. heutger

    heutger Active Member

    Joined:
    Apr 25, 2018
    Messages:
    462
    Likes Received:
    107
  11. fayaz khan

    fayaz khan New Member

    Joined:
    Jul 26, 2018
    Messages:
    16
    Likes Received:
    0
    hi

    i did the same way as in video .can you please let me know where is problem ??
     
  12. heutger

    heutger Active Member

    Joined:
    Apr 25, 2018
    Messages:
    462
    Likes Received:
    107
    Then first clean up your mynetworks setting as described above. You can also already read in your logs, that this settings are invalid and result therefor in errors.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice