RE: [qmailtoaster] Some IMAP related queries
This is the backup/replication that we use. Assuming that dovecote uses the same mysql data base and folder structure, I don't think any modifications need to be done to accommodate dovecote. I will hopefully give this a try this week. http://wiki.qmailtoaster.com/index.php/QMT_Failover_replication_Setup Thanks again. Craig. -Original Message- From: Eric Shubert [mailto:[EMAIL PROTECTED] Sent: 05 September 2008 18:13 To: Craig Smith Subject: Re: [qmailtoaster] Some IMAP related queries Craig Smith wrote: Hi Eric, I've been looking into Dovecote, and from a performance point of view it seems the best bet over courier. I've not been able to install this yet, but was wondering from your experiences, would I have to adjust my backup/replication process much? That depends on your backup/replication process, but I doubt that it would change much if any. How well does Dovecote integrate? In other words does it use the existing auth model and read qmails mysql data etc? It integrates very easily. It is capable of authenticating using vpopmail, so it's just a matter of setting up the configuration properly. The documentation is very good, and IIRC has an example of vpopmail configuration. Basically can you think of any major hurdles I may run into, or does it run largely the same on the surface as courier but more efficiently. It's about as close to a drop-in replacement as you can get. It will automatically build all of the indexes and such that it needs, on the fly. It fixes itself if/when it sees something wrong. Pretty slick. A few of our mailboxes are rather large and I like the idea of the faster server with caching. I'm hoping to have a server next week to install and test this on, but thought I would ask so I can eliminate a few things. The only thing I can think of that you'll need to decide is whether or not you want to set up your namespaces to be like courier (every subfolder under/within Inbox), or allow users to create subfolders along side of the inbox. I opted for the later, as the courier namespaces really bugged me. If you choose the later, there's nothing really to convert or anything. Might need to change subscriptions on the client side is all. The only difference setting it up is a configuration setting that is well documented. Thanks again. Sure. Let me know if you need any help, but please keep this sort of thing on the list so others can benefit from the answers too. I like to reserve private consultations for clients. ;) Craig. -Original Message- From: Eric Shubert [mailto:[EMAIL PROTECTED] Sent: 02 September 2008 16:25 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Some IMAP related queries Craig Smith wrote: Hi Eric, The redundancy is the failover script that is on the wiki. The mysql database is exported out and the export file is replicated to the backup server. This process works great on our current pop3 server, as far as I can see it will work exactly the same on the imap side of things. Basically, mysql data exported and migrated to backup server. Qmail control files and /vpopmail/domain folder is also replicated to the backup server. In the event of a failure, the backup server's ip is switched to match the live server. The mysql data is imported in and qmail services are started. The mysql export/import is the same process as the backp and restore scripts. The users folders are generally only ever 15 minutes apart (depending on cron timing). I don't expect anything different but was wondering as we've only recently moved to imap if there was anything else I should be aware of. I can't think of anything. As for the gui, I'm not holding out much hope for that although it would be nice, what about at least a server based util to setup rules to move mail? What is the process that moves spam mails to the spam folder? Could that be adapted? Possibly. That would be maildrop-toaster. I'm using dovecot in place of courier. I didn't like the way that Courier requires all user-created folders be subfolders of the Inbox (for starters). Dovecot also appears to perform better with large folders, handle shared folders better, is more robust (recovers automatically from any errors), and is under active development. See http://dovecot.org for more. As a result of using Dovecot, I'm also looking to use the accompanying deliver program (Local Delivery Agent), which includes a plugin for the standard sieve programming language. See http://wiki.dovecot.org/LDA/Sieve for more. This will replace the use of maildrop. If you'd like to work on this with me, shoot me an mail off list. Thanks Craig. -Original Message- From: Eric Shubert [mailto:[EMAIL PROTECTED] Sent: 01 September 2008 16:57 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Some IMAP related queries Craig Smith wrote: Anyone? :) -Original Message
RE: [qmailtoaster] Some IMAP related queries
Hi Eric, The redundancy is the failover script that is on the wiki. The mysql database is exported out and the export file is replicated to the backup server. This process works great on our current pop3 server, as far as I can see it will work exactly the same on the imap side of things. Basically, mysql data exported and migrated to backup server. Qmail control files and /vpopmail/domain folder is also replicated to the backup server. In the event of a failure, the backup server's ip is switched to match the live server. The mysql data is imported in and qmail services are started. The mysql export/import is the same process as the backp and restore scripts. The users folders are generally only ever 15 minutes apart (depending on cron timing). I don't expect anything different but was wondering as we've only recently moved to imap if there was anything else I should be aware of. As for the gui, I'm not holding out much hope for that although it would be nice, what about at least a server based util to setup rules to move mail? What is the process that moves spam mails to the spam folder? Could that be adapted? Thanks Craig. -Original Message- From: Eric Shubert [mailto:[EMAIL PROTECTED] Sent: 01 September 2008 16:57 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Some IMAP related queries Craig Smith wrote: Anyone? :) -Original Message- From: Craig Smith [mailto:[EMAIL PROTECTED] Sent: 27 August 2008 16:24 To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] Some IMAP related queries Hello all, 2 quick ones. I'm going to be implementing a redundant server for one of our IMAP servers and I was wondering if there is anything I need to be aware of that is possibly different in behaviour vs pop3. Jake the replication script I setup, as far as I can see will work fine as it will replicate the contents of the users mailfolders is there anything you (or anyone) can think of that I might need to tweak? Authentication? What sort of redundancy are you implementing? Strictly backup/failover? The other query I've had is regarding rules. Is it possible to allow users to setup rules directly on the server. So basically, the server will process users rules as mail comes in and put them in various folders accordingly. Our directors have their Iphones setup to the imap server, and as long as their clients are running to process email based on rules it's great. However when their client isn't running, they end up with a load of rubbish in the inbox. Is there anyway to control that on the server (this one I'm sure is possible), but allow them to configure it as they need with some sort of UI? (this one I'm not so sure of) That'd be a great feature for imap users (imho). I don't know of anything in this area off hand, but I haven't looked hard at all. Please keep us posted on this one. Hopefully that makes sense. Thanks -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] Some IMAP related queries
Anyone? :) -Original Message- From: Craig Smith [mailto:[EMAIL PROTECTED] Sent: 27 August 2008 16:24 To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] Some IMAP related queries Hello all, 2 quick ones. I'm going to be implementing a redundant server for one of our IMAP servers and I was wondering if there is anything I need to be aware of that is possibly different in behaviour vs pop3. Jake the replication script I setup, as far as I can see will work fine as it will replicate the contents of the users mailfolders is there anything you (or anyone) can think of that I might need to tweak? The other query I've had is regarding rules. Is it possible to allow users to setup rules directly on the server. So basically, the server will process users rules as mail comes in and put them in various folders accordingly. Our directors have their Iphones setup to the imap server, and as long as their clients are running to process email based on rules it's great. However when their client isn't running, they end up with a load of rubbish in the inbox. Is there anyway to control that on the server (this one I'm sure is possible), but allow them to configure it as they need with some sort of UI? (this one I'm not so sure of) Hopefully that makes sense. Thanks - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[qmailtoaster] Some IMAP related queries
Hello all, 2 quick ones. I'm going to be implementing a redundant server for one of our IMAP servers and I was wondering if there is anything I need to be aware of that is possibly different in behaviour vs pop3. Jake the replication script I setup, as far as I can see will work fine as it will replicate the contents of the users mailfolders is there anything you (or anyone) can think of that I might need to tweak? The other query I've had is regarding rules. Is it possible to allow users to setup rules directly on the server. So basically, the server will process users rules as mail comes in and put them in various folders accordingly. Our directors have their Iphones setup to the imap server, and as long as their clients are running to process email based on rules it's great. However when their client isn't running, they end up with a load of rubbish in the inbox. Is there anyway to control that on the server (this one I'm sure is possible), but allow them to configure it as they need with some sort of UI? (this one I'm not so sure of) Hopefully that makes sense. Thanks - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] Two Toasters And A Backup Script?
You could also look at the qmail replication script which you can find in the wiki. It automates the domain sync. We have 2 identical servers running the script which runs every 15 minutes, so when if our primary fails, we change ip's on the backup and we are back up and running with at most 15 minutes difference. We've had to use this recovery once, which work flawlessly with about 3 minutes downtime. Basically none of our clients even noticed a problem. -Original Message- From: Lucian Cristian [mailto:[EMAIL PROTECTED] Sent: 26 August 2008 08:38 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Two Toasters And A Backup Script? Duncan Sterling wrote: Jake Vickers wrote: Duncan Sterling wrote: Greetings All, Quick question: in the interest of redundancy and quick disaster recovery, would it not make sense while running a production toaster to: 1) Build an identically configured backup toaster 2) Run (Jakes?) backup script daily on the production toaster, backing it up to the the backup toaster Thereby allowing near instant recovery in the event of HW/sotware failure on the production box? In the past, for ISPs, I've used some type of shared filesystem (usually NFS using 2 servers running DRBD and heartbeat) and then configured 2+ Qmail systems to act as front ends using the shared backend filesystem (most of the config files, and the mail store). Then you have 2 servers that you can DNS-round-robin, and it's trivial to plug more in as load increases. Although what you're suggesting WOULD work. The biggest things is always sharing the mysql DB, but there's several ways to do that depending on your conditions. Thanks for your reply, Jake. I was thinking that perhaps the backup box's mysql could be slaved to the primary's as one possible solution? --Duncan - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] You don't have to run the backup script because it will be waste of time to archive the files, just rsync your domain dir and do a mysql dump/restore. Regards, Lucian - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] POP3 Not working
What error (if any) are the clients getting? From: Kisakye Alex [mailto:[EMAIL PROTECTED] Sent: 22 August 2008 10:03 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] POP3 Not working Thanks Telnet from outside works fine as well. And firewall has not been tampared with... However I realised the server hard drive was full, I deleted unnecessary files... backups etc and now i Have almost 30GB free but still services wont work from mail client ALex On Fri, Aug 22, 2008 at 11:45 AM, Andreas Galatis [EMAIL PROTECTED] wrote: Hi Alex, What happens if you telnet to 110 from outside? Any changes in your firewall-config? Andreas Am Freitag, 22. August 2008 schrieb [EMAIL PROTECTED]: Greetings, My POP just stopped working, Funny thing is that its running in qmailctl stats and the logs dont show anything weird. Mail clients cannot pick mail but they can send and fast.. I have rebooted the machine and still no show of what is happening... Telnet from any computer on the lan into the servers 110 port works fine as well.. Any pointers? ALex - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] Default Quota Problem
I think if you run the following it sets vlimits.default as the default config file. /home/vpopmail/bin/vmoddomlimits -d If that still doesn’t work, post the contents of the vlimits file. Regards, From: Anil Aliyan [mailto:[EMAIL PROTECTED] Sent: 14 August 2008 06:15 To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] Default Quota Problem Dear All, I have set a default_quota of 20971520 (20 MB) in my /home/vpopmail/etc/vlimits.default file but still either with vqadmin or with qmailadmin it never shows default quota while creating new accounts. How can i resolve the same? Regards, logo file:///logo Anil Aliyan Asst. Manager (Network) (n)Code Solutions - A Division of GNFC Limited 301, GNFC Infotower, S. G. Highway, Bodakdev, Ahmedabad - 380054 Gujarat. India. [EMAIL PROTECTED] [EMAIL PROTECTED] tel: fax: mobile: +91 79 40007348 +91 79 26857321 +91 98989 94371 All information in this communication, including attachments, is strictly confidential and intended solely for delivery to and authorized use by the address(es) identified above, and may contain privileged, confidential, proprietary and/or trade secret information entitled to protection and/or exempt from disclosure under applicable law. If you are not the intended recipient, please take notice that any use, distribution or copying of this communication, and/or any action taken or omitted to be taken in reliance upon it, is unauthorized and may be unlawful. If you have received this communication in error, please notify the sender and delete/destroy this communication from your computer.
RE: [qmailtoaster] Redirect Email via From Field..
Hi Jake and all, Sorry to jump in the middle of a thread, but reading this sounds basically the same as what I am after. I want to forward a copy of all email aimed at a particular user. If I configure taps for [EMAIL PROTECTED]:[EMAIL PROTECTED], will that basically match only email aimed at [EMAIL PROTECTED], effectively matching the to address? Is there any catch or is it that straight forward? So my steps basically are as follows? 1 touch /var/qmail/control/taps 2 vi /var/qmail/control/taps 3 add [EMAIL PROTECTED]:other.. So is taps installed by default and all I need is to create the taps file, or is there a particular toaster package that needs to be installed? Thanks. -Original Message- From: Jake Vickers [mailto:[EMAIL PROTECTED] Sent: 17 August 2008 11:52 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Redirect Email via From Field.. BadServo wrote: Odd. After sending another email, it suddenly began working. I've no idea why it failed to work in the past. Could ClamAV have been hindering Maildrop? Becuase the only changes I've made since today's testing and yesterdays attempts was to disable ClamAV. Possible I guess. Maildrop is called by simscan, so if clam was tying it up you would have to wait for that to finish before it would reload it's process. Three other questions... Firstly, there's a ton of material in /etc/mail/mailfilter is it safe to leave it and let it call the user-specific .mailfilter? Or should I strip it down? Secondly, how can I enable this globally for all users? Instead of creating a .qmail and .mailfilter file for each individual is there a global setting that will make all incoming mail from the address get redirected? Lastly, can I specify multiple copies of the redirection scripts in .qmail in order to redirect mail from multiple addresses? That's so much for the help. You've no idea how much I appreciate it. The /etc/mail/mailfilter script is for spam. If you read through it you'll see that it examines the score of messages, and if MATCH = 12 (I think that's the default) it will deliver to the user's Spam folder. It's up to you, depending on your situation, whether or not to loave it in. To turn it on for all users, you would need to recompile the qmailadmin package with the spambox option on (look in the wiki, it's well documented) and then turn the Spam detection on for each user and it would then use .mailfilter files if they exist for those users. Or you can write a script that puts the needed .qmail entry in each user's folder. And no, the .qmail file is only called when mail for that user is delivered. You may be able to modify the .qmail-default file to do what you want. And as a side note, you can forward mail while leaving a copy in the user's folder. You may also want to look at taps (check the wiki) which for almost exactly what you're trying to do (archive mail). - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] dotqmail forwarding
Does anyone know if this is possible? -Original Message- From: Craig Smith [mailto:[EMAIL PROTECTED] Sent: 12 August 2008 11:44 To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] dotqmail forwarding Hi Guys, We have a user that receives email for roughly 6 different domains on her primary domain. Is it possible to forward only mails that match primary domain and ignore the others. I'm assuming it is, but can't seem to find the necessary steps to configure the .qmail. Has anyone setup .qmail to forward email that matches certain criteria? I was thinking something that reads the recipient address first and then if it matches forward to the relevant address, but I'm not sure how to structure it. Any help would be greatly appreciated. Thanks Craig - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] dotqmail forwarding
Thanks for that, but I am already aware of the basic forwarding, as we already use .qmail files for general forwarding. On this particular account however I would like a little more control over WHAT is forwarded. Basically if it matches certain criteria then it forwards, otherwise it only delivers locally. I think originally I said recipient, but it would more be if the sending domain matchesx then ignore/don't forward. -Original Message- From: mesut [mailto:[EMAIL PROTECTED] Sent: 14 August 2008 09:55 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] dotqmail forwarding i dont know if i can help with my basic knowladge i just know about ~vpopmail/domains/yourdomain.com/.qmail-user file. if all of those domains are hosted on your qmail server, u can create .qmail files for those 6 domains, then u can forward emails. for example, the following lines will tell qmail to forward user0 emails to user1 and user2. [EMAIL PROTECTED] wont recieve those emails.: #cat ~vpopmail/domains/domain.com/.qmail-user0 /home/vpopmail/domains/domain.com/user1/Maildir/ /home/vpopmail/domains/domain.com/user2/Maildir/ Craig Smith yazmış: Does anyone know if this is possible? -Original Message- From: Craig Smith [mailto:[EMAIL PROTECTED] Sent: 12 August 2008 11:44 To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] dotqmail forwarding Hi Guys, We have a user that receives email for roughly 6 different domains on her primary domain. Is it possible to forward only mails that match primary domain and ignore the others. I'm assuming it is, but can't seem to find the necessary steps to configure the .qmail. Has anyone setup .qmail to forward email that matches certain criteria? I was thinking something that reads the recipient address first and then if it matches forward to the relevant address, but I'm not sure how to structure it. Any help would be greatly appreciated. Thanks Craig - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[qmailtoaster] dotqmail forwarding
Hi Guys, We have a user that receives email for roughly 6 different domains on her primary domain. Is it possible to forward only mails that match primary domain and ignore the others. I'm assuming it is, but can't seem to find the necessary steps to configure the .qmail. Has anyone setup .qmail to forward email that matches certain criteria? I was thinking something that reads the recipient address first and then if it matches forward to the relevant address, but I'm not sure how to structure it. Any help would be greatly appreciated. Thanks Craig - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[qmailtoaster] Qmail on Centos 5.2 with courier IMAP
Hello All, We've setup an IMAP server for ourselves using Qmail on Centos 5.2, and although everything works fine, for some reason I don't get any authentication logging in /var/log/maillog as with pop3. Now as this is our first IMAP server I'm assuming there is possibly something I need to configure/reconfigure. Is there anything I need to configure in order for IMAP authentication attempts to log in maillog? The only entries I have are of the nature... host2 spamc[31505]: skipped message, greater than max message size Have I missed anything? Is there anything in particular I should be aware of on Qmail using IMAP? Thanks in advance. Regards, Craig --- Craig Smith - Senior Systems Engineer - Doctor Net t. 0870 770 4990 - f. 0870 770 4991 Visit www.doc-net.com - let us be your key to success Visit www.eMailCampaigner.com - close sales cheaper and faster Visit www.SprintCRM.com - understand your customers better and increase sales --- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you received this in error, please contact the sender and delete the material.
RE: [qmailtoaster] Qmail on Centos 5.2 with courier IMAP
Perfect thanks Jake, I was hoping it was something simple. It can stay in that location, it helps when users setup an account to see what that account is doing. As long as I know where to look that's great. From: Jake Vickers [mailto:[EMAIL PROTECTED] Sent: 18 July 2008 15:46 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Qmail on Centos 5.2 with courier IMAP Craig Smith wrote: Hello All, We've setup an IMAP server for ourselves using Qmail on Centos 5.2, and although everything works fine, for some reason I don't get any authentication logging in /var/log/maillog as with pop3. Now as this is our first IMAP server I'm assuming there is possibly something I need to configure/reconfigure. Is there anything I need to configure in order for IMAP authentication attempts to log in maillog? The only entries I have are of the nature... host2 spamc[31505]: skipped message, greater than max message size Have I missed anything? Is there anything in particular I should be aware of on Qmail using IMAP? Qmailtoaster doesn't log imap to maillog. The log you're looking for will be in /var/log/qmail/imap4/current Not sure how it will affect the maillog file, nor logrotate (who if I remember correctly is the daemon that handles rotating that log), b ut you can change the patch/file in /var/qmail/supervise/imap4/log/run Just be careful when you have 2 daemons trying to rotate the logs.
RE: [qmailtoaster] [Fwd: RE: 404 while getting RDJ updates?]
You will have a cron job for RDJ scheduled, to disable just comment it out for now. _ From: dnk [mailto:[EMAIL PROTECTED] Sent: 07 June 2007 21:00 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] [Fwd: RE: 404 while getting RDJ updates?] How does one disable it? On 6/7/07, slamp slamp [EMAIL PROTECTED] wrote: it is part of the qmailtoaster-plus. if you have that installed and configured then you need to disable it. otherwise don't do anything. On 6/7/07, [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is Rules du Jour something that is 'on' by default with Qmail toaster or is it an option you enable after the install? Chas. For an update Looks like everyone should stop using Rules du Jour until further notice. Original Message Subject: RE: 404 while getting RDJ updates? Date: Thu, 7 Jun 2007 12:11:55 -0400 From: Chris Santerre [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] To: 'Jim Maul' [EMAIL PROTECTED], [EMAIL PROTECTED] -Original Message- From: Jim Maul [mailto:[EMAIL PROTECTED] Sent: Thursday, June 07, 2007 12:02 PM To: [EMAIL PROTECTED] Subject: Re: 404 while getting RDJ updates? guenther wrote: On Thu, 2007-06-07 at 17:45 +0200, Anders Norrbring wrote: Anyone else getting 404 errors from RDJ lately? Yes, this topic came up just a few hours ago. Probably a dDOS attack. Please disable all RDJ till further notice. guenther I would imagine this is related to www.uribl.com and surbl.org having issues as well. Both are now pointing to 127.0.0.1 in what I would assume was an attempt to stop the attack. Some spammer is pissed off it seems... Its true, scanners indicate klingon war vessels approaching our sector. We've dropped out of warp due to overuse of the dilythium crystals. Federation starships have been called in for assistance. Scottie has given us more power, but is not sure she will hold together much longer. All the while Ensen Alex won't stop dancing with a half naked green lady! Thanks, Chris Santerre SysAdmin and Spamfighter www.rulesemporium.com www.uribl.com - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] strange pop3 log content...
I'm not sure about the 10 on the tcpserver line. On mine I have -H -c with no 10 at all. -H tells it not to do remote host dns lookup, there is no number variable associated with it as far as I know. Try removing the 10. /usr/bin/tcpserver -v -R -H -c 200 0 110 \ See if that helps. -Original Message- From: Domenico Fortunato [mailto:[EMAIL PROTECTED] Sent: 17 May 2007 01:07 To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] strange pop3 log content... Hi My configuration: Internet - Firewall/Router ( Public IP nat/portforwarding ) - QT server wtih LAN IP ( Non public IP ) Qmailtoaster on Centos5. My pop3 log is full of this strange message: 2007-05-17 01:50:02.997488500 tcpserver: fatal: unable to figure out port number for -c 2007-05-17 01:50:04.016499500 tcpserver: fatal: unable to figure out port number for -c 2007-05-17 01:50:05.035285500 tcpserver: fatal: unable to figure out port number for -c 2007-05-17 01:50:06.054439500 tcpserver: fatal: unable to figure out port number for -c 2007-05-17 01:50:07.249276500 tcpserver: fatal: unable to figure out port number for -c -- This is my pop3 run: #!/bin/sh PASSPROG=/home/vpopmail/bin/vchkpw HOSTNAME=`hostname --fqdn` exec /usr/bin/softlimit -m 12800 \ /usr/bin/tcpserver -v -R -H 10 -c 200 0 110 \ /var/qmail/bin/qmail-popup $HOSTNAME \ $PASSPROG /var/qmail/bin/qmail-pop3d Maildir 21 -- This is my /etc/tcprules.d/tcp.smtp: 127.:allow,RELAYCLIENT=,BADMIMETYPE=,BADLOADERTYPE=M,CHKUSER_RCPTLIMIT =30,CHKUSER_WRONGRCPTLIMIT=10,DKVERIFY=DEfhIJK,QMAILQUEUE=/var/qmail/ bin/simscan,DKQUEUE=/var/qmail/bin/qmail-queue.orig,DKSIGN=/var/qmail/co ntrol/domainkeys/%/private,NOP0FCHECK=1 :allow,BADMIMETYPE=,BADLOADERTYPE=M,CHKUSER_RCPTLIMIT=30,CHKUSER_WRONG RCPTLIMIT=10,DKVERIFY=DEfhIJK,QMAILQUEUE=/var/qmail/bin/simscan,DKQUEU E=/var/qmail/bin/qmail-queue.orig,DKSIGN=/var/qmail/control/domainkeys/%/ private,NOP0FCHECK=1 Do you have any idea of this issue? Thank you. Domenico Fortunato. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] [QmailToaster] Global mailbox for domain
Hi There, It sounds like you want a catchall account. Create the account that you want to use, eg [EMAIL PROTECTED], then you modify the .qmail-default file in the relevant domains folder /home/vpopmail/domains/domain.com and add the address you want to use. Comment out the first line, or replace bounce-no-mailbox with [EMAIL PROTECTED] or you can add ./glabal/Maildir/ below that commented line. It will deliver ALL mail aimed at that domain to this account. That's all you need to configure a catchall account. Of course you can use postmaster@ if you want, you don't have to create a new account. Hope that helps Craig _ From: Miki [mailto:[EMAIL PROTECTED] Sent: 17 May 2007 08:04 To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] [QmailToaster] Global mailbox for domain Hi all, I want to know how could I configure one big global mailbox for specific domain that will be used for all domain's email addresses? Is there any guide for this? Thanks Miki
RE: [qmailtoaster] strange pop3 log content...
:-) Ah right, now that I look at that I understand, it is actually correct on the wiki. On the wiki it's not 10 but -l0 (as in L and not 1) :-) So you can just add the -l0 if you want or if it is working don't worry about it. Pretty sure it's mainly the -H that speeds up pop3 login. Although rebooting the server is not really necessary, qmailctl stop, then ps -ef|grep qmail and clear all qmail processes that don't complete works fine. At least on my server too. -Original Message- From: Domenico Fortunato [mailto:[EMAIL PROTECTED] Sent: 17 May 2007 09:51 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] strange pop3 log content... Wow Seem to be solved. Should we correct it on qmailtoaster wiki?... http://wiki.qmailtoaster.com/index.php/Slow_pop3 Is it correct there? Many many thanks Domenico Fortunato. Craig Smith ha scritto: I'm not sure about the 10 on the tcpserver line. On mine I have -H -c with no 10 at all. -H tells it not to do remote host dns lookup, there is no number variable associated with it as far as I know. Try removing the 10. /usr/bin/tcpserver -v -R -H -c 200 0 110 \ See if that helps. -Original Message- From: Domenico Fortunato [mailto:[EMAIL PROTECTED] Sent: 17 May 2007 01:07 To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] strange pop3 log content... Hi My configuration: Internet - Firewall/Router ( Public IP nat/portforwarding ) - QT server wtih LAN IP ( Non public IP ) Qmailtoaster on Centos5. My pop3 log is full of this strange message: 2007-05-17 01:50:02.997488500 tcpserver: fatal: unable to figure out port number for -c 2007-05-17 01:50:04.016499500 tcpserver: fatal: unable to figure out port number for -c 2007-05-17 01:50:05.035285500 tcpserver: fatal: unable to figure out port number for -c 2007-05-17 01:50:06.054439500 tcpserver: fatal: unable to figure out port number for -c 2007-05-17 01:50:07.249276500 tcpserver: fatal: unable to figure out port number for -c -- This is my pop3 run: #!/bin/sh PASSPROG=/home/vpopmail/bin/vchkpw HOSTNAME=`hostname --fqdn` exec /usr/bin/softlimit -m 12800 \ /usr/bin/tcpserver -v -R -H 10 -c 200 0 110 \ /var/qmail/bin/qmail-popup $HOSTNAME \ $PASSPROG /var/qmail/bin/qmail-pop3d Maildir 21 -- This is my /etc/tcprules.d/tcp.smtp: 127.:allow,RELAYCLIENT=,BADMIMETYPE=,BADLOADERTYPE=M,CHKUSER_RCPTLIMIT =30,CHKUSER_WRONGRCPTLIMIT=10,DKVERIFY=DEfhIJK,QMAILQUEUE=/var/qmail/ bin/simscan,DKQUEUE=/var/qmail/bin/qmail-queue.orig,DKSIGN=/var/qmail/co ntrol/domainkeys/%/private,NOP0FCHECK=1 :allow,BADMIMETYPE=,BADLOADERTYPE=M,CHKUSER_RCPTLIMIT=30,CHKUSER_WRONG RCPTLIMIT=10,DKVERIFY=DEfhIJK,QMAILQUEUE=/var/qmail/bin/simscan,DKQUEU E=/var/qmail/bin/qmail-queue.orig,DKSIGN=/var/qmail/control/domainkeys/%/ private,NOP0FCHECK=1 Do you have any idea of this issue? Thank you. Domenico Fortunato. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] qtp-newmodel backing up /home/vpopmail/domains
On my box, with our standard tar backups, we also have a large amount of data, but I still wanted to preserve/backup the domains folder and it's associated structure. Because we are taring we can exclude the data and tar only the folders and in our case .qmail files. If you want to preserve the domains structure, then you could also add something as follows. tar cfj $SANDBOX/home/vpopmail/domains.tar /home/vpopmail/domains --exclude=*doc-net.com,* /dev/null 21 at --exclude=* replace doc-net.com, with whatever is relevant to your server, the actual file name of the mail files. I find that quite handy, so thought I would share. -Original Message- From: Eric Shubes [mailto:[EMAIL PROTECTED] Sent: 08 May 2007 16:25 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] qtp-newmodel backing up /home/vpopmail/domains Dan Herbon wrote: Hello, Can anyone assist me with an issue regarding the qtp-newmodel script. The problem I am having is that when it creates the sandbox it wants to copy the contents of the /home/vpopmail/domains directory. That directory contains over 12gigs of data, mostly from my archive directory where all mail that's goes through the server is archived. Is there a way to exclude my archive directory so it doesn't create it in the sandbox? thanks You can edit /opt/qmailtoaster-plus/bin/qtp-build-sandbox, replacing line 290: cp -pR /home/vpopmail $SANDBOX/home/. with: mkdir -p $SANDBOX/home/vpopmail cp -pR /home/vpopmail/bin $SANDBOX/home/vpopmail/. cp -pR /home/vpopmail/doc $SANDBOX/home/vpopmail/. cp -pR /home/vpopmail/etc $SANDBOX/home/vpopmail/. cp -pR /home/vpopmail/include $SANDBOX/home/vpopmail/. cp -pR /home/vpopmail/lib $SANDBOX/home/vpopmail/. For what it's worth, there is a major enhancement in the works for qtp-newmodel, thanks to Justice London. The existing sandbox processing is being replaced with an overlay filesystem, which will eliminate the bloat that the present sandbox contains. The enhancement is presently in the testing stage, but I've had little time for testing. I hope to get it out this month. Stay tuned. -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] Messages from outside (Solved!)
HI Marcos, Good to hear, it was the one thing I wasn't too sure on, why you were using mailhost2.company.com and not company.com. glad it's all working now. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 07 May 2007 08:09 To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] Messages from outside (Solved!) Hello again, I think we found it. It seems to be a problem (not exactly because it works that way) in the way the DNS server handles the MX entries. I have the MX 10 mailhost.company.com and MX 20 mailhost2.company.com entries. In mailhost to create a domain you just do: vadddomain company.com passwd and if you send an email you reach it. Now if you run the same command for mailhost2 the result will be this annoying message Sorry, no maildir with that name here But way? Because we think the DNS understands the entry MX 20 mailhost2.company.com as a kind of subdomain of the existing MX 10 mailhost.company.com so when a mail reaches mailhost2 it tries to find in /home/vpopmail/domains/ the domain mailhost2.company.com and not just company.com as expected. To test this I did vadddomain mailhost2.company.com passwd and everything was fine then ! So I think we finally solved the problem here. when the new mailhost2 will be completely configured I will remove the first entry for mailhost and there will be no necessity to specify @mailhost2.company.com when you send emails, just as usually send them to @company.com. Thank you guys for all your help in solving this issue, Marcos --- On Sat 05/05, Jake Vickers [EMAIL PROTECTED] wrote: From: Jake Vickers [mailto: [EMAIL PROTECTED] To: qmailtoaster-list@qmailtoaster.com Date: Sat, 05 May 2007 07:02:37 -0400 Subject: Re: [qmailtoaster] Messages from outside [EMAIL PROTECTED] wrote: Help from Jake and Eric would be great at this point because I'm in a dead end. Guys, are you out there !!? Craig, you really help me a lot so I want to thank you for the time you spent on this problem. Marcos I've not been watching this thread, and I just briefly glanced over it. So you've set up DNS correctly for mailhost2.company.com and mailhost2.company.net You logged into the CLI and created mailhost2.company.com, correct? Then log into qmailadmin (web page interface - let's keep the process as simple as possible to figure out the issue) and made sure you can log in as postmaster. While logged in as postmaster, create an email for testing. Now try sending an external email to that person. Does it go through? Do not create the alias domain yet, and do not modify any .qmail files. It can get REALLY confusing when you start using .qmail files since the current versions of Toaster do not use them. If you're not familiar with them, don't mess with them. Everything is handled in a mysql table now. Once we make sure it works to that point, we'll throw the next vegetable in the stew. Attachment: smime.p7s (4.38KB) Join Excite! - http://www.excite.com The most personalized portal on the Web! - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] Messages from outside
Under /home/vpopmail/domains/company.com/ are there any .qmail files? (ls -a) I don't think QMT uses them anymore but I'm not sure, I still use them on my server. If there isn't try the following. vi /home/vpopmail/domains/company.com/.qmail-test Add the below line to it. ./test/Maildir/ I'm not sure if that will do anything for you as I believe this process may have been moved to Mysql or similar, but it's worth trying. The only time I've had the user not found error, is when the .qmail file is missing or not configured, but that is on my server where I still use the .qmail files. Afer you create the file, restart qmail (I don't think it's necessary but worth doing anyway) and try sending again. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 04 May 2007 07:52 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Messages from outside Hi, I'm sending all the required files to see if we can find the reason of the problem here: 1.The maildir actually exists for both test and test2 users. 2.The vuserinfo reports that both users exists and their maildir boxes are /home/vpopmail/domains/company.com/test /home/vpopmail/domains/company.com/test2 3.Both users exists on company_com table in vpopmail db with their correct passwords. 4.Contents of files involved: 4.1.rcpthosts company.com mailhost2.company.com mailhost2.company.net company.gr company.net 4.2.locals localhost mailhost2.company.com mailhost2.company.net 4.3.defaulthost company.com 4.4.defaultdomain company.com 4.5.virtualdomains company.com:company.com company.net:company.net 4.6.assign (you didn't ask for it but I send maybe it helps) +company.com-:company.com:89:89:/home/vpopmail/domains/company.com:-:: +company.net-:company.com:89:89:/home/vpopmail/domains/company.com:-:: Marcos--- On Thu 05/03, Warren (mailing lists) [EMAIL PROTECTED] wrote: From: Warren (mailing lists) [mailto: [EMAIL PROTECTED] To: qmailtoaster-list@qmailtoaster.com Date: Thu, 03 May 2007 12:08:56 -0400 Subject: Re: [qmailtoaster] Messages from outside What are the contents of:brrcpthostsbrlocalsbrmebrdefaulthostbrdefaultdomainbrvirtuald omainsbrin /var/qmail/control?brbr[EMAIL PROTECTED] wrote:br After reinstalling QMT I created again a virtual domain and an alias domain with vaddaliasdomain. It updated the virtualdomains file and the assign file.br br I tried again to send an email from the internet to [EMAIL PROTECTED] and to [EMAIL PROTECTED]br br The results of the logs are the following:br br From /var/log/maillogbr br May 3 15:56:54 mailhost2 vpopmail[2548]: vchkpw-pop3: (PLAIN) login success [EMAIL PROTECTED]:172.X.X.Xbr May 3 15:56:54 mailhost2 vpopmail[2553]: vchkpw-pop3: (PLAIN) login success [EMAIL PROTECTED]:172.X.X.Xbr br From /var/log/qmail/smtp/currentbr br @40004639db6d1bdeaa9c tcpserver: pid 2482 from 207.159.120.62br @40004639db6d1be00a2c tcpserver: ok 2482 mailhost2.adacom.com:172.31.3.15:25 :207.159.120.62::9152br @40004639db6e03d0016c CHKUSER accepted sender: from [EMAIL PROTECTED]:: remote excite.com:unknown:207.159.120.62 rcpt : sender acceptedbr @40004639db6e04792e04 CHKUSER accepted rcpt: from [EMAIL PROTECTED]:: remote excite.com:unknown:207.159.120.62 rcpt [EMAIL PROTECTED] : found existing recipientbr @40004639db6e109f9b8c tcpserver: end 2482 status 0br @40004639db6e109fa35c tcpserver: status: 0/100br br br It seems to me that everything is OK about authentication.Please correct me if I'm wrong, but I'm still receiving this annoying message:br br [EMAIL PROTECTED]br Sorry, no mailbox here by that name.(#5.1.1)br br This is my second installation and I have the same problem again.br br I'm ready to give up and leave qmail if nobody can help me to solve this problem.br br Any idea?br br br br --- On Thu 05/03, [EMAIL PROTECTED] wrote:br From: [mailto: [EMAIL PROTECTED]br To: qmailtoaster-list@qmailtoaster.combr Date: Thu, 3 May 2007 08:20:44 -0400 (EDT)br Subject: RE: [qmailtoaster] Reinstall QMTbr br brThanks for the info,brbrI have reinstalled and created a first company.com vdomainbrand two users [EMAIL PROTECTED] and [EMAIL PROTECTED]brbrI want to create now an alias domain company.net with vaddaliasdomain but I'd like to know which files are affected by this command before I run it and to know if it writes to de vpopmail data base too.brbrbrbrbr --- On Thu 05/03, Craig Smith [EMAIL PROTECTED] wrote:brFrom: Craig Smith [mailto: [EMAIL PROTECTED]brTo: qmailtoaster-list@qmailtoaster.combrDate: Thu, 3 May 2007 13:05:34 +0100brSubject: RE: [qmailtoaster] Reintall QMTbrbrSorry I also forgot to say, I also remove the /var/qmail folder after Ibrremove QMT.br brbr-Original Message-brFrom: Craig Smith [mailto:[EMAIL PROTECTED] brSent: 03 May 2007 12:40brTo: qmailtoaster-list@qmailtoaster.combrSubject: RE: [qmailtoaster] Reintall QMTbrbrOn my box, if I need to re-install I do the following.brbrrpm -qa |grebrp br toasterbrI
RE: [qmailtoaster] Messages from outside
So the postmaster addresses work fine from the outside? Then it's a case of the pointers not working. Someone will have to correct me on this as I still use and only know the .qmail-username method for all addresses. It changed somewhere along the line and it seems yours isn't working correctly. So in other words when it comes time to deliver mail, it looks for a referance to the user (on my server for instance it would find .qmail-test) and process accordingly. I believe at some stage this moved from .qmail files to mysql. That portion is probably where your problem is, but I don't use it so I can't help. Were there any .qmail files listed in /home/vpopmail/domains/company.com ? If there is a .qmail-postmaster in there? Also when you created the .qmail-test file I forgot to mention the ownership and permissions. Chances are they are currently root.root If this is the case, chown vpopmail.vchkpw .qmail-test restart qmail and try sending to test@ again. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 04 May 2007 11:56 To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] Messages from outside Craig, You said: what about sending a mail to [EMAIL PROTECTED] Something certainly isn't right on your box. Are the logs still reporting the same thing and what is the bounce back message? I sent an email to [EMAIL PROTECTED] and other to [EMAIL PROTECTED] and I received them perfectly !! But the problem remains for test and test2 and the bounce mail I received every time I sent a mail to those useres is in full detail here : Hi. This is the qmail-send program at mailhost2.company.com. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: Sorry, no mailbox here by that name. (#5.1.1) --- Below this line is a copy of the message. Return-Path: [EMAIL PROTECTED] Received: (qmail 2610 invoked by uid 89); 4 May 2007 09:36:17 - Received: from unknown (HELO excite.com) (207.159.120.55) by mailhost2.company.com with SMTP; 4 May 2007 09:36:17 - Received-SPF: pass (mailhost2.company.com: SPF record at excite.com designates 207.159.120.55 as permitted sender) Received: by xprdmxin.myway.com (Postfix, from userid 110) id 10F2C8B331; Fri, 4 May 2007 05:37:30 -0400 (EDT) To: [EMAIL PROTECTED] Subject: test Received: from [195.167.33.1] by xprdmailfe20.nwk.excite.com via HTTP; Fri, 04 May 2007 05:37:30 EST X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: ID = 6d0e808670078dd4c552303a0d1f06a4 Reply-To: [EMAIL PROTECTED] From: [EMAIL PROTECTED] MIME-Version: 1.0 X-Sender: [EMAIL PROTECTED] X-Mailer: PHP Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: [EMAIL PROTECTED] Date: Fri, 4 May 2007 05:37:30 -0400 (EDT)You said: Just a thought, what is the reason again for sending to [EMAIL PROTECTED] Why not just [EMAIL PROTECTED] You may have mentioned in your earlier posts but I forget? I send them to @mailhost2.company.com or .net because I already have a working mailhost.company.com so if send to [EMAIL PROTECTED] or .net they will be delivered to this one who is in /var/named/ record of our DNS as MX 10 mailhost.company.com followed by this new one with MX 20 mailhost2.company.com (both have their .net entry as well). So to avoid them to be delivered to the working one I specify which one I want to reach. ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] Messages from outside
Strange indeed. There is clearly some breakdown in user creation and whatever function has replaced the .qmail- files. Jake or Eric, may be able to point you in the right direction here. We have established that your mail server does actually work. It is a case of QMT not recognising users other than postmaster. Chances are if you change the .qmail-default to | /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED] it will work. But that's using catchall and doesn't really help. :p Basically whatever portion of QMT deals with linking email addresses to qmail users is not working. On my box, it would mean and incorrect or missing .qmail file. What is the newer equivelent of the .qmail files? That is where your problem lies. Sorry but as I said I still use the .qmail files so can't really help with that. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 04 May 2007 12:49 To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] Messages from outside So the postmaster addresses work fine from the outside? Then it's a case of the pointers not working. Someone will have to correct me on this as I still use and only know the .qmail-username method for all addresses. It changed somewhere along the line and it seems yours isn't working correctly. --Yes, they worked fine but I don;t use .qmail files for it So in other words when it comes time to deliver mail, it looks for a referance to the user (on my server for instance it would find .qmail-test) and process accordingly. I believe at some stage this moved from .qmail files to mysql. That portion is probably where your problem is, but I don't use it so I can't help. Were there any .qmail files listed in /home/vpopmail/domains/company.com ? If there is a .qmail-postmaster in there? --The only .qmail file in /home/vpopmail/domains/company.com was .qmail-default with contents: | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox I think we are reaching somewhere now: The postmaster is the only user that I didn't create with vadduser , it was created with vadddomain [EMAIL PROTECTED] password_of_postmaster and it is the only that works fine... The users I created after that with vadduser are the ones that have problem in locating the maildir. Regarding mysql I didn't change anything during the install so I don't know why is this happenning. I did the standard install with the fdr60-install-script.sh script that I downloaded from www.qmailtoaster.com... Also when you created the .qmail-test file I forgot to mention the ownership and permissions. Chances are they are currently root.root If this is the case, chown vpopmail.vchkpw .qmail-test restart qmail and try sending to test@ again. --Yes, I did chown vpopmail.vchkpw when I created .qmail-test then reboot but I had the same error. _ Join Excite! - http://www.excite.com The most personalized portal on the Web!
RE: [qmailtoaster] Messages from outside
You are quite welcome, sorry I couldn't help you get it sorted all the way, but there are some bright sparks on this list that will be able to help with the problem. It helps at least that we've isolated the problem area. Good luck. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 04 May 2007 13:24 To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] Messages from outside Help from Jake and Eric would be great at this point because I'm in a dead end. Guys, are you out there !!? Craig, you really help me a lot so I want to thank you for the time you spent on this problem. Marcos --- On Fri 05/04, Craig Smith [EMAIL PROTECTED] wrote: From: Craig Smith [mailto: [EMAIL PROTECTED] To: qmailtoaster-list@qmailtoaster.com Date: Fri, 4 May 2007 13:12:42 +0100 Subject: RE: [qmailtoaster] Messages from outside Strange indeed. There is clearly some breakdown in user creation and whatever function has replaced the .qmail- files. Jake or Eric, may be able to point you in the right direction here. We have established that your mail server does actually work. It is a case of QMT not recognising users other than postmaster. Chances are if you change the .qmail-default to | /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED] it will work. But that's using catchall and doesn't really help. :p Basically whatever portion of QMT deals with linking email addresses to qmail users is not working. On my box, it would mean and incorrect or missing .qmail file. What is the newer equivelent of the .qmail files? That is where your problem lies. Sorry but as I said I still use the .qmail files so can't really help with that. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 04 May 2007 12:49 To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] Messages from outside So the postmaster addresses work fine from the outside? Then it's a case of the pointers not working. Someone will have to correct me on this as I still use and only know the .qmail-username method for all addresses. It changed somewhere along the line and it seems yours isn't working correctly. --Yes, they worked fine but I don;t use .qmail files for it So in other words when it comes time to deliver mail, it looks for a referance to the user (on my server for instance it would find .qmail-test) and process accordingly. I believe at some stage this moved from .qmail files to mysql. That portion is probably where your problem is, but I don't use it so I can't help. Were there any .qmail files listed in /home/vpopmail/domains/company.com ? If there is a .qmail-postmaster in there? --The only .qmail file in /home/vpopmail/domains/company.com was .qmail-default with contents: | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox I think we are reaching somewhere now: The postmaster is the only user that I didn't create with vadduser , it was created with vadddomain [EMAIL PROTECTED] password_of_postmaster and it is the only that works fine... The users I created after that with vadduser are the ones that have problem in locating the maildir. Regarding mysql I didn't change anything during the install so I don't know why is this happenning. I did the standard install with the fdr60-install-script.sh script that I downloaded from www.qmailtoaster.com... Also when you created the .qmail-test file I forgot to mention the ownership and permissions. Chances are they are currently root.root If this is the case, chown vpopmail.vchkpw .qmail-test restart qmail and try sending to test@ again. --Yes, I did chown vpopmail.vchkpw when I created .qmail-test then reboot but I had the same error. _ Join Excite! - http://www.excite.com The most personalized portal on the Web! _ Join Excite! - http://www.excite.com The most personalized portal on the Web!
RE: [qmailtoaster] Reintall QMT
On my box, if I need to re-install I do the following. rpm -qa |grep toaster I then do yum remove (all the items listed in the rpm -qa copied in here. e.g. yum remove vpopmail-1.3 qmailadmin-x.xx.f. etc. Then on my box, I use the FC5 download, deps and install scripts. Get the fc6 ones http://www.qmailtoaster.com/fedora/fdr60/ That's pretty much it, then once installed and configured, vadddomain for domains, vaddaliasdomain for aliases and vadduser for users. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 03 May 2007 09:14 To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] Reintall QMT Hello, I'd like someone to tell me the steps to completely unistall all QMT packages from fedora 6 to reintall them again, please. Thanks, Marcos ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] Reintall QMT
Sorry I also forgot to say, I also remove the /var/qmail folder after I remove QMT. -Original Message- From: Craig Smith [mailto:[EMAIL PROTECTED] Sent: 03 May 2007 12:40 To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] Reintall QMT On my box, if I need to re-install I do the following. rpm -qa |grep toaster I then do yum remove (all the items listed in the rpm -qa copied in here. e.g. yum remove vpopmail-1.3 qmailadmin-x.xx.f. etc. Then on my box, I use the FC5 download, deps and install scripts. Get the fc6 ones http://www.qmailtoaster.com/fedora/fdr60/ That's pretty much it, then once installed and configured, vadddomain for domains, vaddaliasdomain for aliases and vadduser for users. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 03 May 2007 09:14 To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] Reintall QMT Hello, I'd like someone to tell me the steps to completely unistall all QMT packages from fedora 6 to reintall them again, please. Thanks, Marcos ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] Messages from outside
Is there actually a [EMAIL PROTECTED] If you do vuserinfo [EMAIL PROTECTED] do you get the correct details? Is there a folder for the user as /home/vpopmail/domains/company/username? Failing that, have you correctly configured any redirects or catchalls? That error is generally exactly as it says, it cannot find a user for that address? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 03 May 2007 14:18 To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] Messages from outside After reinstalling QMT I created again a virtual domain and an alias domain with vaddaliasdomain. It updated the virtualdomains file and the assign file. I tried again to send an email from the internet to [EMAIL PROTECTED] and to [EMAIL PROTECTED] The results of the logs are the following: From /var/log/maillog May 3 15:56:54 mailhost2 vpopmail[2548]: vchkpw-pop3: (PLAIN) login success [EMAIL PROTECTED]:172.X.X.X May 3 15:56:54 mailhost2 vpopmail[2553]: vchkpw-pop3: (PLAIN) login success [EMAIL PROTECTED]:172.X.X.X From /var/log/qmail/smtp/current @40004639db6d1bdeaa9c tcpserver: pid 2482 from 207.159.120.62 @40004639db6d1be00a2c tcpserver: ok 2482 mailhost2.adacom.com:172.31.3.15:25 :207.159.120.62::9152 @40004639db6e03d0016c CHKUSER accepted sender: from [EMAIL PROTECTED]:: remote excite.com:unknown:207.159.120.62 rcpt : sender accepted @40004639db6e04792e04 CHKUSER accepted rcpt: from [EMAIL PROTECTED]:: remote excite.com:unknown:207.159.120.62 rcpt [EMAIL PROTECTED] : found existing recipient @40004639db6e109f9b8c tcpserver: end 2482 status 0 @40004639db6e109fa35c tcpserver: status: 0/100 It seems to me that everything is OK about authentication.Please correct me if I'm wrong, but I'm still receiving this annoying message: [EMAIL PROTECTED] Sorry, no mailbox here by that name.(#5.1.1) This is my second installation and I have the same problem again. I'm ready to give up and leave qmail if nobody can help me to solve this problem. Any idea? --- On Thu 05/03, [EMAIL PROTECTED] wrote: From: [mailto: [EMAIL PROTECTED] To: qmailtoaster-list@qmailtoaster.com Date: Thu, 3 May 2007 08:20:44 -0400 (EDT) Subject: RE: [qmailtoaster] Reinstall QMT brThanks for the info,brbrI have reinstalled and created a first company.com vdomainbrand two users [EMAIL PROTECTED] and [EMAIL PROTECTED]brbrI want to create now an alias domain company.net with vaddaliasdomain but I'd like to know which files are affected by this command before I run it and to know if it writes to de vpopmail data base too.brbrbrbrbr --- On Thu 05/03, Craig Smith [EMAIL PROTECTED] wrote:brFrom: Craig Smith [mailto: [EMAIL PROTECTED]brTo: qmailtoaster-list@qmailtoaster.combrDate: Thu, 3 May 2007 13:05:34 +0100brSubject: RE: [qmailtoaster] Reintall QMTbrbrSorry I also forgot to say, I also remove the /var/qmail folder after Ibrremove QMT.br brbr-Original Message-brFrom: Craig Smith [mailto:[EMAIL PROTECTED] brSent: 03 May 2007 12:40brTo: qmailtoaster-list@qmailtoaster.combrSubject: RE: [qmailtoaster] Reintall QMTbrbrOn my box, if I need to re-install I do the following.brbrrpm -qa |grep toasterbrI then do yum remove (all the items listed in the rpm -qa copied in here.bre.g. yum remove vpopmail-1.3 qmailadmin-x.xx.f. etc.brbrThen on my box, I use the FC5 download, deps and install scripts.brbrGet the fc6 ones http://www.qmailtoaster.com/fedora/fdr60/brbrThat's pretty much it, then once installed and configured, vadddomain forbrdomains, vaddaliasdomain for aliases and vadduser for users.brbr brbr-Original Message-brFrom: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] brSent: 03 May 2007 09:14brTo: qmailtoaster-list@qmailtoaster.combrSubject: br[qmailtoaster] Reintall QMTbrbrbr Hello, I'd like someone to tell me the steps to completely unistall allbrQMT packages from fedora 6 to reintall them again, please. Thanks, Marcos brbr___brJoin Excite! - http://www.excite.combrThe most personalized portal on the Web!brbrbrbr -br QmailToaster hosted by: VR Hosted http://www.vr.orgbr- brTo unsubscribe, e-mail: [EMAIL PROTECTED]brFor additional commands, e-mail: [EMAIL PROTECTED]brbrbrbr- br QmailToaster hosted by: VR Hosted http://www.vr.orgbr- brTo unsubscribe, e-mail: br[EMAIL PROTECTED]brFor additional commands, e-mail: [EMAIL PROTECTED]brbrbrbr- br QmailToaster hosted by: VR Hosted http://www.vr.orgbr- brTo unsubscribe, e-mail: [EMAIL PROTECTED]brFor additional commands, e-mail: [EMAIL PROTECTED
RE: [qmailtoaster] rcpthosts file
Hi There, Are they by any chance using your server as the outgoing smtp server? I've had that error crop up, when an unauthorized user is using our server for the outgoing server. They either need to use authenticated login or their ip needs to be added to the tcp.smtp file if this is the case. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 May 2007 09:52 To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] rcpthosts file Hello, I'm using qmail toaster with fedora 6. I have configured POP3 and IMAP for my company mail server and I'm doing the first tests right now. When I send an email from a company account with same domain to the [EMAIL PROTECTED] account I've created with the same company domain it receives these emails from POP3 account and IMAP account. When I send an email from [EMAIL PROTECTED], IMAP and POP3, to an outside email like [EMAIL PROTECTED] again it is a success. The problem starts when I try to send email from outside to this [EMAIL PROTECTED] account, IMAP or POP3. I receive the following email in Outlook express client when trying to send: 'Server Response: 553, sorry that domain isn't in my list of allowed rcpthosts (#5.5.3 - chkuser)' The contents of my rcpthosts file are: mail-server.company.com company.com company.net I understand that one can not enter in the rcphosts file EVERY domain in this world so what should be the solution to this problem? Any help? Marcos ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] rcpthosts file
It's probably the client side with the problem. The ip's in the tcp.smtp file are the ip's outside the company that you want to allow to relay mail through your server. I'm assuming the problem is as follows. External Client A from outside has email configured to relay through your server, so in Outlook outgoing smtp server = your mail server. However client a's ip address is not in tcp.smtp and they are not using smtp server with authentication. I'm not entirely sure, but I think that's roughly the problem you are running into. do you get the same error when you email from say hotmail? What is the exact bounce message? Also what do the logs files say at the time mail is sent? tail /var/log/maillog tail /var/log/qmail/smtp/current -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 May 2007 11:32 To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] rcpthosts file Hi, I have all the company IPs in tcp.smtp and it looks to work fine but the problem is from outside the company. I use authentication for this [EMAIL PROTECTED] user with /home/vpopmail/bin/vchkpw on /var/qmail/supervise/smtp/run and /var/qmail/supervise/pop3/run. This user exists in the vpopmail database so I guess it is there where the vchkpw program looks when it needs to authenticate a user connecting from outside. Right? If this is right why I can not connect yet? Marcos --- On Wed 05/02, Craig Smith [EMAIL PROTECTED] wrote: From: Craig Smith [mailto: [EMAIL PROTECTED] To: qmailtoaster-list@qmailtoaster.com Date: Wed, 2 May 2007 11:08:05 +0100 Subject: RE: [qmailtoaster] rcpthosts file Hi There,brbrAre they by any chance using your server as the outgoing smtp server? I'vebrhad that error crop up, when an unauthorized user is using our server forbrthe outgoing server. They either need to use authenticated login or theirbrip needs to be added to the tcp.smtp file if this is the case.brbr brbr-Original Message-brFrom: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] brSent: 02 May 2007 09:52brTo: qmailtoaster-list@qmailtoaster.combrSubject: [qmailtoaster] rcpthosts filebrbrbrHello, I'm using qmail toaster with fedora 6. I have configured POP3 andbrIMAP for my company mail server and I'm doing the first tests right now.brWhen I send an email from a company account with same domain to thebr[EMAIL PROTECTED] account I've created with the same company domain it receivesbrthese emails from POP3 account and IMAP account. When I send an email frombr[EMAIL PROTECTED], IMAP and POP3, to an outside email like [EMAIL PROTECTED]bragain it is a success. The problem starts when I try to send email frombroutside to this [EMAIL PROTECTED] account, IMAP or POP3. I receive thebrfollowing email in Outlook express client when trying to send: 'ServerbrResponse: 553, sorry that domain isn't in my list of allowed rcpthostsbr(#5.5.3 - chkuser)' The contents of my rcpthosts file are:brmail-server.company.com company.com company.net I understand that one canbrnot enter in the rcphosts file EVERY domain in this world so what should bebrthe solution to this problem? Any help? Marcos brbr___brJoin Excite! - http://www.excite.combrThe most personalized portal on the Web!brbrbrbr -br QmailToaster hosted by: VR Hosted http://www.vr.orgbr- brTo unsubscribe, e-mail: [EMAIL PROTECTED]brFor additional commands, e-mail: [EMAIL PROTECTED]brbrbrbr- br QmailToaster hosted by: VR Hosted http://www.vr.orgbr- brTo unsubscribe, e-mail: [EMAIL PROTECTED]brFor additional commands, e-mail: [EMAIL PROTECTED]brbr ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] rcpthosts file
What have you got listed in the /control/virtualdomains file? This will list all the domains that you have configured on the server. If the .net domain is not listed in there, then it may not be configured correctly. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 May 2007 13:13 To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] rcpthosts file Hi Craig, I send the messages from this account on the internet, [EMAIL PROTECTED], to my company mail server. The other message I receive from the mail server is this: Hi. This is the qmail-send program at mailhost2.adacom.com. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: Sorry. Although I'm listed as a best-preference MX or A for that host, it isn't in my control/locals file, so I don't treat it as local. (#5.4.6) I checked the /control/locals file and I had the following: [EMAIL PROTECTED] control]# cat locals localhost mailhost2.company.com Since I'm using virtual domains and the account I try to reach is [EMAIL PROTECTED] I added this new entry with .net hoping this would solve the problem: [EMAIL PROTECTED] control]# cat locals localhost mailhost2.adacom.com mailhost2.adacom.net I tried again but had exactly the same error message again I have a look at the /var/log/qmail/smtp/current and found this: @400046387ccf33b718fc CHKUSER accepted sender: from [EMAIL PROTECTED]:: remote excite.com:unknown:207.159.120.62 rcpt : sender accepted @400046387ccf33c71aa4 CHKUSER accepted rcpt: from [EMAIL PROTECTED]:: remote excite.com:unknown:207.159.120.62 rcpt [EMAIL PROTECTED] : found existing recipient @400046387cd00757c4b4 simscan:[3709]:CLEAN (3.30/12.00):0.2489s:test:207.159.120.62:[EMAIL PROTECTED]:[EMAIL PROTECTED] mpany.net: @400046387cd00a5aeeac tcpserver: end 3709 status 0 @400046387cd00a5b40b4 tcpserver: status: 0/100 Nothing more... What do you think? Marcos --- On Wed 05/02, Craig Smith [EMAIL PROTECTED] wrote: From: Craig Smith [mailto: [EMAIL PROTECTED] To: qmailtoaster-list@qmailtoaster.com Date: Wed, 2 May 2007 12:43:03 +0100 Subject: RE: [qmailtoaster] rcpthosts file It's probably the client side with the problem. The ip's in the tcp.smtpbrfile are the ip's outside the company that you want to allow to relay mailbrthrough your server.brbrI'm assuming the problem is as follows.brbrExternal Client A from outside has email configured to relay through yourbrserver, so in Outlook outgoing smtp server = your mail server.brbrHowever client a's ip address is not in tcp.smtp and they are not using smtpbrserver with authentication.brbrI'm not entirely sure, but I think that's roughly the problem you arebrrunning into.brbrdo you get the same error when you email from say hotmail? What is thebrexact bounce message?brbrAlso what do the logs files say at the time mail is sent?brbrtail /var/log/maillogbrtail /var/log/qmail/smtp/currentbrbrbr-Original Message-brFrom: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] brSent: 02 May 2007 11:32brTo: qmailtoaster-list@qmailtoaster.combrSubject: RE: [qmailtoaster] rcpthosts filebrbrbrHi, I have all the company IPs in tcp.smtp and it looks to work fine butbrthe problem is from outside the company. I use authentication for thisbr[EMAIL PROTECTED] user with /home/vpopmail/bin/vchkpw onbr/var/qmail/supervise/smtp/run and /var/qmail/supervise/pop3/run. This userbrexists in the vpopmail database so I guess it is there where the vchkpwbrprogram looks when it needs to authenticate a user connecting from outside.brRight? If this is right why I can not connect yet? Marcos --- On Wedbr05/02, Craig Smith [EMAIL PROTECTED] wrote: From: Craig Smith [mailto:br[EMAIL PROTECTED] To: qmailtoaster-list@qmailtoaster.com Date: Wed, 2 Maybr2007 11:08:05 +0100 Subject: RE: [qmailtoaster] rcpthosts file HibrThere,brbrAre they by any chance using your server as the outgoing smtpbrserver? I'vebrhad that error crop up, when an unauthorized user is usingbrour server forbrthe outgoing server. They either need to usebrauthenticated login or theirbrip needs to be added to the tcp.smtp file ifbrthis is the case.brbr brbr-Original Message-brFrom:br[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] brSent: 02 May 2007br09:52brTo: qmailtoaster-list@qmailtoaster.combrSubject: [qmailtoaster]brrcpthosts filebrbrbrHello, I'm using qmail toaster with fedora 6. Ibrhave configured POP3 andbrIMAP for my company mail server and I'm doingbrthe first tests right now.brWhen I send an email from a company accountbrwith same domain to thebr[EMAIL PROTECTED] account I've created with the samebrcompany domain it receivesbrthese emails from POP3 account and IMAPbraccount. When I send an email frombr[EMAIL PROTECTED], IMAP and POP3, tobran outside email like br[EMAIL PROTECTED]bragain it is a success. The problem starts
RE: [qmailtoaster] rcpthosts file
Have you tried vdeldomain and then rectreate it? It all looks ok, but obviously there is something not working as it should. Try deleteting the domains and recreating them if you can. What happens with the newly created domain? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 May 2007 13:49 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] rcpthosts file Warren: It is too late to change. I'm running out of time to set this new mail server and I have no time to test new platforms but thanks for the suggestion anyway. Craig: The contents of the control/virtualdomains file are company.com:company.com company.gr:company.gr company.net:company.net As you can see the .net is already there and the problem too... Marcos --- On Wed 05/02, Warren (mailing lists) [EMAIL PROTECTED] wrote: From: Warren (mailing lists) [mailto: [EMAIL PROTECTED] To: qmailtoaster-list@qmailtoaster.com Date: Wed, 02 May 2007 08:40:43 -0400 Subject: Re: [qmailtoaster] rcpthosts file Marcos,brbrGiven that this is a new installation, might I suggest that before you brgo any further you start from scratch using Centos 4 instead of Fedora br6. Fedora is a cutting-edge product, whereas Centos is built for brstability. In a mail server you are more likely looking for stability brthan for cutting edge.brbrRegards,brWarrenbrbr[EMAIL PROTECTED] wrote:br Hello,br br I'm using qmail toaster with fedora 6.br br I have configured POP3 and IMAP for my company mail server and I'm doing the first tests right now. br br When I send an email from a company account with same domain to the [EMAIL PROTECTED] account I've created with the same company domain it receives these emails from POP3 account and IMAP account.br br When I send an email from [EMAIL PROTECTED], IMAP and POP3, to an outside email like [EMAIL PROTECTED] again it is a success.br br The problem starts when I try to send email from outside to this [EMAIL PROTECTED] account, IMAP or POP3. I receive the following email in Outlook express client when trying to send:br br 'Server Response: 553, sorry that domain isn't in my list of allowed rcpthosts (#5.5.3 - chkuser)'br br The contents of my rcpthosts file are:br br mail-server.company.combr company.combr company.netbr br br I understand that one can not enter in the rcphosts file EVERY domain in this world so what should be the solution to this problem?br br Any help?br br Marcosbr br br ___br Join Excite! - http://www.excite.combr The most personalized portal on the Web!br br br br -br QmailToaster hosted by: VR Hosted http://www.vr.orgbr -br To unsubscribe, e-mail: [EMAIL PROTECTED]br For additional commands, e-mail: [EMAIL PROTECTED]br brbrbr -br QmailToaster hosted by: VR Hosted http://www.vr.orgbr- brTo unsubscribe, e-mail: [EMAIL PROTECTED]brFor additional commands, e-mail: [EMAIL PROTECTED]brbr ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] rcpthosts file
On my set up I never modified the assign file at all it was all done by qmail. It is possible that something in the assign file is incorrect, or file permissions/ownership have changed in which case it may be the cause of the problem, but it's hard to say. It sounds like it might be easier, to uninstall qmail and start from scratch. Get the one domain working fine first, then add the virtual or alias domains in one at a time testing each as you go along. Only modify files that you really need to and leave the rest up to qmail. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 May 2007 14:32 To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] rcpthosts file Benedict: I think if I remove the rcpthosts file the server will act as an open relay, right? Which is somethinng I don't want to do, of course:-) (Correct me if I'm wrong) Craig, When I tried to remove the vdomains with vdeldomain I have this message: # /home/vpopmail/bin/vdeldomain company.com Warning: Alias domains exist:company.grcompany.netuse -f to force delete of domain and all aliases This remembers me that I had modified manually the /var/qmail/users/assign file like this: +company.com-:company.com:89:89:/home/vpopmail/domains/company.com:-:: +company.gr-:company.com:89:89:/home/vpopmail/domains/company.com:-:: +company.net-:company.com:89:89:/home/vpopmail/domains/company.com:-:: I thought I did this in order to have all users assigned to a single .com domain but I don't think this would be the reason of the problem right? Marcos --- On Wed 05/02, Benedict Claver [EMAIL PROTECTED] wrote: From: Benedict Claver [mailto: [EMAIL PROTECTED] To: qmailtoaster-list@qmailtoaster.com Date: Wed, 2 May 2007 06:07:57 -0700 (PDT) Subject: RE: [qmailtoaster] rcpthosts file Hi Mark,brbrSomething seems not to be happening correctly as wasbrexpected for the rcpthosts file, though I have not yetbrestablished. brbrAs a temporary solution to that you can remove orbrrename the rcpthost file eg rcpthost.bak and you willbrbe able to send and receive from any domain. It workedbrhere.brbrRegards,brBennybrbrbr--- [EMAIL PROTECTED] wrote:brbr br br Hi Craig,br br I send the messages from this account on thebr internet, [EMAIL PROTECTED], to my company mailbr server.br br The other message I receive from the mail server isbr this:br br Hi. This is the qmail-send program atbr mailhost2.adacom.com. br I'm afraid I wasn't able to deliver your message tobr the following addresses. br This is a permanent error; I've given up. Sorry itbr didn't work out.br br [EMAIL PROTECTED]: br Sorry. Although I'm listed as a best-preference MXbr or A for that host, br it isn't in my control/locals file, so I don't treatbr it as local. (#5.4.6)br br br I checked the /control/locals file and I had thebr following:br br [EMAIL PROTECTED] control]# cat localsbr localhostbr mailhost2.company.combr br Since I'm using virtual domains and the account Ibr try to reach is [EMAIL PROTECTED] I added this newbr entry with .net hoping this would solve the problem:br br [EMAIL PROTECTED] control]# cat localsbr localhostbr mailhost2.adacom.combr mailhost2.adacom.netbr br br I tried again but had exactly the same error messagebr again br br I have a look at the /var/log/qmail/smtp/current andbr found this:br br @400046387ccf33b718fc CHKUSER accepted sender:br from [EMAIL PROTECTED]:: remotebr excite.com:unknown:207.159.120.62 rcpt : senderbr acceptedbr @400046387ccf33c71aa4 CHKUSER accepted rcpt:br from [EMAIL PROTECTED]:: remotebr excite.com:unknown:207.159.120.62 rcptbr [EMAIL PROTECTED] : found existingbr recipientbr @400046387cd00757c4b4 simscan:[3709]:CLEANbrbr(3.30/12.00):0.2489s:test:207.159.120.62:mark0s @excite.com:[EMAIL PROTECTED]:br @400046387cd00a5aeeac tcpserver: end 3709 statusbr 0br @400046387cd00a5b40b4 tcpserver: status: 0/100br br br Nothing more...br br What do you think?br br Marcosbr br --- On Wed 05/02, Craig Smith [EMAIL PROTECTED] br wrote:br From: Craig Smith [mailto: [EMAIL PROTECTED]br To: qmailtoaster-list@qmailtoaster.combr Date: Wed, 2 May 2007 12:43:03 +0100br Subject: RE: [qmailtoaster] rcpthosts filebr br It's probably the client side with the problem. Thebr ip's in the tcp.smtpbrfile are the ip's outsidebr the company that you want to allow to relaybr mailbrthrough your server.brbrI'm assuming thebr problem is as follows.brbrExternal Client Abr from outside has email configured to relay throughbr yourbrserver, so in Outlook outgoing smtp server =br your mail server.brbrHowever client a's ipbr address is not in tcp.smtp and they are not usingbr smtpbrserver with authentication.brbrI'm notbr entirely sure, but I think that's roughly thebr problem you arebrrunning into.brbrdo you getbr the same error when you email from say hotmail? br What is thebrexact bounce message?brbrAlsobr what do the logs files say at the time mail isbr sent?brbrtail /var/log
RE: [qmailtoaster] rcpthosts file
fyi assign file rights on my system (fc5) -rw-r--r-- 1 root root 7714 Mar 23 15:07 assign -rw--- 1 root root 0 Mar 23 15:07 assign.lock -rw-r--r-- 1 root root 11591 Mar 23 15:07 cdb -Original Message- From: Benedict Claver [mailto:[EMAIL PROTECTED] Sent: 02 May 2007 14:52 To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] rcpthosts file You are right Mark, I wonder in my installation i didn't edit permissions on assign or any other file but i had that same problem on CentOS 4.4 Benny --- Craig Smith [EMAIL PROTECTED] wrote: On my set up I never modified the assign file at all it was all done by qmail. It is possible that something in the assign file is incorrect, or file permissions/ownership have changed in which case it may be the cause of the problem, but it's hard to say. It sounds like it might be easier, to uninstall qmail and start from scratch. Get the one domain working fine first, then add the virtual or alias domains in one at a time testing each as you go along. Only modify files that you really need to and leave the rest up to qmail. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 May 2007 14:32 To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] rcpthosts file Benedict: I think if I remove the rcpthosts file the server will act as an open relay, right? Which is somethinng I don't want to do, of course:-) (Correct me if I'm wrong) Craig, When I tried to remove the vdomains with vdeldomain I have this message: # /home/vpopmail/bin/vdeldomain company.com Warning: Alias domains exist:company.gr company.netuse -f to force delete of domain and all aliases This remembers me that I had modified manually the /var/qmail/users/assign file like this: +company.com-:company.com:89:89:/home/vpopmail/domains/company.com:-:: +company.gr-:company.com:89:89:/home/vpopmail/domains/company.com:-:: +company.net-:company.com:89:89:/home/vpopmail/domains/company.com:-:: I thought I did this in order to have all users assigned to a single .com domain but I don't think this would be the reason of the problem right? Marcos --- On Wed 05/02, Benedict Claver [EMAIL PROTECTED] wrote: From: Benedict Claver [mailto: [EMAIL PROTECTED] To: qmailtoaster-list@qmailtoaster.com Date: Wed, 2 May 2007 06:07:57 -0700 (PDT) Subject: RE: [qmailtoaster] rcpthosts file Hi Mark,brbrSomething seems not to be happening correctly as wasbrexpected for the rcpthosts file, though I have not yetbrestablished. brbrAs a temporary solution to that you can remove orbrrename the rcpthost file eg rcpthost.bak and you willbrbe able to send and receive from any domain. It workedbrhere.brbrRegards,brBennybrbrbr--- [EMAIL PROTECTED] wrote:brbr br br Hi Craig,br br I send the messages from this account on thebr internet, [EMAIL PROTECTED], to my company mailbr server.br br The other message I receive from the mail server isbr this:br br Hi. This is the qmail-send program atbr mailhost2.adacom.com. br I'm afraid I wasn't able to deliver your message tobr the following addresses. br This is a permanent error; I've given up. Sorry itbr didn't work out.br br [EMAIL PROTECTED]: br Sorry. Although I'm listed as a best-preference MXbr or A for that host, br it isn't in my control/locals file, so I don't treatbr it as local. (#5.4.6)br br br I checked the /control/locals file and I had thebr following:br br [EMAIL PROTECTED] control]# cat localsbr localhostbr mailhost2.company.combr br Since I'm using virtual domains and the account Ibr try to reach is [EMAIL PROTECTED] I added this newbr entry with .net hoping this would solve the problem:br br [EMAIL PROTECTED] control]# cat localsbr localhostbr mailhost2.adacom.combr mailhost2.adacom.netbr br br I tried again but had exactly the same error messagebr again br br I have a look at the /var/log/qmail/smtp/current andbr found this:br br @400046387ccf33b718fc CHKUSER accepted sender:br from [EMAIL PROTECTED]:: remotebr excite.com:unknown:207.159.120.62 rcpt : senderbr acceptedbr @400046387ccf33c71aa4 CHKUSER accepted rcpt:br from [EMAIL PROTECTED]:: remotebr excite.com:unknown:207.159.120.62 rcptbr [EMAIL PROTECTED] : found existingbr recipientbr @400046387cd00757c4b4 simscan:[3709]:CLEANbrbr(3.30/12.00):0.2489s:test:207.159.120.62:mark0s @excite.com:[EMAIL PROTECTED]:br @400046387cd00a5aeeac tcpserver: end 3709 statusbr 0br @400046387cd00a5b40b4 tcpserver: status: 0/100br br br Nothing more...br br What do you think?br br Marcosbr br --- On Wed 05/02, Craig Smith [EMAIL PROTECTED] br wrote:br From: Craig Smith [mailto: [EMAIL PROTECTED]br To: qmailtoaster-list@qmailtoaster.combr Date: Wed, 2 May 2007 12:43:03 +0100br Subject: RE: [qmailtoaster] rcpthosts filebr br It's probably the client side with the problem. Thebr ip's
RE: [qmailtoaster] rcpthosts file
Basically, all I did on mine is what you have done. vadddomain -r domain.com (-r random password) That's all that you need to do, then vadduser -r [EMAIL PROTECTED] and send mail to that user. If it fails and causes problems at this point, then qmail installation may be corrupt or it has something to do with FC6, but only uninstalling QMT and then starting QMT over will help you with that. I can say on FC5 the above steps work fine. QMT takes care of the assign, rcpthosts, virtualdomain etc entries. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 May 2007 14:56 To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] rcpthosts file Ok, let's asume I delete the domains and start creating them again. How should I create the first, let's say default (.com), domain? I created all of them (.com,.net,.gr) before with vadddomain... Warren: I'd like to check Centos but I really have no time to go back and start from scratch.The only solution right now is to go on with fedora core 6 and see if I can make it. Marcos --- On Wed 05/02, Craig Smith [EMAIL PROTECTED] wrote: From: Craig Smith [mailto: [EMAIL PROTECTED] To: qmailtoaster-list@qmailtoaster.com Date: Wed, 2 May 2007 14:35:05 +0100 Subject: RE: [qmailtoaster] rcpthosts file On my set up I never modified the assign file at all it was all done bybrqmail. It is possible that something in the assign file is incorrect, orbrfile permissions/ownership have changed in which case it may be the cause ofbrthe problem, but it's hard to say.brbrIt sounds like it might be easier, to uninstall qmail and start frombrscratch. Get the one domain working fine first, then add the virtual orbralias domains in one at a time testing each as you go along. Only modifybrfiles that you really need to and leave the rest up to qmail.brbrbr brbr-Original Message-brFrom: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] brSent: 02 May 2007 14:32brTo: qmailtoaster-list@qmailtoaster.combrSubject: RE: [qmailtoaster] rcpthosts filebrbrbrBenedict: I think if I remove the rcpthosts file the server will act as anbropen relay, right? Which is somethinng I don't want to do, of course:-)br(Correct me if I'm wrong) Craig, When I tried to remove the vdomains withbrvdeldomain I have this message: # /home/vpopmail/bin/vdeldomain company.combrWarning: Alias domains exist: company.grcompany.netuse -f tobrforce delete of domain and all aliases This remembers me that I hadbrmodified manually the /var/qmail/users/assign file like this:br+company.com-:company.com:89:89:/home/vpopmail/domains/company.com: -::br+company.gr-:company.com:89:89:/home/vpopmail/domains/company.com:-:: br+company.net-:company.com:89:89:/home/vpopmail/domains/company.com:-:: Ibrthought I did this in order to have all users assigned to a single .combrdomain but I don't think this would be the reason of the problem right?brMarcos --- On Wed 05/02, Benedict Claver [EMAIL PROTECTED] wrote:brFrom: Benedict Claver [mailto: [EMAIL PROTECTED] To:brqmailtoaster-list@qmailtoaster.com Date: Wed, 2 May 2007 06:07:57 -0700br(PDT) Subject: RE: [qmailtoaster] rcpthosts file Hi Mark,brbrSomethingbrseems not to be happening correctly as wasbrexpected for the rcpthostsbrfile, though I have not yetbrestablished. brbrAs a temporary solutionbrto that you can remove orbrrename the rcpthost file eg rcpthost.bak andbryou willbrbe able to send and receive from any domain. Itbrworkedbrhere.brbrRegards,brBennybrbrbr--- [EMAIL PROTECTED]brwrote:brbr br br Hi Craig,br br I send the messages frombrthis account on thebr internet, [EMAIL PROTECTED], to my companybrmailbr server.br br The other message I receive from the mailbrserver isbr this:br br Hi. This is the qmail-send program atbrbrmailhost2.adacom.com. br I'm afraid I wasn't able to deliver your messagebrtobr the following addresses. br This is a permanent error; I've givenbrup. Sorry itbr didn't work out.br br [EMAIL PROTECTED]:brbr Sorry. Although I'm listed as a best-preference MXbr or A for thatbrhost, brbr it isn't in my control/locals file, so I don't treatbr it as local.br(#5.4.6)br br br I checked the /control/locals file and I hadbrthebr following:br br [EMAIL PROTECTED] control]# cat localsbrbrlocalhostbr mailhost2.company.combr br Since I'm using virtualbrdomains and the account Ibr try to reach is [EMAIL PROTECTED] I added thisbrnewbr entry with .net hoping this would solve the problem:br brbr[EMAIL PROTECTED] control]# cat localsbr localhostbrbrmailhost2.adacom.combr mailhost2.adacom.netbr br br I triedbragain but had exactly the same error messagebr again br br I have abrlook at the /var/log/qmail/smtp/current andbr found this:br brbr@400046387ccf33b718fc CHKUSER accepted sender:br frombr[EMAIL PROTECTED]:: remotebr excite.com:unknown:207.159.120.62 rcptbr : senderbr acceptedbr @400046387ccf33c71aa4 CHKUSER acceptedbrrcpt:br from [EMAIL PROTECTED]:: remotebr brexcite.com:unknown
RE: [qmailtoaster] Slow connecting pop3 server
If it is a case of when you click send and receive on a mail client, it takes a long time before it checks it is probably the pop3 run file and not necessarily dns, although it may be dns related. The solution below solved slow pop3 login. I had this problem in the past and it had to do with the pop3 run file, in my case at least. Although it was some time ago. Check /var/qmail/supervise/pop3/run It possibly looks like this exec /usr/bin/softlimit -m 900 \ /usr/bin/tcpserver -v -R -c 200 0 110 \ /var/qmail/bin/qmail-popup $HOSTNAME \ $PASSPROG /var/qmail/bin/qmail-pop3d Maildir 21 I changed the tcpserver line to /usr/bin/tcpserver -l0 -H -v -R -c 200 0 110 \ (I added the -l0 and -H) It had something to do with stopping local or remote host dns lookup, I can't remember the specifics, but it changed from 60 seconds plus for pop3 login to virtually straight away. Try that. -Original Message- From: Ole J [mailto:[EMAIL PROTECTED] Sent: 26 April 2007 09:11 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Slow connecting pop3 server I might have done the djbdns wrong. Do i really need it? Where do i find a simple howto, more examples than the one in the setup instruction. Thanks for your reply Janno Sannik wrote: This is a dns issue. I have had lot's of them in early days of qmail installation. Your dns is not resolving correctly incoming ip addresses and thus it takes a lot of time (until timeout occurs) when connecting to pop3 Ole J wrote: Hello, When i am trying to connect pop3 server, usual it is ve slow. I have tested telnet to the pop3 server with very mixed result. Any ideas? I have not :( The box: Xeon, lots of the rest, raid and blabla. Fresh installed Centos 5 with QT This might popup by telnet after 30 seconds, telneiting to the box via LAN +OK [EMAIL PROTECTED] SMTP works as it should. Incoming email drops in but usual outlook 2003 ends with a timeout to the server. I run QT on several other boxes with Centos 4 without problems. Only difference is the djbdns stuff and package versions ... Thanks in advance for any help. Best regards Ole - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Please note that this message may contain confidential information. If you have received this message by mistake, please inform the sender of the mistake by sending a reply, then delete the message from your system without making, distributing or retaining any copies of it. Although we believe that the message and any attachments are free from viruses and other errors that might affect the computer or IT system where it is received and read, the recipient opens the message at his or her own risk. We assume no responsibility for any loss or damage arising from the receipt or use of this message. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] Slow connecting pop3 server
I take it you restarted qmail? In which case it will be dns related. I don't have the djbdns module installed on my QMT so I can't really say. Basically, find your domains zone file which is probably in /var/djbdns/tinydns/root/data. and add the key. I'm not sure that is a key issue though. What do your pop3 logs indicate? tail /var/log/qmail/pop3/current just after you do a send and receive, it may give more clues. Also in terms of your dns, can the server see the internet, ping hostnames etc etc? -Original Message- From: Ole J [mailto:[EMAIL PROTECTED] Sent: 26 April 2007 09:35 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Slow connecting pop3 server Thanks for the tip, but it hadnt any effect. If you look at this: *** Make dns entry: BIND - in the your-domain.com zone file (see yourdomain-dk.txt): private._domainkey IN TXT k=rsa; p=MEwwDQY . . . to end of key (NOTE QUOTATION MARKS MUST BE THERE) DJBDNS - in /var/djbdns/tinydns/root/data (make from your-domain-dk.txt): '_domainkey.your-domain.com:o=-; [EMAIL PROTECTED] 'private._domainkey.your-domain.com:k=rsa; p=MEwwDQY . . . to end of key *** How do i do this? Craig Smith wrote: If it is a case of when you click send and receive on a mail client, it takes a long time before it checks it is probably the pop3 run file and not necessarily dns, although it may be dns related. The solution below solved slow pop3 login. I had this problem in the past and it had to do with the pop3 run file, in my case at least. Although it was some time ago. Check /var/qmail/supervise/pop3/run It possibly looks like this exec /usr/bin/softlimit -m 900 \ /usr/bin/tcpserver -v -R -c 200 0 110 \ /var/qmail/bin/qmail-popup $HOSTNAME \ $PASSPROG /var/qmail/bin/qmail-pop3d Maildir 21 I changed the tcpserver line to /usr/bin/tcpserver -l0 -H -v -R -c 200 0 110 \ (I added the -l0 and -H) It had something to do with stopping local or remote host dns lookup, I can't remember the specifics, but it changed from 60 seconds plus for pop3 login to virtually straight away. Try that. -Original Message- From: Ole J [mailto:[EMAIL PROTECTED] Sent: 26 April 2007 09:11 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Slow connecting pop3 server I might have done the djbdns wrong. Do i really need it? Where do i find a simple howto, more examples than the one in the setup instruction. Thanks for your reply Janno Sannik wrote: This is a dns issue. I have had lot's of them in early days of qmail installation. Your dns is not resolving correctly incoming ip addresses and thus it takes a lot of time (until timeout occurs) when connecting to pop3 Ole J wrote: Hello, When i am trying to connect pop3 server, usual it is ve slow. I have tested telnet to the pop3 server with very mixed result. Any ideas? I have not :( The box: Xeon, lots of the rest, raid and blabla. Fresh installed Centos 5 with QT This might popup by telnet after 30 seconds, telneiting to the box via LAN +OK [EMAIL PROTECTED] SMTP works as it should. Incoming email drops in but usual outlook 2003 ends with a timeout to the server. I run QT on several other boxes with Centos 4 without problems. Only difference is the djbdns stuff and package versions ... Thanks in advance for any help. Best regards Ole - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Please note that this message may contain confidential information. If you have received this message by mistake, please inform the sender of the mistake by sending a reply, then delete the message from your system without making, distributing or retaining any copies of it. Although we believe that the message and any attachments are free from viruses and other errors that might affect the computer or IT system where it is received and read, the recipient opens the message at his or her own risk. We assume no responsibility for any loss or damage arising from the receipt or use of this message. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] ClamAV problem
Not mine no. Very annoying problem, before the 0.90 update this file passed through fine. It's affecting one of our clients financial runs and is obviously causing concern. So far the only thing I can think of is to turn of Archive scanning but I really don't want to do that. I can't seem to find any referance or mention to whitelisting emails for AV. We can bypass for the spam scanning no problem but not AV?? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 17 April 2007 20:17 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] ClamAV problem Hi. Look into clamav's bugzilla https://wwws.clamav.net/bugzilla/show_bug.cgi?id=395 May be it's yours. I'am already ask here how to pass mail like this (when clamv says abous error and qt says about temporary error), no answer :( Hi all, I was wondering if anyone else has run into problem with clamav and zip files since switching to 0.90.1? We have a regular mail that cames through with a password protected zip file, that was fine pre 0.90.1 but now clamav seems to dump all mail with a password protected zip file. I wonder if I've missed something. Clamav log file contents of the file and error. LibClamAV Warning: Not supported compression method in one or more files @40004624f1f717f0e224 /var/qmail/simscan/1176826348.567126.13095/STMT.20070327.6075.ZIP: Not supported data format ERROR Can't really seem to find anything on this. Is there a way of specifying a specific email as trusted/whitelisted so that it bypasses clamd? Thanks all. --- Craig Smith - Systems Engineer - Doctor Net t. 0870 770 4990 - f. 0870 770 4991 Visit www.doc-net.com - let us be your key to success Visit www.eMailCampaigner.com - close sales cheaper and faster Visit www.SprintCRM.com - understand your customers better and increase sales --- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you received this in error, please contact the sender and delete the material. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Признайся в любви за 3 клика. http://cards.yandex.ru/theme.xml?tags=1892 - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] ClamAV problem
The only way I've been able to sort this is to whitelist the specific sending email address from clamav. So any mail the address that sends the zip file sends doesn't get scanned by clamav at all. This is an exteme fix, but in our case, the only mail that ever comes from that address is the one with the zip attachment that is part of an automated process. To do this, I added their address to the simcontrol file and set [EMAIL PROTECTED] clam=no,spam=no. It would help if we could block specific files though. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 17 April 2007 20:17 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] ClamAV problem Hi. Look into clamav's bugzilla https://wwws.clamav.net/bugzilla/show_bug.cgi?id=395 May be it's yours. I'am already ask here how to pass mail like this (when clamv says abous error and qt says about temporary error), no answer :( Hi all, I was wondering if anyone else has run into problem with clamav and zip files since switching to 0.90.1? We have a regular mail that cames through with a password protected zip file, that was fine pre 0.90.1 but now clamav seems to dump all mail with a password protected zip file. I wonder if I've missed something. Clamav log file contents of the file and error. LibClamAV Warning: Not supported compression method in one or more files @40004624f1f717f0e224 /var/qmail/simscan/1176826348.567126.13095/STMT.20070327.6075.ZIP: Not supported data format ERROR Can't really seem to find anything on this. Is there a way of specifying a specific email as trusted/whitelisted so that it bypasses clamd? Thanks all. --- Craig Smith - Systems Engineer - Doctor Net t. 0870 770 4990 - f. 0870 770 4991 Visit www.doc-net.com - let us be your key to success Visit www.eMailCampaigner.com - close sales cheaper and faster Visit www.SprintCRM.com - understand your customers better and increase sales --- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you received this in error, please contact the sender and delete the material. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Признайся в любви за 3 клика. http://cards.yandex.ru/theme.xml?tags=1892 - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[qmailtoaster] ClamAV problem
Hi all, I was wondering if anyone else has run into problem with clamav and zip files since switching to 0.90.1? We have a regular mail that cames through with a password protected zip file, that was fine pre 0.90.1 but now clamav seems to dump all mail with a password protected zip file. I wonder if I've missed something. Clamav log file contents of the file and error. LibClamAV Warning: Not supported compression method in one or more files @40004624f1f717f0e224 /var/qmail/simscan/1176826348.567126.13095/STMT.20070327.6075.ZIP: Not supported data format ERROR Can't really seem to find anything on this. Is there a way of specifying a specific email as trusted/whitelisted so that it bypasses clamd? Thanks all. --- Craig Smith - Systems Engineer - Doctor Net t. 0870 770 4990 - f. 0870 770 4991 Visit www.doc-net.com - let us be your key to success Visit www.eMailCampaigner.com - close sales cheaper and faster Visit www.SprintCRM.com - understand your customers better and increase sales --- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you received this in error, please contact the sender and delete the material. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] exception for RBL Locally
Hi I think this is white you are after. Taken from the wiki, this should stop it. If you want to whitelist an IP address from these blacklists you can modify /etc/tcprules.d/tcp.smtp, adding a line like this: 192.168.1.:allow,RBLSMTPD=,DKSIGN=/var/qmail/control/domainkeys/%/private changing 192.168.1. to the IPaddress or ip block you want to allow. Specifying RBLSMTPD= disables rblsmtpd processing for the specified IP block/address. See man rblsmtpd for more detail. Retrieved from http://wiki.qmailtoaster.com/index.php/RBLs; _ From: Gabriel Lai [mailto:[EMAIL PROTECTED] Sent: 01 March 2007 09:56 To: Qmail Toaster List 2 Subject: [qmailtoaster] exception for RBL Locally Hi, I'm facing the below problem. The subnet mask 172.255.1.* is my LAN IP address. However, the IP addresses are listed in SORBS. How can I do an exception list so that QT won't check the range of IP Address of my LAN? @400045e6a212032eef0c tcpserver: status: 1/100 @400045e6a21203316fac tcpserver: pid 5536 from 172.255.1.99 @400045e6a21203329c74 tcpserver: ok 5536 mailsrv.palmoleo.com.my:172.255.1.101:25 :172.255.1.99::1196 @400045e6a21307806324 rblsmtpd: 172.255.1.99 pid 5536: 451 Dynamic IP Addresses See: http://www.sorbs.net/lookup.shtml?172.255.1.99 @400045e6a2152f7f66a4 tcpserver: end 5536 status 0 @400045e6a2152f7f7e14 tcpserver: status: 0/100 _ Never Miss an Email Stay connected with Yahoo! Mail on your mobile. Get http://us.rd.yahoo.com/evt=43909/*http://mobile.yahoo.com/services?promote= mail started!
RE: [qmailtoaster] Site to Site QT Server Replication - 24 hours
Hi Gabriel, you need to make sure that the port number you specify in the run file is the one you try and connect to. The one that is set in the qmail.prf file must match the /unison/unison -socket line in unison-run. On the primary confirm that the /root/.unison/qmail.prf file has the correct ip and socket. On the secondary, can you confirm the unison-run script matches what is on the wiki, or paste the contents here. Does the /unison/unison -socket line have the at the end? What happens on secondary if you manually run the above line. So at command type /unison/unison -socket and then enter on the blank line. If that runs, do ps -ef|grep unison and you should get a line similar to root 24608 1 0 12:28 pts/100:00:00 /unison/unison -socket Let me know what that does, the primary error will definately be down to the socket not running. As for socket number you can use anything so long as they match and aren't on a known used socket. e.g. 6576 _ From: Gabriel Lai [mailto:[EMAIL PROTECTED] Sent: 07 February 2007 05:35 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Site to Site QT Server Replication - 24 hours Hi Craig, I manage to redo the testing after so long you replied the email :) The error I got was extracted out from Primary Server, it says Contacting to server. Error: Can't connect to server (192.168.119.133:1234) Deleting lock file I start the unison-run command with /unison/unison-run start, the next line shown me: sh-3.1# But, seems like it doesn't start the service on Secondary, that's y it cannot connect. Would u mind tell me what is the port number u use? Thanks - Original Message From: Craig Smith [EMAIL PROTECTED] To: qmailtoaster-list@qmailtoaster.com Sent: Monday, January 22, 2007 10:21:25 PM Subject: RE: [qmailtoaster] Site to Site QT Server Replication - 24 hours Gabriel Where were you getting errors? I set up this procedure and it works like a charm on my system, but there are minor changes needed between various OS's. I set this up on Fedora Core 5. Let me know what errors you were getting and where and I will try and help you with it. Also I changed the timing on the script to more than 1 min as after a few weeks it started causing problems on our server with the replication itself, so now it is more accurate to say the backup server is only ever 10 mins (or cronjob based) from the primary. Regards. _ From: Gabriel Lai [mailto:[EMAIL PROTECTED] Sent: 22 January 2007 07:24 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Site to Site QT Server Replication - 24 hours Joseph, Have you tried with the QMT Setup steps? I tested previously, but failed at certain level. If you have tested before, maybe you can help me out with the errors Thanks - Original Message From: Joseph Lundgren [EMAIL PROTECTED] To: qmailtoaster-list@qmailtoaster.com Sent: Friday, January 19, 2007 2:41:59 AM Subject: RE: [qmailtoaster] Site to Site QT Server Replication - 24 hours Gabriel, Please look at http://wiki.qmailtoaster.com/index.php/QMT_Failover_replication_Setup This page gives you a procedure to configure a backup qmt server that will be available for failover in the event of primary server failure. The backup server will only ever be 1 minute out from the primary. I believe that it covers what you're trying to achieve. Sincerely, -- Joseph Lundgren Systems Engineer Peak Internet, LLC [EMAIL PROTECTED] From: Gabriel Lai [mailto:[EMAIL PROTECTED] Sent: Thursday, January 18, 2007 1:12 AM To: Qmail Toaster List 2 Subject: [qmailtoaster] Site to Site QT Server Replication - 24 hours Hello all, I would like to setup a QT site where the 2 email servers will be doing replication to each other 24 hours live. eg: when mail coming from Internet to Mail Server 1, it will automatically replicate to Mail Server 2. Jake has point me the backup restore script guides, but that needs manual job when Mail Server 1 is down, someone have to manually restore the backup in Mail Server 2, then only can replace Mail Server 1. Have anyone tried to do so? Please assist. _ Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. _ The fish are biting. Get more visitors http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/spon soredsearch_v2.php?o=US2140cmp=Yahooctv=Q107Taglines=Ys2=EMb=50 on your site using Yahoo! Search Marketing. http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/spon soredsearch_v2.php?o=US2140cmp=Yahooctv=Q107Taglines=Ys2=EMb=50 _ Need Mail bonding? Go to the Yahoo! http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOAR fcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=asksid=39654 6091 Mail QA for great http://answers.yahoo.com/dir/index
RE: [qmailtoaster] Site to Site QT Server Replication - 24 hours
Gabriel Where were you getting errors? I set up this procedure and it works like a charm on my system, but there are minor changes needed between various OS's. I set this up on Fedora Core 5. Let me know what errors you were getting and where and I will try and help you with it. Also I changed the timing on the script to more than 1 min as after a few weeks it started causing problems on our server with the replication itself, so now it is more accurate to say the backup server is only ever 10 mins (or cronjob based) from the primary. Regards. _ From: Gabriel Lai [mailto:[EMAIL PROTECTED] Sent: 22 January 2007 07:24 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Site to Site QT Server Replication - 24 hours Joseph, Have you tried with the QMT Setup steps? I tested previously, but failed at certain level. If you have tested before, maybe you can help me out with the errors Thanks - Original Message From: Joseph Lundgren [EMAIL PROTECTED] To: qmailtoaster-list@qmailtoaster.com Sent: Friday, January 19, 2007 2:41:59 AM Subject: RE: [qmailtoaster] Site to Site QT Server Replication - 24 hours Gabriel, Please look at http://wiki.qmailtoaster.com/index.php/QMT_Failover_replication_Setup This page gives you a procedure to configure a backup qmt server that will be available for failover in the event of primary server failure. The backup server will only ever be 1 minute out from the primary. I believe that it covers what you're trying to achieve. Sincerely, -- Joseph Lundgren Systems Engineer Peak Internet, LLC [EMAIL PROTECTED] From: Gabriel Lai [mailto:[EMAIL PROTECTED] Sent: Thursday, January 18, 2007 1:12 AM To: Qmail Toaster List 2 Subject: [qmailtoaster] Site to Site QT Server Replication - 24 hours Hello all, I would like to setup a QT site where the 2 email servers will be doing replication to each other 24 hours live. eg: when mail coming from Internet to Mail Server 1, it will automatically replicate to Mail Server 2. Jake has point me the backup restore script guides, but that needs manual job when Mail Server 1 is down, someone have to manually restore the backup in Mail Server 2, then only can replace Mail Server 1. Have anyone tried to do so? Please assist. _ Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. _ The fish are biting. Get http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/spon soredsearch_v2.php?o=US2140cmp=Yahooctv=Q107Taglines=Ys2=EMb=50 more visitors on your site using Yahoo! http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/spon soredsearch_v2.php?o=US2140cmp=Yahooctv=Q107Taglines=Ys2=EMb=50 Search Marketing.
RE: [qmailtoaster] Problem in using Failover replication Setup
Hi Bill, I was reviewing my logs, and I get a few rsync errors, but it's normally file does not exist anymore. These can be ignored as the mail has been retrieved and removed from the primary server during or just before replication does the actual transfer. Since the file would be removed from the backup anyway, these can be ignored. In your previous errors, the MY.DOMAIN errors were due to No such file or directory My .spamassassin folder never replicates, it must have something to do with bayes, as with mine it's the bayes tokens that don't replicate across. For me this isn't a big deal so I ignore it. Copy your log file out for me, and then run qmail-replicate and then send me the log file, so I can see the whole event, and then track it. It would appear that some replication is taking place, so largely it is working, but I need to review the log to see exactly what it is doing. You can test it, by creating a dummy user, then after replication check the backup server to see if the dummy user was created and the details are correct. /home/vpopmail/bin/vuserinfo dummuser and see what happens. So I take it that now that the script was changed to f6 it runs without error now? Getting there slowly. :-) Craig From: Bill Kwok [mailto:[EMAIL PROTECTED] Sent: 27 November 2006 16:07 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Problem in using Failover replication Setup Hi Craig, I am still having problem. :( Pls see below for the result I got. Best regards, Bill On 11/27/06, Craig Smith [EMAIL PROTECTED] wrote: Hi bill, Will try and find the rsync errors I saw when I was testing all of this. The part of the script you commented out controls the size of the logfile, but since 20Mb is rather large it takes time to run, so it can mange without it. Your script runs fine on my system. However I suspect the problem lies in the size variable. the ls listing in centos is probably different to fedora. Run the below command and see which field it is displaying. Is should be the size portion, but it may not be. Increment or decrese the 5 until you get the correct result, and edit your script accordingly. However you can manage without that if you want to manually rotate your logs. ls -l $LOG|cut -d ' ' -f 5 I have to adjust to -f 6 in order to get the file size. :) As for the rsync errors, the errors relating to MY.DOMAIN are normal if your mail is being deleted from the server as people check. It will be down to the script running after a file was there, and during the run was deleted. What happens if you run /unison/unison -force / -batch qmail and then run it again straight after it completes, are the errors identical or do they differ or go away? The error is same as before. It may be that you need to reset the unison database. To do that on both servers do the following. cd /root/.unison. If you do ll you will see something similar to arb35cf206e53266f6ceb48d38f9f6c049. That is the database, if you delete or rename those on both servers and then run the command it will repopulate the data it is working with. Try that and let me know. I rename the name of databases and then run qmail-replicatec again. But I get the same error: Synchronization incomplete (1 item transferred, 0 skipped, 2 failures) failed: home/vpopmail/.spamassassin failed: home/vpopmail/domains/MY.DOMAIN.COM Deleting lock file Since it can transfer 1 file, can I assume unison should be working? P.S. If you do sort out the size variable on your system could you leave a comment on the wiki, or let me know the details so I can leave a note for other centos users. Also did you notice I took the backup server side script out of cron, as it isn't really necessary and should be run manually in the case of a switch over. However I would recommend, that you test your backup server on a regular basis to make sure it is working and you can logon. Run the qmail-replicateb script and then verify. I normally activate the backup server, and change my account to point to it, and make sure I can authenticate. I also do /home/vpopmail/bin/vuserinfo randomn users and confirm their details. Hope that helps. Let me know what unison says after a clearout. Craig From: Bill Kwok [mailto:[EMAIL PROTECTED] Sent: 27 November 2006 10:41 To: qmailtoaster-list@qmailtoaster.com Subject: Re
RE: [qmailtoaster] Problem in using Failover replication Setup
Hi Bill, It's no problem, I hope I can help get it sorted and that it works as well for you as it does for me. Does the error you get still reflect the same line now that you've recopied the script? the unison run seems to be running. I see 2 failures and I can't remember at this point what they indicate, but I have seen them before. If the script error is still on the same line, can you comment out the section you pasted and let me know what it says then. So add # in front of each line from 61 to 65. It is probably something that centos expects that fedora doesn't. I've not worked with centos before. Jake or Eric, do you guys know if Centos handles shell script slightly differently? Also bill could you attach the script from your server, so I can run your exact script on my server and see what happens? Thanks Craig _ From: Bill Kwok [mailto:[EMAIL PROTECTED] Sent: 25 November 2006 07:07 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Problem in using Failover replication Setup Hi Craig, Thanks a lot for helping me fix this problem. I got the error again even though after I've copied the souce code from website again. Here's my lines 61-65 (or 68-73 in the new script): if [ $size -gt 2000 ];then echo this is bigger than 20MB, moving$LOG mv $LOG $LOGSAVE echo $LOG fi If I run the command '/unison/unison -force / -batch qmail', I got the following output: . . . local: unchanged file modified on 2006-11-23 at 12:28:56 size 1689 rw-r--r-- BACKUP.h... : changed file modified on 2006-11-24 at 19:06:23 size 1689 rw-r--r-- Propagating updates UNISON started propagating changes at 14:40:39 on 25 Nov 2006 [BGN] Updating file var/qmail/control/dh1024.pem from / to //BACKUP.MY.DOMAIN.COM// [BGN] Updating file var/qmail/control/dh512.pem from / to //BACKUP.MY.DOMAIN.COM// [BGN] Updating file var/qmail/control/rsa512.pem from / to //BACKUP.MY.DOMAIN.COM// [BGN] Copying home/vpopmail/.spamassassin from / to //BACKUP.MY.DOMAIN.COM// [BGN] Copying properties for home/vpopmail/domains from / to //BACKUP.MY.DOMAIN.COM// [BGN] Copying home/vpopmail/domains/.overquota.msg from / to //BACKUP.MY.DOMAIN.COM// [BGN] Copying home/vpopmail/domains/.quotawarn.msg from / to //BACKUP.MY.DOMAIN.COM// [BGN] Copying home/vpopmail/domains/MY.DOMAIN.COM from / to //BACKUP.MY.DOMAIN.COM// [BGN] Updating file unison/mysql.dump/vpopmail from / to //BACKUP.MY.DOMAIN.COM// [BGN] Updating file var/qmail/control/badloadertypes from / to //BACKUP.MY.DOMAIN.COM// [BGN] Updating file var/qmail/control/badloadertypes.cdb from / to //BACKUP.MY.DOMAIN.COM// [BGN] Updating file var/qmail/control/servercert.pem.rpmnew from / to //BACKUP.MY.DOMAIN.COM// [END] Copying properties for home/vpopmail/domains [END] Updating file var/qmail/control/dh1024.pem [END] Updating file var/qmail/control/dh512.pem [END] Updating file var/qmail/control/rsa512.pem [END] Copying home/vpopmail/domains/.overquota.msg [END] Copying home/vpopmail/domains/.quotawarn.msg [END] Updating file unison/mysql.dump/vpopmail [END] Updating file var/qmail/control/badloadertypes [END] Updating file var/qmail/control/badloadertypes.cdb [END] Updating file var/qmail/control/servercert.pem.rpmnew Failed: Aborted 15% 07:54 ETAFailed [home/vpopmail/.spamassassin]: Aborted Failed: Error in rsync sender: /home/vpopmail/domains/MY.DOMAIN.COM/userA/Maildir/cur/1164431645.26630.mx.M Y.DOMAIN.COM,S=4733:2,: No such file or directory 15% 07:54 ETAFailed [home/vpopmail/domains/MY.DOMAIN.COM]: Error in rsync sender: /home/vpopmail/domains/MY.DOMAIN.COM/userA/Maildir/cur/1164431645.26630.mx.M Y.DOMAIN.COM,S=4733:2,: No such file or directory UNISON finished propagating changes at 14:42:10 on 25 Nov 2006 Saving synchronizer state Synchronization incomplete (10 items transferred, 0 skipped, 2 failures) failed: home/vpopmail/.spamassassin failed: home/vpopmail/domains/MY.DOMAIN.COM Thanks again for your help and sorry to bother you while you are busy. Best regards, Bill On 11/25/06, Craig Smith [EMAIL PROTECTED] wrote: As a follow up, I did a direct copy of the text from the wiki into a test file, I ran sh testfile and it ran fine. Assuming that the unison application and the qmail.prf file is in place, it should run fine. Try running the unison command manually and let me know what happens. /unison/unison -force / -batch qmail Did you skip anything in the process or run into problems during it? It may be something that centos doesn't like that fedora doesn't care about, but I can't say as I've never used centos. Try recopying, the script and let me know what happens. Craig _ From: Craig Smith [mailto:[EMAIL PROTECTED] Sent: 24 November 2006 16:15 To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] Problem in using Failover replication Setup Hi Ben, If you vi qmail-replicatec and do
RE: [qmailtoaster] Problem in using Failover replication Setup
Hi bill, Will try and find the rsync errors I saw when I was testing all of this. The part of the script you commented out controls the size of the logfile, but since 20Mb is rather large it takes time to run, so it can mange without it. Your script runs fine on my system. However I suspect the problem lies in the size variable. the ls listing in centos is probably different to fedora. Run the below command and see which field it is displaying. Is should be the size portion, but it may not be. Increment or decrese the 5 until you get the correct result, and edit your script accordingly. However you can manage without that if you want to manually rotate your logs. ls -l $LOG|cut -d ' ' -f 5 As for the rsync errors, the errors relating to MY.DOMAIN are normal if your mail is being deleted from the server as people check. It will be down to the script running after a file was there, and during the run was deleted. What happens if you run /unison/unison -force / -batch qmail and then run it again straight after it completes, are the errors identical or do they differ or go away? It may be that you need to reset the unison database. To do that on both servers do the following. cd /root/.unison. If you do ll you will see something similar to arb35cf206e53266f6ceb48d38f9f6c049. That is the database, if you delete or rename those on both servers and then run the command it will repopulate the data it is working with. Try that and let me know. P.S. If you do sort out the size variable on your system could you leave a comment on the wiki, or let me know the details so I can leave a note for other centos users. Also did you notice I took the backup server side script out of cron, as it isn't really necessary and should be run manually in the case of a switch over. However I would recommend, that you test your backup server on a regular basis to make sure it is working and you can logon. Run the qmail-replicateb script and then verify. I normally activate the backup server, and change my account to point to it, and make sure I can authenticate. I also do /home/vpopmail/bin/vuserinfo randomn users and confirm their details. Hope that helps. Let me know what unison says after a clearout. Craig From: Bill Kwok [mailto:[EMAIL PROTECTED] Sent: 27 November 2006 10:41 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Problem in using Failover replication Setup Craig, After commenting out 68-72 lines, the script no longer shows error message, but the same error still exists in unionlog.full file: Synchronization incomplete (9 items transferred, 0 skipped, 2 failures) failed: home/vpopmail/.spamassassin failed: home/vpopmail/domains/MY.DOMAIN.COM Deleting lock file Pls find the attached qmail-replicatec. Thanks. Best regards, Bill On 11/27/06, Craig Smith [EMAIL PROTECTED] wrote: Hi Bill, It's no problem, I hope I can help get it sorted and that it works as well for you as it does for me. Does the error you get still reflect the same line now that you've recopied the script? the unison run seems to be running. I see 2 failures and I can't remember at this point what they indicate, but I have seen them before. If the script error is still on the same line, can you comment out the section you pasted and let me know what it says then. So add # in front of each line from 61 to 65. It is probably something that centos expects that fedora doesn't. I've not worked with centos before. Jake or Eric, do you guys know if Centos handles shell script slightly differently? Also bill could you attach the script from your server, so I can run your exact script on my server and see what happens? Thanks Craig From: Bill Kwok [mailto:[EMAIL PROTECTED] Sent: 25 November 2006 07:07 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Problem in using Failover replication Setup Hi Craig, Thanks a lot for helping me fix this problem. I got the error again even though after I've copied the souce code from website again. Here's my lines 61-65 (or 68-73 in the new script): if [ $size -gt 2000 ];then echo this is bigger than 20MB, moving$LOG mv $LOG $LOGSAVE echo $LOG fi If I run the command '/unison/unison -force / -batch qmail', I got the following output: . . . local: unchanged file modified on 2006-11-23 at 12:28:56 size 1689 rw-r--r-- BACKUP.h... : changed file modified on 2006-11-24 at 19:06:23 size 1689 rw-r--r-- Propagating updates UNISON started propagating changes at 14:40:39
RE: [qmailtoaster] Problem in using Failover replication Setup
Hi Ben, If you vi qmail-replicatec and do :61 what do you get? It may just be something that copied from the site. In terms of setup, on the backup server you don't need to create anything, just have QMT installed and working. The replication script will replicate all folders, users, control files and mysql data to populate the backup folder. The fact that you are getting an error in the script means there is something wrong on line 61. On my line 61 there is an open line with nothing. I will copy the one from the wiki and run it to see what I get. As for the file, it fails during transfer which is why it is blank. Let me see what happens if I copy and paste directly from the wiki. Also I've just made a minor change to the qmail-replicatec file by adding a lock file process, as mine went a bit nuts last night. Also I've removed the qmail-replicateb from cron as this only really needs to be run if you switch to the backup. Sorry for the slow reply been mad busy. Regards Craig _ From: Bill Kwok [mailto:[EMAIL PROTECTED] Sent: 23 November 2006 09:30 To: qmailtoaster-list Subject: [qmailtoaster] Problem in using Failover replication Setup Hi all, I am trying to setup a setup for failover. Both machines are running CentOS 4.2. I've just installed qt to my backup server, but no domains and users were setup. I am having problem in synchronizing them. When I run the qmail-replicatec, I got the following error: [EMAIL PROTECTED] unison]# ./qmail-replicatec ./qmail-replicatec: line 61: [: root: integer expression expected In the unisonlog.full, some error message such as the following are logged: Failed: The file /home/vpopmail/.spamassassin/auto-whitelist has been modified during synchronization: transfer aborted 2% 04:06 ETAFailed [home/vpopmail/.spamassassin]: The file /home/vpopmail/.spamassassin/auto-whitelist has been modified during synchronization: transfer aborted Failed: The file /home/vpopmail/domains/my.domain.com/alison.lam/Maildir/maildirsize has been modified during synchronization: transfer aborted 2% 04:06 ETAFailed [home/vpopmail/domains]: The file /home/vpopmail/domains/my.domain.com/userA/Maildir/maildirsize has been modified during synchronization: transfer aborted UNISON finished propagating changes at 17:04:14 on 23 Nov 2006 Saving synchronizer state Synchronization incomplete (1 item transferred, 0 skipped, 2 failures) failed: home/vpopmail/.spamassassin failed: home/vpopmail/domains Then I found that there's no file copied to /home/vpopmail/domains. Am I in a wrong sequence of installation? Do I need to create all domains and users in backup server before synchronizating them? Thanks in advance. Best regards, Bill
RE: [qmailtoaster] slow pop3 logins
I was testing this again this morning, as it was some time ago that I did this, and it seems it's not just the -H it's a combination of the -l0 and -H. They do the following I believe. (based on tcpserver paramaters.) -H: Do not look up the remote host name in DNS; remove the environment variable $TCPREMOTEHOST. To avoid loops, you must use this option for servers on TCP port 53. l localname: Do not look up the local host name in DNS; use localname for the environment variable $TCPLOCALHOST. A common choice for localname is 0. To avoid loops, you must use this option for servers on TCP port 53. Taken from http://cr.yp.to/ucspi-tcp/tcpserver.html For us that sorted the problem straight away, but I guess if rdns is the problem and you use/need it as eric said this would be a short term fix. -Original Message- From: Eric Shubes [mailto:[EMAIL PROTECTED] Sent: 07 November 2006 00:57 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] slow pop3 logins That's certainly worth a shot, but I'd consider that a remedy instead of a fix. If adding the -H flag improves things, I would think then that reverse DNS is certainly the problem. I don't know enough about configuring (bind or djbdns) off hand to tell you how to fix it. Perhaps someone else here does. Do some digging, and I'm sure you can find a solution. Google is your friend. ;) slamp slamp wrote: did you try Craig Smith's solution for the same issue he was having? From: Craig Smith [EMAIL PROTECTED] To: qmailtoaster-list@qmailtoaster.com Reply-To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] Slow pop3 login Date: Mon, 6 Nov 2006 11:30:13 - X-Mailer: Microsoft Office Outlook 11 Is this problem still occuring? Sorry I've read most of the posts, and I see the dns related items may be at fault,however there may be another cause. I had this same problem when I first setup my box, it worked great, but pop3 authentication took just over 2 mins. It turns out it was a setting in the run file. I don't see any mention of checking the run file so I thought I would let you know just in case. original run is/was as follows. #!/bin/sh PASSPROG=/home/vpopmail/bin/vchkpw HOSTNAME=`hostname --fqdn` exec /usr/bin/softlimit -m 900 \ /usr/bin/tcpserver -v -R -c 200 0 110 \ /var/qmail/bin/qmail-popup $HOSTNAME \ $PASSPROG /var/qmail/bin/qmail-pop3d Maildir 21 I changed mine to #!/bin/sh PASSPROG=/home/vpopmail/bin/vchkpw HOSTNAME=hostname exec /usr/bin/softlimit -m 900 \ /usr/bin/tcpserver -l0 -H -v -R -c 200 0 110 \ /var/qmail/bin/qmail-popup $HOSTNAME \ $PASSPROG /var/qmail/bin/qmail-pop3d Maildir 21 I added the -l0 and the -H as I had read on several groups about the slow response. I believe the -H tells pop3 not to perform reverse dns or something similar. That was the general consensus for sorting out the slow response, and in my case it worked a charm. Try adding the -H to /var/qmail/supervise/pop3/run contents. As ever make a copy before editing. ;-) I hope that helps. On 11/6/06, Michael Amster [EMAIL PROTECTED] wrote: Like I asked other people, do you have reverse DNS working for that server? Looks like no: [EMAIL PROTECTED] ~]# dig ccws01.computerconcept.net ; DiG 9.3.2 ccws01.computerconcept.net ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 22742 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;ccws01.computerconcept.net.IN A ;; ANSWER SECTION: ccws01.computerconcept.net. 83199 INA 65.83.25.10 ;; Query time: 11 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Mon Nov 6 15:55:41 2006 ;; MSG SIZE rcvd: 60 [EMAIL PROTECTED] ~]# dig 65.83.25.10 ; DiG 9.3.2 65.83.25.10 ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 60193 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;65.83.25.10. IN A ;; ANSWER SECTION: 65.83.25.10.655360 IN A 65.83.25.10 ;; Query time: 0 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Mon Nov 6 15:55:53 2006 ;; MSG SIZE rcvd: 45 Jeremy Runner wrote: Eric Shubes wrote: [EMAIL PROTECTED] wrote: Can someone try to telnet in my qmailtoaster just to experience the slow login I am referring to. telnet ccws01.computerconcept.net 110 Make sure you grab a snack first. Thanks. [EMAIL PROTECTED] ~]$ time telnet ccws01.computerconcept.net 110 Trying 65.83.25.10... Connected to ccws01.computerconcept.net (65.83.25.10). Escape character is '^]'. +OK [EMAIL PROTECTED] quit +OK Connection closed by foreign host. real1m40.689s user0m0.016s sys 0m0.008s [EMAIL PROTECTED] ~]$ Note, I got Connected message right away, but it took well over a minute
RE: [qmailtoaster] Slow pop3 login
Is this problem still occuring? Sorry I've read most of the posts, and I see the dns related items may be at fault,however there may be another cause. I had this same problem when I first setup my box, it worked great, but pop3 authentication took just over 2 mins. It turns out it was a setting in the run file. I don't see any mention of checking the run file so I thought I would let you know just in case. original run is/was as follows. #!/bin/sh PASSPROG=/home/vpopmail/bin/vchkpw HOSTNAME=`hostname --fqdn` exec /usr/bin/softlimit -m 900 \ /usr/bin/tcpserver -v -R -c 200 0 110 \ /var/qmail/bin/qmail-popup $HOSTNAME \ $PASSPROG /var/qmail/bin/qmail-pop3d Maildir 21 I changed mine to #!/bin/sh PASSPROG=/home/vpopmail/bin/vchkpw HOSTNAME=hostname exec /usr/bin/softlimit -m 900 \ /usr/bin/tcpserver -l0 -H -v -R -c 200 0 110 \ /var/qmail/bin/qmail-popup $HOSTNAME \ $PASSPROG /var/qmail/bin/qmail-pop3d Maildir 21 I added the -l0 and the -H as I had read on several groups about the slow response. I believe the -H tells pop3 not to perform reverse dns or something similar. That was the general consensus for sorting out the slow response, and in my case it worked a charm. Try adding the -H to /var/qmail/supervise/pop3/run contents. As ever make a copy before editing. ;-) I hope that helps. -Original Message- From: David Sánchez Martín [mailto:[EMAIL PROTECTED] Sent: 06 November 2006 09:57 To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] Slow pop3 login BIND works in the hand of a skilled sysadmin. The config files are straight forward and not very complicated. A skilled sysadmin like you is not the common (i really mean it, NO sarcasm). But simple things, and doing one thing at a time and do it well is the motto of UNIX, and it works. Who runs a nic with unattended updates enabled? That's just bad practice on a production system. And no roll back procedure? Even worse . . . If they use tinydns they wouldn't have any update to do. Say, rollback procedure?, yes, it taked 2 hours. Is a whole country DNS server with several replicates. And CERT Security Warning are FUD too? Is a technical mistake, not administrative. I disagree. Automatic updates on something as important as a nic is just bad management. Updates should be tested before deployed. Tested with how many domains? 2 , 3, ten thousand, one million?, how many replicates? You are disagreeing with CERT Advisories too? :-P Maybe nic.es is stupid (and it is) but if you put another stone in her way... BIND is to DNS what sendmail is to mail. Sendmail is very neat. It supports a lot of features that are quickly becoming mandatory. We're not there yet. We still don't have srs support, which is required for proper spf to work. I don't say that sendmail is not neat, i said is the same example. Is the reference implementation. Is unsecure (do you remember infamous Morris Internet Worm ), fat and very ugly to maintain (yep, it is and it was). Yes, the features that sendmail implements are great, they have a lot of people working on it. Maybe qmail community must do something with getting a more modulable and extensible qmail. Qmail is a good base. Why do you use Qmail? Because I like the architecture, the community, the flow. I do dislike that the license has become an impediment. Keeping features up to date without the ability to ship modified binaries has seriously limited the number of people willing to work on the system. Yep, If DJB were a lil' more pragmatic will let binary modifications and distributions and if he didn't like other people's code under his projects, simply don't permit endorsement of names Qmail, or Tinydns or djb and that trademarks. But this is the only problem I see. (is not a big one, since you are using qmail, doesn't you?) Exim and postfix are good projects to look at, too. The fact that QmailToaster is where it is today is really a testament to the patience of Bill Shupp Nick Hemmesch. Yep, I agree. Thanks to all the community :-) - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] Qmailtoaster failover server procedure
Hi Eric, Sorry I was out of the office yesterday. I like the sounds of that. I will start doing that this afternoon as I get time. It will certainly make things easier to find. I will separate the tips into their own pages and then take it from there. I will let you know once I've done it, but it may take today and tomorrow, have a lot of catch up work to deal with. Craig -Original Message- From: Eric Shubes [mailto:[EMAIL PROTECTED] Sent: 30 October 2006 15:40 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Qmailtoaster failover server procedure Short answer: I don't know. I've only learned (and am still learning) the wiki stuff by playing with it. I imagine that you could add the outline for TT to the main page with '==' tags, and it'd get sucked into the TOC. I don't like that idea though because we'd end up with the same thing in 2 places. I abhor redundancy (high maintenance). There might be a 'slick' way to do it, I just don't know of one. Now that I think of it, how about making each Tip/Trick it's own wiki page. That way they can be linked to individually from from the main page, and be included in the TOC. I think that'd be good. Would you like to do it? Craig Smith wrote: Sorry Eric I forgot to ask, is there any way to include the TOC for tips and tricks on the main list. Sort of as a submenu. I'm sure that if people were looking for something, and saw it on the main page, or at least saw what they could expect to find under a main topic they would more likely find it. It will make it easier to browse and quicker to find what you are looking for. Just a thought. Thanks -Original Message- From: Craig Smith [mailto:[EMAIL PROTECTED] Sent: 30 October 2006 09:44 To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] Qmailtoaster failover server procedure Hi Eric, No problem moving it. I wasn't sure about where to put it so started at the beginning. :-) -Original Message- From: Eric Shubes [mailto:[EMAIL PROTECTED] Sent: 27 October 2006 19:54 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Qmailtoaster failover server procedure Great stuff, Craig. I might be trying this out in the not too distant future. BTW, I moved this link from the main page to the Tips and Tricks page. Not that this isn't a major contribution, just that it seems to fit better there. Hope you're ok with that. Thanks a bunch! Craig Smith wrote: Hello all, Just a quick one to let everyone know, that I've posted up a procedure with scripts that will allow you to configure a backup qmt server that will always be 1 min behind your primary server. Some of you may already have something in place but for those that don't, this is relatively straight forward and on my 2 fc 5 boxes it works without any issues at all. Any change made on the main server including incoming mail replicates to the backup server. When mail is collected and then removed from the primary, that same change replicates to the backup. The nice thing with this, is that you don't need to worry about it, you always have an up to date backup of qmail on hand. Should your primary ever fail, you simply switch ip on the backup so that it assumes the role of primary. The backup then becomes your primary server, and once the primary is sorted and rebuilt it then resumes as your backup, by simply switching the scripts around. This is my first realy foray into scripting so please have some patience with any mistakes. There are no doubt a number of ways this can be done, but I found this to be quite simple especially with the scripts in place. Please let me know what you think, or if anything is unclear so I can edit it accordingly. I hope this is of some help to some people. It is under option 5 on the main page of the wiki or directly as below. http://wiki.qmailtoaster.com/index.php/QMT_Failover_replication_Setup Regards, Craig --- Craig Smith - Systems Engineer - Doctor Net t. 0870 770 4990 - f. 0870 770 4991 -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] Qmailtoaster failover server procedure
I have made the changes to the tips and tricks. Now each trick is directly availble from the main page as a subsection of the tips and trick section. -Original Message- From: Craig Smith [mailto:[EMAIL PROTECTED] Sent: 01 November 2006 11:07 To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] Qmailtoaster failover server procedure Hi Eric, Sorry I was out of the office yesterday. I like the sounds of that. I will start doing that this afternoon as I get time. It will certainly make things easier to find. I will separate the tips into their own pages and then take it from there. I will let you know once I've done it, but it may take today and tomorrow, have a lot of catch up work to deal with. Craig -Original Message- From: Eric Shubes [mailto:[EMAIL PROTECTED] Sent: 30 October 2006 15:40 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Qmailtoaster failover server procedure Short answer: I don't know. I've only learned (and am still learning) the wiki stuff by playing with it. I imagine that you could add the outline for TT to the main page with '==' tags, and it'd get sucked into the TOC. I don't like that idea though because we'd end up with the same thing in 2 places. I abhor redundancy (high maintenance). There might be a 'slick' way to do it, I just don't know of one. Now that I think of it, how about making each Tip/Trick it's own wiki page. That way they can be linked to individually from from the main page, and be included in the TOC. I think that'd be good. Would you like to do it? Craig Smith wrote: Sorry Eric I forgot to ask, is there any way to include the TOC for tips and tricks on the main list. Sort of as a submenu. I'm sure that if people were looking for something, and saw it on the main page, or at least saw what they could expect to find under a main topic they would more likely find it. It will make it easier to browse and quicker to find what you are looking for. Just a thought. Thanks -Original Message- From: Craig Smith [mailto:[EMAIL PROTECTED] Sent: 30 October 2006 09:44 To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] Qmailtoaster failover server procedure Hi Eric, No problem moving it. I wasn't sure about where to put it so started at the beginning. :-) -Original Message- From: Eric Shubes [mailto:[EMAIL PROTECTED] Sent: 27 October 2006 19:54 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Qmailtoaster failover server procedure Great stuff, Craig. I might be trying this out in the not too distant future. BTW, I moved this link from the main page to the Tips and Tricks page. Not that this isn't a major contribution, just that it seems to fit better there. Hope you're ok with that. Thanks a bunch! Craig Smith wrote: Hello all, Just a quick one to let everyone know, that I've posted up a procedure with scripts that will allow you to configure a backup qmt server that will always be 1 min behind your primary server. Some of you may already have something in place but for those that don't, this is relatively straight forward and on my 2 fc 5 boxes it works without any issues at all. Any change made on the main server including incoming mail replicates to the backup server. When mail is collected and then removed from the primary, that same change replicates to the backup. The nice thing with this, is that you don't need to worry about it, you always have an up to date backup of qmail on hand. Should your primary ever fail, you simply switch ip on the backup so that it assumes the role of primary. The backup then becomes your primary server, and once the primary is sorted and rebuilt it then resumes as your backup, by simply switching the scripts around. This is my first realy foray into scripting so please have some patience with any mistakes. There are no doubt a number of ways this can be done, but I found this to be quite simple especially with the scripts in place. Please let me know what you think, or if anything is unclear so I can edit it accordingly. I hope this is of some help to some people. It is under option 5 on the main page of the wiki or directly as below. http://wiki.qmailtoaster.com/index.php/QMT_Failover_replication_Setup Regards, Craig --- Craig Smith - Systems Engineer - Doctor Net t. 0870 770 4990 - f. 0870 770 4991 -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org
RE: [qmailtoaster] Qmailtoaster failover server procedure
Hi Eric, No problem moving it. I wasn't sure about where to put it so started at the beginning. :-) -Original Message- From: Eric Shubes [mailto:[EMAIL PROTECTED] Sent: 27 October 2006 19:54 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Qmailtoaster failover server procedure Great stuff, Craig. I might be trying this out in the not too distant future. BTW, I moved this link from the main page to the Tips and Tricks page. Not that this isn't a major contribution, just that it seems to fit better there. Hope you're ok with that. Thanks a bunch! Craig Smith wrote: Hello all, Just a quick one to let everyone know, that I've posted up a procedure with scripts that will allow you to configure a backup qmt server that will always be 1 min behind your primary server. Some of you may already have something in place but for those that don't, this is relatively straight forward and on my 2 fc 5 boxes it works without any issues at all. Any change made on the main server including incoming mail replicates to the backup server. When mail is collected and then removed from the primary, that same change replicates to the backup. The nice thing with this, is that you don't need to worry about it, you always have an up to date backup of qmail on hand. Should your primary ever fail, you simply switch ip on the backup so that it assumes the role of primary. The backup then becomes your primary server, and once the primary is sorted and rebuilt it then resumes as your backup, by simply switching the scripts around. This is my first realy foray into scripting so please have some patience with any mistakes. There are no doubt a number of ways this can be done, but I found this to be quite simple especially with the scripts in place. Please let me know what you think, or if anything is unclear so I can edit it accordingly. I hope this is of some help to some people. It is under option 5 on the main page of the wiki or directly as below. http://wiki.qmailtoaster.com/index.php/QMT_Failover_replication_Setup Regards, Craig --- Craig Smith - Systems Engineer - Doctor Net t. 0870 770 4990 - f. 0870 770 4991 -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] Periods in the E-Mail Address
Whoops, that's right. That was also where I had the problem, sorry my bad. It was a few months ago. It was getting qmail to read the .qmail file. Ignore me please it's early in the morning. :-) Thanks for pointing that out David. -Original Message- From: David Sánchez Martín [mailto:[EMAIL PROTECTED] Sent: 26 October 2006 09:15 To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] Periods in the E-Mail Address Craig I was able to put a dot on username both from qmailadmin and CLI The only time i needed to use : was with .qmail aliases, for example The file /home/vpopmail/domains/mydomain.com/.qmail-firstname:lastname Makes an alias for [EMAIL PROTECTED] -Mensaje original- De: Craig Smith [mailto:[EMAIL PROTECTED] Enviado el: jueves, 26 de octubre de 2006 10:02 Para: qmailtoaster-list@qmailtoaster.com Asunto: RE: [qmailtoaster] Periods in the E-Mail Address Are you doing this via the command line? If so then you need to substitute : for . I ran into this issue when I first setup my toaster as well. I was doing /home/vpopmail/bin/vadduser [EMAIL PROTECTED] and it was failing. If you do /home/vpopmail/bin/vadduser firstname:[EMAIL PROTECTED] it qmail picks this up as a . If you are doing it via qmailadmin then I'm not sure as I don't really use it. -Original Message- From: Dairenn Lombard [mailto:[EMAIL PROTECTED] Sent: 25 October 2006 21:16 To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] Periods in the E-Mail Address I have a customer who likes to do stuff like [EMAIL PROTECTED] and our server using the most recent version of the toaster, that no longer works. You can add a forward like that, but adding an actual e-mail account with a period throws the error: Email Account [EMAIL PROTECTED] (Guy Smiley) could not be added We couldn't find any logs that would explain why it couldn't be added, and this is the same version of qmailadmin as the one on our older server, so, we're not clear on exactly what has gone wrong. A search of the archives has not yielded any results related to this issue, and, there's nothing in google about this problem as it relates to qmailadmin either. Thoughts? Thanks in advance. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] [Fwd: RE: [simscan] Thoughts on improving performance]
How much better than spamassassin is dspam? At this point I'm quite satisfied with my qmt with spamassassin as it is very effective for all our clients, but I'm always looking to improve on the system. If Dspam is an improvement it may be worth a concerted effort to get it working effectively on a qmt setup. Preferably on an already working qmt setup. I.E. The procedure needed to replace spamassassin with it. Hopefully something simple like working out the install procedure to integrate into qmail/vpop. Once that is sorted, on the working system rpm -e spamassassin, and then integrate dspam. Somehow though I doubt it would be that easy. Would it be possible to get simscan to call it? I think if those interested do some research (which I will do) we may be able to point the ones with more knowledge in the right direction. Biggest question though, is it really worth doing? Is Dspam really better than SA? It sounds like it from their FAQ. http://dspam.nuclearelephant.com/faq.shtml -Original Message- From: Jake Vickers [mailto:[EMAIL PROTECTED] Sent: 25 October 2006 23:34 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] [Fwd: RE: [simscan] Thoughts on improving performance] Kyle Quillen wrote: I would like to see this become a reality. From what I read DSPAM works pretty well. Thanks q There's a post back in the archives somewhere about DSPAM. I know there's a couple people who were on the list (may no longer be) that had it working. The link posted earlier may have been the write-up the person did about it. Here's a couple other links I got from a quick search of my email folder: http://www.griffous.net/qmail-vpopmail-dspam.html http://dspamwiki.expass.de/Installation/ http://forum.qmailrocks.org/showthread.php?t=3426highlight=dspam (QMail Rocks posting) http://weblog.massivegeek.com/modules.php?name=Newsfile=articlesid=59 (from a guy that has it working with QMT) Look at March-April archives of this year, as well as August of this year. Nolan was going to write up a how-to in the wiki, but I don't know if he ever got around to it. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[qmailtoaster] Qmailtoaster failover server procedure
Hello all, Just a quick one to let everyone know, that I've posted up a procedure with scripts that will allow you to configure a backup qmt server that will always be 1 min behind your primary server. Some of you may already have something in place but for those that don't, this is relatively straight forward and on my 2 fc 5 boxes it works without any issues at all. Any change made on the main server including incoming mail replicates to the backup server. When mail is collected and then removed from the primary, that same change replicates to the backup. The nice thing with this, is that you don't need to worry about it, you always have an up to date backup of qmail on hand. Should your primary ever fail, you simply switch ip on the backup so that it assumes the role of primary. The backup then becomes your primary server, and once the primary is sorted and rebuilt it then resumes as your backup, by simply switching the scripts around. This is my first realy foray into scripting so please have some patience with any mistakes. There are no doubt a number of ways this can be done, but I found this to be quite simple especially with the scripts in place. Please let me know what you think, or if anything is unclear so I can edit it accordingly. I hope this is of some help to some people. It is under option 5 on the main page of the wiki or directly as below. http://wiki.qmailtoaster.com/index.php/QMT_Failover_replication_Setup Regards, Craig --- Craig Smith - Systems Engineer - Doctor Net t. 0870 770 4990 - f. 0870 770 4991 Visit www.doc-net.com - let us be your key to success Visit www.eMailCampaigner.com - close sales cheaper and faster Visit www.SprintCRM.com - understand your customers better and increase sales --- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you received this in error, please contact the sender and delete the material. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] 571 sorry, sender address has invalid format
I thought I might have to. Didn't really want to go that route, I was hoping it was a simple edit badmailfrom or something similar. :-) I take it I will need to rpm -e the current toaster first? Thanks for that. -Original Message- From: Eric Shubes [mailto:[EMAIL PROTECTED] Sent: 24 October 2006 19:38 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] 571 sorry, sender address has invalid format I don't know for sure, but I think you're correct that / is the problem. You'll need to modify the chkuser_settings.h file and rebuild/install the qmail-toaster package to allow the / in the sender's name. See http://wiki.qmailtoaster.com/index.php/Chkuser for directions. You'll need to change /* #define CHKUSER_ALLOW_SENDER_CHAR_2 '%' */ to #define CHKUSER_ALLOW_SENDER_CHAR_2 '/' Craig Smith wrote: Hello all, Have a strange problem. We have a client, and one user in particular is getting the above error when mailing us. He has 2 accounts on his machine, and the 2nd one sends without any problems. I can send mail to his account but when he replies or sends new to us, he gets the above error. I can't see anything wrong is the initial format. I suspect it has something to do with the SRS0=/VV3=EF=(Clients domain here)[EMAIL PROTECTED]:: line from the log. The fist entry is the same domain and it works fine. I'm assuming / is the problem but I'm not sure. If it is how do I stop it? @4000453dd79a3aae164c simscan:[9083]:CLEAN (0.00/100.00):2.0336s:test:212.227.126.183:SRS0=D+xI=EF=(clients domain here)[EMAIL PROTECTED]:[EMAIL PROTECTED] @4000453dd81b36e71784 CHKUSER rejected sender: from SRS0=/VV3=EF=(Clients domain here)[EMAIL PROTECTED]:: remote moutng.kundenserver.de:unknown:212.227.126.187 rcpt : invalid sender address format @4000453dd9b40bdaeb74 CHKUSER relaying rcpt: from [EMAIL PROTECTED]:: remote craig:unknown:xxx.xxx.xxx.xxx rcpt correct client email address : client allowed to relay Not sure where to look on this. I've told him it appears the problem is on his end, but it would be nice to know why qmail has an issue with this. Incidently he can send to hotmail/yahoo from this account without any problems. Thanks Craig --- Craig Smith - Systems Engineer - Doctor Net t. 0870 770 4990 - f. 0870 770 4991 -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] 571 sorry, sender address has invalid format
ignore my last, sorry replied before checking the link. Quite easy and quick actually. Mail was down for a few minutes. Had to redo the pop3 run file adding the -l0 and -H, but other than that quick and easy. Thanks eric. -Original Message- From: Craig Smith [mailto:[EMAIL PROTECTED] Sent: 25 October 2006 09:21 To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] 571 sorry, sender address has invalid format I thought I might have to. Didn't really want to go that route, I was hoping it was a simple edit badmailfrom or something similar. :-) I take it I will need to rpm -e the current toaster first? Thanks for that. -Original Message- From: Eric Shubes [mailto:[EMAIL PROTECTED] Sent: 24 October 2006 19:38 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] 571 sorry, sender address has invalid format I don't know for sure, but I think you're correct that / is the problem. You'll need to modify the chkuser_settings.h file and rebuild/install the qmail-toaster package to allow the / in the sender's name. See http://wiki.qmailtoaster.com/index.php/Chkuser for directions. You'll need to change /* #define CHKUSER_ALLOW_SENDER_CHAR_2 '%' */ to #define CHKUSER_ALLOW_SENDER_CHAR_2 '/' Craig Smith wrote: Hello all, Have a strange problem. We have a client, and one user in particular is getting the above error when mailing us. He has 2 accounts on his machine, and the 2nd one sends without any problems. I can send mail to his account but when he replies or sends new to us, he gets the above error. I can't see anything wrong is the initial format. I suspect it has something to do with the SRS0=/VV3=EF=(Clients domain here)[EMAIL PROTECTED]:: line from the log. The fist entry is the same domain and it works fine. I'm assuming / is the problem but I'm not sure. If it is how do I stop it? @4000453dd79a3aae164c simscan:[9083]:CLEAN (0.00/100.00):2.0336s:test:212.227.126.183:SRS0=D+xI=EF=(clients domain here)[EMAIL PROTECTED]:[EMAIL PROTECTED] @4000453dd81b36e71784 CHKUSER rejected sender: from SRS0=/VV3=EF=(Clients domain here)[EMAIL PROTECTED]:: remote moutng.kundenserver.de:unknown:212.227.126.187 rcpt : invalid sender address format @4000453dd9b40bdaeb74 CHKUSER relaying rcpt: from [EMAIL PROTECTED]:: remote craig:unknown:xxx.xxx.xxx.xxx rcpt correct client email address : client allowed to relay Not sure where to look on this. I've told him it appears the problem is on his end, but it would be nice to know why qmail has an issue with this. Incidently he can send to hotmail/yahoo from this account without any problems. Thanks Craig --- Craig Smith - Systems Engineer - Doctor Net t. 0870 770 4990 - f. 0870 770 4991 -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[qmailtoaster] 571 sorry, sender address has invalid format
Hello all, Have a strange problem. We have a client, and one user in particular is getting the above error when mailing us. He has 2 accounts on his machine, and the 2nd one sends without any problems. I can send mail to his account but when he replies or sends new to us, he gets the above error. I can't see anything wrong is the initial format. I suspect it has something to do with the SRS0=/VV3=EF=(Clients domain here)[EMAIL PROTECTED]:: line from the log. The fist entry is the same domain and it works fine. I'm assuming / is the problem but I'm not sure. If it is how do I stop it? @4000453dd79a3aae164c simscan:[9083]:CLEAN (0.00/100.00):2.0336s:test:212.227.126.183:SRS0=D+xI=EF=(clients domain here)[EMAIL PROTECTED]:[EMAIL PROTECTED] @4000453dd81b36e71784 CHKUSER rejected sender: from SRS0=/VV3=EF=(Clients domain here)[EMAIL PROTECTED]:: remote moutng.kundenserver.de:unknown:212.227.126.187 rcpt : invalid sender address format @4000453dd9b40bdaeb74 CHKUSER relaying rcpt: from [EMAIL PROTECTED]:: remote craig:unknown:xxx.xxx.xxx.xxx rcpt correct client email address : client allowed to relay Not sure where to look on this. I've told him it appears the problem is on his end, but it would be nice to know why qmail has an issue with this. Incidently he can send to hotmail/yahoo from this account without any problems. Thanks Craig --- Craig Smith - Systems Engineer - Doctor Net t. 0870 770 4990 - f. 0870 770 4991 Visit www.doc-net.com - let us be your key to success Visit www.eMailCampaigner.com - close sales cheaper and faster Visit www.SprintCRM.com - understand your customers better and increase sales --- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you received this in error, please contact the sender and delete the material. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] Off Topic: Recover / on Fedora Core 3
I had a similar problem a while back after a crash. I booted up in recovery mode using the FC5 install disc, manually mounted the drive in question and found that most of my /etc folder was gone. the whole /etc/init.d folder was gone too, which prevented proper startup and mounting. Fortunately I keep a copy of the whole /etc in my home folder, I copied it back in and after reboot it was fine. This was on an FC5 box. I'm not sure how the boot disk differs between 3 and 5, but if it has recover option, then go in that way and manually mount the drive to see what is happening. If the boot disc differs, you can plug the drive into another linux box, and mount it from there. It sounds similar to what I had, but unless you check the folder structure to see -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 19 October 2006 13:04 To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] Off Topic: Recover / on Fedora Core 3 Hello, Got a problem while boot my linux fedora pc. Power failure, mainboard has defect condensators etc Disk ok, boots up but fail to mount ext3 / partition. Tried explore3fs aswell but it says the partition has size problem or so.. Kernel panic: No init found. Try passing init= option to kernel Thanks for any input on howto resolve, atleast recover some of the data. B/R Ole J - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] Off Topic: Recover / on Fedora Core 3
You can't mount it directly on an existing system as those partitions are already in use. Mount it under temp or mnt. mount /dev/hda1 /tmp where hda1 is the drive from the corrupt pc and /tmp is the folder to mount to. Then you will be working in the /tmp folder and not / but you should be able to browse the disc accordingly. Pretty sure that will work. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 19 October 2006 13:25 To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] Off Topic: Recover / on Fedora Core 3 Thanks for the reply. I tried to mount the disk in another linux distro, but i got the error that the allready was existing a mount called /boot, / ... Ole I had a similar problem a while back after a crash. I booted up in recovery mode using the FC5 install disc, manually mounted the drive in question and found that most of my /etc folder was gone. the whole /etc/init.d folder was gone too, which prevented proper startup and mounting. Fortunately I keep a copy of the whole /etc in my home folder, I copied it back in and after reboot it was fine. This was on an FC5 box. I'm not sure how the boot disk differs between 3 and 5, but if it has recover option, then go in that way and manually mount the drive to see what is happening. If the boot disc differs, you can plug the drive into another linux box, and mount it from there. It sounds similar to what I had, but unless you check the folder structure to see -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 19 October 2006 13:04 To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] Off Topic: Recover / on Fedora Core 3 Hello, Got a problem while boot my linux fedora pc. Power failure, mainboard has defect condensators etc Disk ok, boots up but fail to mount ext3 / partition. Tried explore3fs aswell but it says the partition has size problem or so.. Kernel panic: No init found. Try passing init= option to kernel Thanks for any input on howto resolve, atleast recover some of the data. B/R Ole J - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] MYSQL help
Hello all, Thanks Quinn, your method is essentially what I am currenlty doing, except I'm not using ssh, as the transfers all take place on the local lan and are not visible to the public, so security is not a problem. So the general consensus is that in terms of qmail the dump is the preferred method? Given that's what I know I don't mind. Thanks for the responses, Erik I will read through that link so at least I know what is involved. The backup server will only import the vpopmail database when data has changed using my current script, and it seems to work quite well. Are there any concerns running a dump on the primary server every few minutes? thanks again. Craig -Original Message- From: Quinn Comendant [mailto:[EMAIL PROTECTED] Sent: 09 October 2006 17:47 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] MYSQL help Hi Craig I've tried setting up replication before but was frightened by its complexity. I might suggest just using mysqldump. The vpopmail table should not be updated that frequently (only when accounts are added/edited/deleted), is probably not too large (how many users?), and your second server is not live. So copying the vpopmail table every ten minutes or so should be fine. You can run a command to pull the data across from the second server over a ssh tunnel: ssh -C [EMAIL PROTECTED] mysqldump --databases -u USERNAME -pPASSWORD vpopmail | mysql -u -pPASSWORD; Quinn On Mon, 9 Oct 2006 15:33:41 +0100, Craig Smith wrote: How do I go about configuring mysql to specifically replicate the vpopmail database to my backup server so that the backup server always has an up to date copy of the mysql database? I can manage without that, but I think it would be more efficient method. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[qmailtoaster] MYSQL help
Hi there, I'm currently working on a setup and scripts that will give our company a failover server that we can immediately switch to in the event of failure without clients ever knowing it was off. I am planning of putting this in the wiki if people are interested. As part of my solution I am using a mysqldump and import, but I've heard that mysql can replicate the database live. How do I go about configuring mysql to specifically replicate the vpopmail database to my backup server so that the backup server always has an up to date copy of the mysql database? I can manage without that, but I think it would be more efficient method. Either way though, with the procedure I'm finalising, should our server A go down server B will take over it's role with minimal amount of input. Or with the right script automatically. Server B will be up to date in terms of A up to the last minute before failure. This includes uncollected mail etc. Accounts only have to be created on the main server, the changes will replicate to the backup server every minute. (or x time frame as scheduled) So I guess this post is two fold, are people interested in a method for the above, or are there already loads of solutions out there, and how does one configure mysql for replication. Bearing in mind my SQL knowledge is nil. I've only just started getting to grips with scripting so that's a later project. :-) Thanks in advance. Craig --- Craig Smith - Systems Engineer - Doctor Net t. 0870 770 4990 - f. 0870 770 4991 Visit www.doc-net.com - let us be your key to success Visit www.eMailCampaigner.com - close sales cheaper and faster Visit www.SprintCRM.com - understand your customers better and increase sales --- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you received this in error, please contact the sender and delete the material. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] How to unblock mp3s/ppt files?
Simscan controls this in toaster I believe. edit /var/qmail/control/simcontrol and adjust the attach=, remove mp3 from the list. Then run /var/qmail/bin/simscanmk and do qmailctl restart. That will remove the restriction, but it will be for everyone. I'm not sure if or how you can do it on a per domain basis. *edit* I just read the vintage option, not sure if the above applies to that package , but sending anyway just in case. -Original Message- From: Harry Zink [mailto:[EMAIL PROTECTED] Sent: 04 October 2006 09:41 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] How to unblock mp3s/ppt files? I'm having some issues where a client of mine is unable to send an enclosure that's a ppt file. In the older version of qmailtoaster (2004 vintage) what's the location to remove this restriction - and is it possible to do so on a domain basis (i.e. only have that client changed)? Harry On Aug 17, 2006, at 5:44 AM, Jake Vickers wrote: Warren (mailing lists) wrote: Hey all, I'm a bit behind in what is being used to block which file types. I need to allow out advertising agency to send us mp3 copies of our radio ads. How do I unblock mp3s? In /var/qmail/control/simcontrol Just remove the entry for MP3's, and then run 'qmailctl cdb' to make the change. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: qmailtoaster-list- [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[qmailtoaster] Sending problem after update
Hi Guys, I'm not sure what's going on with this server, but I've done an update (which has worked fine on other servers) and all seemed fine until I tried to send an email. I got an error in outlook and when I checked the logs the send log has the following error deferral: Unable_to_chdir_to_maildir._(#4.2.1)/ @4000451d11011e430c24 status: local 0/10 remote 0/60 I'm note sure what to do with this, permissions look ok, but I could be wrong. I need help urgently on this. Thanks in advance --- Craig Smith - Systems Engineer - Doctor Net t. 0870 770 4990 - f. 0870 770 4991 Visit www.doc-net.com - let us be your key to success Visit www.eMailCampaigner.com - close sales cheaper and faster Visit www.SprintCRM.com - understand your customers better and increase sales --- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you received this in error, please contact the sender and delete the material. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] Sending problem after update
vpopmail-toaster squirrelmail-toaster spamassassin-toaster qmail-toaster clamav-toaster zlib was what was updated, I then also installed ezmlm and dependancies. I've done this on our other box a few times without error, so not sure what went wrong. We've switched everyone to the backup server now, as this one has crashed during a reboot, I'm still waiting for them to reset it for me. I will just do a fresh install and then restore my qmail when it comes back on. I did a backup before the updates so that should sort whever is missing. The uid/gid is right, it was an update from fairly recent toaster. Those are the same permissions I had. Oh well. Luckily our backup server is working fine, so no major impact. Good fun for a Friday afternoon. -Original Message- From: South Computers [mailto:[EMAIL PROTECTED] Sent: 29 September 2006 14:05 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Sending problem after update What did you update? The whole toaster, or? Permissions should be: drwx-- 10 vpopmail vchkpw 4096 Sep 13 21:11 Maildir Also maybe check the UID/GID's on the directory, if you upgraded from a really old version of toaster, the uid's and gid's may have changed? On my servers: drwx-- 5 89 89 4096 Aug 21 08:02 Maildir Craig Smith wrote: Hi Guys, I'm not sure what's going on with this server, but I've done an update (which has worked fine on other servers) and all seemed fine until I tried to send an email. I got an error in outlook and when I checked the logs the send log has the following error deferral: Unable_to_chdir_to_maildir._(#4.2.1)/ @4000451d11011e430c24 status: local 0/10 remote 0/60 I'm note sure what to do with this, permissions look ok, but I could be wrong. I need help urgently on this. Thanks in advance --- Craig Smith - Systems Engineer - Doctor Net t. 0870 770 4990 - f. 0870 770 4991 Visit www.doc-net.com - let us be your key to success Visit www.eMailCampaigner.com - close sales cheaper and faster Visit www.SprintCRM.com - understand your customers better and increase sales --- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you received this in error, please contact the sender and delete the material. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] Setting up a mailing list
Check your /var/log/qmail/send/current and /var/log/qmail/smtp/current logs for any errors with delivery. As long as the server is visable as an MX host I don't think the lack of FQDN will affect it, but I can't say for certain on that. I had a similar problem, but it had to do with the server holding backup accounts, and of course delivering locally to itself. Check the logs for errors with the sending, that should give more clues. -Original Message- From: Al Adcock [mailto:[EMAIL PROTECTED] Sent: 29 September 2006 14:31 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Setting up a mailing list -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Craig Smith wrote: what happens when you send commands. Does the help list work? [EMAIL PROTECTED] Does the subscribe work? [EMAIL PROTECTED] Neither of these has any effect - no mail is received by the test user. SMTP log looks the same - I get the found existing recipient line in the log. Try echo subject:testing | /var/qmail/bin/qmail-inject [EMAIL PROTECTED] To make certain the server can send mail to the users in question. This is a general mail test and not ezmlm to confirm the server can reach them. It probably can, but worth eliminating as a source of possible failure. This one doesn't work either, and I *really* don't understand now. I'm using the toaster as an SMTP server on my network, and it has no problems accepting and delivering mail - I thought for certain this would work. I'm using the toaster as a maildrop, by the way - it has no FQDN. Could this be part of the issue? Thanks again for the assistance. -Original Message- From: Al Adcock [mailto:[EMAIL PROTECTED] Sent: 28 September 2006 17:37 To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] Setting up a mailing list Having some issues setting up a mailing list on the toaster. I've created a test mailing list from the QmailAdmin panel, called test. If I then send a mail to [EMAIL PROTECTED], the mail goes through, and the SMTP log shows: [EMAIL PROTECTED] smtp]# cat current | grep [EMAIL PROTECTED] @4000451bc3fe0fece58c CHKUSER accepted rcpt: from [EMAIL PROTECTED] remote [xxx.xxx.xxx.xxx] rcpt [EMAIL PROTECTED] : found existing recipient However, the mail is not being forwarded along to the users. I'm guessing I've done something stupid/overlooked something, but I sure can't figure out what. By the way, this is otherwise an operational toaster install. Thanks for any assistance! - - QmailToaster hosted by: VR Hosted http://www.vr.org - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - QmailToaster hosted by: VR Hosted http://www.vr.org - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - -- Al Adcock Information Technologies Manager \~/ Webmaster BC Technologies 440 West 11th Street Panama City, FL 32401 p: 850-249- f: 850-249-2226 c: 850-625-5842 http://www.bandctech.com ICQ: 179154 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFHSALin+bkGJNSOMRAqmXAKCQrcWJRXNaEmZAFdNIoiy5wlWsAQCgl/Lj PX4ra5XWg1GoNVlJiMTFq8c= =Tr53 -END PGP SIGNATURE- - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] Problem with SMTP, not working
You are quite welcome, as to compatibility unfortunately I can't give you an answer as I don't know. I'm sure Jake or Eric will be able to tell you this one. I don't imagine there will be a problem as CentOS was the platform used in the main installation notes, but I can't say for certain. -Original Message- From: TV SIVARAMAN [mailto:[EMAIL PROTECTED] Sent: 28 September 2006 06:06 To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] Problem with SMTP, not working Craig, thanks again. Is there any compatibility problem of ucspi-toaster with CentOS 4.3 x86_64 version of gcc? There was some comment on it sometime back. Please see the following the Note from http://www.shupp.org/toaster/#ucspi-tcp cd /var/src/ tar -xzf tar/ucspi-tcp-0.88.tar.gz cd ucspi-tcp-0.88 patch -p1 /var/src/netqmail-1.05/other-patches/ucspi-tcp-0.88.errno.patch # NOTE: If you are on the x86_64 platform, you need to remove the # -02 argument to gcc in conf-cc. See this for details make make setup check I am pointing this out because we had problem with tcp server sometime back, pop3, smtp, imap stoped working after about a month of running qmail. We had re-install uscpi. Sivaraman. --- Craig Smith [EMAIL PROTECTED] wrote: Hi Again As a follow up rblsmtpd is a part of the ucspi-tcp http://www.flounder.net/qmail/qmail-howto.html#12. Hope that helps as well. Craig -Original Message- From: TV SIVARAMAN [mailto:[EMAIL PROTECTED] Sent: 26 September 2006 15:49 To: qmailtoaster toaster Subject: [qmailtoaster] Problem with SMTP, not working Hi: I am having problem with SMTP. I get the following message in the SMTP log: @400045193e73107e63a4 rblsmtpd: fatal: unable to run #: file does not exist @400045193e7310819bdc tcpserver: end 16108 status 28416 @400045193e731081e22c tcpserver: status: 0/500500500500500 I am running qmailtoaster on a quad xeon x86_64 processor. All the available packages at the qmailtoaster.com site has been implemented. Sivaraman. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] Openssl and fdr40-install-script.sh
Hi Alan I've had a similar error using the fdr50 script, and it was (in my case) to do with the script not having the --with option in the rpmbuild statement. Below is the piece of the fdr40 script for your particular problem. Can you try runnin the below manually, replace the variables with the actual details rpmbuild --rebuild --with fdr40 qmail-toaster-1.03-1.3.5.src.rpm Do this in the same folder as the src file do the same for the remaining 2 commands. It may be worth running it from the folder. Cd to /usr/src/redhat/RPMS/i386 and confirm that the qmail rpm's are actually there. Then just run the commands as bellow without the path. rpm -Uvh /usr/src/redhat/RPMS/i386/qmail-toaster*.rpm rpm -Uvh /usr/src/redhat/RPMS/i386/qmail-pop3d*.rpm Do you still get the same error? Craig -Original Message- From: Alan Boyd [mailto:[EMAIL PROTECTED] Sent: 27 September 2006 10:44 To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] Openssl and fdr40-install-script.sh Hi, I seem to be having a problem running fdr40-install-script.sh, particularly at the qmail-toaster-1.03-1.3.5.src.rpm part of the installation Installing qmail-toaster-1.03-1.3.5.src.rpm Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.90167 + umask 022 + cd /usr/src/redhat/BUILD + LANG=C + export LANG + unset DISPLAY + cd /usr/src/redhat/BUILD + rm -rf qmail-1.03 + tar -xf - + /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/qmail-1.03.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd qmail-1.03 ++ /usr/bin/id -u + '[' 0 = 0 ']' + /bin/chown -Rhf root . ++ /usr/bin/id -u + '[' 0 = 0 ']' + /bin/chgrp -Rhf root . + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (qmailtoaster-1.3.1.patch.bz2):' Patch #0 (qmailtoaster-1.3.1.patch.bz2): + /usr/bin/bzip2 -d + patch -p0 -s + STATUS=0 + '[' 0 -ne 0 ']' + echo 'Patch #1 (qmail-chkuser.patch.bz2):' Patch #1 (qmail-chkuser.patch.bz2): + /usr/bin/bzip2 -d + patch -p1 -s + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/perl -pi -e 's|\#define AUTHCRAM||g' qmail-smtpd.c + /usr/bin/perl -pi -e 's|LDK_PATH|/usr/lib/libdomainkeys.a|g' Makefile + '[' -f /var/tmp/qmail-1.03-gcc ']' + echo gcc + '[' -f /var/tmp/qmail-1.03-show_flags ']' + cat + chmod u+x /var/tmp/qmail-1.03-show_flags + /var/tmp/qmail-1.03-show_flags RPM RELEASE: qmail-toaster-1.03-1.3.5 OS TYPE IS : Fedora Core 4 Linux BUILD DATE : Sat Jul 08 2006 CCFLAGS: -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 - march=i386 -mtune=pentium4 -fasynchronous-unwind-tables - DTLS=20060104 -I/home/vpopmail/include LDFLAGS: -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 - march=i386 -mtune=pentium4 -fasynchronous-unwind-tables + '[' -f /var/tmp/qmail-1.03-show_flags ']' + rm -f /var/tmp/qmail-1.03-show_flags + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6 + umask 022 + cd /usr/src/redhat/BUILD + cd qmail-1.03 + LANG=C + export LANG + unset DISPLAY + '[' -n /var/tmp/qmail-toaster-1.03 -a /var/tmp/qmail-toaster-1.03 '! =' / ']' + rm -rf /var/tmp/qmail-toaster-1.03 + mkdir -p /var/tmp/qmail-toaster-1.03 ++ /usr/bin/id -g nofiles + '[' -z '' ']' + /usr/sbin/groupadd -g 2107 -r nofiles groupadd: group nofiles exists + : ++ /usr/bin/id -g qmail + '[' -z '' ']' + /usr/sbin/groupadd -g 2108 -r qmail groupadd: group qmail exists + : ++ /usr/bin/id -u alias + '[' -z 7790 ']' ++ /usr/bin/id -u qmaild + '[' -z 7791 ']' ++ /usr/bin/id -u qmaill + '[' -z 7792 ']' ++ /usr/bin/id -u qmailp + '[' -z 7793 ']' ++ /usr/bin/id -u qmailq + '[' -z 7794 ']' ++ /usr/bin/id -u qmailr + '[' -z 7795 ']' ++ /usr/bin/id -u qmails + '[' -z 7796 ']' ++ cat /var/tmp/qmail-1.03-gcc + echo 'gcc -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 - march=i386 -mtune=pentium4 -fasynchronous-unwind-tables - DTLS=20060104 -I/home/vpopmail/include' ++ cat /var/tmp/qmail-1.03-gcc + echo 'gcc -s -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables' + '[' -f /var/tmp/qmail-1.03-gcc ']' + rm -f /var/tmp/qmail-1.03-gcc + make clean rm -f `cat TARGETS` + make compile makelib ( cat warn-auto.sh; \ echo CC=\'`head -1 conf-cc`\'; \ echo LD=\'`head -1 conf-ld`\' \ ) auto-ccld.sh cat auto-ccld.sh make-compile.sh make-compile chmod 755 make-compile cat auto-ccld.sh find-systype.sh find-systype chmod 755 find-systype ./find-systype systype ( cat warn-auto.sh; ./make-compile `cat systype` ) \ compile chmod 755 compile cat auto-ccld.sh make-makelib.sh make-makelib chmod 755 make-makelib ( cat warn-auto.sh; ./make-makelib `cat systype` ) \ makelib chmod 755 makelib + make it man cat auto-ccld.sh make-load.sh make-load chmod 755 make-load ( cat warn-auto.sh; ./make-load `cat systype` ) load chmod 755 load ( ( ./compile tryvfork.c ./load tryvfork ) /dev/null \ 21 \ cat fork.h2 || cat fork.h1 ) fork.h rm -f tryvfork.o tryvfork ./compile qmail-local.c qmail-local.c: In function 'main': qmail-local.c:461: warning: return type of 'main' is not 'int' ./compile qmail.c ./compile
[qmailtoaster] Help with list type help
My boss has just asked me if we can setup a distribution list that is automated. I think what he wants is pretty much like this qmailtoaster list. IE, someone mails [EMAIL PROTECTED] and they are automatically added to domain.com distribution subscribe list. And then [EMAIL PROTECTED] will remove them from this list. I assume the qmailtoaster list actually runs on qmail so I was wondering is this something that qmail can do or is some 3rd party software needed. I've never actually been involved in that kind of setup so I'm not sure where to start. How does one go about setting up a mailing list similar to this one? Thanks in advance Craig --- Craig Smith - Systems Engineer - Doctor Net t. 0870 770 4990 - f. 0870 770 4991 Visit www.doc-net.com - let us be your key to success Visit www.eMailCampaigner.com - close sales cheaper and faster Visit www.SprintCRM.com - understand your customers better and increase sales --- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you received this in error, please contact the sender and delete the material. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] Help with list type help
ezmlm is the answer. Sorry I should pay more attention. If you mail the qmailtoaster for help, the ezmlm application responds. I have now installed that, and am learning to configure. Sorry for the unneccessary posts. -Original Message- From: Craig Smith [mailto:[EMAIL PROTECTED] Sent: 28 September 2006 10:33 To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] Help with list type help My boss has just asked me if we can setup a distribution list that is automated. I think what he wants is pretty much like this qmailtoaster list. IE, someone mails [EMAIL PROTECTED] and they are automatically added to domain.com distribution subscribe list. And then [EMAIL PROTECTED] will remove them from this list. I assume the qmailtoaster list actually runs on qmail so I was wondering is this something that qmail can do or is some 3rd party software needed. I've never actually been involved in that kind of setup so I'm not sure where to start. How does one go about setting up a mailing list similar to this one? Thanks in advance Craig --- Craig Smith - Systems Engineer - Doctor Net t. 0870 770 4990 - f. 0870 770 4991 Visit www.doc-net.com - let us be your key to success Visit www.eMailCampaigner.com - close sales cheaper and faster Visit www.SprintCRM.com - understand your customers better and increase sales --- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you received this in error, please contact the sender and delete the material. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[qmailtoaster] ezmlm
Sorry to bother with this again, but I'm struggling to get this working. Can anyone that has successfully setup ezmlm on fc5 (or similar) with qmailtoaster please let me know what they did. I have downloaded the ezmlm-idx rpm from ezmlm.org, but I'm not sure if this is just the idx patch or both the main ezmlm and the patch. I have also downloaded and tried to compile the ezmlm.0.53 without any success. The rpm installs without any problems and you can run through the motions of configuring the list with ezmlm-make but it doesn't work. The more obvious thing I think is that I'm doing something wrong, or the rpm only includes the patch and as such doesn't complete the list creation successfully. I've googled ezmlm and not had much joy in terms of ezmlm and qmailtoaster. Please help. Thanks --- Craig Smith - Systems Engineer - Doctor Net t. 0870 770 4990 - f. 0870 770 4991 Visit www.doc-net.com - let us be your key to success Visit www.eMailCampaigner.com - close sales cheaper and faster Visit www.SprintCRM.com - understand your customers better and increase sales --- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you received this in error, please contact the sender and delete the material. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] ezmlm
You know, I can kick myself sometimes. The first thing I did this morning, after I realised it was ezmlm, was to check the qmailtoaster page but clearly being early morning, didn't check properly. I didn't see it this morning, but it clearly is there. I will install this one and test it. Hopefully it should be straight forward. Is there anything I need to be aware off when I create lists etc? Thanks Eric. -Original Message- From: Eric Shubes [mailto:[EMAIL PROTECTED] Sent: 28 September 2006 15:59 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] ezmlm You're not using ezmlm-toaster from http://www.qmailtoaster.com? It should be preconfigured to use with the toaster (I haven't used it yet). I'd remove the stuff you got from ezmlm.org, and use the toaster version. Craig Smith wrote: Sorry to bother with this again, but I'm struggling to get this working. Can anyone that has successfully setup ezmlm on fc5 (or similar) with qmailtoaster please let me know what they did. I have downloaded the ezmlm-idx rpm from ezmlm.org, but I'm not sure if this is just the idx patch or both the main ezmlm and the patch. I have also downloaded and tried to compile the ezmlm.0.53 without any success. The rpm installs without any problems and you can run through the motions of configuring the list with ezmlm-make but it doesn't work. The more obvious thing I think is that I'm doing something wrong, or the rpm only includes the patch and as such doesn't complete the list creation successfully. I've googled ezmlm and not had much joy in terms of ezmlm and qmailtoaster. Please help. Thanks --- Craig Smith - Systems Engineer - Doctor Net t. 0870 770 4990 - f. 0870 770 4991 -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] Auto Delete Spams when detected.. How?
Hi there, To reduce the score required you edit the /etc/mail/spamassassin/local.cf file. Set the required_hits field to 2 or 3. As for deleting the mail, I'm reasonably sure that simcontrol will do that. edit the /var/qmail/control/simcontrol file. set the ,spam_hits=x to a number. However I wouldn't recommend setting it below 8 as you may end up loosing valid mail through false positives. Once you've edited the simcontrol file you need to run /var/qmail/bin/simscanmk and then do qmailctl restart. Some please correct me if that's incorrect, but that's my understanding. From: Gabriel Lai - E Technology [mailto:[EMAIL PROTECTED] Sent: 26 September 2006 08:21 To: Qmail Toaster List 2 Subject: [qmailtoaster] Auto Delete Spams when detected.. How? Hello All, How can I configure my spamassassin to auto delete all the spams when it's detected as SPAM?? Currently I can see that my required Hits of spam is 8.00, how can I reduce it to 2 or 3? @40004518cac3296a4d74 simscan:[8498]:CLEAN (0.60/8.00):5.9225s:;TITLE: @40004518cac335dbaa94 tcpserver: end 8498 status 0 @40004518cac335dd545c tcpserver: status: 0/100 Please assist. Thanks in advanced. Gabriel - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] Problem with SMTP, not working
Hi Again As a follow up rblsmtpd is a part of the ucspi-tcp http://www.flounder.net/qmail/qmail-howto.html#12. Hope that helps as well. Craig -Original Message- From: TV SIVARAMAN [mailto:[EMAIL PROTECTED] Sent: 26 September 2006 15:49 To: qmailtoaster toaster Subject: [qmailtoaster] Problem with SMTP, not working Hi: I am having problem with SMTP. I get the following message in the SMTP log: @400045193e73107e63a4 rblsmtpd: fatal: unable to run #: file does not exist @400045193e7310819bdc tcpserver: end 16108 status 28416 @400045193e731081e22c tcpserver: status: 0/500500500500500 I am running qmailtoaster on a quad xeon x86_64 processor. All the available packages at the qmailtoaster.com site has been implemented. Sivaraman. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] Problem with SMTP, not working
Hi There, Check /var/qmail/supervise/smtp/run Part of the smtp run file is the path to rblsmtpd which is located in /usr/bin on mine and I assume by default. Check your path and then check the path for that file. If it isn't in the path search the system and copy or link it. I'm not sure which portion of the toaster installs this file, but your's is either missing or in a different location. I take it you don't get any errors during install? -Original Message- From: TV SIVARAMAN [mailto:[EMAIL PROTECTED] Sent: 26 September 2006 15:49 To: qmailtoaster toaster Subject: [qmailtoaster] Problem with SMTP, not working Hi: I am having problem with SMTP. I get the following message in the SMTP log: @400045193e73107e63a4 rblsmtpd: fatal: unable to run #: file does not exist @400045193e7310819bdc tcpserver: end 16108 status 28416 @400045193e731081e22c tcpserver: status: 0/500500500500500 I am running qmailtoaster on a quad xeon x86_64 processor. All the available packages at the qmailtoaster.com site has been implemented. Sivaraman. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[qmailtoaster] Recommendation for the backup and restore scripts
The backup and restore scripts are excellent, I've just spent the past 2 days testing them thoroughly for our systems and they work a charm. The only thing I came across eventually, was the lack of spamassassin backup/restore or the tcp.smtp file for access. Our local.cf for spamassassin contains a fair amount of edited items as well as 2 custom rulesets in the folder. The tcp.smtp contains several entries for various clients that are allowed to relay through us. I'm not sure how one goes about adding to the script that is available, or if even it would be handy for everyone, but I thought I would share the changes I made to ours, and to thank everyone involved in those scripts they certainly make life easier. . I refer to these scripts in case there are others floating around http://v2gnu.com/qmail/qmail-backup-2.7.sh.txt http://v2gnu.com/qmail/restore-1.2.sh.txt In the qmailbackup script I added the following: Addition filename variables SPAMASSASSIN=$DATENAME-spam.tar.gz TCPSMTP=$DATENAME-tcp.tar.gz Added extra backup lines #echo Backing up Spamassassin config files tar cfj $backupdest/$SPAMASSASSIN /etc/mail/spamassassin /dev/null 21 #echo Backing up tcp.smtp config files tar cfj $backupdest/$TCPSMTP /etc/tcprules.d/tcp.smtp /dev/null 21 Added variables for removal. rm -rf $SPAMASSASSIN rm -rf $TCPSMTP In the Qmailrestore file I added the following: echo echo Uncompressing and replacing Spamassassin Configuration tar xjf *-spam.tar.gz cd etc/mail cp -rfp spamassassin /etc/mail/ cd /home/craig/qmail.restore echo Uncompressing and replacing tcp.smtp configuration tar xjf *-tcp.tar.gz cd etc/tcprules.d cp -rfp tcp.smtp /etc/tcprules.d/ cd /home/craig/qmail.restore Obviously the file path's above are based on my system, and would need to be updated, or possibly changed to a user variable under the mysql password option, but I'm not at all versed in scripting, and all I've done is copy existing commands and modified the paths. The backup.restore scripts as I now have them, allow me to quickly recover my full QMT server to another box, including any custom rules, the local.cf file as well as my tcp.smtp entries. As I said I'm not sure if everyone would need this, but I would imagine some would as a few may have many custom entries in tcp.smtp and spamassassin, and if you are rebuilding a complete failure at least you won't have to add to it. My apologies if this shouldn't have been mailed to this list, but I wasn't sure how to go about mentioning the possible changes. Craig --- Craig Smith - Systems Engineer - Doctor Net t. 0870 770 4990 - f. 0870 770 4991 Visit www.doc-net.com - let us be your key to success Visit www.eMailCampaigner.com - close sales cheaper and faster Visit www.SprintCRM.com - understand your customers better and increase sales --- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you received this in error, please contact the sender and delete the material. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] URGENT !!! '553 sorry, that domain isn't in my list of allowed rcpthosts (#5.5.3 - chkuser)', Port: 25, Secure(SSL): No, Server Error: 553, Error Number: 0x800CCC79
What you need is the ip numbers of the outside members, wherever they are sending from, and they need to be added to the tcp.smtp file as below. This file controls access to relaying through your server. If the ip address in no listed then relaying is not allowed. It works internally as no relaying takes place, it is an internal delivery. By adding the ip no of corporate outside, you grant them access to relay. I got these errors quite a lot when I first configured our box, we have several external clients that relay through our server, adding their public ip's (which you can see in the log file) in the tcp.smtp file using the given format sorted the problems for us. -Original Message- From: Bilgehan POYRAZ [mailto:[EMAIL PROTECTED] Sent: 22 September 2006 13:04 To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] URGENT !!! '553 sorry, that domain isn't in my list of allowed rcpthosts (#5.5.3 - chkuser)', Port: 25, Secure(SSL): No, Server Error: 553, Error Number: 0x800CCC79 hi again; this ip and user is sample.outside any user (corparate outside) and member of sales team get this error.but inside users working without problems... Bilgehan POYRAZ Next Generation Networks -Original Message- From: Craig Smith [mailto:[EMAIL PROTECTED] Sent: Friday, September 22, 2006 1:21 PM To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] URGENT !!! '553 sorry, that domain isn't in my list of allowed rcpthosts (#5.5.3 - chkuser)', Port: 25, Secure(SSL): No, Server Error: 553, Error Number: 0x800CCC79 If I understand correctly, you have users outside that use your server as an outgoing smtp server? If so then you need to add their sending ip to your /etc/tcprules.d/tcp.smtp file . Eg entry # Client DOMAIN Public ip (descriptive entry for your purposes) xxx.xxx.xxx.xxx:allow,RELAYCLIENT=,QMAILQUEUE=/var/qmail/bin/simscan,CHK USER_RCPTLIMIT=50,CHKUSER_WRONGRCPTLIMIT=10 I think it's the 85.105.236.207 ip as listed in your log that should go in xxx.xxx.xxx.xxx. Once you add that with the ip they are trying to relay from, do qmailctl cdb and then qmailctl restart. Or you can do qmailctl stop wait a few seconds and then do qmailctl start. I normally do this. This will allow which ever ip address you use to relay through your server I hope that helps. From: Bilgehan POYRAZ [mailto:[EMAIL PROTECTED] Sent: 22 September 2006 08:58 To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] URGENT !!! '553 sorry, that domain isn't in my list of allowed rcpthosts (#5.5.3 - chkuser)', Port: 25, Secure(SSL): No, Server Error: 553, Error Number: 0x800CCC79 Hi Guy`s; I was to build one mount before QmailToaster on Fedora core5 in the new server.it is working without problem one mounth in the company or outside the company. Now working locally without problems in the company, outside company users have a problem POP3 connection.If send the message outside to inplace corparate user we have a does`nt problem. If outside user try send to message to get below error; The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was '[EMAIL PROTECTED]'. Subject 'Deneme', Account: 'mail.clientdomain.com', Server: 'mail. clientdomain.com', Protocol: SMTP, Server Response: '553 sorry, that domain isn't in my list of allowed rcpthosts (#5.5.3 - chkuser)', Port: 25, Secure(SSL): No, Server Error: 553, Error Number: 0x800CCC79 In the log /var/log/qmail/smtp/current @4000451395f93102af2c tcpserver: status: 2/100 @4000451395f93105108c tcpserver: pid 13806 from 85.105.236.207 @4000451395f931065c94 tcpserver: ok 13806 qmail.clientdomain.com:192.168.16.15:25 :85.105.236.207::1185 @4000451395fa19fe617c CHKUSER accepted sender: from [EMAIL PROTECTED]:: remote teknik:unknown:85.105.236.207 rcpt : sender accepted @4000451395fb009b3084 CHKUSER rejected relaying: from [EMAIL PROTECTED]:: remote teknik:unknown:85.105.236.207 rcpt [EMAIL PROTECTED] : client not allowed to relay @4000451395fc03620144 tcpserver: end 13806 status 0 @4000451395fc036210e4 tcpserver: status: 1/100 Thakns for help How is it solved this problem... Bilgehan POYRAZ Next Generatoin Network [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED
RE: [qmailtoaster] Mail flood question
So if mail is coming from a qmail server, is there no control in place to limit the amount of incoming mail? E.G. A qmail server is used to mail 20 000 to a specific domain on one of our servers and it sends all at once, there's nothing to stop those mails coming in and slowing everything down? This isn't a huge problem for us, but I could see a dos type of attack going on? What's to stop some muppet out there deciding he doesn't like domain x, so he scripts a mail server to constantly sent small emails to xdomain which happens to be on our server. Since our server deals with email for that domain, it is allowed in. The only thing I can think of is to catch the sending ip via the logs and blacklist it? Is there anything else that can be done? thanks for the info. -Original Message- From: Eric Shubes [mailto:[EMAIL PROTECTED] Sent: 22 September 2006 14:18 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Mail flood question Jake Vickers wrote: Craig Smith wrote: Great thanks George. Those settings had been in originally, but I had commented them out during testing and forgot to remove. Doh. So am I correct in assuming, it limits genuine incoming mails to 50 max during a specific time period from sender x, and the limits the amount of incorrectly addressed/non genuine mail incoming to 10? That is correct. specific time period being a single smtp session. These parameters will never kick in for mail coming from a qmail server, because qmail sends each message individually (using more bandwith than necessary). However, some mail servers group all recipients at the same host (receiving server) together in the same session, so the message only gets sent once to each receiving host (domain, essentially). These settings control that type of situation. -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] 3rd party spamassassin scanning service
That's excellent thanks. Are there any pitfalls potential loops etc I should be aware of. I guess if company x sets up a catch all account it will prevent the double bounce. Is there any danger of that double bounce becoming a loop, or possibly leading to our server being listed as a spam source? Last question, is it really that easy? :-) If so that is excellent news, and news that I'm sure will earn me some good points with the boss. Thanks for that. As for the Wiki, I will indeed add the info, is there anything else I should include, or is the basic premise, change Mx to point to scanning server, add smtproute to receiving server and add domain to rcpthosts? Will qmail accept the mail even though users don't exist? If you add the smtp route for domainx, does qmail just interpret that as forward all mail for domainx to this address and don't check locally? Thanks again for the replies, this list is the best. Regards Craig -Original Message- From: Erik Espinoza [mailto:[EMAIL PROTECTED] Sent: 15 September 2006 01:47 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] 3rd party spamassassin scanning service The answer is yes. You can scan other domains frm your box. The mx points to you. You put an smtproute that points to their server and you add the domain to rcpthosts. The problem is going to be double bounces. Since your box doesn't have a list of valid users, it will accept any mail addressed to companyx..com. If a [EMAIL PROTECTED] doesn't exist, your box will get a rejection which it will try to send to the sender. Since this is usually spam, the sender address probably won't exist and you will be notified of the transaction. Erik On 9/14/06, Craig Smith [EMAIL PROTECTED] wrote: Hello all, I hope this is the right board for this query. We are using the latest Qmailtoaster install on a Fedora core 5 box. Currently all email domains that we host are very successfully scanned by clamav and spamassassin. My boss has asked if we would be able to offer the scanning service to emails that we don't technically host. Now all I can tell him at this point, is we would need to have company x's mx record pointing at our server, but from there I'm lost. Is it possible, to scan company x's mail, (even though we don't hold their domain, or host their email), and then pass the mail on to their servers? My first instinct was that this should be quiet possible, unfortunately, I'm still relatively new to qmail and spamassassin, so I don't know where to start. Any help you boffins can provide would be greatly appreciated. Thanks Craig --- Craig Smith - Systems Engineer - Doctor Net t. 0870 770 4990 - f. 0870 770 4991 Visit www.doc-net.com - let us be your key to success Visit www.eMailCampaigner.com - close sales cheaper and faster Visit www.SprintCRM.com - understand your customers better and increase sales --- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you received this in error, please contact the sender and delete the material. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] 3rd party spamassassin scanning service
I have added this to the User Tips Tricks. Let me know if I've missed anything or done it wrong. Thanks guys. -Original Message- From: Eric Shubes [mailto:[EMAIL PROTECTED] Sent: 15 September 2006 01:54 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] 3rd party spamassassin scanning service Erik Espinoza wrote: The answer is yes. You can scan other domains frm your box. The mx points to you. You put an smtproute that points to their server and you add the domain to rcpthosts. The problem is going to be double bounces. Since your box doesn't have a list of valid users, it will accept any mail addressed to companyx..com. If a [EMAIL PROTECTED] doesn't exist, your box will get a rejection which it will try to send to the sender. Since this is usually spam, the sender address probably won't exist and you will be notified of the transaction. Erik On 9/14/06, Craig Smith [EMAIL PROTECTED] wrote: Hello all, I hope this is the right board for this query. We are using the latest Qmailtoaster install on a Fedora core 5 box. Currently all email domains that we host are very successfully scanned by clamav and spamassassin. My boss has asked if we would be able to offer the scanning service to emails that we don't technically host. Now all I can tell him at this point, is we would need to have company x's mx record pointing at our server, but from there I'm lost. Is it possible, to scan company x's mail, (even though we don't hold their domain, or host their email), and then pass the mail on to their servers? My first instinct was that this should be quiet possible, unfortunately, I'm still relatively new to qmail and spamassassin, so I don't know where to start. Any help you boffins can provide would be greatly appreciated. Thanks Craig --- Craig Smith - Systems Engineer - Doctor Net t. 0870 770 4990 - f. 0870 770 4991 Hey Craig, Would you mind updating the wiki with this one? It may not be asked frequently, but it's a cool feature. Might want to add a short QA to the faqs, with possibly a separate section w/in spamassassin configuration. -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] 3rd party spamassassin scanning service
Hello again, Sorry to be a pain, but I've run across a problem and I'm not sure there is a solution. One of my test domains has smtp authentication turned on, so when I configured the routing as we discussed, it works until it hits their mail server. It then rejects the mail with the follwing error. If I can send smtp authentication along with it that would solve the problem, but I can't see how to do that. Is it possible or are we stuck if a domains mail server has smtp authentication on. Is there any way around the error as below? Returned mail error: Hi. This is the qmail-send program at (Relaying SA server). I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: User and password not set, continuing without authentication. xxx.xxx.xxx.xxx does not like recipient. Remote host said: 550-(Relaying SA server) [xxx.xxx.xxx.xxx]:52470 is currently not permitted to 550-relay through this server. Perhaps you have not logged into the pop/imap 550-server in the last 30 minutes or do not have SMTP Authentication turned on 550 in your email client. Giving up on xxx.xxx.xxx.xxx Thanks Again. Craig -Original Message- From: Erik Espinoza [mailto:[EMAIL PROTECTED] Sent: 15 September 2006 11:33 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] 3rd party spamassassin scanning service Glad you're happy with the result. Erik On 9/15/06, Craig Smith [EMAIL PROTECTED] wrote: Thanks Erik, I already had the format for the smtproutes file. I've already run several tests and it works like a charm. Can't believe it's that easy. Thanks again. Also in the tests I ran, I've done it both with and without the port referance and it works either way. It probably checks 25 by default, at least that's what I assume it does, but I will include the info in wiki. Will qmail accept the mail even though users don't exist? If you add the smtp route for domainx, does qmail just interpret that as forward all mail for domainx to this address and don't check locally? No, re-read my original e-mail. You must add it to rcpthosts (tells Qmail to accept for that domain) then add an a line in smtproutes for Qmail to figure out where the destination truly lies. Sorry Erik I wasn't very clear here, what I meant was that doing the above (your text) tells qmail to just route the mail to point x based on smtptroutes and rcpthosts and not worry about local authentication/account checkup. However I've already answered this question myself through the testing. Thanks again, I'm sure my boss will be pleased. Regards Craig -Original Message- From: Erik Espinoza [mailto:[EMAIL PROTECTED] Sent: 15 September 2006 11:24 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] 3rd party spamassassin scanning service That's excellent thanks. Are there any pitfalls potential loops etc I should be aware of. I guess if company x sets up a catch all account it will prevent the double bounce. Is there any danger of that double bounce becoming a loop, or possibly leading to our server being listed as a spam source? Anythings possible. You will be notified of double bounces, otherwise you will just do a regular bounce to users. Last question, is it really that easy? :-) If so that is excellent news, and news that I'm sure will earn me some good points with the boss. Thanks for that. Yes, it really is that easy. As for the Wiki, I will indeed add the info, is there anything else I should include, or is the basic premise, change Mx to point to scanning server, add smtproute to receiving server and add domain to rcpthosts? Ensure that you follow the format of domain:remoteserver:port from /var/qmail/doc/README.remote-auth For example: gmail.com:mail.gmail.com:25 Otherwise this will not work. I just mention it, since the default smtproutes doesn't need port. Will qmail accept the mail even though users don't exist? If you add the smtp route for domainx, does qmail just interpret that as forward all mail for domainx to this address and don't check locally? No, re-read my original e-mail. You must add it to rcpthosts (tells Qmail to accept for that domain) then add an a line in smtproutes for Qmail to figure out where the destination truly lies. Thanks again for the replies, this list is the best. Regards Craig -Original Message- From: Erik Espinoza [mailto:[EMAIL PROTECTED] Sent: 15 September 2006 01:47 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] 3rd party spamassassin scanning service The answer is yes. You can scan other domains frm your box. The mx points to you. You put an smtproute that points to their server and you add the domain to rcpthosts. The problem is going to be double bounces. Since your box doesn't have a list of valid users
[qmailtoaster] 3rd party spamassassin scanning service
Hello all, I hope this is the right board for this query. We are using the latest Qmailtoaster install on a Fedora core 5 box. Currently all email domains that we host are very successfully scanned by clamav and spamassassin. My boss has asked if we would be able to offer the scanning service to emails that we don't technically host. Now all I can tell him at this point, is we would need to have company x's mx record pointing at our server, but from there I'm lost. Is it possible, to scan company x's mail, (even though we don't hold their domain, or host their email), and then pass the mail on to their servers? My first instinct was that this should be quiet possible, unfortunately, I'm still relatively new to qmail and spamassassin, so I don't know where to start. Any help you boffins can provide would be greatly appreciated. Thanks Craig --- Craig Smith - Systems Engineer - Doctor Net t. 0870 770 4990 - f. 0870 770 4991 Visit www.doc-net.com - let us be your key to success Visit www.eMailCampaigner.com - close sales cheaper and faster Visit www.SprintCRM.com - understand your customers better and increase sales --- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you received this in error, please contact the sender and delete the material. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[qmailtoaster] Spamassassin Issue with Headers
Hello all, Our spam system which is qmailtoaster based, running on FC5 is working really well. However we have just added a new domain to it, and one of the users is getting a large amount of untagged spam. At least for our system it is a large amount. Roughly 10 to 15% of the spam is coming through untagged. I asked him to forward me some of them for review so I could check the headers and see what the system was doing. First strange thing was that mailing directly to me, detected them as spam correctly. When I check the headers of the forwarded (as attachments) mail, they are incorrect. Below is on of the mails headers, it seems to be text from the body of the mail. Most of the missed ones are like this. AziaTxFwMGAXY9Y4DdrCo0rlLfYya1wB19K5whWZGbJrtfTa 0b0G1FvM4tBO18oAIXn1rV84WbaKpU5S4cSpXFCsEMcqMrfuEVpSDWvKrDpXrN5sDv8hkUtEzHG4 ZDJtTXmylQycdjeKlIGaX+PSnG6xmjbFLQt/HZofEiqIvz4hq70Nm25r6rPhZs1rWFAt4tSUPrsd kbFhmOyieGtQvFHXZ49S22qvu6XkvjahMyiJr2w1XM/+yrmjBEHpjuG79zEvOzWoDz1coTtL9OIc m7geL453S0+kDnaiGKUbKJeN9VIIcxuYQ/e0qz1YLDgc12ufftd3PgonzxuesPAmstHIgHTPIJpj ByqfEIvmUSgZ+GAvhslXh1TNysSNDJ/yEKZeZDxDjrM81eb4e+LKwTfEgngvh/Gbi5jQo1Y/TsoV L7I/j0xliT8RVZOhLL8M2s/KVF7/IgQ5sksMY3mEMgvrQlGoy5zEh3gnzLIbQPfln+hwhG1eCQLF Emdk1NkrWE7zWlaYZMM89mVvVowPjUiZLb5kAn8J9EwUzZEV4rB/SBNJDKny0SPq5s1XrLQXlQhp LiqEtZymYhSTIz9Du8RX81vyqGsbaQ/eDIoEdGJf/ufCvbRnRGAMxCJzGSEXISN+o7wDd24QIvIQ U0dqDPZ/ej3sXB47d7/4z1AxaTr5DBtAv/MkZkgJDWjfUhLzqE+zB/HK9SQ7kR9KZbQV4Z9SAkgH 8sV2OX75HefAyNJXmAddftyd322oq+ojY4ReGR4GKSEQmMqkjCoAnFXsW0C7XJGB/+BIyhoCFlNI YmefHoqxwICaTrMdQj3rhN5zCTSyeFLmkNxppnj+k4mMHblwt7ly2L4gU3vCl52GsHO38eK6L5BB lr5wJblIitXeOnq7BBSb7nYTsDATTTPxJKvDgMHlRmA62dr5GNAsKwalumm1aNpxmtwWXhF1FVAF BripxWsLSKXrSzH7azC82Jo+izvdQypUMzCV7dyiu9X2/tyn5h1Vd28rtdIlq2xV9alrFYMIc/Wr QeGEWJQVDLaG8nhhdX23HsBPIlX215L99S+lWGzPQs7V1ezU5GTKmQ3g8ViYcZ1dASOs2MRs99oT /uK6v9rHVENpwd/+96fPAtpMH//kfumRYxo7WN22bpfk3xwZJ2qV2ow9jp5qPhQzeqjRuEqgfAG3 NEorbXitz3 Here is another one, which is partial, but missing loads.. ODY: 3alpha-pock-3alpha 0.6 J_CHICKENPOX_54BODY: 5alpha-pock-4alpha 0.6 J_CHICKENPOX_71BODY: 7alpha-pock-1alpha 0.6 J_CHICKENPOX_52BODY: 5alpha-pock-2alpha 0.6 J_CHICKENPOX_13BODY: 1alpha-pock-3alpha 0.8 J_CHICKENPOX_24BODY: 2alpha-pock-4alpha 0.6 J_CHICKENPOX_28BODY: 2alpha-pock-8alpha 0.6 J_CHICKENPOX_82BODY: 8alpha-pock-2alpha 0.6 J_CHICKENPOX_25BODY: 2alpha-pock-5alpha 0.6 J_CHICKENPOX_74BODY: 7alpha-pock-4alpha 0.6 J_CHICKENPOX_23BODY: 2alpha-pock-3alpha 0.6 J_CHICKENPOX_81BODY: 8alpha-pock-1alpha 0.6 J_CHICKENPOX_44BODY: 4alpha-pock-4alpha 0.6 J_CHICKENPOX_53BODY: 5alpha-pock-3alpha 0.6 J_CHICKENPOX_26BODY: 2alpha-pock-6alpha 0.6 J_CHICKENPOX_31BODY: 3alpha-pock-1alpha 0.6 J_CHICKENPOX_73BODY: 7alpha-pock-3alpha 0.6 J_CHICKENPOX_35BODY: 3alpha-pock-5alpha 1.8 TVD_FW_GRAPHIC_NAME_LONG BODY: TVD_FW_GRAPHIC_NAME_LONG 2.8 TVD_FW_GRAPHIC_ID1 BODY: TVD_FW_GRAPHIC_ID1 1.2 TVD_FW_GRAPHIC_NAME_MID BODY: TVD_FW_GRAPHIC_NAME_MID 0.0 HTML_MESSAGE BODY: HTML included in message 0.8 SARE_GIF_ATTACHFULL: Email has a inline gif 1.5 RAZOR2_CF_RANGE_E8_51_100 Razor2 gives engine 8 co It starts and ends exactly as above. I've not seen this on our system before. The only thing I can think is they have an exchange server which possibly is doing something to the headers, but this doesn't explain why spamassassin isn't tagging these very obvious spams, aimed at this user, but it tags them when mailed to me? All our accounts are on the same server. Sorry for the long mail, this is a strange one, for me at least anyway. Thanks --- Craig Smith - Systems Engineer - Doctor Net t. 0870 770 4990 - f. 0870 770 4991 Visit www.doc-net.com - let us be your key to success Visit www.eMailCampaigner.com - close sales cheaper and faster Visit www.SprintCRM.com - understand your customers better and increase sales --- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you received this in error, please contact the sender and delete the material. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] SpamAssassin and ClamAV dont work.
I had a similar problem when I first set mine up, and it had to do with my tcp.smtp file not correctly having QMAILQUEUE=/var/qmail/bin/simscan The way I understand it is that simscan passes the mail through spamassassin and clamav. Check your tcp.smtp file for the relevant queue settings. Or possibly simscan is not working properly. Regards Craig From: Kaven Gagnon [mailto:[EMAIL PROTECTED] Sent: 01 August 2006 22:35To: qmailtoaster-list@qmailtoaster.comSubject: [qmailtoaster] SpamAssassin and ClamAV dont work. Hi,I got a problem with SpamAssassin and Qmail. Spam is only filtered by blocking list contained in blacklists txt file but not SpamAssassin. If I try to test SpamAssassin in terminal by typing spamassassin-D/root/sample-spam.txt it work. If I try by mail using the GTUBE test, it doesnt work. I also checked the spamd log file and I cant see any message like this: simscan:[4654]:SPAM REJECT.Same problem for ClamAV.Any help is welcome!Thanks in advance.Regards,Kaven G.
RE: [qmailtoaster] Problem with .qmail files
Hi there, Yes I am creating a .qmail for every real user, if I don't then mail doesn't route to them. As I said this in itself isn't a huge problem, but the name.surname was. I'm not entirely sure why I need the .qmail for each user, but for some reason I do. I renamed the files to firstname:surname and that sorted that particular problem for me. Thank you very much for that. Any reason you can think of, that I would need to create a .qmail for each user? Thanks again. Craig -Original Message- From: Erik Espinoza [mailto:[EMAIL PROTECTED] Sent: 27 July 2006 19:42 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Problem with .qmail files Are you creating a .qmail file for every real user? I don't think I understand what you're doing here clearly. FYI: .qmail files cannot contain ., but qmail will interpret a : in the .qmail file as a period. Try .qmail-firstname:lastname Erik On 7/27/06, Craig Smith [EMAIL PROTECTED] wrote: Hello, Hopefully I'm posting this to the correct place. We are using qmailtoaster for our mail server which is a Fedora Core 5 box. I have installed qmail toasters, vpopmail, simscan, spamassassin and clamav. Our old servers use the Qmailrocks installation. On those the .qmail-default file was all that was needed for default accounts. On our new qmailtoaster setup, I need to create a .qmail-username file for each user created, otherwise the mail bouces or goes to the default catchall if configured. This in itself isn't a problem, and I assume that this is correct behaviour. Although I'm not certain on that. The problem I've run into now, is that one of our domains has the format [EMAIL PROTECTED] resulting in a .qmail-firstname.surname. This does not work, qmail seems to ignore the file completely and sends the mail to the default mailbox as if it were incorrectly addressed. I again assume this is down to the .surname portion of the qmail file. The files are created and configured exactly as standard firstname files. Have I done something wrong, is this a fault ? I'm still reasonably new to qmail, although I can move my way around it, troubleshooting problems of this nature are something I'm not used to. Any help that can be shed would be excellent. If I've posted this incorrectly, please accept my apologies. Regards - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] Problem with .qmail files
Well, the install was done with the qmailtoaster script files for fc5. Configuration appears to be the same as our other servers. the locals file only has localhost and the actual hostname in it. For the life of me I couldn't find any reason for the need for .qmail for each user. The defaultdelivery file is correct as far as I can see. ./Maildir/ The .qmail files are ./username/Maildir/, the only thing I could think of was that the default delivery wasn't interpreting the usernames correctly, but no idea why that would be. So it is wrong that I need to create the .qmail file for each user? It's not maybe a problem with simscan? To get around the annoyance of having to manually create the files, one of our software guys created a wrapper for me, that creates the file on user creation automatically, but it would be nice to have a system that works as it should. Thanks again for the help. -Original Message- From: Erik Espinoza [mailto:[EMAIL PROTECTED] Sent: 28 July 2006 09:23 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Problem with .qmail files Aside from a bad install or a major misconfiguration, no idea. Just as a guess though, make sure /var/qmail/control/locals doesn't have anything that's in /var/qmail/control/virtualdomains On 7/28/06, Craig Smith [EMAIL PROTECTED] wrote: Hi there, Yes I am creating a .qmail for every real user, if I don't then mail doesn't route to them. As I said this in itself isn't a huge problem, but the name.surname was. I'm not entirely sure why I need the .qmail for each user, but for some reason I do. I renamed the files to firstname:surname and that sorted that particular problem for me. Thank you very much for that. Any reason you can think of, that I would need to create a .qmail for each user? Thanks again. Craig -Original Message- From: Erik Espinoza [mailto:[EMAIL PROTECTED] Sent: 27 July 2006 19:42 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Problem with .qmail files Are you creating a .qmail file for every real user? I don't think I understand what you're doing here clearly. FYI: .qmail files cannot contain ., but qmail will interpret a : in the .qmail file as a period. Try .qmail-firstname:lastname Erik On 7/27/06, Craig Smith [EMAIL PROTECTED] wrote: Hello, Hopefully I'm posting this to the correct place. We are using qmailtoaster for our mail server which is a Fedora Core 5 box. I have installed qmail toasters, vpopmail, simscan, spamassassin and clamav. Our old servers use the Qmailrocks installation. On those the .qmail-default file was all that was needed for default accounts. On our new qmailtoaster setup, I need to create a .qmail-username file for each user created, otherwise the mail bouces or goes to the default catchall if configured. This in itself isn't a problem, and I assume that this is correct behaviour. Although I'm not certain on that. The problem I've run into now, is that one of our domains has the format [EMAIL PROTECTED] resulting in a .qmail-firstname.surname. This does not work, qmail seems to ignore the file completely and sends the mail to the default mailbox as if it were incorrectly addressed. I again assume this is down to the .surname portion of the qmail file. The files are created and configured exactly as standard firstname files. Have I done something wrong, is this a fault ? I'm still reasonably new to qmail, although I can move my way around it, troubleshooting problems of this nature are something I'm not used to. Any help that can be shed would be excellent. If I've posted this incorrectly, please accept my apologies. Regards - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED
[qmailtoaster] Problem with .qmail files
Hello, Hopefully I'm posting this to the correct place. We are using qmailtoaster for our mail server which is a Fedora Core 5 box. I have installed qmail toasters, vpopmail, simscan, spamassassin and clamav. Our old servers use the Qmailrocks installation. On those the .qmail-default file was all that was needed for default accounts. On our new qmailtoaster setup, I need to create a .qmail-username file for each user created, otherwise the mail bouces or goes to the default catchall if configured. This in itself isn't a problem, and I assume that this is correct behaviour. Although I'm not certain on that. The problem I've run into now, is that one of our domains has the format [EMAIL PROTECTED] resulting in a .qmail-firstname.surname. This does not work, qmail seems to ignore the file completely and sends the mail to the default mailbox as if it were incorrectly addressed. I again assume this is down to the .surname portion of the qmail file. The files are created and configured exactly as standard firstname files. Have I done something wrong, is this a fault ? I'm still reasonably new to qmail, although I can move my way around it, troubleshooting problems of this nature are something I'm not used to. Any help that can be shed would be excellent. If I've posted this incorrectly, please accept my apologies. Regards - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]