• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

mail redirect not working

N

Naughty

Guest
If i create an email account and setup mail redirection then it simply dont work. (when i send a mail to that new address, it goes no where).

anyone know how to solve this?

Plesk 7.5.3
RH AS 3
 
What activity do you see in your maillog?
Do you get any bounces?
Are you sure dns is setup properly?
 
Originally posted by worker
What activity do you see in your maillog?
Do you get any bounces?
Are you sure dns is setup properly?

1. nothing
2. no
3. yes
 
If you have root login, please login to the server via SSH and issue the following command, then post the results here:

ps -ax |grep 'qmail'

Then do this command and post the results:

netstat -an |grep ':25'

Basically the first command should show several qmail processes running in memory. This is to verify that the mail service is actually running.

The second command should show that something is 'Listening' on port 25 (SMTP).

Since your log shows 'nothing' and you are not getting a bounce or failure back to the originating email account, it sounds as if either the mail daemon is not running or not listening on the right port.

Also, are you running a firewall or is the server behind a router? If it's behind a router, then have you setup port 25 forwarding to the server's IP?
 
i already did that:

29460 pts/0 S 0:00 qmail-send
29464 pts/0 S 0:00 splogger qmail
29465 pts/0 S 0:00 qmail-lspawn ./Maildir/
29466 pts/0 S 0:00 qmail-rspawn
29467 pts/0 S 0:00 qmail-clean

weird thing is, i just check qmail in plesk and the stop and restart is grayed out for me!

This happened after upgrading from 7.1.6 to 7.5.3

edit: hmm weird, got this grayed out buttons on both servers...
edit2: nm, found this quote in another topic:
We've contacted our developers and received answer that this is specific Plesk for Virtuozzo issue, it happens because qmail status is always 'running' according to it's starting script. It doesn't affect Qmail's functionality and it will be fixed in Plesk 7.5.4 . Please refer to our website for announcement about the new patch.
 
So are you running on a dedicated server or a VPS/Virtuozzo server? If it's a dedicated server then you may want to re-run the upgrade.
 
So the hardware is not shared, but the whole **** runs in Virtuozzo.

Just tested on another server with the same config, and it doesnt work on that one either!


LOG:

Code:
Aug 22 05:53:09 ns1 qmail: 1124682789.067398 new msg 4637737
Aug 22 05:53:09 ns1 qmail: 1124682789.067441 info msg 4637737: bytes 1441 from <[email protected]> qp 27968 uid 0
Aug 22 05:53:09 ns1 qmail: 1124682789.142766 starting delivery 4100: msg 4637737 to remote [email][email protected][/email]
Aug 22 05:53:09 ns1 qmail: 1124682789.142808 status: local 0/10 remote 1/20
Aug 22 05:53:09 ns1 qmail: 1124682789.344861 delivery 4100: success: xxx.xxx.xxx.xxx_accepted_message./Remote_host_said:_250_OK_id=1E73Mz-0001s5-CY/
Aug 22 05:53:09 ns1 qmail: 1124682789.344901 status: local 0/10 remote 0/20
Aug 22 05:53:09 ns1 qmail: 1124682789.344915 end msg 4637737
Aug 22 05:58:37 ns1 qmail: 1124683117.481381 status: exiting
Aug 22 05:58:37 ns1 qmail: 1124683117.663835 status: local 0/10 remote 0/20
 
Aug 22 05:53:09 ns1 qmail: 1124682789.344861 delivery 4100: success: xxx.xxx.xxx.xxx_accepted_message./Remote_host_said:_250_OK_id=1E73Mz-0001s5-CY/
Aug 22 05:53:09 ns1 qmail: 1124682789.344901 status: local 0/10 remote 0/20
This shows that the message was delivered to the forwarded address's email server and was accepted.

Is the other server under your control as well?? If so, can you check it's logs?

If nothing else, try forwarding to an external Yahoo/Gmail/Hotmail account and see if the message ends up in that account (or in the Spam/Bulk) folder.
 
Originally posted by jamesyeeoc
This shows that the message was delivered to the forwarded address's email server and was accepted.

Is the other server under your control as well?? If so, can you check it's logs?

If nothing else, try forwarding to an external Yahoo/Gmail/Hotmail account and see if the message ends up in that account (or in the Spam/Bulk) folder.

weird ****, now i check catch all of those accounts and all email get delivered there, but not to the alias of that account.

this is on every email address i tried on differtent servers.

very strange
 
Back
Top