We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
New Install of Vestacp Won't Send Emails By Default
New Install of Vestacp Won't Send Emails By Default
In more detail, there are several places withing the Web Interface where it says that an email will be sent to new users with credentials and such. Well, these emails never send. I assume that they would just send from port 25, but I don't recall seeing anywhere to set email properties, such as send-as, authentication, etc?
Re: New Install of Vestacp Won't Send Emails By Default
Well... It's may be several reason for this:
- blocked port
- not valid e-mail
- not resolved e-mail (I think it's a reason)
- MTA exim don't work
Can you check in console? Command -> mailq
- blocked port
- not valid e-mail
- not resolved e-mail (I think it's a reason)
- MTA exim don't work
Can you check in console? Command -> mailq
Re: New Install of Vestacp Won't Send Emails By Default
Thanks, I'll check that command. I have business grade internet in my office where we run an exchange server using port 25.
Re: New Install of Vestacp Won't Send Emails By Default
postqueue: warning: Mail system is down -- accessing queue directlyskurudo wrote:Well... It's may be several reason for this:
- blocked port
- not valid e-mail
- not resolved e-mail (I think it's a reason)
- MTA exim don't work
Can you check in console? Command -> mailq
Mail queue is empty
Re: New Install of Vestacp Won't Send Emails By Default
umuzidan, okey, as we see MTA don't work.
I'm a bit confused, can you check exim? ->
and then
Can you show output - /var/log/exim4/mainlog ?
I'm a bit confused, can you check exim? ->
Code: Select all
/etc/init.d/exim4 status
Code: Select all
/etc/init.d/exim4 restart
Re: New Install of Vestacp Won't Send Emails By Default
Here is the log output from exim. I don't know why it would not be able to send mail based on the log
Code: Select all
2015-03-29 04:26:00 Start queue run: pid=17639
2015-03-29 04:26:00 1YbwNr-0001eI-6d Message is frozen
2015-03-29 04:26:00 1YbwNr-0001eV-UT Message is frozen
2015-03-29 04:26:00 1YbwNs-0001ed-9v Message is frozen
2015-03-29 04:26:00 1YbwNs-0001el-Jb Message is frozen
2015-03-29 04:26:00 1YbwNs-0001eh-Eh Message is frozen
2015-03-29 04:26:00 1YbwNr-0001eM-DU Message is frozen
2015-03-29 04:26:00 1YbwNr-0001eQ-Mz Message is frozen
2015-03-29 04:26:00 1YbPba-0004D5-TG Message is frozen
2015-03-29 04:26:00 1YbwXb-0001of-Lg Message is frozen
2015-03-29 04:26:00 1YbciU-0007vj-UP Message is frozen
2015-03-29 04:26:00 1YbwNr-0001eE-0B Message is frozen
2015-03-29 04:26:00 1YbwNs-0001eZ-50 Message is frozen
2015-03-29 04:26:00 End queue run: pid=17639
2015-03-29 05:26:00 Start queue run: pid=21353
2015-03-29 05:26:00 1YbwNr-0001eE-0B Message is frozen
2015-03-29 05:26:00 1YbwNr-0001eI-6d Message is frozen
2015-03-29 05:26:00 1YbwNr-0001eV-UT Message is frozen
2015-03-29 05:26:00 1YbwXb-0001of-Lg Message is frozen
2015-03-29 05:26:00 1YbwNs-0001el-Jb Message is frozen
2015-03-29 05:26:00 1YbwNs-0001eh-Eh Message is frozen
2015-03-29 05:26:00 1YbwNr-0001eM-DU Message is frozen
2015-03-29 05:26:00 1YbwNr-0001eQ-Mz Message is frozen
2015-03-29 05:26:00 1YbPba-0004D5-TG Unfrozen by errmsg timer
2015-03-29 05:26:00 1YbPba-0004D5-TG ** [email protected]: Unrouteable address
2015-03-29 05:26:00 1YbPba-0004D5-TG [email protected]: error ignored
2015-03-29 05:26:00 1YbPba-0004D5-TG Completed
2015-03-29 05:26:00 1YbwNs-0001ed-9v Message is frozen
2015-03-29 05:26:00 1YbciU-0007vj-UP Message is frozen
2015-03-29 05:26:00 1YbwNs-0001eZ-50 Message is frozen
2015-03-29 05:26:00 End queue run: pid=21353
2015-03-29 06:26:00 Start queue run: pid=24629
2015-03-29 06:26:00 1YbciU-0007vj-UP Message is frozen
2015-03-29 06:26:00 1YbwNr-0001eI-6d Message is frozen
2015-03-29 06:26:00 1YbwNs-0001el-Jb Message is frozen
2015-03-29 06:26:00 1YbwNs-0001eh-Eh Message is frozen
2015-03-29 06:26:00 1YbwNr-0001eM-DU Message is frozen
2015-03-29 06:26:00 1YbwNr-0001eQ-Mz Message is frozen
2015-03-29 06:26:00 1YbwXb-0001of-Lg Message is frozen
2015-03-29 06:26:00 1YbwNs-0001ed-9v Message is frozen
2015-03-29 06:26:00 1YbwNr-0001eV-UT Message is frozen
2015-03-29 06:26:00 1YbwNr-0001eE-0B Message is frozen
2015-03-29 06:26:00 1YbwNs-0001eZ-50 Message is frozen
2015-03-29 06:26:00 End queue run: pid=24629
2015-03-29 07:26:00 Start queue run: pid=27910
2015-03-29 07:26:00 1YbwNs-0001eZ-50 Message is frozen
2015-03-29 07:26:00 1YbciU-0007vj-UP Message is frozen
2015-03-29 07:26:00 1YbwNr-0001eV-UT Message is frozen
2015-03-29 07:26:00 1YbwNs-0001ed-9v Message is frozen
2015-03-29 07:26:00 1YbwNs-0001el-Jb Message is frozen
2015-03-29 07:26:00 1YbwNs-0001eh-Eh Message is frozen
2015-03-29 07:26:00 1YbwNr-0001eM-DU Message is frozen
2015-03-29 07:26:00 1YbwNr-0001eQ-Mz Message is frozen
2015-03-29 07:26:00 1YbwXb-0001of-Lg Message is frozen
2015-03-29 07:26:00 1YbwNr-0001eI-6d Message is frozen
2015-03-29 07:26:00 1YbwNr-0001eE-0B Message is frozen
2015-03-29 07:26:00 End queue run: pid=27910
2015-03-29 08:24:53 1YcCGr-0008Bh-En <= [email protected] U=admin P=local S=730
2015-03-29 08:25:56 1YcCGr-0008Bh-En umuzitech.com [172.20.22.2] Connection refused
2015-03-29 08:25:56 1YcCGr-0008Bh-En umuzitech.com [172.20.20.3] Connection refused
2015-03-29 08:25:56 1YcCGr-0008Bh-En == [email protected] R=dnslookup T=remote_smtp defer (111): Connection refused
2015-03-29 08:25:56 1YcCGr-0008Bh-En ** [email protected]: retry timeout exceeded
2015-03-29 08:25:56 1YcCHs-0008Ft-D2 <= <> R=1YcCGr-0008Bh-En U=exim P=local S=1600
2015-03-29 08:25:56 1YcCHs-0008Ft-D2 ** [email protected]: Unrouteable address
2015-03-29 08:25:56 1YcCHs-0008Ft-D2 Frozen (delivery error message)
2015-03-29 08:25:56 1YcCGr-0008Bh-En Completed
2015-03-29 08:26:00 Start queue run: pid=31739
2015-03-29 08:26:00 1YbwNr-0001eI-6d Message is frozen
2015-03-29 08:26:00 1YbwNs-0001ed-9v Message is frozen
2015-03-29 08:26:00 1YbwNs-0001eh-Eh Message is frozen
2015-03-29 08:26:00 1YcCHs-0008Ft-D2 Message is frozen
2015-03-29 08:26:00 1YbwNr-0001eM-DU Message is frozen
2015-03-29 08:26:00 1YbwNr-0001eQ-Mz Message is frozen
2015-03-29 08:26:00 1YbwNs-0001el-Jb Message is frozen
2015-03-29 08:26:00 1YbwXb-0001of-Lg Message is frozen
2015-03-29 08:26:00 1YbwNr-0001eV-UT Message is frozen
2015-03-29 08:26:00 1YbciU-0007vj-UP Message is frozen
2015-03-29 08:26:00 1YbwNr-0001eE-0B Message is frozen
2015-03-29 08:26:00 1YbwNs-0001eZ-50 Message is frozen
2015-03-29 08:26:00 End queue run: pid=31739
2015-03-29 08:52:56 1YcChz-0000Wq-88 <= [email protected] U=admin P=local S=729
2015-03-29 08:52:56 1YcChz-0000Wq-88 ** [email protected] R=dnslookup T=remote_smtp: retry time not reached for any host after a long failure period
2015-03-29 08:52:56 1YcCi0-0000Wu-N2 <= <> R=1YcChz-0000Wq-88 U=exim P=local S=1640
2015-03-29 08:52:56 1YcCi0-0000Wu-N2 ** [email protected]: Unrouteable address
2015-03-29 08:52:56 1YcCi0-0000Wu-N2 Frozen (delivery error message)
2015-03-29 08:52:56 1YcChz-0000Wq-88 Completed
2015-03-29 09:00:51 exim 4.72 daemon started: pid=2461, -q1h, listening for SMTP on port 25 (IPv6 and IPv4) port 587 (IPv6 and IPv4) port 2525 (IPv6 and IPv4) and for SMTPS on port 465 (IPv6 and IPv4)
2015-03-29 09:00:51 Start queue run: pid=2467
2015-03-29 09:00:51 1YcCi0-0000Wu-N2 Message is frozen
2015-03-29 09:00:51 1YbwNr-0001eV-UT Message is frozen
2015-03-29 09:00:52 1YbwNs-0001ed-9v Message is frozen
2015-03-29 09:00:52 1YbwXb-0001of-Lg Message is frozen
2015-03-29 09:00:52 1YbwNs-0001el-Jb Message is frozen
2015-03-29 09:00:52 1YbwNs-0001eh-Eh Message is frozen
2015-03-29 09:00:52 1YbwNr-0001eQ-Mz Message is frozen
2015-03-29 09:00:52 1YbwNr-0001eM-DU Message is frozen
2015-03-29 09:00:52 1YcCHs-0008Ft-D2 Message is frozen
2015-03-29 09:00:52 1YbwNr-0001eI-6d Message is frozen
2015-03-29 09:00:52 1YbciU-0007vj-UP Message is frozen
2015-03-29 09:00:52 1YbwNr-0001eE-0B Message is frozen
2015-03-29 09:00:52 1YbwNs-0001eZ-50 Message is frozen
2015-03-29 09:00:52 End queue run: pid=2467
2015-03-29 09:18:21 1YcD28-0000ue-Qb SIGINT received while reading local message
2015-03-29 09:18:29 exim 4.72 daemon started: pid=4662, -q1h, listening for SMTP on port 25 (IPv6 and IPv4) port 587 (IPv6 and IPv4) port 2525 (IPv6 and IPv4) and for SMTPS on port 465 (IPv6 and IPv4)
2015-03-29 09:18:29 Start queue run: pid=4663
2015-03-29 09:18:29 1YbwNs-0001eZ-50 Message is frozen
2015-03-29 09:18:29 1YbwNr-0001eV-UT Message is frozen
2015-03-29 09:18:29 1YbwXb-0001of-Lg Message is frozen
2015-03-29 09:18:29 1YbwNs-0001el-Jb Message is frozen
2015-03-29 09:18:29 1YcCHs-0008Ft-D2 Message is frozen
2015-03-29 09:18:29 1YbwNr-0001eQ-Mz Message is frozen
2015-03-29 09:18:29 1YbwNr-0001eM-DU Message is frozen
2015-03-29 09:18:29 1YbwNs-0001eh-Eh Message is frozen
2015-03-29 09:18:29 1YbwNs-0001ed-9v Message is frozen
2015-03-29 09:18:29 1YbwNr-0001eI-6d Message is frozen
2015-03-29 09:18:29 1YbciU-0007vj-UP Message is frozen
2015-03-29 09:18:29 1YbwNr-0001eE-0B Message is frozen
2015-03-29 09:18:29 1YcCi0-0000Wu-N2 Message is frozen
2015-03-29 09:18:29 End queue run: pid=4663
2015-03-29 09:19:57 1YcD89-0001N4-0q <= [email protected] U=admin P=local S=729
2015-03-29 09:19:57 1YcD89-0001N4-0q ** [email protected] R=dnslookup T=remote_smtp: retry time not reached for any host after a long failure period
2015-03-29 09:19:57 1YcD89-0001NI-Hi <= <> R=1YcD89-0001N4-0q U=exim P=local S=1640
2015-03-29 09:19:57 1YcD89-0001NI-Hi ** [email protected]: Unrouteable address
2015-03-29 09:19:57 1YcD89-0001NI-Hi Frozen (delivery error message)
2015-03-29 09:19:58 1YcD89-0001N4-0q Completed
Re: New Install of Vestacp Won't Send Emails By Default
It's your problem - "Unrouteable address"
There is two way to solve this problem: 1) you can check closed or not your 25 port, and make setting for resolv/PRT/dns/hostname 2) use external mail for your messages - viewtopic.php?f=12&t=7422
There is two way to solve this problem: 1) you can check closed or not your 25 port, and make setting for resolv/PRT/dns/hostname 2) use external mail for your messages - viewtopic.php?f=12&t=7422
Re: New Install of Vestacp Won't Send Emails By Default
Ok something is missing here.
I want my VCP server to only act as a web server, not host email for users. So, I only want VCP to send email notifications like when you create a new FTP user. I do not want to allow port 25 access INTO VCP.
When VCP sends an email, I want it to send it to my internal mail server, for example mail.example.com:8001 (yes, I mean on port 8001) and there is NO authentication - anonymous.
So, from what I learned, I think I need to update the /etc/exim/main.conf file. Can you please tell me where I specify my mail server and port?
I want my VCP server to only act as a web server, not host email for users. So, I only want VCP to send email notifications like when you create a new FTP user. I do not want to allow port 25 access INTO VCP.
When VCP sends an email, I want it to send it to my internal mail server, for example mail.example.com:8001 (yes, I mean on port 8001) and there is NO authentication - anonymous.
So, from what I learned, I think I need to update the /etc/exim/main.conf file. Can you please tell me where I specify my mail server and port?
Re: New Install of Vestacp Won't Send Emails By Default
I uncommented the smarthost section and added my server. After 30 minutes it just started working :)
/closed.
/closed.
Re: New Install of Vestacp Won't Send Emails By Default
You're good ) Nice!