LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Sendmail problem (https://www.linuxquestions.org/questions/linux-security-4/sendmail-problem-443502/)

manya 05-10-2006 12:38 PM

Sendmail problem
 
HI All,

I am facing one problem while configuring Sendmail on FC3.
Well my problem is whener i am doing a telnet to my MTA on port 25 and tries to send a mail, sendmail gives me error at RCPT TO: command
the error ir
rcpt to: <abc@test.com> Receipient OK (will queue)
Mail deleievery is not for foreign domain but to localdomain e.g. test.com . Both the users resides on the same domain i.e. abc@test.com and xyz@test.com

When i setup DNS and put MX record of my server it works. and i didnt get any error in /var/log/maillog

Can any one help me on this

Thanks in advance

centauricw 05-11-2006 11:15 PM

Have you run a test on the user address (for example):

Code:

$ sendmail -bt  [ENTER]

ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> 3,0 abc@test.com  [ENTER]

... diagnostic output ...

This will give you good clues as to how Sendmail will route your email for this address. Also make sure that all your local domains are included in the "local-host-names" file and that appropriate rules are in the access database.

Also, Sendmail requires DNS to be working. You don't have to have a MX record but the DNS lookups for your servers must be working. You can turn this off but compiling a new sendmail.cf file with the "nodns" feature.


All times are GMT -5. The time now is 01:49 AM.