smart_host on sendmail min config
Aryeh M. Friedman
aryeh.friedman at gmail.com
Tue Dec 11 10:02:15 PST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Giorgos Keramidas wrote:
> On 2007-12-10 22:00, "Aryeh M. Friedman" <aryeh.friedman at gmail.com> wrote:
>> Dec 9 09:15:38 newsyslog[587]: logfile first created
>> Dec 9 09:15:38 sm-mta[720]: starting daemon (8.14.2):
SMTP+queueing at 00:30:00
>> Dec 9 09:15:38 sm-msp-queue[724]: starting daemon (8.14.2):
queueing at 00:30:00
>> Dec 9 12:22:28 sm-mta[729]: starting daemon (8.14.2):
SMTP+queueing at 00:30:00
>> Dec 9 12:22:28 sm-msp-queue[733]: starting daemon (8.14.2):
queueing at 00:30:00
>>
>> completely unchanged before and after I attempted to sendmail to my
>> self (after a reboot but not a restart of sendmail [I have a
>> handcrafted /etc/rc so I know it doesn't run sendmail on boot])
>
> I don't see message sending attempts above. Since you have modified
> `/etc/rc' can you show me the processes launched for Sendmail, the way
> they started, and then how you are trying to send an email message?
>
> Ideally, something like `mail -v' should show at least an attempt to
> post the message to the local queue:
>
> % $ mail -v keramida
> % Subject: foo
> % testing
> % .
> % EOT
> % keramida... Connecting to [127.0.0.1] via relay...
> % 220 kobe.laptop ESMTP Sendmail 8.14.2/8.14.2; Tue, 11 Dec 2007
18:26:12 +0200 (EET)
> % >>> EHLO kobe.laptop
> % 250-kobe.laptop Hello kobe.laptop [127.0.0.1], pleased to meet you
> % 250-ENHANCEDSTATUSCODES
> % 250-PIPELINING
> % 250-8BITMIME
> % 250-SIZE
> % 250-DSN
> % 250-ETRN
> % 250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
> % 250-DELIVERBY
> % 250 HELP
> % >>> MAIL From:<keramida at kobe.laptop> SIZE=35 AUTH=keramida at kobe.laptop
> % 250 2.1.0 <keramida at kobe.laptop>... Sender ok
> % >>> RCPT To:<keramida at kobe.laptop>
> % >>> DATA
> % 250 2.1.5 <keramida at kobe.laptop>... Recipient ok
> % 354 Enter mail, end with "." on a line by itself
> % >>> .
> % 250 2.0.0 lBBGQCj8018567 Message accepted for delivery
> % keramida... Sent (lBBGQCj8018567 Message accepted for delivery)
> % Closing connection to [127.0.0.1]
> % >>> QUIT
> % 221 2.0.0 kobe.laptop closing connection
> % $
>
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
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
>>> MAIL From:<aryeh at monster-freebsd> SIZE=56
250 2.1.0 <aryeh at monster-freebsd>... Sender ok
>>> RCPT To:<aryeh.friedman at gmail.com>
>>> DATA
250 2.1.5 <aryeh.friedman at gmail.com>... Recipient ok
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHXtCizIOMjAek4JIRAoc6AKCpJfHrBjp6ggnJ8ofcHr8aeGHLWQCcDAIV
HhNmOsaup3n4HTwDHsezl/Q=
=RKbz
-----END PGP SIGNATURE-----
More information about the freebsd-questions
mailing list