Re: closer, no cigar.

2004-07-17 Thread Gary Kline
On Thu, Jul 15, 2004 at 10:17:39AM +0300, Giorgos Keramidas wrote:
> On 2004-07-14 18:41, Gary Kline <[EMAIL PROTECTED]> wrote:
> > On Wed, Jul 14, 2004 at 10:39:29PM +0300, Giorgos Keramidas wrote:
> > > You also have to set things up in /etc/mail.  Have you changed any
> > > configuration files in that directory?  If yes, what were the
> > > changes you made?
> >
> > Good points.  I began by essentially swapping all of
> > /etc from the Emachine to the HP (here).  In /etc/mail
> > originally I had several spam filter sites keeing me from
> > tons of  spam.  tHE last change I made was to back out of
> > the spam sites so that everything culd get thrru.
> > Here is an  ls  -lt from /var/spool.
> >
> > drwxr-xr-x  2 root   daemon  20992 Jul 14 18:13 mqueue
> > drwxrwx---  2 smmsp  smmsp1536 Jul 14 11:45 clientmqueue
> > drwxrwxr-x  2 uucp   dialer512 Jul 13 18:16 lock
> > drwxr-xr-x  3 root   daemon512 Jun  3 09:58 output
> > drwxrwxr-x  7 uucp   uucp  512 Mar 16 09:23 uucp
> > drwxrwxrwx  2 uucp   uucp  512 Mar 16 09:23 uucppublic
> > drwx-wx---  3 root   daemon512 Feb 27 02:22 cups
> > drwx--  2 root   daemon512 Jan 10  2004 opielocks
> > drwxr-xr-x  2 root   daemon512 Jan 10  2004 lpd
> 
> Hmmm.  What does /var/spool have to do with the setup?  Gary, relax.
> You're mixing directories and files and programs and hostnames and
> ... and pretty much everything.
> 
> I didn't ask about /var/spool :-)
> 
I've been tracing everythinng I can think of 
that might contribute to my mail coection being
"refused by [127.0.0.1]"   I'm rebuilding 5.2.1 andwilll
use mergemaster to give me  ``clean''' /etc/mail
sendmail files.   IIf *that*  fails,  I'll admit 
defeat...

gary

PS:  I keep thinking that it's got to be one stupid file
  I'm not seeing
> 

-- 
Gary Kline  Seattle BSD Users' Group (seabug)  | [EMAIL PROTECTED]
Thought Unlimited Org's Alternate Email Site
http://www.magnesium.net/~kline
   To live is not a necessity; but to live honorably...is a necessity. -Kant

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


Re: closer, no cigar.

2004-07-15 Thread Giorgos Keramidas
On 2004-07-14 18:41, Gary Kline <[EMAIL PROTECTED]> wrote:
> On Wed, Jul 14, 2004 at 10:39:29PM +0300, Giorgos Keramidas wrote:
> > You also have to set things up in /etc/mail.  Have you changed any
> > configuration files in that directory?  If yes, what were the
> > changes you made?
>
>   Good points.  I began by essentially swapping all of
>   /etc from the Emachine to the HP (here).  In /etc/mail
>   originally I had several spam filter sites keeing me from
>   tons of  spam.  tHE last change I made was to back out of
>   the spam sites so that everything culd get thrru.
>   Here is an  ls  -lt from /var/spool.
>
> drwxr-xr-x  2 root   daemon  20992 Jul 14 18:13 mqueue
> drwxrwx---  2 smmsp  smmsp1536 Jul 14 11:45 clientmqueue
> drwxrwxr-x  2 uucp   dialer512 Jul 13 18:16 lock
> drwxr-xr-x  3 root   daemon512 Jun  3 09:58 output
> drwxrwxr-x  7 uucp   uucp  512 Mar 16 09:23 uucp
> drwxrwxrwx  2 uucp   uucp  512 Mar 16 09:23 uucppublic
> drwx-wx---  3 root   daemon512 Feb 27 02:22 cups
> drwx--  2 root   daemon512 Jan 10  2004 opielocks
> drwxr-xr-x  2 root   daemon512 Jan 10  2004 lpd

Hmmm.  What does /var/spool have to do with the setup?  Gary, relax.
You're mixing directories and files and programs and hostnames and
... and pretty much everything.

I didn't ask about /var/spool :-)

Giorgos

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


Re: closer, no cigar.

2004-07-14 Thread Gary Kline
On Wed, Jul 14, 2004 at 10:39:29PM +0300, Giorgos Keramidas wrote:
> On 2004-07-14 10:58, Gary Kline <[EMAIL PROTECTED]> wrote:
> > I used your sendmail config in my rc.conf -- thank you -- and am
> > watching maillog
> >
> > Well.  Now mail gets from ns1.thought.org -> toxic.magnesium.net.
> > Let's se if I can at least get ,mail *thru* to me at ns1.
> >
> > Rats.  It is still getting queued.
> >
> > Jul 14 10:55:45 sage sendmail[1568]: i6EHtjfJ001568: from=<[EMAIL PROTECTED]>, 
> > size=307, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=MTA, 
> > relay=toxic.magnesium.net [207.154.84.15]
> > Jul 14 10:55:45 sage sendmail[1568]: i6EHtjfJ001568: --- 050 <[EMAIL 
> > PROTECTED]>... queued
> > Jul 14 10:55:45 sage sendmail[1568]: i6EHtjfJ001568: to=<[EMAIL PROTECTED]>, 
> > delay=00:00:00, mailer=local, pri=30307, stat=queued
> > Jul 14 10:55:45 sage sendmail[1568]: i6EHtjfJ001568: --- 250 2.0.0 i6EHtjfJ001568 
> > Message accepted for delivery
> > Jul 14 10:55:45 sage sendmail[1568]: i6EHtjfK001568: <-- QUIT
> > Jul 14 10:55:45 sage sendmail[1568]: i6EHtjfK001568: --- 221 2.0.0 
> > sage.thought.org closing connection
> 
> I can see that ns1.thought.org is also the "mail exchanger" for the
> thought.org domain, but what is toxic.magnesium.net?


'toxic' is the hostname of this machine, magnesium.net.
There are few if any spam filters here so if/whenever mail
fails to reach me at thoughtt.org, mail *will* gt thru to
this site.  
> 
> Regarding ns1.thought.org you can't just hope that it all works by
> setting the rc.conf variables I mentioned.  You also have to set things
> up in /etc/mail.  Have you changed any configuration files in that
> directory?  If yes, what were the changes you made?


Good points.  I began by essentially swapping all of
/etc from the Emachine to the HP (here).  In /etc/mail
originally I had several spam filter sites keeing me from
tons of  spam.  tHE last change I made was to back out of
the spam sites so that everything culd get thrru.  
Here is an  ls  -lt from /var/spool.


drwxr-xr-x  2 root   daemon  20992 Jul 14 18:13 mqueue
drwxrwx---  2 smmsp  smmsp1536 Jul 14 11:45 clientmqueue
drwxrwxr-x  2 uucp   dialer512 Jul 13 18:16 lock
drwxr-xr-x  3 root   daemon512 Jun  3 09:58 output
drwxrwxr-x  7 uucp   uucp  512 Mar 16 09:23 uucp
drwxrwxrwx  2 uucp   uucp  512 Mar 16 09:23 uucppublic
drwx-wx---  3 root   daemon512 Feb 27 02:22 cups
drwx--  2 root   daemon512 Jan 10  2004 opielocks
drwxr-xr-x  2 root   daemon512 Jan 10  2004 lpd


Much of the stuff in mqueue is junk; some is from the
-questions list I subscibed to four or five days ago.
Initially, mail sent to [EMAIL PROTECTED] got 
thru.  Mail to me c/o "[EMAIL PROTECTED]" (on tao.thought.org,
where I live!) has never gotten thru.  I think it is
still bouncing; it does not even seem to be queued up.

---The only good thig is that since I changed the cable
designation on oone server from dc0 to dc1, DCHP instantly
gave it an IP addr and I can ssh easily around.  The rest
of it is a mystery.

gary


> 
> 

-- 
Gary Kline  Seattle BSD Users' Group (seabug)  | [EMAIL PROTECTED]
Thought Unlimited Org's Alternate Email Site
http://www.magnesium.net/~kline
   To live is not a necessity; but to live honorably...is a necessity. -Kant

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


Re: closer, no cigar.

2004-07-14 Thread Giorgos Keramidas
On 2004-07-14 10:58, Gary Kline <[EMAIL PROTECTED]> wrote:
> I used your sendmail config in my rc.conf -- thank you -- and am
> watching maillog
>
> Well.  Now mail gets from ns1.thought.org -> toxic.magnesium.net.
> Let's se if I can at least get ,mail *thru* to me at ns1.
>
> Rats.  It is still getting queued.
>
> Jul 14 10:55:45 sage sendmail[1568]: i6EHtjfJ001568: from=<[EMAIL PROTECTED]>, 
> size=307, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=MTA, 
> relay=toxic.magnesium.net [207.154.84.15]
> Jul 14 10:55:45 sage sendmail[1568]: i6EHtjfJ001568: --- 050 <[EMAIL PROTECTED]>... 
> queued
> Jul 14 10:55:45 sage sendmail[1568]: i6EHtjfJ001568: to=<[EMAIL PROTECTED]>, 
> delay=00:00:00, mailer=local, pri=30307, stat=queued
> Jul 14 10:55:45 sage sendmail[1568]: i6EHtjfJ001568: --- 250 2.0.0 i6EHtjfJ001568 
> Message accepted for delivery
> Jul 14 10:55:45 sage sendmail[1568]: i6EHtjfK001568: <-- QUIT
> Jul 14 10:55:45 sage sendmail[1568]: i6EHtjfK001568: --- 221 2.0.0 sage.thought.org 
> closing connection

I can see that ns1.thought.org is also the "mail exchanger" for the
thought.org domain, but what is toxic.magnesium.net?

Regarding ns1.thought.org you can't just hope that it all works by
setting the rc.conf variables I mentioned.  You also have to set things
up in /etc/mail.  Have you changed any configuration files in that
directory?  If yes, what were the changes you made?

- Giorgos

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


Re: closer, no cigar.

2004-07-14 Thread Gary Kline
On Wed, Jul 14, 2004 at 10:14:27AM +0100, Jan Grant wrote:
> On Tue, 13 Jul 2004, Eric Crist wrote:
> 
> > On Tuesday 13 July 2004 22:19, Giorgos Keramidas wrote:
> > > The first of these processes is sendmail started in submit mode by the
> > >
> > > `rc.sendmail' startup script.  The relevant rc.conf options are:
> > > : sendmail_enable="NO"
> > > : sendmail_submit_enable="YES"
> > > : sendmail_submit_flags="-L smtpd -bd -q30m
> > > : -ODaemonPortOptions=Addr=localhost"
> > >
> > > - Giorgos
> >
> > Can you exlpain exactly what submit mode is for?  Is it something you want
> > running on a production mail server?
> 
> Eric, the first three paragraphs of section 1 of RFC 2476 explain this.
> 
> In a nutshell: an MTA is not supposed to "munge" email (apart from
> adding Received: headers and the like); however, many local clients
> submit via SMTP and the mail server needs to do lots more work:
> rewriting email addresses, and so on. The split of sendmail's operation
> into MTA (Transmission) and MSA (Submission) is to support this.
> 


This is where I run aground into the mud of confusion.  
I always thought tat sendmail was just an MTA.  Hang the rest.
But then, sendmail is getting to reuire a Ph D to use


gary

PS: everything incomng is still being queued



-- 
Gary Kline  Seattle BSD Users' Group (seabug)  | [EMAIL PROTECTED]
Thought Unlimited Org's Alternate Email Site
http://www.magnesium.net/~kline
   To live is not a necessity; but to live honorably...is a necessity. -Kant

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


Re: closer, no cigar.

2004-07-14 Thread Gary Kline
On Wed, Jul 14, 2004 at 06:19:53AM +0300, Giorgos Keramidas wrote:
> On 2004-07-13 16:53, Gary Kline <[EMAIL PROTECTED]> wrote:
> >
> > At last others can connect (with Windows, e.g.) via my switch.
> > ssh connections are still flakey.  But mail from ns1/sage to tao
> > still fail.
> 
> I'm afraid I've missed the previous messages of the thread (BTW, why are
> you posting this as a new thread and not as a followup to the older
> stuff?  This way I'd probably be able to track the entire thread easier
> on groups.google.com).


Apologies! I've been having mail troubles at thought.org; 
a few days ago mail worked on my new DNS server; it no longer
works.  And even mail between my private network is flakey.
At least part of the problem was that things were mis-cabled.

> 
> > Can anybody explain this from /var/log/maillog:
> >
> > Jul 13 16:36:57 sage sendmail[348]: i6DNavbt000348: \
> >   [EMAIL PROTECTED], ctladdr=kline (1002/1002), delay=00:00:00, \
> >   xdelay=00:00:00, mailer=relay, pri=30090, relay=[127.0.0.1] [127.0.0.1], \
> >   dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
> > Jul 13 16:39:55 sage sendmail[351]: i6DNdsqq000351: from=kline, size=40, \
> >   class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, \
> >   [EMAIL PROTECTED]
> > Jul 13 16:39:55 sage sendmail[351]: i6DNdsqq000351: [EMAIL PROTECTED], \
> >   ctladdr=kline (1002/1002), delay=00:00:01, xdelay=00:00:00, mailer=relay, \
> >   pri=30040, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, \
> >   stat=Deferred: Connection refused by [127.0.0.1]
> >
> > What I don't understand is the ``Connection refused by [127.0.0.1]''
> 
> Are you running a local sendmail daemon in 'submit' mode?
> 
> : [EMAIL PROTECTED]:~$ sockstat -l4 | grep :25
> : root sendmail   412   4  tcp4   127.0.0.1:25  *:*
> : [EMAIL PROTECTED]:~$ ps xa | grep -v grep | grep sendmail
> :   412  ??  Ss 0:01.02 sendmail: accepting connections (sendmail)
> :   418  ??  Is 0:00.08 sendmail: Queue [EMAIL PROTECTED]:10:00 for 
> /var/spool/clientmqueue (sendmail)
> : [EMAIL PROTECTED]:~$
> 
> The first of these processes is sendmail started in submit mode by the
> `rc.sendmail' startup script.  The relevant rc.conf options are:
> 
> : sendmail_enable="NO"
> : sendmail_submit_enable="YES"
> : sendmail_submit_flags="-L smtpd -bd -q30m -ODaemonPortOptions=Addr=localhost"
> 


Hm.  Last night dhcp wasn't working because my /etc/rc.conf
didn't have the right entries.   I just grep'd for sendmail,
and surpise-surprise, no sendmail entries.



For sure,  a large part of this Emachines <-> HP switch has
been due to poor planning on my part.  I mis-assumed tht the
main thing would be switching my DSL line and power-cycling
mthe router.Lots more to it than that.

Iused your sendmail config in my rc.conf--thank you-- and am 
watching maillog

Well.  Now mail gets from ns1.thought.org -> toxic.magnesium.net.
Let's se if I can at least get ,mail *thru* to me at ns1.

Rats.  It is still getting queued.

Jul 14 10:55:45 sage sendmail[1568]: i6EHtjfJ001568: from=<[EMAIL PROTECTED]>, 
size=307, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=MTA, 
relay=toxic.magnesium.net [207.154.84.15]
Jul 14 10:55:45 sage sendmail[1568]: i6EHtjfJ001568: --- 050 <[EMAIL PROTECTED]>... 
queued
Jul 14 10:55:45 sage sendmail[1568]: i6EHtjfJ001568: to=<[EMAIL PROTECTED]>, 
delay=00:00:00, mailer=local, pri=30307, stat=queued
Jul 14 10:55:45 sage sendmail[1568]: i6EHtjfJ001568: --- 250 2.0.0 i6EHtjfJ001568 
Message accepted for delivery
Jul 14 10:55:45 sage sendmail[1568]: i6EHtjfK001568: <-- QUIT
Jul 14 10:55:45 sage sendmail[1568]: i6EHtjfK001568: --- 221 2.0.0 sage.thought.org 
closing connection


ideas??

gary




> 

-- 
Gary Kline  Seattle BSD Users' Group (seabug)  | [EMAIL PROTECTED]
Thought Unlimited Org's Alternate Email Site
http://www.magnesium.net/~kline
   To live is not a necessity; but to live honorably...is a necessity. -Kant

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


Re: closer, no cigar.

2004-07-14 Thread Jan Grant
On Tue, 13 Jul 2004, Eric Crist wrote:

> On Tuesday 13 July 2004 22:19, Giorgos Keramidas wrote:
> > The first of these processes is sendmail started in submit mode by the
> >
> > `rc.sendmail' startup script.  The relevant rc.conf options are:
> > : sendmail_enable="NO"
> > : sendmail_submit_enable="YES"
> > : sendmail_submit_flags="-L smtpd -bd -q30m
> > : -ODaemonPortOptions=Addr=localhost"
> >
> > - Giorgos
>
> Can you exlpain exactly what submit mode is for?  Is it something you want
> running on a production mail server?

Eric, the first three paragraphs of section 1 of RFC 2476 explain this.

In a nutshell: an MTA is not supposed to "munge" email (apart from
adding Received: headers and the like); however, many local clients
submit via SMTP and the mail server needs to do lots more work:
rewriting email addresses, and so on. The split of sendmail's operation
into MTA (Transmission) and MSA (Submission) is to support this.

-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
Whose kung-fu is the best?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: closer, no cigar.

2004-07-13 Thread Giorgos Keramidas
Date: Tue, 13 Jul 2004 22:33:51 -0500
From: Eric Crist <[EMAIL PROTECTED]>
Subject: Re: closer, no cigar.

On Tuesday 13 July 2004 22:19, Giorgos Keramidas wrote:

> The first of these processes is sendmail started in submit mode by
> the `rc.sendmail' startup script.  The relevant rc.conf options are:
>
> : sendmail_enable="NO"
> : sendmail_submit_enable="YES"
> : sendmail_submit_flags="-L smtpd -bd -q30m
> : -ODaemonPortOptions=Addr=localhost"
>
> - Giorgos

Can you exlpain exactly what submit mode is for?  Is it something
you want running on a production mail server?

Thanks.

Sendmail's submit mode is described in detail in the ``Sendmail
Installation and Operation Guide''.  It would be vain and probably
worthless to try to duplicate all the information present in there in a
mail message.  For details of the what, how, why, when and anything else
related to the submit mode you should refer to this guide[1], the
FreeBSD Handbook, and Sendmail's own web site[2].

Perhaps a small description of submit mode would be enough to help you
understand what it is.  Quoting section 1.3.3 of the guide referenced above:

1.3.3.  /etc/mail/submit.cf

This is  the configuration file for sendmail  when it is
used for  initial mail submission,  in which case  it is
also  called   ``Mail  Submission  Program''   (MSP)  in
contrast  to ``Mail  Transfer  Agent'' (MTA).   Starting
with version  8.12, sendmail  uses one of  two different
configuration files based on  its operation mode (or the
new -A  option).  For initial mail  submission, i.e., if
one  of  the  options  -bm  (default),  -bs,  or  -t  is
specified, submit.cf  is used (if  available), for other
operations sendmail.cf is used.  Details can be found in
sendmail/SECURITY.   submit.cf is shipped  with sendmail
(in cf/cf/) and is  installed by default.  If changes to
the   configuration  need   to  be   made,   start  with
cf/cf/submit.mc and follow the instruction in cf/README.



References
==

[1] ``Sendmail(TM) Installation and Operation Guide''.
http://www.sendmail.org/~ca/email/doc8.12/op.html

[2] Sendmail's homepage
http://www.Sendmail.org/

[3] Sendmail's Message Submission Program (MSP)
http://www.sendmail.org/m4/msp.html

[4] Description of FEATURE(`msp')
http://www.sendmail.org/m4/features.html#msp

[5] FreeBSD Handbook Chapter on Electronic Mail
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: closer, no cigar.

2004-07-13 Thread epilogue
On Tue, 13 Jul 2004 22:33:51 -0500
Eric Crist <[EMAIL PROTECTED]> wrote:

> On Tuesday 13 July 2004 22:19, Giorgos Keramidas wrote:
> > The first of these processes is sendmail started in submit mode by the
> >
> > `rc.sendmail' startup script.  The relevant rc.conf options are:
> > : sendmail_enable="NO"
> > : sendmail_submit_enable="YES"
> > : sendmail_submit_flags="-L smtpd -bd -q30m
> > : -ODaemonPortOptions=Addr=localhost"
> >
> > - Giorgos
> 
> Can you exlpain exactly what submit mode is for?

hello, eric!  giorgos, if you'll permit me.

hmmm...  let's see.  something about sendmail.

~> apropos sendmail
aliases(5)   - aliases file for sendmail
editmap(8)   - query and edit single records in database maps
for sendmail makemap(8)   - create database maps for sendmail
rc.sendmail(8)   - sendmail(8) startup script
sendmail(8)  - an electronic mail transport agent
smrsh(8) - restricted shell for sendmail

aha.  that certainly is quite a few to chose from.  well, judging by these
descriptions _and_ given the quotation marks kindly offered by giorgos up
above, 'rc.sendmail' certainly seems to be the most likely candidate.  hey,
we've got time on our hands, so let's give that a try...

~> man rc.sendmail
rc.sendmail -- sendmail(8) startup script

sendmail_submit_enable
 (bool) If set to ``YES'' and...

sendmail_submit_flags
 (str) If sendmail_enable is set to ``NO'' ...


what do ya know!  we figured it out _and_ on our first try.

> Is it something you want running on a production mail server?

now that you know what it is...

for my part, i dunno.  i don't run sendmail.  perhaps someone could share
with us their thoughts?


hth,
epi

> Thanks.
> -- 
> Eric F Crist
> 
> Keep your pecker hard and your powder dry, and the world WILL turn.
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: closer, no cigar.

2004-07-13 Thread Eric Crist
On Tuesday 13 July 2004 22:19, Giorgos Keramidas wrote:
> The first of these processes is sendmail started in submit mode by the
>
> `rc.sendmail' startup script.  The relevant rc.conf options are:
> : sendmail_enable="NO"
> : sendmail_submit_enable="YES"
> : sendmail_submit_flags="-L smtpd -bd -q30m
> : -ODaemonPortOptions=Addr=localhost"
>
> - Giorgos

Can you exlpain exactly what submit mode is for?  Is it something you want 
running on a production mail server?

Thanks.
-- 
Eric F Crist

Keep your pecker hard and your powder dry, and the world WILL turn.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: closer, no cigar.

2004-07-13 Thread Giorgos Keramidas
On 2004-07-13 16:53, Gary Kline <[EMAIL PROTECTED]> wrote:
>
> At last others can connect (with Windows, e.g.) via my switch.
> ssh connections are still flakey.  But mail from ns1/sage to tao
> still fail.

I'm afraid I've missed the previous messages of the thread (BTW, why are
you posting this as a new thread and not as a followup to the older
stuff?  This way I'd probably be able to track the entire thread easier
on groups.google.com).

> Can anybody explain this from /var/log/maillog:
>
> Jul 13 16:36:57 sage sendmail[348]: i6DNavbt000348: \
>   [EMAIL PROTECTED], ctladdr=kline (1002/1002), delay=00:00:00, \
>   xdelay=00:00:00, mailer=relay, pri=30090, relay=[127.0.0.1] [127.0.0.1], \
>   dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
> Jul 13 16:39:55 sage sendmail[351]: i6DNdsqq000351: from=kline, size=40, \
>   class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, \
>   [EMAIL PROTECTED]
> Jul 13 16:39:55 sage sendmail[351]: i6DNdsqq000351: [EMAIL PROTECTED], \
>   ctladdr=kline (1002/1002), delay=00:00:01, xdelay=00:00:00, mailer=relay, \
>   pri=30040, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, \
>   stat=Deferred: Connection refused by [127.0.0.1]
>
> What I don't understand is the ``Connection refused by [127.0.0.1]''

Are you running a local sendmail daemon in 'submit' mode?

: [EMAIL PROTECTED]:~$ sockstat -l4 | grep :25
: root sendmail   412   4  tcp4   127.0.0.1:25  *:*
: [EMAIL PROTECTED]:~$ ps xa | grep -v grep | grep sendmail
:   412  ??  Ss 0:01.02 sendmail: accepting connections (sendmail)
:   418  ??  Is 0:00.08 sendmail: Queue [EMAIL PROTECTED]:10:00 for 
/var/spool/clientmqueue (sendmail)
: [EMAIL PROTECTED]:~$

The first of these processes is sendmail started in submit mode by the
`rc.sendmail' startup script.  The relevant rc.conf options are:

: sendmail_enable="NO"
: sendmail_submit_enable="YES"
: sendmail_submit_flags="-L smtpd -bd -q30m -ODaemonPortOptions=Addr=localhost"

- Giorgos

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