M. J. [Mike] O'Brien wrote:

Well, its not such a big deal where the dbmail.conf file goes. You can put it anywhere you like, just point your startup scripts the right way :o)

FBSD standard IS /etc
check it out
all mail config on FBSD is in etc :o)
/etc/mail
/etc/aliases
/etc/mail/spamassassin
and so on...

I will look for old confs on procmail
Haven't used it in a long time.

If you use the new Postfix and configure it well, you will have clean mail.

I do use the new postfix it has some anti spam stuff going on like this
# security and rely
smtpd_sender_restrictions =
       permit_mynetworks,
       permit_mx_backup,
       permit_sasl_authenticated,
# new
       reject_rhsbl_sender dsn.rfc-ignorant.org,
       permit_sasl_authenticated,
       reject_sender_login_mismatch
# not new just moved
       reject_unauth_destination


smtpd_recipient_restrictions =
       permit_mynetworks,
       permit_mx_backup,
       permit_sasl_authenticated,
# new
       reject_unauth_pipelining,
       reject_unknown_recipient_domain,
       reject_non_fqdn_sender,
       reject_non_fqdn_recipient,
# not new just moved
       reject_unauth_destination

Still get losts of spam mostly i use procmail mostly for server side filters what do u use have heard alot of good things about sieve but i do not think it is working yet with dbmail? I need server side filters

best...
Mike




----- Original Message ----- From: "RYAN vAN GINNEKEN" <[EMAIL PROTECTED]>
To: "M. J. [Mike] O'Brien" <[EMAIL PROTECTED]>
Sent: Monday, March 28, 2005 7:19 AM
Subject: Re: [Dbmail] Re: WebMail-- DBMA - from [EMAIL PROTECTED]


M. J. [Mike] O'Brien wrote:

No, Ryan,  keep svn because it will allow you to update all
your build files only replacing what is needed. Plus, if you do some editing in the build files, as you may want to do at
some point, like different patches that come along or
whatever, svn will keep your modifications. Subversion is
from heaven :o)

Thanks mike sounds like i owe you one

the svn you have installed is newer than a daily snapshot
because svn is up-to-the-minute :o)

/etc/dbmail.conf is pretty standard. Of course it depends on
your startup scripts. Do you have some? If not I can give
you a link to download some but mine are kind of rough and
ready as I never really shut a server so nothing fancy.



Yes i have some they came with my bsd pkg in the beginning but needed
some tweaking to get them to work with FBSD 4.X

The location of dbmail.conf is only specified in the startup
scripts so you can put them anywhere you want. /etc is
likely best.


My startup scripts call for the conf files in the standard bsd location
/usr/local/etc/dbmail-x.conf
not sure why i need to put it in the /etc directory. Maybe i should
have deinstalled the old dbmail pkg
first. Just a minute i can't sleep a night with the thought that i have
2 versions of dbmail on my system even if they are working.

Ok i deinstalled the original package dbmail-mysql-2.0.0_2 ( I hate loose ends) and it seemed to break dbmail and erased the scripts so i reinstalled the new svn way you suggested and now dbmail is ok again. Lucky i had an editor window open looking at one of the scripts so just a cut an paste and i have my modified script back. Gonna put it below for prosperity since it seems to to work, strange that dbmal still seems
to need the /etc/dbmail.conf as it only calls for
/usr/local/etc/dbmail.conf oh well i can live with that.just puzzling me
thats all.

Mar 28 05:04:21 tokyo dbmail/imap4d[87352]: SetConfigItems(): no value
for NCHILDREN in config file
Mar 28 05:04:25 tokyo stunnel[33741]: imaps connected from 192.168.0.1:3089 Mar 28 05:04:25 tokyo stunnel[33741]: remote connect (127.0.0.1:20143):
Connection refused (61)
Mar 28 05:04:25 tokyo stunnel[33741]: Failed to initialize remote connection Mar 28 05:04:41 tokyo dbmail/smtp[87361]: main(): error reading
alternate config file [/etc/dbmail.conf]


#!/bin/sh
#
# $FreeBSD: ports/mail/dbmail/files/dbmail-imapd.sh,v 1.1 2004/11/10
09:21:45 seanc Exp $
#

# PROVIDE: dbmail-imapd
# REQUIRE: DAEMON
# KEYWORD: shutdown

#
# Add the following lines to /etc/rc.conf to enable dbmail-imapd:
#
#dbmail_imapd_enable="YES"
#
# See dbmail-imapd(8) for flags
#

#This works for bsd 5.x only
#.
#This works for bsd 4.x
.. /usr/local/etc/rc.subr


name=dbmail_imapd
rcvar=`set_rcvar`

command=/usr/local/sbin/dbmail-imapd
pidfile=/var/run/dbmail-imapd.pid
required_files=/usr/local/etc/dbmail.conf

# read settings, set default values
load_rc_config "$name"
: ${dbmail_imapd_enable="NO"}
: ${dbmail_imapd_flags=""}

run_rc_command "$1"



