smart_host on sendmail min config

Giorgos Keramidas keramida at ceid.upatras.gr
Tue Dec 11 10:12:11 PST 2007


On 2007-12-11 13:02, "Aryeh M. Friedman" <aryeh.friedman at gmail.com> wrote:
>> Ideally, something like `mail -v' should show at least an attempt to
>> post the message to the local queue: [...]
>
> monster-freebsd# sendmail -bd -q1m -v
> 050 WARNING: local host name (monster-freebsd) is not qualified; see
> cf/README: WHO AM I?
> monster-freebsd# mail -v aryeh.friedman at gmail.com
> Subject: test fopo
> dsadad
> .
> EOT
> WARNING: local host name (monster-freebsd) is not qualified; see cf/README: WHO AM I?
> aryeh.friedman at gmail.com... Connecting to [127.0.0.1] via relay...
> 220 monster-freebsd ESMTP Sendmail 8.14.2/8.14.2; Tue, 11 Dec 2007
> 13:00:27 -0500 (EST)
> >>> EHLO monster-freebsd
> 250-monster-freebsd Hello localhost [127.0.0.1], pleased to meet you
[...]
> 354 Enter mail, end with "." on a line by itself
> >>> .
> 250 2.0.0 lBBI0RgU000340 Message accepted for delivery
> aryeh.friedman at gmail.com... Sent (lBBI0RgU000340 Message accepted for delivery)
> Closing connection to [127.0.0.1]
> >>> QUIT
> 221 2.0.0 monster-freebsd closing connection

Neat!  Your local Sendmail submission service works then.  You should be
able to see the message in the `clientmqueue' with:

    mailq -Ac

Now, can you show us how your local rc system starts Sendmail, and the
active Sendmail processes you are using?  It may be working fine, but
only queueing messages in `/var/spool/clientmqueue'.  A queue runner
should also be started to periodically scan and handle the clientmqueue
messages.



More information about the freebsd-questions mailing list