No, no - no offense taken - I've done it before but it has been almost 4 years - a lot has changed since I had my stuff going.
I already have my qpopper modified and it's successfully tracking my IP into the relayers files when I check email, sendmail just isn't checking the files like it used to - Looking through your email it appears that Drac is the same thing that I'm trying to do already. While my setup is tracking my IP to the relayers file, adding entries like "10.0.0.2 OK", originally I would be able to auth by only adding the following lines to my sendmail.cf Kpopauth hash -o /etc/mail/relayers ### The following two lines are for relayers R$* $: $(relayers $1 $) ROK $@ OK I'm going to scrap my qpopper for now and see if I can get Drac setup as most likely none of my old sendmail rules work anymore and it looks like drac pretty much the same thing that I'm trying to do now. Thanks for the info!! ;P ----- Original Message ----- From: "Mark" <[EMAIL PROTECTED]> To: "FreeBSD" <[EMAIL PROTECTED]>; "FreeBSD-Questions" <[EMAIL PROTECTED]> Sent: Friday, August 08, 2003 4:01 PM Subject: Re: POP Before SMTP > ----- Original Message ----- > From: "FreeBSD" <[EMAIL PROTECTED]> > To: "FreeBSD-Questions" <[EMAIL PROTECTED]> > Sent: Friday, August 08, 2003 10:45 PM > Subject: Re: POP Before SMTP > > > > Already tried googling of course or I wouldnt have asked here, I'm not > > THAT off ;P Most of the searches bring up close to the same > > information that I was using previously which is to simply modify > > the sendmail.cf file with the following information: > > > > ######################################################################## > > # > > Scheck_rcpt > > R< $+ @ $=w > $@ OK > > R$+ $: $(dequote "" $&{client_addr} $) $| $1 > > R0 $| $* $@ OK > > R$* $| $* $: $(relayers $1 $: ERROR $) > > RERROR $#error $@ 5.7.1 $: "550 SMTP relay denied, authenticate via > > POP/IMAP first" > > R$* $@ OK > > > > > > ######################################################################## > > > > This "used" to be the easiest method to setup and would automatically > > enter your IP address into the relayers file and thereby allow you to > > send mail but this does not appear to work with the newer version of > > sendmail so I was wondering if anyone else had any ideas on a simple > > setup like this since a Lot of the sendmail rules have changes since > > I last played with it ;P > > > Dear Katrina, > > Not to be rude, but are you sure you have done this before? :) Or did you, > perchance, edit an existing installation? Because I know of no setup that > "would automatically enter your IP address into the relayers file and > thereby allow you to send mail." > > Understand, of course, that sendmail has nothing to do with IP addresses > harvested from POP requests. That little code-snippet from sendmail.cf > relies on an external file, presumably generated by a POP server. It used to > be that patches existed for, say, qpopper, so the POP daemon would log IP > numbers. But, nowadays, if you want POP-before-SMTP, you should really use > DRAC (Dynamic Relay Authorization Control). > > This means your first task is to recompile qpopper (if that is your POP > server, of course), for use with DRAC. Say you have it log IP addresses to > /usr/local/etc/dracd.db, then you could edit sendmail.cf as follows. You add > a line that says: > > Kdrac btree -o /usr/local/etc/dracd > > Then, at the right place, you add: > > ### The following four lines are for drac. > > R$* $: $&{client_addr} > R$+ $: $(drac $1 $: ? $) > R? $@ $#error $@ 5.7.1 $: "550 Relaying denied" > R$+ $@ $#OK > > Only this way will it go "automatically". :) > > Check out: > > http://mail.cc.umanitoba.ca/drac/index.html > > Having said all that, why not use SMTP AUTH, while you are at it? :) > > - Mark > > _______________________________________________ > [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]"