NetBSD-Users archive

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

Re: help with "SMTP error: 454 4.7.1 <name@localhost>: Relay access denied"

On Sun 22 May 2022 at 22:35:09 +0900, Henry wrote:
> More than a decade too late, but I am finally moving from sendmail to
> postfix.  Unfortunately, fetchmail doesn't work anymore; I get the
> following error (translated from Japanese):
> fetchmail: SMTP error: 454 4.7.1 <name@localhost>: Relay access denied
> Reading first message addressed to
> (22114 bytes)
> Messages not deleted from server.

I guess fetchmail is trying to deliver the message (which it just
fetched from upstream) by passing it to the local sendmail (or now

In my case I'm doing it differently. I'm passing the mails to procmail
as the local delivery agent:

        to "rhialto@localhost"
        mda "procmail -Y -f %F -d rhialto"

If you don't use procmail, I think there are several other local
delivery agents that just deliver to the local mailbox. local(8) comes
with postfix but maybe you can't just run it from fetchmail.

> Henry
___ "Buying carbon credits is a bit like a serial killer paying someone else to
\X/  have kids to make his activity cost neutral." -The BOFH

Attachment: signature.asc
Description: PGP signature

Home | Main Index | Thread Index | Old Index