RE: [vchkpw] Archiving mail
There is a patched qmail-scanner which has the archive option to archive all emails. See the link for detail: http://xoomer.virgilio.it/j.toribio/qmail-scanner/configure-options.html. -Original Message- From: Bill Gradwohl [mailto:[EMAIL PROTECTED] Sent: Monday, October 25, 2004 3:03 PM To: [EMAIL PROTECTED] Subject: [vchkpw] Archiving mail I know this subject has been touched on several times on this and the qmail list, but I have yet to see a comprehensive resolution, so please bear with me. Texas courts are now moving legal documents via email between the respective attorney's offices, and attorneys are asking for a way to archive everything in and out of a virtual domain as a permanent record. The Subject: contains a case number. SEC regulations as well as Sarbanes-Oxley (SOX) require those affected by these rules to archive all inbound and outbound mail. qmail has a rudimentary facility to do this with a patch to the extra.h file. It doesn't archive a duplicate of the mail, but simply ads an artificial CC to it to force the rest of the system to send a modified copy of the email to a specific location. That may or may not satisfy SEC or SOX requirements - I don't know. One can argue that what the archive holds was never sent to the server due to the CC modification. When vpopmail is added to the mix, the promise of the extra.h patch looses its usefulness as what most sites want/need is an archive per virtual domain or even per user, not for the box as a whole. Its been mentioned that maildrop can archive mail, but I believe it can only do this for mail that eventually gets analyzed via a .qmail file. There is no mechanism for mail sent out to be archived via maildrop. Please correct me if I'm wrong. Is there a comprehensive way to archive mail EXACTLY AS IT WAS SENT, either in to the domain or out from the domain, IN A VPOPMAIL ENVIRONMENT, on at least a virtual domain level? If so, how? Note - recordio is not a solution. Adding extra delivery instructions in the .qmail file for a user is less than satisfactory especially since it will only archive a facsimile of the mail and then only for mail send to the domain, completely missing any mail originating on the domain destined for the outside world. -- Bill Gradwohl [EMAIL PROTECTED] http://www.ycc.com
RE: [vchkpw] forward emails to remote users for local domain
Just resend the reply for last week's discussion. I wrote a patch (or quick hack) to do this and have been running this setup in production for more than four months without any problem. The patch for 5.4.3 is located at http://www.sigrity.com/oss/vdelivermail.c.patch-5.4.3 and more patches can be generated if requested. If more people are interested in this, we could propose a mailhost field just like in qmail-ldap to make it cleaner. Here is the brief setup instruction: For two mail servers (can be more) mail1.x.com and mail2.a.com. Any of mail servers can be MX hosts. 1] Setup vpopmail on both mail servers to host x.com as usual. 2] Add mail1.x.com as an alias to x.com domain on mail1.x.com and add mail1.x.com to VPOPMAILHOME/etc/locals 3] Add mail2.x.com as an alias to x.com domain on mail2.x.com and add mail2.x.com to VPOPMAILHOME/etc/locals 4] Set user fullname to Full [EMAIL PROTECTED] for email accounts on mail1.x.com 5] Set user fullname to Full [EMAIL PROTECTED] for email accounts on mail2.x.com All emails are routed according the setting in the fullname field and using SMTP (not like qmail-ldap). The vpopmail db needs to be synchronized between sites so mysql backend is preferred but cdb should work too. Shouguan Lin -Original Message- From: Asim Ansari [mailto:[EMAIL PROTECTED] Sent: Friday, August 27, 2004 1:00 PM To: [EMAIL PROTECTED] Subject: RE: [vchkpw] forward emails to remote users for local domain Thanks Matthew, I have gone through the archive and find the topic How to Split a domain into 2 machines but my problem is really simple, what I need to know is, How can I send mail for unrecognised local users to ISP? Or if someone can tell me how can I put a forward for a user in vpopmail like SMTP:receipient@server address e.g. I create a forward account for [EMAIL PROTECTED] with a forward like SMTP:[EMAIL PROTECTED]@smtp.mydomain.com so that if [EMAIL PROTECTED] send email to [EMAIL PROTECTED] then this mail should get on the internet @ smtp.mydomain.com where there is a pop account for [EMAIL PROTECTED] Asim Ansari Sr. Network Administrator i2c inc Office 92.42.111.000.911 Cell 92.333.442.6002 IM (MSN) [EMAIL PROTECTED] Fax 92.42.571.0376 mailto: [EMAIL PROTECTED] URL: www.i2cinc.com -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED] Sent: Saturday, August 28, 2004 12:29 AM To: [EMAIL PROTECTED] Subject: Re: [vchkpw] forward emails to remote users for local domain Ahha. So you need it to go to the other server. It seems like this was discussed on the mailling list in the last week or so. It's not simple, so I suggest reading the archives. Look for the discussion about splitting users across multiple servers. On Sat, 28 Aug 2004 00:24:03 +0500, Asim Ansari [EMAIL PROTECTED] wrote: Thanks Matthew, [EMAIL PROTECTED] is a remote user of our domain mydomain.com and exists on the server which hosts the domain mydomain.com where as [EMAIL PROTECTED] is a true local user which exists on the qmail server in my office (by this way we have two qmail servers, one in my office and the other having the domain mydomain.com hosted at). What I need is, when [EMAIL PROTECTED] sends email to [EMAIL PROTECTED] then this mail should get on the internet rather Bounce Back/Delete/Sent to some Remote Mail Box Asim Ansari Sr. Network Administrator i2c inc Office 92.42.111.000.911 Cell 92.333.442.6002 IM (MSN) [EMAIL PROTECTED] Fax 92.42.571.0376 mailto: [EMAIL PROTECTED] URL: www.i2cinc.com -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED] Sent: Saturday, August 28, 2004 12:10 AM To: [EMAIL PROTECTED] Subject: Re: [vchkpw] forward emails to remote users for local domain Let me see if I understand. You have these users: [EMAIL PROTECTED] [EMAIL PROTECTED] userA is a true local user with a full account. userB needs to just forward the email to another location, and has no vpopmail account. If this is correct, then simply setting up a forward in qmailadmin will work. If instead, userB has a vpopmail account but needs mail /copied/ to a remote email, you should go into the account settings for that user in qmailadmin, and set it to forward their email, but also check the box to keep a copy. On Fri, 27 Aug 2004 23:49:31 +0500, Asim Ansari [EMAIL PROTECTED] wrote: Thanks for your reply Matthew, But the real problem starts from here, all these users have pop accounts on the mail server we have hosted our mails at, for example [EMAIL PROTECTED] (exist locally on mail server running in my office) need to send email to [EMAIL PROTECTED] (a POP account exist on the mail server which is hosting our email domain) then what should I set forward to, I want some way to forward mails to the internet for those users who do not exist locally. Asim Ansari Sr. Network Administrator i2c inc Office 92.42.111.000.911 Cell 92.333.442.6002 IM
RE: [vchkpw] How to Split a domain into 2 machines?
-Original Message- From: Bruno Negrão [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 2:10 PM To: [EMAIL PROTECTED] Subject: [vchkpw] How to Split a domain into 2 machines? Hi all, I have to solve the famous problem of splitting a unique domain into 2 remote machines. One machine gonna be the MX for the domain but will contain only part of the e-mail accounts. The other half of the e-mail accounts will be configured in the other server. Creating two subdomains *is not a valid alternative* for me. Is it possible to do this elegantly with vpopmail? Until now, the most elegant solution i have seen is using Qmail + qmail-ldap patch + Open LDAP. In this scenario, vpopmail wouldn't be used. I know there is also a vpopmail-ldap patch, but i understood that it doesn't foresee the case of splitting a domain into two different servers. Thanks in advance, bnegrao I wrote a patch (or quick hack) to do this and have been running this setup in production for more than months without any problem. The patch for 5.4.3 is located at http://www.sigrity.com/oss/vdelivermail.c.patch-5.4.3 and patches can be generated if requested. If more people are interested in this, we could propose a mailhost field just like in qmail-ldap to make it cleaner. Here is the brief setup instruction: For two mail servers (can be more) mail1.x.com and mail2.y.com. Any of mail servers can be MX hosts. 1] Setup vpopmail on both mail servers to host x.com as usual. 2] Add mail1.x.com as an alias to x.com domain on mail1.x.com and add mail1.x.com to VPOPMAILHOME/etc/locals 3] Add mail2.x.com as an alias to x.com domain on mail2.x.com and add mail2.x.com to VPOPMAILHOME/etc/locals 4] Set user fullname to Full [EMAIL PROTECTED] for email accounts on mail1.x.com 5] Set user fullname to Full [EMAIL PROTECTED] for email accounts on mail2.x.com All emails are routed according the setting in the fullname field and using SMTP (not like qmail-ldap). The vpopmail db needs to be synchronized between sites so mysql backend is preferred but cdb should work too. Any comment are welcomed. Hope it will solve your problem. Shouguan Lin
RE: [vchkpw] SMTP Authenticated user is able to anyone in rcpthosts
The unified qmail patches include a patch to verify the FROM address with authenticated user. The patch is located at http://night.rdslink.ro/dudu/qmail/. Check README for 2004_05_02. Hope it helps. Shouguan Lin -Original Message- From: Devendra Singh [mailto:[EMAIL PROTECTED] Sent: Monday, June 07, 2004 6:08 AM To: VpopMail Mailing List Subject: [vchkpw] SMTP Authenticated user is able to anyone in rcpthosts Hi, I am using Erwin Hoffmann's qmail-smtpd-auth-0.4.2. I have noticed that once authenticated a user can use [EMAIL PROTECTED] (where server.com is a domain listed in rcpthosts) in the FROM header. Is there any remedy. __ Devendra Singh IndiaMART InterMESH Limited (Global Gateway to Indian Market Place) B-1, Sector 8, Noida, UP - 201301, India EPABX : +91-120-2424945, +91-120-3094634, +91-9810646342 Fax: +91-120-2424943 http://www.indiamart.com http://www.indiangiftsportal.com http://www.indiantravelportal.com __
RE: [vchkpw] mysql-standard-4.0.18-unknown-openbsd3.4-i386 + vpopmail 5.4.0
It happens on the FreeBSD too. The floor is in the libm. Edit the Makefile and change -lz to -lz -lm and it will compile fine. For vi, just do 1,$ s/-lz/-lz -lm/g. Save the Makefile and do a make. -Original Message- From: Mikael [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 2:53 PM To: [EMAIL PROTECTED] Subject: [vchkpw] mysql-standard-4.0.18-unknown-openbsd3.4-i386 + vpopmail 5.4.0 hey, i'm trying to compile vpopmail-5.4.0 with mysql support, though `(g)make` fails with the following error: gcc -g -O2 -Wall -o vchkpw vchkpw.o md5.o hmac_md5.o libvpopmail.a -L/usr/local/mysql/lib -lmysqlclient -lz /usr/local/mysql/lib/libmysqlclient.a(password.o): In function `scramble': password.o(.text+0x1c8): undefined reference to `floor' password.o(.text+0x25d): undefined reference to `floor' /usr/local/mysql/lib/libmysqlclient.a(password.o): In function `check_scramble': password.o(.text+0x3fa): undefined reference to `floor' password.o(.text+0x488): undefined reference to `floor' collect2: ld returned 1 exit status gmake[2]: *** [vchkpw] Error 1 i ran the configure script with the following flags: --prefix=/var/vpopmail --enable-vpopuser=_vpopmail --enable-vpopgroup=_vpopmail --enable-domainquotas --enable-libdir=/usr/local/mysql/lib --enable-incdir=/usr/local/mysql/include --enable-valias --enable-mysql-logging --enable-auth-module=mysql have anyone successfully built vpopmail with the binaries that mysql provide? greetings. -- Mikael, [EMAIL PROTECTED] http://www.gentoo.se/docs/
Re: [vchkpw] Spamassassin: i wish..
Is it possible not to hard code the header? CRM114 just like SA can add a header like X-CRM114-Status: SPAM for identified spam emails. If the header is not hard coded, then vpopmail can work with both SA and CRM114 or other spam filters. Thanks, Shouguan Lin - Original Message - From: Ken Jones [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 12, 2004 8:26 AM Subject: Re: [vchkpw] Spamassassin: i wish.. On Friday 12 March 2004 6:35 am, Cristiano Deana wrote: Il giorno Friday 12 March 2004 12:53, X-Istence mi scriveva: Now spam threshold is hardcoded with --enable-spam-threshold=15 shouldn't be better to put it in vlimits.default? I think this should be made an option, if it is not set, look for vlimits.default, if it is set, then use it hard coded, Yes, better. Very well. In the patch I have based on the BSD patch, it uses the required_hits in the system global setting, normally in /etc/mail/spamassassin/local.cf and can be overriden by a users .spamassassin/users_pref file. So there is no need for an --enable-spam-threshold option. Spamassassin adds a header X-Spam-Flag: YES if the email goes over the required_hit count. I'm going to try and add the code to the cvs version over the weekend. Ken Jones