Here is a suggestion for where to store stuff.

Postfix, right.

/etc/postfix for all configs, html and readmes for postfix
/etc/postfix/dbmail for readmes, scripts, spare sql stuff
and so on

Before rebuilding DbMail I always back up the binaries like
this:
/bin/cp /usr/local/sbin/dbmail*
/etc/postfix/dbmail/binaries_bak/

I link aliases and aliases.db like this
ln -s /etc/mail/aliases /etc/postfix/aliases
ln -s /etc/mail/aliases.db /etc/postfix/aliases.db
newaliases and postfix get along well this way

can't think of what else you might need...



If you can give me a rundown on how to get procmail to play with dbmail i would be forever in your debt. oh ya and i started a thread about my
problems with dpam too.

just some ideas...



Thank again for the help i really need it.

best...
Mike





----- Original Message ----- From: "RYAN vAN GINNEKEN" <[EMAIL PROTECTED]>
To: "DBMail mailinglist" <[email protected]>
Sent: Monday, March 28, 2005 5:58 AM
Subject: Re: [Dbmail] Re: WebMail-- DBMA - from
[EMAIL PROTECTED]


Ok i have just followed the instructions given to me by mike
and they
worked thanks mike see below.

Does this mean i did not have install svn to get things to
work should
i deinstall and then use the latest snapshot that you are
recommending
now.

where am i.

[EMAIL PROTECTED] wrote:



You are using the wrong version. It will not build
correctly
with a confusing array of non-GNU getopt. The solution is
to
upate to the current SVN (subversion) which has our new
dm_getopt specifically for helping legacy FBSD 4.x (Good
platform nevertheless the getopt history)




legacy FBSD oh the world is moving so fast.  Working on a
new 5.X stable
system but have
so much time invested in this 4.X i sometimes i think it
will take forever.



if you do not have subversion installed it is easy enough
to
do:

cd /usr/ports/devel/subversion
make
make install





OK works



then:

mkdir /usr/install
cd /usr/install
svn checkout
https://svn.ic-s.nl/svn/dbmail/branches/dbmail_2_0_branch/dbmail
cd dbmail
./configure --with-mysql
gmake
gmake install





It worked



then configure dbmail.conf in /etc




you mean /usr/local/ect/dbmail.conf and it is the same as
before the new
svn install



update your mysql tables using appropriate files from



I have already used the create_tables_innoDB.mysql before
upgradeing to
svn do i need to do it agian? or will that erase my
database..



dbmail/sql/mysql/
run start up scripts




the bit about moving the conf file to ect messed me up abit



:o)

Mike



----- Original Message ----- From: "RYAN vAN GINNEKEN" <[EMAIL PROTECTED]>
To: "M. J. [Mike] O'Brien" <[EMAIL PROTECTED]>
Sent: Monday, March 28, 2005 2:07 AM
Subject: Re: WebMail-- DBMA - from [EMAIL PROTECTED]


M. J. [Mike] O'Brien wrote:





You can only use "gmake" on FBSD

Mike







not sure how to use gmake mostly install stuff from the
ports tree (lame
i know but i am learning all the time) tried this

#gmake

but got errors

make[2]: Entering directory `/home/rmvg/dbmail_snapshot'
gcc -DHAVE_CONFIG_H -I. -I. -I.    -fomit-frame-pointer -g
-O2
-W -Wall
-Wpointer-arith -Wstrict-prototypes -c pop3d.c
In file included from misc.h:32,
              from pop3d.c:41:
/usr/include/unistd.h:112: conflicting types for
`dm_getopt'
dm_getopt.h:66: previous declaration of `dm_getopt'
gmake[2]: *** [pop3d.o] Error 1
gmake[2]: Leaving directory `/home/rmvg/dbmail_snapshot'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/rmvg/dbmail_snapshot'
gmake: *** [all-recursive-am] Error 2








Paul J Stevens wrote:



Ryan,

You're getting there. Please try the very latest snapshot.
Below
problem was fixed by Aaron yesterday or so.

RYAN vAN GINNEKEN wrote:



M. J. [Mike] O'Brien wrote:



You can only use "gmake" on FBSD

Mike





not sure how to use gmake mostly install stuff from the
ports tree (lame
i know but i am learning all the time) tried this

#gmake

but got errors

make[2]: Entering directory `/home/rmvg/dbmail_snapshot'
gcc -DHAVE_CONFIG_H -I. -I. -I.    -fomit-frame-pointer -g
-O2 -W -Wall
-Wpointer-arith -Wstrict-prototypes -c pop3d.c
In file included from misc.h:32,
              from pop3d.c:41:
/usr/include/unistd.h:112: conflicting types for
`dm_getopt'
dm_getopt.h:66: previous declaration of `dm_getopt'
gmake[2]: *** [pop3d.o] Error 1
gmake[2]: Leaving directory `/home/rmvg/dbmail_snapshot'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/rmvg/dbmail_snapshot'
gmake: *** [all-recursive-am] Error 2



_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail



_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail






Reply via email to