Re: Black hole for messages

2000-09-22 Thread steve j. kondik

try this:

|cat /dev/null

-steve

On 09/22/00 @ 03:20PM, [EMAIL PROTECTED] wrote:
> hi!
> 
> I need to set up an alias that accept's messages and discard's them.
> 
> I tried setting it to /dev/null but that didn't work (gave
> Unable_to_write_/dev/null:_invalid_argument._(#4.3.0))...
> 
> Does any body knows out to do this?
> 
> It's urgent.. :/ please cc me privatly, so that I dont lose it in the list...
> 
> -- 
> Pedro Melo Cunha - <[EMAIL PROTECTED]>
> Novis - Dir. Rede - ISP - Infraes. Portal 
> Ed. Atrium Saldanha - Pça. Dq. Saldanha, 1 - 7º / 1050-094 Lisboa
> tel:  +351 21 0104340  - Fax: +351 21 0104301
> 


 PGP signature


Re: rblsmtpd

2000-09-05 Thread steve j. kondik

try:

/usr/local/bin/tcpserver -v -H -R -l mydomain -x /etc/tcp.smtp.cdb -u \
$QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/rblsmtpd \
/var/qmail/bin/qmail-smtpd 2>&1

and you should be set.

-steve

On 09/05/00 @ 03:26PM, Manuel Gisbert wrote:
> Anyone ever used DJBs rblsmtp daemon to prevent spam?
> Could someone tell me where to insert rblsmtpd in my ../supervise/run
> script.
> The docs at cr.yp.to are a bit thin, at least for me ;-)
> 
> my current run script looks like the following:
> 
> exec /usr/local/bin/softlimit -m 400
> 
> Thanx
> Manuel
> 



Re: load balancing two qmail servers using nfs

2000-06-24 Thread steve j. kondik

you might consider using rsync to sync your conffiles, instead of
sharing them over nfs.  this would eliminate alot of problems
and latency i'd think.

On 06/24/00 @ 12:11AM, Mike Denka wrote:
> I've got two qmail servers running inside a load balancer.  They both access
> the same /var/mail/username/Maildir directories on an NFS server.  They also
> share many of the same configuration files in /var/qmail/control on the NFS
> server.  The files they share are local symbolic links to the shared volume
> on the NFS server.  A few hours after bringing up the second qmail server,
> the first one, which had been running fine for two weeks, quit working.  The
> errors I am getting in the syslog file on the failing server are
> "Can't_connect_to_SMTP_server" and "Can't_chdir_to_Maidir".  Anyone have any
> success with this configuration or have any idea what could be causing the
> first server to loose its way?
> 
> Running qmail and NFS on Solaris 2.7 (first server and NFS server) and 2.8
> (second qmail server).  The first server (the one failing) responds to
> connections on port 25 but can't send or deliver and is not spawning any
> qmail processes.  The second server is now doing all the work.
> 
> Thanks,
> 
> Mike
> 
> 

-- 
Steve J. Kondik  <[EMAIL PROTECTED]>
Stargate Industries, LLC - Network Operations Center



Re: qmail/sshd question

1999-08-09 Thread steve j. kondik

easy, i just disabled sshd's mailcheck and made a little script to check the
output of `ls ~/Maildir/new` and called it from /etc/profile.  Not very
elegant and not exactly what I wanted, but it works.

if there is a patch for sshd i'd still like to know ;>

-steve

On 08/09/99 @ 11:40AM, K. Brant Niggemyer wrote:
> I've wondered the same thing.  What did your script do?
> 
> 
> - Original Message -
> From: steve j. kondik <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, August 08, 1999 11:58 PM
> Subject: Re: qmail/sshd question
> 
> 
> > nevermind, just made a script to do it. ;>
> >
> > -steve
> >
> > On 08/08/99 @ 11:03PM, steve j. kondik wrote:
> > > thanks for the help with my last question, now i have another simple
> > > question.. couldn't find any info about this but im sure its been done
> many
> > > times.  ssh is the only way for users to access my system, now what
> would be
> > > the best way to have sshd check the users mail upon initial login?  it
> seems
> > > to only want to check /var/spool/mail and im using Maildirs.
> > >
> > > thanks in advance,
> > > -steve
> >
> 



