Re: [vchkpw] Setting Qmailqueue value for virtual domains
Paul Theodoropoulos wrote: you could get away with two stages - run a spam filtering smtpd on an alternate port on your vpopmail server - i use port 26 - then you can use smtproutes on the primary/secondary MX to feed to the different ports, eg: iwantspam.com:myvpopmailserver.com:25 idontwantspam.com:myvpopmailserver.com:26 Thanks Paul, this does seem to be the most likely way. Could you give me some pointers on how I would go about getting another version of qmail-smtpd to listen on a different port? I use supervise scripts to launch qmail. Do I need to add an additional supervise script and add the listening port in some manner? Or, do I need to recompile qmail? Many thanks Martin.
Re: [vchkpw] Setting Qmailqueue value for virtual domains
At 03:38 AM 9/11/2003, Martin Horsley wrote: Paul Theodoropoulos wrote: you could get away with two stages - run a spam filtering smtpd on an alternate port on your vpopmail server - i use port 26 - then you can use smtproutes on the primary/secondary MX to feed to the different ports, eg: iwantspam.com:myvpopmailserver.com:25 idontwantspam.com:myvpopmailserver.com:26 Thanks Paul, this does seem to be the most likely way. Could you give me some pointers on how I would go about getting another version of qmail-smtpd to listen on a different port? I use supervise scripts to launch qmail. Do I need to add an additional supervise script and add the listening port in some manner? Or, do I need to recompile qmail? easiest method by far is to use Tetsu Ushimima's qmail-conf package - http://www.din.or.jp/~ushijima/qmail-conf.html then the invocation i used was: qmail-smtpd-conf qmaild qmaill /var/qmail/service/smtpd-sa to indicate 'smtpd SpamAssassin', but you can call it whatever you want. since i also run a *third* smtpd for customers who are on networks that block outbound port 25, i also run one called smtpd-2525, which is the alternate port i offer those customers to use to bypass the blocking. after qmail-conf has built the structure, go into /var/qmail/service/smtpd-sa/env, then echo 26 PORT or again, whatever port you choose to use. then complete the rest of the steps for setting up the service, and you're in business. Paul Theodoropoulos http://www.anastrophe.com
Re: [vchkpw] Setting Qmailqueue value for virtual domains
On Thursday, September 11, 2003, at 08:59 AM, Paul Theodoropoulos wrote: i also run a *third* smtpd for customers who are on networks that block outbound port 25, i also run one called smtpd-2525, which is the alternate port i offer those customers to use to bypass the blocking. There's actually a port reserved for that (called message submission) -- port 587. Many of my customers have been using it (including myself for when I travel and use various dialups or other unfamiliar networks). -- Tom Collins [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
Re: [vchkpw] Setting Qmailqueue value for virtual domains
At 09:54 AM 9/11/2003, Tom Collins wrote: On Thursday, September 11, 2003, at 08:59 AM, Paul Theodoropoulos wrote: i also run a *third* smtpd for customers who are on networks that block outbound port 25, i also run one called smtpd-2525, which is the alternate port i offer those customers to use to bypass the blocking. There's actually a port reserved for that (called message submission) -- port 587. Many of my customers have been using it (including myself for when I travel and use various dialups or other unfamiliar networks). yeah, i don't doubt it. however, the concept of ports is difficult enough to understand for most average end-users. by using 2525, it makes it easier mnemonically for them to switch between the well-known port and the alternative. I suppose someday someone may experience a conflict if they try running MS V-Worlds which is the name for 2525, but so far, no problems. ;^) Paul Theodoropoulos http://www.anastrophe.com
Re: [vchkpw] Setting Qmailqueue value for virtual domains
Paul Theodoropoulos wrote: At 09:54 AM 9/11/2003, Tom Collins wrote: On Thursday, September 11, 2003, at 08:59 AM, Paul Theodoropoulos wrote: i also run a *third* smtpd for customers who are on networks that block outbound port 25, i also run one called smtpd-2525, which is the alternate port i offer those customers to use to bypass the blocking. There's actually a port reserved for that (called message submission) -- port 587. Many of my customers have been using it (including myself for when I travel and use various dialups or other unfamiliar networks). yeah, i don't doubt it. however, the concept of ports is difficult enough to understand for most average end-users. by using 2525, it makes it easier mnemonically for them to switch between the well-known port and the alternative. I suppose someday someone may experience a conflict if they try running MS V-Worlds which is the name for 2525, but so far, no problems. ;^) Paul Theodoropoulos http://www.anastrophe.com We run the same thing on port 24, which according to my /etc/services is for private mail systems which I guess an hosted email system being accessed from third party ISPs would qualify as. 2525 is a good idea though, since the mnemonic is pretty strong. Cheers, Nick
[vchkpw] Setting Qmailqueue value for virtual domains
Is there a way in which I can set the QMAILQUEUE value in tcp.smtp for mail sent to a virtual domain? I'm setting up a qmail+vpopmail+spamassassin+virus check server, but are finding that the spam and virus checking is adding a large overhead to the time taken to process a message (5 seconds on PII 200 Dual). One of my virtual domains will only ever be used for receiving mail destined for an in house mail client, and as such we don't care how much spam gets through to it. There is therefore, no reason for spamassassin/antivirus to check mails destined for this domain. I tried adding this to my tcp.smtp file:- :allow,RELAYCLIENT=,RBLSMTPD=,QMAILQUEUE=/var/qmail/bin/qmail-queue,TCPLOCALHOST=mydomain.com but it didn't work. Im pretty new to Qmail and vpopmail, so I'm still learning, but I've been trying to find a solution to this problem for a couple of weeks now, and the usual mailing list archives and google searches have not provided a solution Many thanks Martin.
Re: [vchkpw] Setting Qmailqueue value for virtual domains
i handle this by using a three stage transport - primary and secondary MX feed mail that is to be filtered on to a dedicated spamassassin/viruschecker server via /var/qmail/smtproutes. Those domains that i don't want to filter i just push the mail directly to the vpopmail server, also via smtproutes. you could get away with two stages - run a spam filtering smtpd on an alternate port on your vpopmail server - i use port 26 - then you can use smtproutes on the primary/secondary MX to feed to the different ports, eg: iwantspam.com:myvpopmailserver.com:25 idontwantspam.com:myvpopmailserver.com:26 At 07:19 AM 9/10/2003, Martin Horsley wrote: Is there a way in which I can set the QMAILQUEUE value in tcp.smtp for mail sent to a virtual domain? I'm setting up a qmail+vpopmail+spamassassin+virus check server, but are finding that the spam and virus checking is adding a large overhead to the time taken to process a message (5 seconds on PII 200 Dual). One of my virtual domains will only ever be used for receiving mail destined for an in house mail client, and as such we don't care how much spam gets through to it. There is therefore, no reason for spamassassin/antivirus to check mails destined for this domain. I tried adding this to my tcp.smtp file:- :allow,RELAYCLIENT=,RBLSMTPD=,QMAILQUEUE=/var/qmail/bin/qmail-queue,TCPLOCALHOST=mydomain.com but it didn't work. Im pretty new to Qmail and vpopmail, so I'm still learning, but I've been trying to find a solution to this problem for a couple of weeks now, and the usual mailing list archives and google searches have not provided a solution Many thanks Martin. Paul Theodoropoulos http://www.anastrophe.com