On Mon, Feb 22, 2016 at 10:09:25AM GMT, Jiri B wrote:
> On Mon, Feb 22, 2016 at 09:40:00AM +0000, ML mail wrote:
>
> > Hello,
> >
> > How do one configure the domain which OpenSMTPD uses by default
> > to speak with other mail servers? The problem is that my default
> > it takes the internal domain name of my OpenBSD 5.8 server and
> > therefore other mail servers reject it with the error:
> >
> > Sender address rejected: Domain not found
> >
> > So in fact it sends mails with [email protected] and I would like it
> > to send mails with [email protected], how can I achieve that? I
> > did not find the config parameter in smtpd.conf for that purpose.
>
> See 'hostname' in relay part in smtpd.conf(5).
Also:
$ man smtpd|grep name
/etc/mail/mailname Alternate server name to use.
Regards,
Raf