Re: FreeBSD Mail Server

2005-02-17 Thread Peter Risdon
On Thu, 2005-02-17 at 10:48 -0800, Joshua Lewis wrote:
 Do I need to have a *_enable=YES line in my rc.conf in order to start my
 courier-imap-pop3 and courier-imap-imap servers? Or do I have to enable
 inetd?

Yup. The full set, if you include the secure versions too is:

courier_imap_imapd_ssl_enable=YES
courier_imap_imapd_enable=YES
courier_imap_pop3d_ssl_enable=YES
courier_imap_pop3d_enable=YES

It's worth reading /usr/local/etc/rc.d/blah.sh for any port you install.
inetd is not the right way to start these ports.

Then to start them up without a reboot, do 

/usr/local/etc/rc.d/blah.sh start

But you do need the rc.conf entries first.

 
 I have been pulling my hair out for weeks trying to setup my first mail
 server using how toos from high5.net and workaround.org.
 
 I have tried to look in /var/log for any log files that could indicate why
 I can not pick up mail. But I don't see any log files at all so I suspect
 they are not running. The server accepts mail fine I just can't pick it
 up. I dont know if it matters but I am trying to setup virtual domains
 with no local system accounts. 

How? You might also need:

courier_authdaemond_enable=YES
in /etc/rc.conf

 Including the domain of the computer its
 self. Does that affect anything? Again I can accept e-mail fine so I dont
 expect it does.
 
 I can't figure out if courier is running. I recall a command like ps -aw
 |grep imap but I don't think I am using the correct switches because I am
 not getting what I am expecting.

$ ps xa | grep courier
19223  p2  S+ 0:00.00 grep courier
  526 con  I  0:00.00 /usr/local/sbin/courierlogger
-pid=/usr/local/var/spool/authdaemon/pid -st
  527 con  I  0:00.06 /usr/local/libexec/courier-authlib/authdaemond
  535 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
  536 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
  537 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
  538 con  I  0:00.02 /usr/local/libexec/courier-authlib/authdaemond
  539 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
  548 con  I  0:00.01 [couriertcpd]
  552 con  I  0:00.00 /usr/local/sbin/courierlogger imapd-ssl
  561 con  I  0:00.01 [couriertcpd]
  565 con  I  0:00.00 /usr/local/sbin/courierlogger imapd
  573 con  I  0:00.01 [couriertcpd]
  576 con  I  0:00.00 /usr/local/sbin/courierlogger pop3d-ssl
  585 con  I  0:00.01 [couriertcpd]
  588 con  I  0:00.00 /usr/local/sbin/courierlogger pop3d


Also try

#telnet localhost 110

and so on for all the pop3 and imap ports. If courier is running, you'll
get something like:

#telnet localhost 110
Trying ::1...
Connected to your.host.name.com.
Escape character is '^]'.
+OK Hello there.

Telnetting to the port is good because you can then talk pop/imap and
diagnose any other probs.

Peter.

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


RE: FreeBSD Mail Server

2005-02-17 Thread Robert Kim, EVDO-Coverage, Verizon Agent
Peter... This is great

I realize that this email is online.. But the pipermail is impossible to
search... Where else can I find this kind of detailed info online?? 
bob

X
Robert Kim, 
Wireless Internet Wifi Hotspot Advisor
http://wireless-internet-broadband-service.com
https://evdo.sslpowered.com/wifi-hotspot-router.htm
2611 S Pacific Coast Highway 101
Cardiff by the Sea CA 92007 : 206 984 0880

 Wireless Internet Service Is ONLY Broadband with Broadband Customer
Service(tm)
 OUR QUEST: To Kill the Cubicle! (SM)
---Shalo
-;-) 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter Risdon
Sent: Thursday, February 17, 2005 11:09 AM
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Subject: Re: FreeBSD Mail Server


