Hello everybody,

Until recently, I was getting my "periodic" reports forwarded to my external
e-mail box.

I arranged this by adding the following line to the top of the /etc/aliases
file and then running "newaliases"...

    root: <<EXTERNAL-EMAIL-ADDRESS>>

However, I am no longer getting e-mail in my external mail account.  I was
playing around with the host settings at one point and I think that is the
reason why i'm having the problem.  I haven't had any success resolving the
issue myself, and while I did google it, I couldn't find many options.

I examined /var/log/maillog, and saw something unexpected...

    Jul 12 23:45:13 HOSTNAME sm-mta[580]: l6824ssQ008021:
to=<[EMAIL PROTECTED]>, delay=4+20:40:18, xdelay=00:00:00,
mailer=esmtp, pri=21733613, relay=sirius.DOMAIN...DOMAIN.ORG., dsn=4.0.0,
stat=Deferred: Connection refused by HOSTNAME.DOMAIN.ORG.DOMAIN.ORG.

(Note, i've replaced references to my actual hostname and domain with
HOSTNAME and DOMAIN.ORG respectively).

For some reason, it is saying "Connection refused by
HOSTNAME.DOMAIN.ORG.DOMAIN.ORG".  I'm not sure wht e-mail cant be sent, but
regardless, I would expect it to say "Connection refused by
HOSTNAME.DOMAIN.ORG".

Now, i've set the appropriate settings in /etc/hosts...

    127.0.0.1    localhost.DOMAIN.ORG localhost
    <<EXTERNAL-IP-ADDRESS>>    HOSTNAME.DOMAIN.ORG HOSTNAME

My /etc/host.conf file is set as follows...

    hosts
    dns

My DNS server entries are defined /etc/resolv.conf

    nameserver <<DNS-SERVER-1>>
    nameserver <<DNS-SERVER-2>>
    nameserver <<DNS-SERVER-3>>

I have the following settings of interest in /etc/rc.conf.  Note that I do
not receive any e-mail on this machine - sendmail is only used to, well,
*send* mail..

    hostname="HOSTNAME.DOMAIN.ORG"
    sendmail_enable="NO"

I'm using FreeBSD v5.5 on this box...

    FreeBSD HOSTNAME.DOMAIN.ORG 5.5-RELEASE FreeBSD 5.5-RELEASE #0: Tue May
23 14:58:27 UTC 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

Anyone have any ideas, or suggestions?

Regards,

Jazz



_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to