Well, it wasn't my intention for spamdyke to skip authentication for whitelisted IPs but it's very possible you've found a bug. I'll look into it and let you know what I find.
Thanks for reporting this! -- Sam Clippinger Ratko Rudič wrote: > On Monday 23 of March 2009 22:26:49 Sam Clippinger wrote: > >> I have no idea; this really isn't enough to try to diagnose the >> problem. What operating system and version are you using? What version >> of spamdyke are you using? How did you install qmail (e.g. >> QmailToaster, Life With Qmail, Qmailrocks, Plesk)? What does your >> entire spamdyke configuration file contain? What does your qmail-smtpd >> "run" file contain? Is spamdyke printing any messages (or errors) into >> the log? Have you tried running spamdyke's "config-test" feature? >> What's the difference between the two hosts you're using (e.g. one is on >> the same network as the mail server, one _is_ the mail server, one of >> them uses a mail proxy)? >> >> I'd really like to help, I just need more information. >> > > Sure Sam, i thought i missed something obvious. > > I investigated more and found out that IP's that are in ip-whitelist-file (or > rdns-whitelist-file or connect from localhost) do not get 250 AUTH line. > > Now, i want emails originating from my office's mail server to go straight > into my inbox. No graylisting, no early takers, nothing. So putting office > server's IP in ip-whitelist-file is OK. > > But I would also like to have SMTP-AUTH enabled, as I move arround the city > constantly. > > If there is no 250 AUTH like, server returns "unimplemented (#5.5.1)", so i > have to change to no authorization in kmail every time i'm in the office. > > This is my config: > dns-blacklist-entry=zombie.dnsbl.sorbs.net > dns-blacklist-entry=dul.dnsbl.sorbs.net > dns-blacklist-entry=bogons.cymru.com > dns-blacklist-entry=zen.spamhaus.org > log-level=info > log-target=syslog > local-domains-file=/var/qmail/control/rcpthosts > max-recipients=5 > idle-timeout-secs=120 > graylist-dir=/var/spool/graylist > graylist-level=always > graylist-exception-rdns-file=/var/qmail/control/graylist_whitelist > graylist-exception-ip-file=/var/qmail/control/graylist_whitelist_ip > graylist-min-secs=90 > graylist-max-secs=1814400 > reject-empty-rdns > rdns-whitelist-file=/var/qmail/control/rdns_whitelist > ip-whitelist-file=/var/qmail/control/whitelist > greeting-delay-secs=2 > smtp-auth-level=ondemand > smtp-auth-command=/bin/checkpassword /bin/true > access-file=/etc/tcp.smtp > > qmail is hand-installed and configured, OS is debian. no errors are in log, > config-test with auth went ok (no errors there also). > > Ratko > > >> -- Sam Clippinger >> >> Ratko Rudič wrote: >> >>> Hi all, >>> >>> i'm using "smtp-auth-level=always" in spamdyke. >>> >>> if i connect to it from one host it gives me: >>> # telnet kramfid.org 25 >>> Trying 193.77.156.183... >>> Connected to kramfid.org. >>> Escape character is '^]'. >>> 220 kramfid.org ESMTP >>> ehlo test >>> 250-kramfid.org >>> 250-PIPELINING >>> 250-8BITMIME >>> 250 AUTH LOGIN PLAIN >>> >>> but if i connect from some other host it gives me no "AUTH LOGIN PLAIN" >>> line. # telnet kramfid.org 25 >>> Trying 193.77.156.183... >>> Connected to kramfid.org. >>> Escape character is '^]'. >>> 220 kramfid.org ESMTP >>> ehlo test >>> 250-kramfid.org >>> 250-PIPELINING >>> 250 8BITMIME >>> >>> is this intentional or am i missing some configuration line? >>> >>> thx, >>> ratko >>> >>> _______________________________________________ >>> spamdyke-users mailing list >>> [email protected] >>> http://www.spamdyke.org/mailman/listinfo/spamdyke-users >>> >> _______________________________________________ >> spamdyke-users mailing list >> [email protected] >> http://www.spamdyke.org/mailman/listinfo/spamdyke-users >> > > > _______________________________________________ > spamdyke-users mailing list > [email protected] > http://www.spamdyke.org/mailman/listinfo/spamdyke-users > _______________________________________________ spamdyke-users mailing list [email protected] http://www.spamdyke.org/mailman/listinfo/spamdyke-users
