Hi Gilles,

Yes %{user.username} fixed my problem. (and after I sent that email, it had 
occurred to me that deliveries to aliases might only have only been working 
before I started changing stuff in the config...)

| 
| Can you run with smtpd -dv -T mda ?
| This will provide more logging regarding what happens at the mda level
| 

That output (with the old %{rcpt.user} config lines):


Brett.

# smtpd -dv -T mda 
warn: unknown trace flag "mda"
info: OpenSMTPD 5.4 starting
debug: bounce warning after 4h
debug: using "fs" queue backend
debug: using "ramqueue" scheduler backend
debug: using "ram" stat backend
info: startup [debug mode]
debug: init ssl-tree
debug: loading pki information for coiloptic.org
debug: parent_send_config_ruleset: reloading
mfa: building simple chains...
debug: parent_send_config_mfa: reloading
mfa: building complex chains...
debug: parent_send_config: configuring smtp
mfa: done building complex chains
mfa: done building default chain
debug: mfa ready
debug: queue: done loading queue into scheduler
debug: smtp: listen on 103.25.58.34 port 25 flags 0x0 pki ""
debug: smtp: listen on IPv6:2406:d501::839b:a2fe port 25 flags 0x0 pki ""
debug: smtp: listen on IPv6:fe80::216:3cff:fe15:ae07%vio0 port 25 flags 0x0 pki 
""
debug: smtp: listen on 127.0.0.1 port 25 flags 0x0 pki ""
debug: smtp: listen on IPv6:fe80::1%lo0 port 25 flags 0x0 pki ""
debug: smtp: listen on IPv6:::1 port 25 flags 0x0 pki ""
debug: smtp: listen on 103.25.58.34 port 465 flags 0x4a pki "coiloptic.org"
debug: smtp: listen on IPv6:2406:d501::839b:a2fe port 465 flags 0x4a pki 
"coiloptic.org"
debug: smtp: listen on IPv6:fe80::216:3cff:fe15:ae07%vio0 port 465 flags 0x4a 
pki "coiloptic.org"
debug: smtp: listen on 127.0.0.1 port 465 flags 0x4a pki "coiloptic.org"
debug: smtp: listen on IPv6:fe80::1%lo0 port 465 flags 0x4a pki "coiloptic.org"
debug: smtp: listen on IPv6:::1 port 465 flags 0x4a pki "coiloptic.org"
debug: smtp: will accept at most 496 clients
debug: smtpd: scanning offline queue...
debug: smtpd: offline scanning done
debug: smtp: new client on listener: 0xe7a1ed65000
smtp-in: New session 4355d9c133b0ba3d from host localhost [127.0.0.1]
debug: smtp: SIZE in MAIL FROM command
debug: aliases_get: returned 1 aliases
debug: 0xe7a1e183000: end of message, msgflags=0x0000
smtp-in: Accepted message 2ee59f49 on session 4355d9c133b0ba3d: 
from=<[email protected]>, to=<[email protected]>, size=325, ndest=1, 
proto=ESMTP
debug: scheduler: evp:2ee59f49467351c9 scheduled (mda)
debug: lka: userinfo <getpwnam>:brett
debug: mda: new session a7838cbde9136b31 for user "brett" evpid 2ee59f49467351c9
debug: mda: no more envelope for "brett"
debug: mda: got message fd 4 for session a7838cbde9136b31 evpid 2ee59f49467351c9
debug: mda: querying mda fd for session a7838cbde9136b31 evpid 2ee59f49467351c9
debug: smtpd: forking mda for session a7838cbde9136b31: "/home/www/Maildir" as 
brett
smtp-in: Closing session 4355d9c133b0ba3d
debug: mda: got mda fd 5 for session a7838cbde9136b31 evpid 2ee59f49467351c9
debug: mda: end-of-file for session a7838cbde9136b31 evpid 2ee59f49467351c9
debug: mda: all data sent for session a7838cbde9136b31 evpid 2ee59f49467351c9
debug: smtpd: mda process done for session a7838cbde9136b31: exited abnormally
debug: smtp: 0xe7a1e183000: deleting session: done
delivery: TempFail for 2ee59f49467351c9: from=<[email protected]>, 
to=<[email protected]>, user=brett, method=maildir, delay=0s, stat=Error 
("cannot cd to maildir: No such file or directory")
debug: mda: session a7838cbde9136b31 done
debug: mda: user "brett" becomes runnable
debug: mda: all done for user "brett"
debug: scheduler: evp:2ee59f49467351c9 scheduled (mda)
debug: lka: userinfo <getpwnam>:brett
debug: mda: new session a7838cbeb284d2b5 for user "brett" evpid 2ee59f49467351c9
debug: mda: no more envelope for "brett"
debug: mda: got message fd 4 for session a7838cbeb284d2b5 evpid 2ee59f49467351c9
debug: mda: querying mda fd for session a7838cbeb284d2b5 evpid 2ee59f49467351c9
debug: smtpd: forking mda for session a7838cbeb284d2b5: "/home/www/Maildir" as 
brett
debug: mda: got mda fd 5 for session a7838cbeb284d2b5 evpid 2ee59f49467351c9
debug: smtpd: mda process done for session a7838cbeb284d2b5: exited abnormally
debug: mda: io disconnected on session a7838cbeb284d2b5
delivery: TempFail for 2ee59f49467351c9: from=<[email protected]>, 
to=<[email protected]>, user=brett, method=maildir, delay=5s, stat=Error 
("cannot cd to maildir: No such file or directory")
debug: mda: session a7838cbeb284d2b5 done
debug: mda: user "brett" becomes runnable
debug: mda: all done for user "brett

-- 
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to