Sendmail/Postfix to act as the main exchanger butforwardallemailto Exchange! Any proven results?

Chris W. Parker cparker at swatgear.com
Wed May 5 17:18:47 UTC 2004


Sebastijan Petrovic <mailto:SebastijanP at digitaldanka.com>
    on Wednesday, May 05, 2004 9:49 AM said:

> Should "domaintable" have anything in it?

mine is empty and i am working fine. so i'd say no.

> /etc/mail/access
> 
> localhost.localdomain           RELAY
> localhost                       RELAY
> 127.0.0.1                       RELAY

> get the valid user list from exchange via LDAP: (ldapsearch -x -b ""
> -h <exchange.mytestdomain.com> rdn=*)
> mytestdomain.com

what's this stuff? otherwise looks ok.

> 
> mytestdomain.com                    RELAY


> ______________________________________________________________________
> 
> /etc/mail/mailertable
> 
> mytestdomain.com    esmtp:[exchange.mytestdomain.com]

looks ok.

> ______________________________________________________________________
> 
> /etc/mail/relay-domains
> 
> mytestdomain.com
> mytestdomain2.com

i didn't even have a relay-domains file until yesterday. it's not
necessary for making what you want. it merely allows someone to send
mail through your email server to a domain you do not control.

> ______________________________________________________________________
> 
> /etc/mail/virtusertable (NOTE THE SECOND IN LIST DOMAIN, IS IT SUPPOSE
> TO HAVE %1)?

i don't have anything in my virtusertable.

> ______________________________________________________________________
> 
> /etc/mail/trusted-users
> root
> daemon
> uucp
> mytestuser1
> mytestuser2

these are all commented out in my file.


> ______________________________________________________________________
> 
> /etc/mail/sendmail.mc

i don't know much about this file so the following comment may or may
not apply.

[snip]

> DAEMON_OPTIONS(`Port=smtp,Addr=192.168.1.5, Name=MTA')dnl

[snip]

mine is different:

dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')




hope this helps.
chris.





More information about the redhat-list mailing list