Help with setting up a mail server

Cristiano Deana cristiano.deana at gmail.com
Wed Jul 21 15:24:11 UTC 2010


On Tue, Jul 20, 2010 at 3:26 PM, Aryeh M. Friedman
<aryeh.friedman at gmail.com> wrote:

> I am a consultant and was retained by my client to setup qmail or exim
> on a VPS running 8.0-STABLE (i386). After setting up the DNS (A record
> and MX record) we have been unable to send or receive mail.

steps:

a) check if your dns are correct:
# dig yourdomain.com mx
(eg:)
mail.yourdomain.com
# telnet mail.yourdomain.com 25

does it reply or not?

a) reply
 check if your mta is cofigured correctly:
 telnet mail.yourdomain.com 25 # write:
  ehlo gmail.com
  mail from: aryeh.friedman at gmail.com
  rcpt to: example_user at yourdomain.com
  data
  Subject: Test
  .

 does it reply with a
 2XX code? with a 4XX code? 5XX code?

b) doesn't reply
 does mail.yourdomain.com resolve to your mailserver's IP?
 is your daemon runnig?

p.s
if you give us more REAL information (domain, ip, etc) we can hel you more.



-- 
Cris, member of G.U.F.I
Italian FreeBSD User Group
http://www.gufi.org/


More information about the freebsd-questions mailing list