Filters with qmail
Hi, I need to setup a filter program with qmail. I have been looking for a while, but haven't found any programs that does the following : Spam-filter. The qmail SMTP server is running as a open-realy, so we need to have some sort of spam filter - like checking if the mail looks like spam, and controlling that the user would only send xx mails within xx minutes. Macro filter : I need to be able to setup some conditions like: if the subject like 'something' and email '[EMAIL PROTECTED]' then delete/copy/forward/return to sender. Can anyone help me on how to setup these - or any ideas of what programs to use. Another thing - has anyone made a web interface to control qmail? Thanks, Martin Staael NetGroup A/S St. Kongensgade 40H. 2.th.,1264 København K., Tel.. +45 33691228, Fax. +45 33130066 --- - Origin: Glace Bleu d'origine... :) ([EMAIL PROTECTED])
Re: Filters with qmail
Sam, At 13:17 03-02-99 +, you wrote: Read the FAQ, and turn off your open relay. I know how to turn off my open-realy. But I need a open-realy - or our customers is not able to send mail through us. "Macro" filter : I need to be able to setup some conditions like: if the subject like 'something' and email '[EMAIL PROTECTED]' then delete/copy/forward/return to sender. man dot-qmail man qmail-command I have to disappoint you, but this was not what I were looking for - sorry. Please read again my letter, to understand what I mean. Martin,
Re: Filters with qmail
Andy, At 13:42 03-02-99 +, you wrote: I know how to turn off my open-realy. But I need a open-realy - or our customers is not able to send mail through us. Read the FAQ again. Ideally your customers should be using their ISP's own mail server. Our customers will always use another ISP for dial-in, or have a direct connection. But we will still have to provide them with a SMTP server, that is the reason for the needed open-relay. So we can't tell our customers to use another mail-server (SMTP) - and this would often be confusing for many customers. Martin Staael NetGroup A/S St. Kongensgade 40H. 2.th.,1264 København K., Tel.. +45 33691228, Fax. +45 33130066 --- - Origin: Glace Bleu d'origine... :) ([EMAIL PROTECTED])
forward and keep mail
Hi, I have a user who has a .qmail in his mail directory which looks like this: .qmail: [EMAIL PROTECTED] This works fine and forward the email to [EMAIL PROTECTED] BUT - what if the user wants a copy of the mail sent to [EMAIL PROTECTED] and STILL keep a copy of the mail in the home directory? How to do this? Thanks,
checkpassword
Hi I have this configuration - starting qmail-pop3d /usr/local/bin/tcpserver 0 110 /var/qmail/bin/qmail-popup qmail.xx.net \ /bin/checkpassword /var/qmail/bin/qmail-pop3d ./ I have this user list that checkpassword should follow #xx: /var/qmail/users cat assign =martin:martin:1120:0:/webdisk/mail/martin::: +martin-:martin:1120:0:/webdisk/mail/martin:-:: . But when checkpassword chdir's into the users directory it follow the /etc/passwd file and NOT the users/assign file as it should. Why?? Any fix to this - or any other programs that I can use? Thanks, Martin Staael NetGroup A/S St. Kongensgade 40H. 2.th.,1264 København K., Tel.. +45 33691228, Fax. +45 33130066 --- - Origin: Glace Bleu d'origine... :) ([EMAIL PROTECTED])
Problem with qmail-pop3d - ERR unable to scan $HOME/Maildir
Hi I'm having a problem with qmail-pop3d. There is no problem starting qmail-pop3d via tcpserver, but when a user logs into POP3 it says unable to scan $HOME/Maildir. How do I tell qmail-pop3d where the users mail directory is?? In the qmail-pop3d.c file it only reads argument 1 which is "./" so I don't really know how qmail-pop3d would know where it is. Is it a bug - or what am I doing wrong? Example: Connected to localhost. Escape character is '^]'. +OK [EMAIL PROTECTED] user martin +OK pass -ERR unable to scan $HOME/Maildir My /var/qmail/users/assign looks like this =martin:martin:1120:0:/webdisk/mail/martin::: +martin-:martin:1120:0:/webdisk/mail/martin:-:: My maildirectory is in /webdisk/mail - where all mail is stored. The rc script file looks like this: exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./ splogger qmail And the qmail-pop3d is started in this way. /usr/local/bin/tcpserver 0 110 /var/qmail/bin/qmail-popup qmail.xx.net \ /bin/checkpassword /var/qmail/bin/qmail-pop3d ./ The martin mail directory looks like this: /webdisk/mail/martin la total 8 drwx--5 martin qmail 45 Jan 27 13:49 . drwxrwxrwx3 root qmail 24 Jan 27 11:56 .. drwx--2 martin sys 4096 Jan 27 14:07 cur drwx--2 martin sys9 Jan 27 14:07 new drwx--2 martin sys9 Jan 27 12:09 tmp A note is that if I start the tcpserver like this /usr/local/bin/tcpserver 0 110 /var/qmail/bin/qmail-popup qmail.xx.net \ /bin/checkpassword /var/qmail/bin/qmail-pop3d /webdisk/mail/martin then it works fine - but this would only work in a single user pop3 mode :) *lol* Martin --- - Origin: Glace Bleu d'origine... :)([EMAIL PROTECTED])