Mike Leone via plug on 13 Jun 2023 07:25:24 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Fwd: Stupid question about antique Debian and mail settings


That did it. I edited main.cf in /etc/postfix

relayhost = <my-mailrelay-DNS-alias>

Restarted postfix

vadmin@<hostname>:/etc/postfix$ sudo /etc/init.d/postfix restart
 * Stopping Postfix Mail Transport Agent postfix

           [ OK ]
 * Starting Postfix Mail Transport Agent postfix

And it all started working, I was able to start sending email again.

And, since I am using the DNS alias for my internal relay host, it
should never break again, as long as we re-point the alias whenever
the host gets replaced again.

Thanks!

On Tue, Jun 13, 2023 at 9:38 AM Mike Leone <turgon@mike-leone.com> wrote:
>
> On Tue, Jun 13, 2023 at 9:32 AM Walt Mankowski via plug
> <plug@lists.phillylinux.org> wrote:
>
> > > Clue, anyone?
> >
> > Hmm, maybe try running `dpkg -l` to get a list of all the packages,
> > and look for something with "mail" or "smtp" in the name? Or are there
> > any clues under /var/log?
>
> I see postfix (man, I haven't used postfix since like 2006, even
> before this job I have now ...)
>
> Yep, definitely postfix:
>
> Jun 13 06:39:44  postfix/smtp[14159]: warning: relayhost
> configuration problem
> Jun 13 06:39:44  postfix/smtp[14159]: E176D40DD4:
> to=<Michael.Leone@pha.phila.gov>, relay=none, delay=290368,
> delays=290358/0.01/10/0, dsn=4.3.5, stat
> us=deferred (Host or domain name not found. Name service error for
> name=<old-mail-relay-alias> type=A: Host not found)
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug