Still beating with real user delivery "5.2.4 error". What should I do to
have mail delivery working between real users registered on a mail server?

On 8/19/2018 12:56 AM, Denis wrote:
> Hi there,
> 
> After "upgrade" OpenSMTPd to 6.4.0 (smtpd.conf syntax has been
> corrected) from OpenBSD -current having trouble with aliased addresses.
> 
> If I tried to send mail to alias address I receive error from mail program:
> 
> 'An error occurred while sending mail. The mail server responded:
> ,5.2.4 Mailing list expansion problem., Please check the message
> recipient "ali...@domain.tld" and try again'
> 
> mlmmj does not send emails also by OSMTPd 6.4.0. I have only one list
> named 'all' for broadcast messages. So if I sent to a...@domain.tld I
> receive nothing.
> 
> Previously, OpenSMTPD 6.0 from OpenBSD 6.3 sources look for 'aliases'
> from 'aliases.db' and 'virtuals' from PostgreSQL database. All works
> smoothly as it should be.
> 
> To exclude possible PGSQL issues for 'virtuals' I've added to smtpd.conf
> lookup for 'virtuals' from plain text file:
> 
> ...
> table aliases db:/etc/mail/aliases.db
> table virtuals file:/etc/mail/virtuals
> # table virtuals postgres:/etc/mail/smtpd-pgsql.conf
> ...
> 
> In all cases (when 'table virtuals file:/..' or 'table virtuals
> postgres:/..' or using mlmmj, or mail to aliased address) I have the
> same debug messages by running smtpd 6.4.0 in table debug mode:
> 
> # smtpd -dv -T virtuals -T lookup
> 
> ...
> 77205978ce2bed68 smtp connected address=local host=domain.tld
> lookup: check "local" as NETADDR in table static:<localhost> -> found
> lookup: check "domain.tld" as DOMAIN in table static:<localnames> -> found
> lookup: lookup "support" as ALIAS in table db:aliases -> "myaddr"
> debug: aliases_get: returned 1 aliases
> lookup: lookup "myaddr" as ALIAS in table db:aliases -> "mya...@domain.tld"
> debug: aliases_get: returned 1 aliases
> lookup: check "local" as NETADDR in table static:<localhost> -> found
> lookup: check "domain.tld" as DOMAIN in table static:<localnames> -> found
> lookup: lookup "myaddr" as ALIAS in table db:aliases -> "mya...@domain.tld"
> debug: aliases_get: returned 1 aliases
> lookup: check "local" as NETADDR in table static:<localhost> -> found
> lookup: check "domain.tld" as DOMAIN in table static:<localnames> -> found
> lookup: lookup "myaddr" as ALIAS in table db:aliases -> "mya...@domain.tld"
> debug: aliases_get: returned 1 aliases
> lookup: check "local" as NETADDR in table static:<localhost> -> found
> lookup: check "domain.tld" as DOMAIN in table static:<localnames> -> found
> lookup: lookup "myaddr" as ALIAS in table db:aliases -> "mya...@domain.tld"
> debug: aliases_get: returned 1 aliases
> lookup: check "local" as NETADDR in table static:<localhost> -> found
> lookup: check "domain.tld" as DOMAIN in table static:<localnames> -> found
> 77205978ce2bed68 smtp failed-command address=local host=domain.tld
> command="RCPT TO:<supp...@domain.tld> " result="524 5.2.4 Mailing list
> expansion problem"
> debug: control -> client: pipe closed
> debug: clearing p=client, fd=11, pid=0
> 77205978ce2bed68 smtp disconnected address=local host=domain.tld
> reason=disconnect
> ...
> 
> What can be wrong?
> 
> Denis
> 
> 
> 
> 
> 

-- 
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Reply via email to