IS wrote:
> Steve,
> 
> Thank you for your response. I do want to temporary queue mail for a
> fallback domain and not store the mail on my mailserver.
> 
> Unfortunately this is what happens (local storage of mail which my
> mailserver receives for fallback hosts) when mail for another domain
> is delivered on my mailserver when the recipient of that message
> excists as a local user account on my server.
> 
> In Short. My problem is that mail that will be received for any
> domain I have in '/etc/mail/local-host-names' would be delivered to a
> local user account altought this user is not specified in
> '/etc/mail/virtusertable'.
> Ofcourse this works only if the recipient (before the '@') is the
> same as an excisting local user account on the mailserver.
> 
> Hope I made it clear... and hope you have an answer on this.
> 
> Regards,
> Ivo

Any domain name you list in local-host-names will be delivered locally.
Hence the name of the file.

If you are wanting to queue e-mail for your fallback domains...

1) Remove all reference of fallback domain names from local-host-names.
Leave the domain names that you want stored locally.

2) Add reference to fallback domain names to /etc/mail/mailertable as
follows:
fallback1.com   esmtp:[primary_mx.fallback1.com]
fallback2.com   esmtp:[primary_mx.fallback2.com]
etc...

3) Add fallback domain names to /etc/mail/relay-domains as follows (you may
need to create this file)
fallback1.com
fallback2.com

4) Type "make" in /etc/mail directory to rebuild mailertable database.

5) Because you made a change to a non-database sendmail configuration file
(relay-domains), you will have to restart sendmail.

Steve Cowles


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to