After some tests at sendmail through getmail, i also notice that i could only use local user account names as destination (Example1) or use full email name only with @remote.domainX.pt and not @domainX.pt as i was expecting.
Example 1:
HTML Code:
[destination]
type = MDA_external
path = /usr/sbin/sendmail
arguments = ("-bm", "test")
unixfrom = true
Example 2:
HTML Code:
[destination]
type = MDA_external
path = /usr/sbin/sendmail
arguments = ("-bm", "test@remote.domainX.pt")
unixfrom = true
So i am trying to figure out how can i solve this with postfix, to handle just @domainX.pt to receive mail instead of @remote.domainX.pt but i am not seeing a way to fix this.
I have also tested with virtual_alias_maps instead of aliases from alias_maps but with that there is no domain associated to my local accounts, it can only be used to local delivery.
Bookmarks