[SOLVED] Configuration problem, with iredmail and relay smtp.

Dark26

Renowned Member
Nov 27, 2017
300
36
68
48
Bonjour,

I use proxmox and i give a try to the mail gateway.

At the time, i use iredmail :

public name : mail.mondomaine.fr
local ip : 172.16.4.198

proxmox gateway mail : 172.16.4.199



in my iredmail postfix, i use a relay smtp : smtp.free.fr


i'm a little confuse for the configuration.

At first, i try use use it for the outgoing mail, iredmail --> the world, so it will became --> iredmail --> proxmox --> world

i put in the relay smtp of iremail : 172.16.4.199:26

but i have a message connection refused in the logs.

i need to put the relay smtp ( smtp.free.fr) in configuration oh proxmox alsa , but where? ( smarthost ? )

Thanks in advance.

Dark26
 
Below should be the config if all your outgoing email is throught the smarthost.

1577364782906.png
 
Last edited:
  • Like
Reactions: Dark26
it's exactly that. great picture.

I try multiple things and it's work now :) .

on iredmail :
relayhost = 172.16.4.199:26

on proxmox:
smarthost : smtp.free.fr

default relay : 172.16.4.198

external port 25
internat port : 26
 
  • Like
Reactions: hata_ph