Search Engine: Elastic

Article ID: 2405, created on Oct 29, 2007, last review on Apr 18, 2012

  • Applies to:
  • Pro Control Panel Linux


View Knowledge
Knowledge ID 1168
Product : WEBppliance for Linux
Version : 3.5.21
Topic : FAQ

When trying to relay mail from the server to a domain on the server which has

When trying to relay mail from the server to a domain on the server which has hosted mail on some other mail server, the sendmail server throws up "User Unknown" error.



This problem has been noticed for sites with external email servers and sendmail disabled. The problem exists because of checks introduced in sendmail to give an outright "User Unknown" error message when trying to deliver to a non existing user on a domain. The previous behaviour was to first accept the mail then do a check locally and bounce back with a user does not exist mail if the user did not exist in the domain. The change was made to prevent unnecessary mails in the system which happened when spammers tried to guess usernames on sites using brute force.

The specific directives in the file are
Kdomainmap hash -o /etc/virtualhosting/mappings/domainmap.dband the following directives for each site
Ksite1_a hash -o -a -m /home/virtual/site1/fst/etc/aliases.db
Ksite1_u text -o -a -f -z: -v2 /home/virtual/site1/fst/etc/passwd

This however does not take into consideration the situation where the mail is hosted on another server.

To get past this, Edit the site and enable sendmail on it. Then make sure you have a catch-all account set for the domain. Edit the site to disable sendmail on the server. Make sure that the domain aliases file /home/virtual/ exists after you have disabled sendmail for the site.


Related Knowledge

Related Links
Last ModifiedUsageSatisfiedLast Used
8/20/2004 12:45:03 PM165 10/11/2007 6:29:19 AM

4cc899da08664637a8bc437308d3ddd7 3ccb419cf98083f3bb45808fba8dbc7c 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF