On Friday, 18 July 2025 12:35:44 British Summer Time Javier Martinez wrote:
> El 18/7/25 a las 12:34, Peter Humphrey escribió:
> 
> > On Friday, 18 July 2025 07:49:13 British Summer Time Arve Barsnes wrote:
> > 
> > --->8
> > 
> > 
> >> The mail thing is very confusing, but here is some main.cf settings on
> >> my machine that receives mail from the other machines on the LAN:
> >>
> >>
> >>
> >> inet_interfaces = $myhostname, localhost
> >> mydestination = $myhostname, localhost.$mydomain, localhost, <my local
> >> hostname> <- the simple name, not the hostname.lan that I've set in
> >> 'myhostname'
> >> mynetworks = 192.168.0.0/24, 127.0.0.0/8
> >>
> >>
> >>
> >> Hope that helps,
> >> Arve
> > 
> > 
> > Not quite, Arve; sorry. Quoting the simple name causes postfix to add
> > ".localdomin" to it.
> > 
> > I'll read the FM as Eray said, which I'd forgotten about.
> > 
> 
> 
> It seems that you disabled smtp postfix service and you are using 
> dovecot as the smtp client with postfix smtpd as destination. So your 
> dovecot gives user mails to your postfix and you expect that him relay out.
> 
> If postfix has not smtp service it can't rely mail out since it has, 
> with TURN smtp command, change from smtpd server to smtp client to 
> connect to externals smtpd server IMHO. I think this is the reason 
> because you outgoing mail gets inbound mail, because postfix can't act 
> as smtp client and only server one.
> 
> However without dovecot config info and master.cf file I can't confirm
> that.
 
I've attached my master.cf. The only settings I've made in dovecot.conf are:

protocols = imap
listen = *

-- 
Regards,
Peter.
smtp      inet  n       -       n       -       -       smtpd
pickup    unix  n       -       n       60      1       pickup
cleanup   unix  n       -       n       -       0       cleanup
qmgr      unix  n       -       n       300     1       qmgr
tlsmgr    unix  -       -       n       1000?   1       tlsmgr
rewrite   unix  -       -       n       -       -       trivial-rewrite
bounce    unix  -       -       n       -       0       bounce
defer     unix  -       -       n       -       0       bounce
trace     unix  -       -       n       -       0       bounce
verify    unix  -       -       n       -       1       verify
flush     unix  n       -       n       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
proxywrite unix -       -       n       -       1       proxymap
smtp      unix  -       -       n       -       -       smtp
relay     unix  -       -       n       -       -       smtp
        -o 
syslog_name=${multi_instance_name?{$multi_instance_name}:{postfix}}/$service_name
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
retry     unix  -       -       n       -       -       error
discard   unix  -       -       n       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
scache    unix  -       -       n       -       1       scache
postlog   unix-dgram n  -       n       -       1       postlogd

Reply via email to