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,
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])
Re: Filters with qmail
Petr, At 15:11 03-02-99 +, you wrote: >1. If your customers have static IP, setup a database for tcpserver >which exports RELAYCLIENT="" for those special IPs (see FAQ 5.4) They don't. The use dial-in from around the world. What I need is a program to check that a user is not sending more than xx mails within yy minutes. (ie. 30 mails within 5min). It would be nice if a program could do a match on the mails - so that if someone has send 5 mails in a row that a program did match the previous mail - and if at least 70% percent of the previous mail were matched then this mail would probally be spam. With spam mails normally the receiver/sender and some of the content is changed. So it is actually very easy to do a match whether a mail is spam - if just enough of these has been sent. Can you follow this? >2. If your customers ahve dynamic IPs (or connect from all around >theh world), go to www.qmail.org and find there Open-SMTP patches (in >fact it means that after successful POP3 authentication, you open a >relay for that IP for some time - like 5 or 10 minutes). I have considered this solution. But most POP3 clients such as Netscape and Eudora actually DO send mail by SMTP first, rather than checking mail first. I'm really without a clue here. I hope someone has developed as spam filter that do a match on mails - for preventing spam or check whether the host is sending more than xx mails within yy min. Martin,
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])
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])