On Thu, 2005-02-17 at 10:48 -0800, Joshua Lewis wrote:
 Do I need to have a *_enable=YES line in my rc.conf in order to 
 start my courier-imap-pop3 and courier-imap-imap servers? Or do I have

 to enable inetd?

Yup. The full set, if you include the secure versions too is:

courier_imap_imapd_ssl_enable=YES
courier_imap_imapd_enable=YES courier_imap_pop3d_ssl_enable=YES
courier_imap_pop3d_enable=YES

It's worth reading /usr/local/etc/rc.d/blah.sh for any port you install.
inetd is not the right way to start these ports.

Then to start them up without a reboot, do 

/usr/local/etc/rc.d/blah.sh start

But you do need the rc.conf entries first.

 
 I have been pulling my hair out for weeks trying to setup my first 
 mail server using how toos from high5.net and workaround.org.
 
 I have tried to look in /var/log for any log files that could indicate

 why I can not pick up mail. But I don't see any log files at all so I 
 suspect they are not running. The server accepts mail fine I just 
 can't pick it up. I donÿt know if it matters but I am trying to setup 
 virtual domains with no local system accounts.

How? You might also need:

courier_authdaemond_enable=YES
in /etc/rc.conf

 Including the domain of the computer itÿs
 self. Does that affect anything? Again I can accept e-mail fine so I 
 donÿt expect it does.
 
 I can't figure out if courier is running. I recall a command like ps 
 -aw
 |grep imap but I don't think I am using the correct switches because 
 |I am
 not getting what I am expecting.

$ ps xa | grep courier
19223  p2  S+ 0:00.00 grep courier
  526 con  I  0:00.00 /usr/local/sbin/courierlogger
-pid=/usr/local/var/spool/authdaemon/pid -st
  527 con  I  0:00.06 /usr/local/libexec/courier-authlib/authdaemond
  535 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
  536 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
  537 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
  538 con  I  0:00.02 /usr/local/libexec/courier-authlib/authdaemond
  539 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
  548 con  I  0:00.01 [couriertcpd]
  552 con  I  0:00.00 /usr/local/sbin/courierlogger imapd-ssl
  561 con  I  0:00.01 [couriertcpd]
  565 con  I  0:00.00 /usr/local/sbin/courierlogger imapd
  573 con  I  0:00.01 [couriertcpd]
  576 con  I  0:00.00 /usr/local/sbin/courierlogger pop3d-ssl
  585 con  I  0:00.01 [couriertcpd]
  588 con  I  0:00.00 /usr/local/sbin/courierlogger pop3d


Also try

#telnet localhost 110

and so on for all the pop3 and imap ports. If courier is running, you'll
get something like:

#telnet localhost 110
Trying ::1...
Connected to your.host.name.com.
Escape character is '^]'.
+OK Hello there.

Telnetting to the port is good because you can then talk pop/imap and
diagnose any other probs.

Peter.

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


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


RE: FreeBSD Mail Server

2005-02-17 Thread Peter Risdon
On Thu, 2005-02-17 at 11:15 -0800, Robert Kim, EVDO-Coverage, Verizon
Agent wrote:
 Peter... This is great
 
 I realize that this email is online.. But the pipermail is impossible to
 search... Where else can I find this kind of detailed info online?? 
 bob

Hmmm... not sure. There are some very good how-to documents around and
some are specifically for FreeBSD, but I don't think many include the
rcng info that would give you the rc.conf entries.

The move to rcng is fairly recent, which is why I suggested that reading
the /usr/local/etc/rc.d/blah.sh scripts is a good idea at the moment.

I hate to say this, but google is worth a try. Try using *FreeBSD mail
toaster* as the search terms - assuming you're interested in virtual
hosting of mail domains. I hesitate to recommend any particular one,
because it's largely a matter of taste. The Matt Simerson mail toaster
thingie is highly regarded by a lot of people, but I don't get on with
it because it's a bit of a black box unless you research it extensively,
and because I take a slightly different approach to running qmail.
However, the documentation contains some really useful stuff.

The docs produced by the authors of courier are also pretty good:

http://www.inter7.com/courierimap

Peter.


 
 X
 Robert Kim, 
 Wireless Internet Wifi Hotspot Advisor
 http://wireless-internet-broadband-service.com
 https://evdo.sslpowered.com/wifi-hotspot-router.htm
 2611 S Pacific Coast Highway 101
 Cardiff by the Sea CA 92007 : 206 984 0880
 
  Wireless Internet Service Is ONLY Broadband with Broadband Customer
 Service(tm)
  OUR QUEST: To Kill the Cubicle! (SM)
 ---Shalo
 -;-) 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Peter Risdon
 Sent: Thursday, February 17, 2005 11:09 AM
 To: [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Subject: Re: FreeBSD Mail Server
 
 
 On Thu, 2005-02-17 at 10:48 -0800, Joshua Lewis wrote:
  Do I need to have a *_enable=YES line in my rc.conf in order to 
  start my courier-imap-pop3 and courier-imap-imap servers? Or do I have
 
  to enable inetd?
 
 Yup. The full set, if you include the secure versions too is:
 
 courier_imap_imapd_ssl_enable=YES
 courier_imap_imapd_enable=YES courier_imap_pop3d_ssl_enable=YES
 courier_imap_pop3d_enable=YES
 
 It's worth reading /usr/local/etc/rc.d/blah.sh for any port you install.
 inetd is not the right way to start these ports.
 
 Then to start them up without a reboot, do 
 
 /usr/local/etc/rc.d/blah.sh start
 
 But you do need the rc.conf entries first.
 
  
  I have been pulling my hair out for weeks trying to setup my first 
  mail server using how toos from high5.net and workaround.org.
  
  I have tried to look in /var/log for any log files that could indicate
 
  why I can not pick up mail. But I don't see any log files at all so I 
  suspect they are not running. The server accepts mail fine I just 
  can't pick it up. I donÿt know if it matters but I am trying to setup 
  virtual domains with no local system accounts.
 
 How? You might also need:
 
 courier_authdaemond_enable=YES
 in /etc/rc.conf
 
  Including the domain of the computer itÿs
  self. Does that affect anything? Again I can accept e-mail fine so I 
  donÿt expect it does.
  
  I can't figure out if courier is running. I recall a command like ps 
  -aw
  |grep imap but I don't think I am using the correct switches because 
  |I am
  not getting what I am expecting.
 
 $ ps xa | grep courier
 19223  p2  S+ 0:00.00 grep courier
   526 con  I  0:00.00 /usr/local/sbin/courierlogger
 -pid=/usr/local/var/spool/authdaemon/pid -st
   527 con  I  0:00.06 /usr/local/libexec/courier-authlib/authdaemond
   535 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
   536 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
   537 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
   538 con  I  0:00.02 /usr/local/libexec/courier-authlib/authdaemond
   539 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
   548 con  I  0:00.01 [couriertcpd]
   552 con  I  0:00.00 /usr/local/sbin/courierlogger imapd-ssl
   561 con  I  0:00.01 [couriertcpd]
   565 con  I  0:00.00 /usr/local/sbin/courierlogger imapd
   573 con  I  0:00.01 [couriertcpd]
   576 con  I  0:00.00 /usr/local/sbin/courierlogger pop3d-ssl
   585 con  I  0:00.01 [couriertcpd]
   588 con  I  0:00.00 /usr/local/sbin/courierlogger pop3d
 
 
 Also try
 
 #telnet localhost 110
 
 and so on for all the pop3 and imap ports. If courier is running, you'll
 get something like:
 
 #telnet localhost 110
 Trying ::1...
 Connected to your.host.name.com.
 Escape character is '^]'.
 +OK Hello there.
 
 Telnetting to the port is good because you can then talk pop/imap and
 diagnose any other probs.
 
 Peter

Re: FreeBSD Mail Server

2005-02-17 Thread Joshua Lewis
What if there is a problem starting one of the servers? Should I look at
/var/dmesg ? Or is there a different log to look at?


Thank you,
Joshua Lewis



Peter Risdon
 On Thu, 2005-02-17 at 10:48 -0800, Joshua Lewis wrote:
 Do I need to have a *_enable=YES line in my rc.conf in order to start
 my
 courier-imap-pop3 and courier-imap-imap servers? Or do I have to enable
 inetd?

 Yup. The full set, if you include the secure versions too is:

 courier_imap_imapd_ssl_enable=YES
 courier_imap_imapd_enable=YES
 courier_imap_pop3d_ssl_enable=YES
 courier_imap_pop3d_enable=YES

 It's worth reading /usr/local/etc/rc.d/blah.sh for any port you install.
 inetd is not the right way to start these ports.

 Then to start them up without a reboot, do

 /usr/local/etc/rc.d/blah.sh start

 But you do need the rc.conf entries first.


 I have been pulling my hair out for weeks trying to setup my first mail
 server using how toos from high5.net and workaround.org.

 I have tried to look in /var/log for any log files that could indicate
 why
 I can not pick up mail. But I don't see any log files at all so I
 suspect
 they are not running. The server accepts mail fine I just can't pick it
 up. I donÿt know if it matters but I am trying to setup virtual domains
 with no local system accounts.

 How? You might also need:

 courier_authdaemond_enable=YES
 in /etc/rc.conf

 Including the domain of the computer itÿs
 self. Does that affect anything? Again I can accept e-mail fine so I
 donÿt
 expect it does.

 I can't figure out if courier is running. I recall a command like ps
 -aw
 |grep imap but I don't think I am using the correct switches because I
 am
 not getting what I am expecting.

 $ ps xa | grep courier
 19223  p2  S+ 0:00.00 grep courier
   526 con  I  0:00.00 /usr/local/sbin/courierlogger
 -pid=/usr/local/var/spool/authdaemon/pid -st
   527 con  I  0:00.06 /usr/local/libexec/courier-authlib/authdaemond
   535 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
   536 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
   537 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
   538 con  I  0:00.02 /usr/local/libexec/courier-authlib/authdaemond
   539 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
   548 con  I  0:00.01 [couriertcpd]
   552 con  I  0:00.00 /usr/local/sbin/courierlogger imapd-ssl
   561 con  I  0:00.01 [couriertcpd]
   565 con  I  0:00.00 /usr/local/sbin/courierlogger imapd
   573 con  I  0:00.01 [couriertcpd]
   576 con  I  0:00.00 /usr/local/sbin/courierlogger pop3d-ssl
   585 con  I  0:00.01 [couriertcpd]
   588 con  I  0:00.00 /usr/local/sbin/courierlogger pop3d


 Also try

 #telnet localhost 110

 and so on for all the pop3 and imap ports. If courier is running, you'll
 get something like:

 #telnet localhost 110
 Trying ::1...
 Connected to your.host.name.com.
 Escape character is '^]'.
 +OK Hello there.

 Telnetting to the port is good because you can then talk pop/imap and
 diagnose any other probs.

 Peter.



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


Re: FreeBSD Mail Server

2005-02-17 Thread Joshua Lewis
Sorry one last question. Should I put all of my *_enable in /etc/rc.conf?

Isn't there another one in /usr/local/etc/ ? I thought I saw two placeses
to add the enable lines. Is one better then the other?


Thank you,
Joshua Lewis



Peter Risdon
 On Thu, 2005-02-17 at 10:48 -0800, Joshua Lewis wrote:
 Do I need to have a *_enable=YES line in my rc.conf in order to start
 my
 courier-imap-pop3 and courier-imap-imap servers? Or do I have to enable
 inetd?

 Yup. The full set, if you include the secure versions too is:

 courier_imap_imapd_ssl_enable=YES
 courier_imap_imapd_enable=YES
 courier_imap_pop3d_ssl_enable=YES
 courier_imap_pop3d_enable=YES

 It's worth reading /usr/local/etc/rc.d/blah.sh for any port you install.
 inetd is not the right way to start these ports.

 Then to start them up without a reboot, do

 /usr/local/etc/rc.d/blah.sh start

 But you do need the rc.conf entries first.


 I have been pulling my hair out for weeks trying to setup my first mail
 server using how toos from high5.net and workaround.org.

 I have tried to look in /var/log for any log files that could indicate
 why
 I can not pick up mail. But I don't see any log files at all so I
 suspect
 they are not running. The server accepts mail fine I just can't pick it
 up. I donÿt know if it matters but I am trying to setup virtual domains
 with no local system accounts.

 How? You might also need:

 courier_authdaemond_enable=YES
 in /etc/rc.conf

 Including the domain of the computer itÿs
 self. Does that affect anything? Again I can accept e-mail fine so I
 donÿt
 expect it does.

 I can't figure out if courier is running. I recall a command like ps
 -aw
 |grep imap but I don't think I am using the correct switches because I
 am
 not getting what I am expecting.

 $ ps xa | grep courier
 19223  p2  S+ 0:00.00 grep courier
   526 con  I  0:00.00 /usr/local/sbin/courierlogger
 -pid=/usr/local/var/spool/authdaemon/pid -st
   527 con  I  0:00.06 /usr/local/libexec/courier-authlib/authdaemond
   535 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
   536 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
   537 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
   538 con  I  0:00.02 /usr/local/libexec/courier-authlib/authdaemond
   539 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
   548 con  I  0:00.01 [couriertcpd]
   552 con  I  0:00.00 /usr/local/sbin/courierlogger imapd-ssl
   561 con  I  0:00.01 [couriertcpd]
   565 con  I  0:00.00 /usr/local/sbin/courierlogger imapd
   573 con  I  0:00.01 [couriertcpd]
   576 con  I  0:00.00 /usr/local/sbin/courierlogger pop3d-ssl
   585 con  I  0:00.01 [couriertcpd]
   588 con  I  0:00.00 /usr/local/sbin/courierlogger pop3d


 Also try

 #telnet localhost 110

 and so on for all the pop3 and imap ports. If courier is running, you'll
 get something like:

 #telnet localhost 110
 Trying ::1...
 Connected to your.host.name.com.
 Escape character is '^]'.
 +OK Hello there.

 Telnetting to the port is good because you can then talk pop/imap and
 diagnose any other probs.

 Peter.


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


Re: FreeBSD Mail Server

2005-02-17 Thread Peter Risdon
On Thu, 2005-02-17 at 11:59 -0800, Joshua Lewis wrote:
 What if there is a problem starting one of the servers? Should I look at
 /var/dmesg ? Or is there a different log to look at?

/var/log/maillog

and sometimes

/var/log/messages


Peter.


 
 
 Thank you,
 Joshua Lewis
 
 
 
 Peter Risdon
  On Thu, 2005-02-17 at 10:48 -0800, Joshua Lewis wrote:
  Do I need to have a *_enable=YES line in my rc.conf in order to start
  my
  courier-imap-pop3 and courier-imap-imap servers? Or do I have to enable
  inetd?
 
  Yup. The full set, if you include the secure versions too is:
 
  courier_imap_imapd_ssl_enable=YES
  courier_imap_imapd_enable=YES
  courier_imap_pop3d_ssl_enable=YES
  courier_imap_pop3d_enable=YES
 
  It's worth reading /usr/local/etc/rc.d/blah.sh for any port you install.
  inetd is not the right way to start these ports.
 
  Then to start them up without a reboot, do
 
  /usr/local/etc/rc.d/blah.sh start
 
  But you do need the rc.conf entries first.
 
 
  I have been pulling my hair out for weeks trying to setup my first mail
  server using how toos from high5.net and workaround.org.
 
  I have tried to look in /var/log for any log files that could indicate
  why
  I can not pick up mail. But I don't see any log files at all so I
  suspect
  they are not running. The server accepts mail fine I just can't pick it
  up. I donÿt know if it matters but I am trying to setup virtual domains
  with no local system accounts.
 
  How? You might also need:
 
  courier_authdaemond_enable=YES
  in /etc/rc.conf
 
  Including the domain of the computer itÿs
  self. Does that affect anything? Again I can accept e-mail fine so I
  donÿt
  expect it does.
 
  I can't figure out if courier is running. I recall a command like ps
  -aw
  |grep imap but I don't think I am using the correct switches because I
  am
  not getting what I am expecting.
 
  $ ps xa | grep courier
  19223  p2  S+ 0:00.00 grep courier
526 con  I  0:00.00 /usr/local/sbin/courierlogger
  -pid=/usr/local/var/spool/authdaemon/pid -st
527 con  I  0:00.06 /usr/local/libexec/courier-authlib/authdaemond
535 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
536 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
537 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
538 con  I  0:00.02 /usr/local/libexec/courier-authlib/authdaemond
539 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
548 con  I  0:00.01 [couriertcpd]
552 con  I  0:00.00 /usr/local/sbin/courierlogger imapd-ssl
561 con  I  0:00.01 [couriertcpd]
565 con  I  0:00.00 /usr/local/sbin/courierlogger imapd
573 con  I  0:00.01 [couriertcpd]
576 con  I  0:00.00 /usr/local/sbin/courierlogger pop3d-ssl
585 con  I  0:00.01 [couriertcpd]
588 con  I  0:00.00 /usr/local/sbin/courierlogger pop3d
 
 
  Also try
 
  #telnet localhost 110
 
  and so on for all the pop3 and imap ports. If courier is running, you'll
  get something like:
 
  #telnet localhost 110
  Trying ::1...
  Connected to your.host.name.com.
  Escape character is '^]'.
  +OK Hello there.
 
  Telnetting to the port is good because you can then talk pop/imap and
  diagnose any other probs.
 
  Peter.
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re: FreeBSD Mail Server

2005-02-17 Thread Peter Risdon
On Thu, 2005-02-17 at 12:02 -0800, Joshua Lewis wrote:
 Sorry one last question. Should I put all of my *_enable in /etc/rc.conf?

Yup.

 
 Isn't there another one in /usr/local/etc/ ? I thought I saw two placeses
 to add the enable lines. Is one better then the other?

No, it must be /etc/rc.conf

Peter.


 
 
 Thank you,
 Joshua Lewis
 
 
 
 Peter Risdon
  On Thu, 2005-02-17 at 10:48 -0800, Joshua Lewis wrote:
  Do I need to have a *_enable=YES line in my rc.conf in order to start
  my
  courier-imap-pop3 and courier-imap-imap servers? Or do I have to enable
  inetd?
 
  Yup. The full set, if you include the secure versions too is:
 
  courier_imap_imapd_ssl_enable=YES
  courier_imap_imapd_enable=YES
  courier_imap_pop3d_ssl_enable=YES
  courier_imap_pop3d_enable=YES
 
  It's worth reading /usr/local/etc/rc.d/blah.sh for any port you install.
  inetd is not the right way to start these ports.
 
  Then to start them up without a reboot, do
 
  /usr/local/etc/rc.d/blah.sh start
 
  But you do need the rc.conf entries first.
 
 
  I have been pulling my hair out for weeks trying to setup my first mail
  server using how toos from high5.net and workaround.org.
 
  I have tried to look in /var/log for any log files that could indicate
  why
  I can not pick up mail. But I don't see any log files at all so I
  suspect
  they are not running. The server accepts mail fine I just can't pick it
  up. I donÿt know if it matters but I am trying to setup virtual domains
  with no local system accounts.
 
  How? You might also need:
 
  courier_authdaemond_enable=YES
  in /etc/rc.conf
 
  Including the domain of the computer itÿs
  self. Does that affect anything? Again I can accept e-mail fine so I
  donÿt
  expect it does.
 
  I can't figure out if courier is running. I recall a command like ps
  -aw
  |grep imap but I don't think I am using the correct switches because I
  am
  not getting what I am expecting.
 
  $ ps xa | grep courier
  19223  p2  S+ 0:00.00 grep courier
526 con  I  0:00.00 /usr/local/sbin/courierlogger
  -pid=/usr/local/var/spool/authdaemon/pid -st
527 con  I  0:00.06 /usr/local/libexec/courier-authlib/authdaemond
535 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
536 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
537 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
538 con  I  0:00.02 /usr/local/libexec/courier-authlib/authdaemond
539 con  I  0:00.03 /usr/local/libexec/courier-authlib/authdaemond
548 con  I  0:00.01 [couriertcpd]
552 con  I  0:00.00 /usr/local/sbin/courierlogger imapd-ssl
561 con  I  0:00.01 [couriertcpd]
565 con  I  0:00.00 /usr/local/sbin/courierlogger imapd
573 con  I  0:00.01 [couriertcpd]
576 con  I  0:00.00 /usr/local/sbin/courierlogger pop3d-ssl
585 con  I  0:00.01 [couriertcpd]
588 con  I  0:00.00 /usr/local/sbin/courierlogger pop3d
 
 
  Also try
 
  #telnet localhost 110
 
  and so on for all the pop3 and imap ports. If courier is running, you'll
  get something like:
 
  #telnet localhost 110
  Trying ::1...
  Connected to your.host.name.com.
  Escape character is '^]'.
  +OK Hello there.
 
  Telnetting to the port is good because you can then talk pop/imap and
  diagnose any other probs.
 
  Peter.
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


RE: FreeBSD Mail Server

2005-02-17 Thread Robert Kim, EVDO-Coverage, Verizon Agent
Peter... This may seem silly... But you may find this german page
useful... 
bsdforen.de/archive/index.php/t-1380.html
Just use babblefish.com to translate it.. Unless you speak german :o)

Bob


X
Robert Kim, 
Wireless Internet Wifi Hotspot Advisor
 http://wireless-internet-broadband-service.com
https://evdo.sslpowered.com/wifi-hotspot-router.htm
2611 S Pacific Coast Highway 101
Cardiff by the Sea CA 92007 : 206 984 0880

 Wireless Internet Service Is ONLY Broadband with Broadband Customer
Service(tm)
 OUR QUEST: To Kill the Cubicle! (SM)
---Shalo
-;-) 



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter Risdon
Sent: Thursday, February 17, 2005 11:38 AM
To: Robert Kim, EVDO-Coverage, Verizon Agent
Cc: 'List Free Bsd'
Subject: RE: FreeBSD Mail Server


On Thu, 2005-02-17 at 11:15 -0800, Robert Kim, EVDO-Coverage, Verizon
Agent wrote:
 Peter... This is great
 
 I realize that this email is online.. But the pipermail is impossible 
 to search... Where else can I find this kind of detailed info online??

 bob

Hmmm... not sure. There are some very good how-to documents around and
some are specifically for FreeBSD, but I don't think many include the
rcng info that would give you the rc.conf entries.

The move to rcng is fairly recent, which is why I suggested that reading
the /usr/local/etc/rc.d/blah.sh scripts is a good idea at the moment.

