Email aliases

Post Reply
BoxOfSnoo
Posts: 6
Joined: Tue Oct 06, 2020 6:03 am

I converted from Vesta to MyVesta quite a while ago (maybe a year?), and it seems like aliases might not have been working since then? I added them, one per line, to the email account in the aliases box. just the local part - e.g. onedrive to get [email protected]

Now when I try to send an email there it gets a 550 unrouteable address delivery error. The main email address works correctly, just the aliases fail.

What am I missing?
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

Can you screenshot Alias field?
Check if you have space character on the begining or at the end.
BoxOfSnoo
Posts: 6
Joined: Tue Oct 06, 2020 6:03 am

Here's one I had from before. There's no space before or after.

Interestingly, I made other, test ones today, and at first they didn't work, but now they do?

The differences:

- The test ones are on a different mail account
- The failing ones were from a Vesta import, untouched until now, they used to work.
- The test ones are attached to an account that is forwarding
- The failing ones are a local mail box.

Those may not make a difference, but hey info is good.
Attachments
Screen Shot 2021-03-19 at 12.44.16 PM.png
Screen Shot 2021-03-19 at 12.44.16 PM.png (11.33 KiB)
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

run:

Code: Select all

tail -f /var/log/exim4/mainlog
and then send email to alias, and see if some error appear.
BoxOfSnoo
Posts: 6
Joined: Tue Oct 06, 2020 6:03 am

Similar to what I was getting in my bounce. Obfuscated my domain and email below:

2021-03-19 14:25:38 H=st43p00im-ztfb10071701.me.com [17.58.63.173] X=TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256 CV=no F=<[email protected]> rejected RCPT <[email protected]>: Unrouteable address
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

in file
/home/YOURUSER/conf/mail/YOURDOIMAIN.COM/aliases
do you see those aliases?
are you sure there are no special characters like space or empty lines?

also, i guess you didn't modified /etc/exim4/exim4.conf.template ?
BoxOfSnoo
Posts: 6
Joined: Tue Oct 06, 2020 6:03 am

Oooh interesting! The old ones were space-delimited all on one line, the new ones had a line each (in the aliases file)

e.g.

psn onedrive [email protected]:[email protected]

Looks like a migration thing. Nice! Thanks for pointing me in the right direction!
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

Glad that I was helpful :)
Post Reply