Re: How getmail deals with delivery errors and with bounce e-mails
mick crane <[email protected]>
| Newsgroups | gmane.mail.getmail.user |
|---|---|
| Message-ID | <[email protected]> |
On 2020-11-04 13:48, R. Diez wrote: >>> I also do not understand why I should use other.domain.org >>> internally. >>> I purchased domain example.org , so I will be using it internally >>> too. >>> Why do you want to introduce other.domain.org in the equation? >> >> I don't think it is a good idea to have the domain resolving to your >> hosting service and also internally to your mail server. >> As I'm understanding things the local network wants to be .home or >> something. > > > Why should anything in DNS resolve to any internal host? I think that is so you can address internal machines by name. > getmail goes out to the external mail provider and fetches e-mail, > which then lands in the internal Dovecot. getmail is just a client and > uses public DNS records for public servers (the external mail server > that my hosting provider runs). > > Even if I set up Postfix inside my LAN, I can configure it to send > e-mails that claim to come from the [email protected] domain I own. > After all, those outbound e-mails are only going to be relayed to the > external SMTP server from my hosting provider, so they will actually > legitimately come from @example.org in the end. > > Why should the local hostnames matter at all? They do not need to be > in any DNS as far as I know. Or have I missed something here? I think what you are trying to do is pretend that you have a proper email server that has a fixed IP address that is facing and registered on the internet as the place to go to find your domain and the email service. That's pretty complicated to set up if you don't know what you are doing and trying to fake it should probably be avoided. mick > Regards, > rdiez -- Key ID C7D6E24C