Hello,
I have set up at project.
Setup 2 email accounts and the address is something like [email protected] .
Sending mails to and from [email protected] works.
Now I would like to use the following aliases to that address ([email protected] , without _mail_)
I ran the following
./setup.sh alias add [email protected] [email protected]
running
# ./setup.sh alias list
[email protected] [email protected],
I guess the comma in the end is ok.
Sending mails to [email protected] does not work.
Is there anything more that I need to do , to get this working ?
Best regards, Ink
Hi @Inkimar, not sure for the comma... it should be [email protected] [email protected].
Check that /etc/postfix/virtual is well formatted.
In these case, check and provide server logs
Hi @tomav ,
I logged in and checked the file /etc/postfix/virtual and it is empty ....
regards, i
If empty, there's no alias. You can add manually en entry with postfix format explained above. (from being the alias and to the email address). After that, just in case, reload postfix with /etc/init.d/postfix reload
Let me know.
And BTW, I just checked code for setup.sh
It adds alias to source file in tmp folder. So if you use that script, you have to restart the container to re-process the input file.
Hope this helps.
I will check this out!
-i
Is it solved?
If yes please share and close the solution.
Most helpful comment
And BTW, I just checked code for
setup.shIt adds alias to source file in tmp folder. So if you use that script, you have to restart the container to re-process the input file.
Hope this helps.