Re: qmail/sshd question

1999-08-08 Thread steve j. kondik

nevermind, just made a script to do it. ;>

-steve

On 08/08/99 @ 11:03PM, steve j. kondik wrote:
> thanks for the help with my last question, now i have another simple
> question.. couldn't find any info about this but im sure its been done many
> times.  ssh is the only way for users to access my system, now what would be
> the best way to have sshd check the users mail upon initial login?  it seems
> to only want to check /var/spool/mail and im using Maildirs.
> 
> thanks in advance,
> -steve



qmail/sshd question

1999-08-08 Thread steve j. kondik

thanks for the help with my last question, now i have another simple
question.. couldn't find any info about this but im sure its been done many
times.  ssh is the only way for users to access my system, now what would be
the best way to have sshd check the users mail upon initial login?  it seems
to only want to check /var/spool/mail and im using Maildirs.

thanks in advance,
-steve



Re: question about ip hosts and virtual hosts

1999-08-07 Thread steve j. kondik

thanks much, qmail suddenly seems much clearer now ;>

-steve

On 08/07/99 @ 11:59PM, John Gonzalez/netMDC admin wrote:
> 
> sure, very very simple.
> 
> Make sure that the virtual domains are in the
> /var/qmail/control/virtualdomains file, and NOT in the locals file.
> 
> Make a user on the box called 'user1'
> 
> Now, in your /var/qmail/control/virtualdomains file, have this:
> 
> www.virtualdomain1.com:alias-virtualdomain1
> www.virtualdomain2.com:alias-virtualdomain2
> 
> in the /var/qmail/alias directory, create files named:
> 
> .qmail-virtualdomain1-webmaster
> 
> inside that file, put
> &[EMAIL PROTECTED]
> 
> and the mail for [EMAIL PROTECTED] will be forwarded to him.
> You can do this with any address you want @virtualdomainX.com
> 
> On Sun, 8 Aug 1999, steve j. kondik wrote:
> 
> >i've scoured the documentation and haven't figured out how to do this yet..
> >here is my situation..
> >
> >my box has several ips, lets say domain1.com and domain2.com as well as some
> >normal vpops, which work fine.  now here is the problem, mail for
> >[EMAIL PROTECTED] should go to user1 and mail for [EMAIL PROTECTED]
> >should go to user2, now, both domain1 and domain2 are on the same box, using
> >ip aliasing and all the users who recieve mail for these 2 domains have real
> >shells on the box.  is this possible without running multiple instances of qmail
> >for each ip?
> >
> >this is probably easy, im just missing something here.
> >
> >thanks in advance,
> >-steve
> >
> 
>   ___   _  __   _  
> __  /___ ___    /__  John Gonzalez/Net.Tech
> __  __ \ __ \  __/_  __ `__ \/ __  /_  ___/ MDC Computers/netMDC!
> _  / / / `__/ /_  / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052
> /_/ /_/\___/\__/ /_/ /_/ /_/\__,_/  \___/ http://www.netmdc.com
> [-[system info]---]
>  11:55pm  up 16 days,  8:48,  3 users,  load average: 0.00, 0.05, 0.07



question about ip hosts and virtual hosts

1999-08-07 Thread steve j. kondik

i've scoured the documentation and haven't figured out how to do this yet..
here is my situation..

my box has several ips, lets say domain1.com and domain2.com as well as some
normal vpops, which work fine.  now here is the problem, mail for
[EMAIL PROTECTED] should go to user1 and mail for [EMAIL PROTECTED]
should go to user2, now, both domain1 and domain2 are on the same box, using
ip aliasing and all the users who recieve mail for these 2 domains have real
shells on the box.  is this possible without running multiple instances of qmail
for each ip?

this is probably easy, im just missing something here.

thanks in advance,
-steve