mail not work

Giorgos Keramidas keramida at ceid.upatras.gr
Fri Jul 11 21:20:27 UTC 2008


On Fri, 11 Jul 2008 11:19:19 +0800, EdwardKing <zhangsc at 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 at k6-2.example.com>,
>   relay=Tom at localhost
>
> Jul  9 22:09:08 k6-2 sm-mta[1315]: m69E98rr001315:
>   from=<Tom at k6-2.example.com>, size=414, class=0, nrcpts=1,
>   msgid=<200807091409.m69E98gv001314 at 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 at 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.



More information about the freebsd-questions mailing list