Koozali.org: home of the SME Server
Obsolete Releases => SME Server 9.x => Topic started by: redteo on December 02, 2019, 08:20:11 PM
-
hello.
i'm receiving this error whe i try to sen a mail to a user using is pseudonym,
es:
user is julius.cesar@server.tld
is username is julius
if i send one mail to julis@server.tld the delivery occours without error
if isend to julius.cesar@server.tld i receve 550 relaying denied julius.cesar@server.tld
any idea, i looken in old posts without finding usefulls infos
-
The default pseudonym creation:
- concatenates 'FirstName', " " (space), and 'LastName'
- strips leading and trailing spaces
- replaces multiple spaces with single spaces
- replaces the remaining spaces with dots
- converts the result to lower case
- creates an alternative where the dots have been replaced by underscores
'julius' is (presumably) the account's username value - but may not be either FirstName or LastName.
For example, my *account* is "mmccarn", my *FirstName* is "Michael J" and my *LastName* is "McCarn". This makes my pseudonyms "michael.j.mccarn@..." and "michael_j_mccarn@..."
Check the settings for the account 'julius'. Verify that 'FirstName', 'LastName' are set as you expect.
db accounts show julius
Check that your SME has the usual pseudonym (alias) entries in the accounts db (if these have been deleted at some point they may not be automatically recreated):
db accounts print |grep pseudonym.*julius
If everything above looks right, check the actual configuration files generated by the db settings.
For the server to think the pseudonym is local it needs to exist in /var/service/qpsmtpd/config/goodrcptto (note that if FirstName or LastName dos not contain 'julius' the output from this command may be empty):
grep julius /var/service/qpsmtpd/config/goodrcptto
Once the server has accepted the email, qmail needs to know who to deliver it to. This is controlled by /var/qmail/users/assign:
grep julius /var/qmail/users/assign
-
thanks..
found the error..
go sleep more often
becouse i mistyped the user name....
i lookend a few times without see the error :sad:
-
:-)
We all have those days..... !