Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jul 2008 00:20:03 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        EdwardKing <zhangsc@neusoft.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mail not work
Message-ID:  <87skuguni4.fsf@kobe.laptop>
In-Reply-To: <006d01c8e304$e8a65b90$3f83a8c0@neusofteaf5839> (EdwardKing's message of "Fri, 11 Jul 2008 11:19:19 %2B0800")
References:  <002b01c8e2ed$4c486ac0$3f83a8c0@neusofteaf5839> <871w21fcw6.fsf@kobe.laptop> <006d01c8e304$e8a65b90$3f83a8c0@neusofteaf5839>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 11 Jul 2008 11:19:19 +0800, EdwardKing <zhangsc@neusoft.com> wrote:
>>> * Do you have a local user whose login name is `Kate'?
> I have  a local user whose login name is `Kate'
>
>>>* Did you do anything to enable Sendmail (the default mail transfer
>     agent)?
> How to enable Sendmail?
>
>>>* What does the `/var/log/maillog' file contain?
> I have maillog,its contains is follows, how to make mail work?

Are you really using 'example.com' as your domain name?

The following messages seem to imply that you are.

> Jul  9 22:09:08 k6-2 sendmail[1314]: m69E98gv001314: from=Tom,
>   size=86, class=0, nrcpts=1,
>   msgid=<200807091409.m69E98gv001314@k6-2.example.com>,
>   relay=Tom@localhost
>
> Jul  9 22:09:08 k6-2 sm-mta[1315]: m69E98rr001315:
>   from=<Tom@k6-2.example.com>, size=414, class=0, nrcpts=1,
>   msgid=<200807091409.m69E98gv001314@k6-2.example.com>, proto=ESMTP,
>   daemon=Daemon0, relay=localhost [127.0.0.1]
>
> Jul  9 22:09:08 k6-2 sm-mta[1315]: m69E98rr001315:
>   to=<Kate@k6-2.example.com>, delay=00:00:00, mailer=local, pri=30414,
>   dsn=4.4.3, stat=queued
>
> Jul  9 22:09:08 k6-2 sendmail[1314]: m69E98gv001314: to=Kate,
>   ctladdr=Tom (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay,
>   pri=30086, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent
>   (m69E98rr001315 Message accepted for delivery)

If that is the case, then you will have to switch domain names, because
`example.com' is already registered, and you don't own it.

My usual suggestion is to prefer something that doesn't stand a great
chance of being a valid, registered domain name, i.e.:

    domain = keramida.priv

The answer to your question ``how to make mail work?'' should be in the
Handbook.  If it isn't, you will have to show us all the options related
to `sendmail_xxx' variables from your `/etc/rc.conf' file, and some
files from the `/etc/mail' directory.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87skuguni4.fsf>