• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

External Email not routed - where can I find it local

OliverPil

New Pleskian
Hello,


my system:

server: Ubuntu 12.04 LTS
Plesk 11.0

I use an external Mailserver for a domain hosted on my server.
However, the Mails send from my local server (by a php script) did
not arrive on the external server, plesk seems to try to handle this
locally. But I got no Mailbox there.

Questions
1. Where may I found the mails or any information how many
mails the server tried to send. I got no local Mailbox on the
server.

/usr/local/psa/var/log/maillog

Does not show the information about the php script.


2. How to fix the problem to be able to receive local send Mail on
external Mail server .


3. May be in a way similar to
http://forum.parallels.com/showthre...d-mailer-daemon&highlight=External+Mailserver


Best,
Oliver
 
Hello,

Have you disable the mail services for that domain ? You can do it through command line.

Code:
/usr/local/psa/bin/domain -u DOMAINNAME -mail_service false
 
This works, thanks.

But what about the old Mail, question 1.?

Where may I found the mails or any information how many
mails the server tried to send. I got no local Mailbox on the
server.

/usr/local/psa/var/log/maillog

Does not show the information about the php script.
 
Unfortunately the mail will be lost if it is not still in the queue.
I don't know what Ubuntu uses for the default "from" from a webscript, but on Centos and similar it is anonymous@ or nobody@ or similar.
The mail from this user gets sent to the non-existent mailbox, which bounces it back.
And since anonymous/nobody/whatever also does not exist, you get what's called a double-bounce.

If you are lucky, the double-bounce goes to root@localhost but typically it will be lost.

/usr/local/psa/var/log/maillog WILL contain info on the message bouncing. Everything related to mail can be found there since the message is being delivered locally even if you might not have any sending into. Remember that the log does get rotated (daily?) so the information may be in an older log.
 
Back
Top