I've been testing from my MacPro to the Mini Server (MacServe), but here's some 
further findings:-

So far I've been sending test messages from the MacPro's command-line and as 
I've said:-

        user@mydomain works

        user@myhostname fails

The my* references are the Server's postfix config parameters (i.e. 'home' and 
'MacServe.home' respectively) and 'user' is any user with a login account on 
that server (MacServe).

If I try sending to the same addresses but using Mail.app, I get the exact same 
results.

Using either method I am unable to test to 'user' as Mail.app won't allow a To 
without an @ (you might remember what I think about that) and on the 
command-line it is simply sent to the local user as they exist on the Server 
and this MacPro.

If I use MacServe's command-line:-

        user@mydomain fails with a "loops back to me" error

        user@myhostname or just user is not seen by postfix, seemingly handled 
by the unix mail service and in both cases the message is delivered to that 
user's account which can be viewed with command-line 'mail' but doesn't get to 
dovecot, the IMAP service.

What I would like to achieve is that all hosts on the LAN (including MacServe) 
can send a message via command-line 'mail' or an email client app to 
user@myhostname or user@mydomain (again, server's postfix references) which 
ends up in MacServe's dovecot to be accessed by an IMAP client. And…

Command-line 'mail' on any host will also deliver messages To 'user' to that 
local user on that machine.

Currently that mostly works, except when addressed to user@myhostname. When 
sent using MacServe's command-line 'mail', it is snatched up by the unix mail 
system and delivered direct to that account's mailbox, same as for mail 
addressed to 'user' and when sent from any other host on the LAN, it is 
rejected by MacServe.

I'm thinking ahead to new postfix install NOT in MacOS. However, would be great 
if I could fix any of that now,



Ken  G i l l e t t

_/_/_/_/_/_/_/_/



> On Mon 28 Oct 2024, at 03:26, Viktor Dukhovni via Postfix-users 
> <postfix-users@postfix.org> wrote:
> 
> Are the tests performed from the same machine or from anotehr machine on
> the same LAN?

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to