i am sorry i made a mistake while asking first time there is no server2.

I have configured postfix on one machine, lets say "*server1.loc*". when i
send email from *us...@server1.loc*  ---- to ---- *us...@server1.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 ?


On Wed, Dec 8, 2010 at 10:12 PM, Wietse Venema <wie...@porcupine.org> wrote:

> 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
>

Reply via email to