Sufian Hameed: > Hi, > > I have configured postfix on one machine, lets say "*server1.loc*". when i > send email from us...@server1.loc ---- to ---- us...@server2.loc it is send > locally with relay=local. > > What i want is that the local emails from the server should also pass > (enter) through smtp port. and pass through spamassasin and other custom > spam filters. > > any idea how can i achieve this ?
List the domain in relay_domains on the first server. Do not list the domain in mydestination on the first server. Do not list the domain in virtual_alias_domains on the first server. Do not list the domain in virtual_mailbox_domains on the first server. See also: http://www.postfix.org/ADDRESS_CLASS_README.html Wietse