I hate to say this, but google is worth a try. Try using *FreeBSD mail
toaster* as the search terms - assuming you're interested in virtual
hosting of mail domains. I hesitate to recommend any particular one,
because it's largely a matter of taste. The Matt Simerson mail toaster
thingie is highly regarded by a lot of people, but I don't get on with
it because it's a bit of a black box unless you research it extensively,
and because I take a slightly different approach to running qmail.
However, the documentation contains some really useful stuff.


 
 X
 Robert Kim,
 Wireless Internet Wifi Hotspot Advisor
 http://wireless-internet-broadband-service.com
 https://evdo.sslpowered.com/wifi-hotspot-router.htm
 2611 S Pacific Coast Highway 101
 Cardiff by the Sea CA 92007 : 206 984 0880
 
  Wireless Internet Service Is ONLY Broadband with Broadband 
  Customer
 Service(tm)
  OUR QUEST: To Kill the Cubicle! (SM)
 ---Shalo
 -;-)
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Peter Risdon
 Sent: Thursday, February 17, 2005 11:09 AM
 To: [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Subject: Re: FreeBSD Mail Server
 
 
 On Thu, 2005-02-17 at 10:48 -0800, Joshua Lewis wrote:
  Do I need to have a *_enable=YES line in my rc.conf in order to
  start my courier-imap-pop3 and courier-imap-imap servers? Or do I
have
 
  to enable inetd?
 
 Yup. The full set, if you include the secure versions too is:
 
 courier_imap_imapd_ssl_enable=YES
 courier_imap_imapd_enable=YES courier_imap_pop3d_ssl_enable=YES
 courier_imap_pop3d_enable=YES
 
 It's worth reading /usr/local/etc/rc.d/blah.sh for any port you 
 install. inetd is not the right way to start these ports.
 
 Then to start them up without a reboot, do
 
 /usr/local/etc/rc.d/blah.sh start
 
 But you do need the rc.conf entries first.
 
  
  I have been pulling my hair out for weeks trying to setup my first
  mail server using how toos from high5.net and workaround.org.
  
  I have tried to look in /var/log for any log files that could 
  indicate
 
  why I can not pick up mail. But I don't see any log files at all so 
  I
  suspect they are not running. The server accepts mail fine I just 
  can't pick it up. I donÿt know if it matters but I am trying to
setup 
  virtual domains with no local system accounts.
 
 How? You might also need:
 
 courier_authdaemond_enable=YES
 in /etc/rc.conf
 
  Including the domain of the computer itÿs
  self. Does that affect anything? Again I can accept e-mail fine so I
  donÿt expect it does.
  
  I can't figure out if courier is running. I recall a command like 
  ps
  -aw
  |grep imap but I don't think I am using the correct switches 
  |because
  |I am
  not getting what I am expecting.
 
 $ ps xa | grep courier
 19223  p2  S+ 0:00.00 grep courier
   526 con  I  0:00.00 /usr/local/sbin/courierlogger
 -pid=/usr/local/var/spool/authdaemon/pid -st
   527 con  I  0:00.06
/usr/local/libexec/courier-authlib/authdaemond
   535 con  I  0:00.03
/usr/local/libexec/courier-authlib/authdaemond
   536 con  I  0:00.03
/usr/local/libexec/courier-authlib/authdaemond
   537 con  I  0:00.03
/usr/local/libexec/courier-authlib/authdaemond
   538 con  I  0:00.02
/usr/local/libexec/courier-authlib/authdaemond
   539 con  I  0:00.03
/usr/local/libexec/courier-authlib/authdaemond
   548 con  I  0:00.01 [couriertcpd]
   552 con

Re: FreeBSD Mail Server

2005-02-17 Thread Eric F Crist
On Feb 17, 2005, at 12:48 PM, Joshua Lewis wrote:
Do I need to have a *_enable=YES line in my rc.conf in order to 
start my
courier-imap-pop3 and courier-imap-imap servers? Or do I have to enable
inetd?
Josh,
It's usually a good idea to read through the start up script in 
/usr/local/etc/rc.d to see if it requires a line in /etc/rc.conf.

Just my $.02
___
Eric F Crist  I am so smart, S.M.R.T!
Secure Computing Networks  -Homer J Simpson


PGP.sig
Description: This is a digitally signed message part