Sendmail -- conception/Installation

Hi,

Sorry if I ask a silly question, but I am quite a newbie on Sendmail :-)
What I am want to do, is to receive my emails DIRECTLY into my server.
(Without realying anything, or accessing any other Email server...)

For this, I have setup on my Domain name service :
* My Domain name "example.com" -> <My_fix_IP_Address>
* A Record -> <Fixe IP Address>
* MX -> foo.example.com (Where foo, is also declared as sub domaine)

On my router, as virtual server, I re-route Port : 25 (And also 53 for
BIND, but don't know if needed to be honest.. :-(

- Is that a correct conf ??

[Even that with DNSstuff, it can't reach the server :-( ]

Now, try to use configure sendmail with "Webmin", and every email I
tried to send, never reach the server.

- Should I need to configure BIND ? or I don't need it ?
- What should I do on the DNS part, for any emails to reach the server ?

(I am desperate after so much time spend on this..

Thanks for your help

Stephane
Steve [ Do, 20 September 2007 11:42 ] [ ID #1825686 ]

Re: Sendmail -- conception/Installation

Steve <guess [at] yahoo.com> writes:

> Sorry if I ask a silly question, but I am quite a newbie on Sendmail :-)
> What I am want to do, is to receive my emails DIRECTLY into my
> server. (Without realying anything, or accessing any other Email
> server...)
>
> For this, I have setup on my Domain name service :
> * My Domain name "example.com" -> <My_fix_IP_Address>
> * A Record -> <Fixe IP Address>
> * MX -> foo.example.com (Where foo, is also declared as sub domaine)

Just to be clear, you need (on the TOP domain):

mail1.domain.org. IN A 65.177.205.2
domain.org. IN MX 0 mail1.domain.org.

>
> On my router, as virtual server, I re-route Port : 25 (And also 53
> for BIND, but don't know if needed to be honest.. :-(
>
> - Is that a correct conf ??
>
Not sure what you mean there? If you are running sendmail
on your server -- you should be able to go to another computer
off your network and enter:

telnet mail1.domain.org 25 (and then get a sendmail greeting as below):

Connected to mail1.domain.org (65.177.205.2).
Escape character is '^]'.
220 hammer.thebook.com ESMTP Sendmail 8.13.1/8.13.1; Thu, 20 Sep 2007 13:08:40 -0400


> [Even that with DNSstuff, it can't reach the server :-( ]

If you can't get through, then you have to check firewall settings, NAT,
etc..... None of the below will work until you can get a connection.

Hope this helps!

>
> Now, try to use configure sendmail with "Webmin", and every email I
> tried to send, never reach the server.
>


--
John
____________________________________________________________ _______
John Murtari Software Workshop Inc.
jmurtari [at] following domain 315.635-1968(x-211) "TheBook.Com" (TM)
http://thebook.com/
John Murtari [ Do, 20 September 2007 19:10 ] [ ID #1825691 ]

Re: Sendmail -- conception/Installation

John Murtari wrote:
> Steve <guess [at] yahoo.com> writes:
>
>> Sorry if I ask a silly question, but I am quite a newbie on Sendmail :-)
>> What I am want to do, is to receive my emails DIRECTLY into my
>> server. (Without realying anything, or accessing any other Email
>> server...)
>>
>> For this, I have setup on my Domain name service :
>> * My Domain name "example.com" -> <My_fix_IP_Address>
>> * A Record -> <Fixe IP Address>
>> * MX -> foo.example.com (Where foo, is also declared as sub domaine)
>
> Just to be clear, you need (on the TOP domain):
>
> mail1.domain.org. IN A 65.177.205.2
> domain.org. IN MX 0 mail1.domain.org.
>
>> On my router, as virtual server, I re-route Port : 25 (And also 53
>> for BIND, but don't know if needed to be honest.. :-(
>>
>> - Is that a correct conf ??
>>
> Not sure what you mean there? If you are running sendmail
> on your server -- you should be able to go to another computer
> off your network and enter:
>
> telnet mail1.domain.org 25 (and then get a sendmail greeting as below):
>
> Connected to mail1.domain.org (65.177.205.2).
> Escape character is '^]'.
> 220 hammer.thebook.com ESMTP Sendmail 8.13.1/8.13.1; Thu, 20 Sep 2007 13:08:40 -0400
>
>
>> [Even that with DNSstuff, it can't reach the server :-( ]
>
> If you can't get through, then you have to check firewall settings, NAT,
> etc..... None of the below will work until you can get a connection.
>
> Hope this helps!
>
>> Now, try to use configure sendmail with "Webmin", and every email I
>> tried to send, never reach the server.
>>
>
>

Ho Thanks for you reply...

when you say :

Just to be clear, you need (on the TOP domain):
mail1.domain.org. IN A 65.177.205.2
domain.org. IN MX 0 mail1.domain.org.

Where ? Where should I have this ? (I am running CentOSv 4,5)

So... I updated my Domaine name provider with the 2 domaine and sub
domaine as you mentioned...

Now, Should I write this somewhere else on my email server ???
If so, where ?
should I configure my /etc/mail/ xxxx ??


Thanks and regards,
Steve [ Do, 20 September 2007 22:54 ] [ ID #1825694 ]
Miscellaneous » comp.mail.sendmail » Sendmail -- conception/Installation

Vorheriges Thema: Data format errors
Nächstes Thema: How to route system email to an outbound server