Proxmox Mail inside PVE VM with VETH interface

gm2x

New Member
Mar 5, 2009
13
0
1
I am trying to run Proxmox Mail GW on Proxmox VE and i'm getting into troubles. I'm using official OVZ template (debian-4.0-proxmox-mailgateway-2.3.tar.gz) and Proxmox VE v1.1 with multi-VLAN bridged configuration on veth's.

Firstly, i created VM with bridged interface from template. Then started it, entered to it and edited /etc/network/interfaces file to assign ip addresses. Ifup'ed network interfaces, entered web interface and uploaded license file. And right now i've ended with no postfix running on 25 port. Restarted VM and still no postfix listening.

I've compared it with venet-based virtual machine. In my case /etc/postfix/master.cf has no proper entries for smtp service. In case of venet machine it has <ipaddr>:25, <ipaddr>:26 entries.
192.168.35.116:26 inet n - - - 25 smtpd
-o content_filter=scan:127.0.0.1:10023
-o smtpd_recipient_restrictions=permit_mynetworks,reject_unauth_destination
-o smtpd_helo_restrictions=
-o smtpd_client_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_tls_security_level=none
192.168.35.116:25 inet n - - - 25 smtpd
-o content_filter=scan:127.0.0.1:10024
-o receive_override_options=no_address_mappings
-o mynetworks=127.0.0.0/8,192.168.35.116
Tried to add those, but the file is regenerated automatically. Tried to edit /etc/proxmox/system.cfg with no success. How those entries are generated and how to fix it?
 
Venets doesn't work with tagged VLANs. That's why i need to get it work with veths.

What i've tried:
- running proxsetup, this modifies system.cfg and explicitly sets int_iface=venet0:0;
- manually editing /etc/proxmox/system.cfg, then running proxconfig -syncronize;
- looking into /var/lib/proxmox/templates/master.cf.in and realizing that SYSTEM:IPCONFIG:INT_IP variable is ignored with veths for some unknown reason;
- looking into VMWare fresh install and seeing absolutly the same templates/master.cf.in.

So, now i have OpenVZ installation and VMWare installation. Could i just copy some (perl?) files from one to another to get it work?
 
Last edited:
Again, it does not work with veth. Simply use a KVM VM and install from CD instead.

- Dietmar
 
has thus been changed?
I would like to switch from kvm to openvz but i need a veth (because the mailgateway must be in a specific dmz e.g. vmbr2)
tia
 
not really, use KVM if venet is not suited.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!