webmail/webapps and mail delivery failed

ccto

Verified User
Joined
Feb 24, 2005
Messages
287
Location
Hong Kong
Hello DirectAdmin,

We found that when we uses custombuild (suphp) and webapps to run webmail, if the email cannot be delivered (say recipient email address incorrect), it will return the undeliver message to [email protected]

Please help. Thank you.
Even we add the webapps into the exim trusted_users , it does not help.

Below is the log for your reference -
2008-07-18 23:10:13 1KJrb3-0004Bk-1E <= [email protected] U=webapps P=local S=364820 [email protected] T="Fw: xxxxxn" from <[email protected]> for [email protected]
2008-07-18 23:10:13 1KJrb3-0004Bk-1E ** [email protected] F=<[email protected]> R=virtual_aliases:
2008-07-18 23:10:13 1KJrb3-0004Bo-2a <= <> R=1KJrb3-0004Bk-1E U=mail P=local S=108236 T="Mail delivery failed: returning message to sender" from <> for [email protected]
2008-07-18 23:10:13 1KJrb3-0004Bk-1E Completed
2008-07-18 23:10:13 1KJrb3-0004Bo-2a <= <> R=1KJrb3-0004Bk-1E U=mail P=local S=108236 T="Mail delivery failed: returning message to sender" from <> for [email protected]
2008-07-18 23:10:13 1KJrb3-0004Bo-2a == [email protected] R=localuser T=local_delivery defer (13): Permission denied: cannot create /home/webapps/Maildir/
2008-07-18 23:10:13 1KJrb3-0004Bo-2a ** [email protected]: retry timeout exceeded
2008-07-18 23:10:13 1KJrb3-0004Bo-2a [email protected]: error ignored
2008-07-18 23:10:13 1KJrb3-0004Bo-2a Completed
 
Note that this is a self-help forum, and NOT an official DirectAdmin support venue.

So I'll respond:

The email is being returned to the address in the Return-path header. You can change that through your php code.

Jeff
 
Back
Top