Hello Steffen,
There was time when (ancestors of?) s-nail would dependably expand a
plain username to username@hostname, where hostname was the machine or
domain that you were sending from. If I run s-nail locally, with mta
defaulting to /usr/lib/sendmail, I get that behavior - maito to myname
gets sent to myname@localmachine.
And I have access to a machine running the ancient mailx 12.5 where the
(obsolete on s-nail) variable smtp is set to "smtp.mydomain" and a
message to myname successfully gets sent to myname@mydomain.
However, with s-nail and an account where I am logged in as
myname@mydomain, with the mta variable set to "smtp://smtp.mydomain", an
attempt to send to myname gets me "user name (MTA alias) targets are not
allowed". I've tried some experiments with expandaddr and smtp-hostname
without success. I don't actually understand the man page sections
about them.
Is there some setting that will allow MTA alias targets when using an
smtp server, as on the mailx 12.5 machine?
Thanks,
Stephen Isard
- [S-mailx] MTA alias targets Stephen Isard
-