Re: [vchkpw] How to add forwards using vpopmail
I must have been tired when I wrote this... The correct version... - just create a file called .qmail-[username] in the domain directory and make and put in the address you want the mail forwarded to like so: [EMAIL PROTECTED] Yikes, time to stop reading mail when I am exhausted. Bill Sappington wrote: Chris, just create a file called .qmain-{address} in the domain directory and make and put in the address you want the mail forwarded to like so: [EMAIL PROTECTED] This will do the trick. Have a great day. Joao Rechena wrote: Why do you user vpopmail to do this ? Why not a .qmail ? Regards Rech -Original Message- From: Chrisdianto Budhi Houtomo [mailto:[EMAIL PROTECTED] Sent: domingo, 24 de Outubro de 2004 12:58 To: [EMAIL PROTECTED] Subject: [vchkpw] How to add forwards using vpopmail Hi, Is there a function I can use to forward email from one address to another on a same server but to a different domain? I tried using valias but this did not seem to work at all. can i use vdelivermail for this at all. Regards
[vchkpw] Solution to segfaults in vchkpw under SMTP AUTH on amd64
Thanks to some help from Martin Kos, I was able to find a solution to the SMTP AUTH problems on the amd64 platform. It's in the stable branch of CVS now, and will be in the next (5.4.9) release. Until then, you can manually patch any version from the 5.4 series (and probably most of 5.3) as follows. --- md5.h 20 Oct 2003 18:59:57 - 1.2 +++ md5.h 22 Nov 2004 15:13:37 - @@ -19,7 +19,7 @@ #ifndef VPOPMAIL_MD5_H #define VPOPMAIL_MD5_H -#ifdef __alpha +#if (defined(__alpha) || defined(__x86_64__)) typedef unsigned int uint32; #else typedef unsigned long uint32; A cleaner solution might be to #include cdb/uint32.h, as that header is derived during Make. This will work for now though. -- 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] mailfilter problem
What exactly is in your .qmail-default file? How are you doing spamassassin prefs? Is it site-wide? Brad Pinkston Firewall/Network Administrator Checkpoint CCSA Centenary College of LA (318) 869-5721 [EMAIL PROTECTED] - Original Message - From: Nitchi DaMon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 22, 2004 12:23 AM Subject: [vchkpw] mailfilter problem Greetings and salutations to all. I have qmail with vpopmail 5.4.7 installed and its great! I have it inter-twined with spamassassin for stopping spam, but I want to stop deleting all messages and put them into individual folders for the users to look at/remove at thier leisure (or 7 days later wipe the folder for them winks) I see all the scripts and have installed and played with most of them. I have the .qmail-default set up in the domain directory that I am testing before I make it live on the bigger domain, and its set up just like all the samples and references say to. I have the standard mailfilter file with the right permissions and all and every thing looks great, located in the domains/testdomain/ folder. One problem. No matter what I do, $EXT *always* returns devnull as the user. $HOST returns the correct information and the ENV dumped to a file shows it as such. I've double checked this via dumping the ENV to a file and yupp, the EXT environment variable IS devnull. According to the Changelog for vpopmail-5.4.7, it says that this problem was fixed to now correctly set the $EXT can someone point me in a direction as to what to look for? I'm using RH 9 and its been great until I started to try and get this option running. thanks in advance! Nitch __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[vchkpw] disable_smtp / no_smtp gid flag smtp-auth question
Hi everybody, Please could someone tell me exactly what is the use of the disable_smtp no_smtp gid flag ? I ask that because I use qmail + vpopmail (5.4.7) + smtp-auth, and the above settings don't have any effect when I connect with an authenticated user to my smtp server... I can still send emails even with the no_smtp bit flag set. Besides that, all my system is working like a charm, so I can of course use another authentication program like cmd5checkpw, with another user database... but I really want to have vchkpw for smtp and pop3 auth, and my goal is to have the possibility of selecting who can use my smtp server (with smtp-auth) and who cannot. What am I missing ?? Thank's a bunch for any answer. Steve
Re: [vchkpw] disable_smtp / no_smtp gid flag smtp-auth question
On Nov 22, 2004, at 12:01 PM, Steve wrote: Please could someone tell me exactly what is the use of the disable_smtp no_smtp gid flag ? I ask that because I use qmail + vpopmail (5.4.7) + smtp-auth, and the above settings don't have any effect when I connect with an authenticated user to my smtp server... I can still send emails even with the no_smtp bit flag set. It's supposed to work. If you look at the user with vuserinfo, does it show the flag set? Are you running on a port other than 25 (such that vchkpw might not know it's being used for SMTP AUTH)? -- 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] mailfilter problem
wow this was a good one... I detailed it all in the last post to the QMAILROCKS forums under redhat. Its site wide and I think I might have found a weirdness the .qmail-default file was | /usr/local/bin/maildrop mailfilter I got it to finally pass the $EXT variable... by changing it to: | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox | /usr/local/bin/maildrop mailfilter but of course, this was issuing 2 emails. So I did this: ##| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox | /usr/local/bin/maildrop mailfilter I detailed everything i found here: http://www.qmailrocks.org/qmrbb/viewtopic.php?t=1491 thanks for the response! Nitch --- Brad Pinkston [EMAIL PROTECTED] wrote: What exactly is in your .qmail-default file? How are you doing spamassassin prefs? Is it site-wide? Brad Pinkston Firewall/Network Administrator Checkpoint CCSA Centenary College of LA (318) 869-5721 [EMAIL PROTECTED] - Original Message - From: Nitchi DaMon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 22, 2004 12:23 AM Subject: [vchkpw] mailfilter problem Greetings and salutations to all. I have qmail with vpopmail 5.4.7 installed and its great! I have it inter-twined with spamassassin for stopping spam, but I want to stop deleting all messages and put them into individual folders for the users to look at/remove at thier leisure (or 7 days later wipe the folder for them winks) I see all the scripts and have installed and played with most of them. I have the .qmail-default set up in the domain directory that I am testing before I make it live on the bigger domain, and its set up just like all the samples and references say to. I have the standard mailfilter file with the right permissions and all and every thing looks great, located in the domains/testdomain/ folder. One problem. No matter what I do, $EXT *always* returns devnull as the user. $HOST returns the correct information and the ENV dumped to a file shows it as such. I've double checked this via dumping the ENV to a file and yupp, the EXT environment variable IS devnull. According to the Changelog for vpopmail-5.4.7, it says that this problem was fixed to now correctly set the $EXT can someone point me in a direction as to what to look for? I'm using RH 9 and its been great until I started to try and get this option running. thanks in advance! Nitch __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com
Re: [vchkpw] disable_smtp / no_smtp gid flag smtp-auth question
Tom Collins wrote: On Nov 22, 2004, at 12:01 PM, Steve wrote: Please could someone tell me exactly what is the use of the disable_smtp no_smtp gid flag ? I ask that because I use qmail + vpopmail (5.4.7) + smtp-auth, and the above settings don't have any effect when I connect with an authenticated user to my smtp server... I can still send emails even with the no_smtp bit flag set. It's supposed to work. If you look at the user with vuserinfo, does it show the flag set? Hi, You (not you Tom) might want the no_relay flag, not the no_smtp flag. Regards, Rick
Re: [vchkpw] disable_smtp / no_smtp gid flag smtp-auth question
On Mon, 22 Nov 2004 13:34:31 -0800, Tom Collins wrote: On Nov 22, 2004, at 12:01 PM, Steve wrote: Please could someone tell me exactly what is the use of the disable_smtp no_smtp gid flag ? I ask that because I use qmail + vpopmail (5.4.7) + smtp-auth, and the above settings don't have any effect when I connect with an authenticated user to my smtp server... I can still send emails even with the no_smtp bit flag set. It's supposed to work. If you look at the user with vuserinfo, does it show the flag set? Are you running on a port other than 25 (such that vchkpw might not know it's being used for SMTP AUTH)? Yes, vuserinfo does show the right flag set, nothing wrong with that. The server runs on standard port 25. I have used the patch from http://www.mcmilk.de/qmail/ , perhaps does it cause some incompatibility with vchkpw ?? Or do I need to specify a special env. variable in my startup script ? So if I understand well, in my case vchkpw cannot retrieve the TCPLOCALPORT env. variable from tcpserver, am I right ? I give you my startup script for the SMTP server, perhaps you could find something buggy ! #!/bin/sh # # chkconfig: 345 80 30 # description: SMTP # Qmail smtp Startup # Source function library. . /etc/rc.d/init.d/functions # See how we were called. case $1 in start) echo -n Starting: env - PATH=/var/qmail/bin:/usr/local/bin \ /var/qmail/bin/qmail-start ./Maildir/ | /usr/local/bin/tai64n \ | /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog s100 n20 /var/log/qmail echo Qmail running ( Pid : $! ) env - PATH=/var/qmail/bin:/usr/local/bin \ tcpserver -v -H -R -x /etc/tcp.smtp.cdb -c70 -u 89 -g 89 0 smtp \ /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /bin/true 21 | /usr/local/bin/multilog t \ '-*S: 250-*' '-*S: 250 8BIT*' '-*tcpserver: status: 0*' '-*tcpserver: ok*' '+*S: 250-tesaweb2*' s100 n20 /var/log/smtpd pidsmtp=`ps -aefww | egrep (tcpserver)+.+(smtp) | grep -v grep | awk '{print $2}'` echo $pidsmtp /var/run/smtp.pid echo SMTP running ( Pid : $pidsmtp ) echo OK ;; stop) echo Stopping Qmail SMTP server killproc qmail-send kill `cat /var/run/smtp.pid` rm -f /var/run/smtp.pid echo Stopped ;; restart) $0 stop $0 start ;; status) status qmail-send echo -n Pid of SMTP server : echo `cat /var/run/smtp.pid` ;; *) echo Usage: qmail {start|stop|restart|status} exit 1 esac exit 0 Thank you very much for your help ! Cordially, Steve
Re: [vchkpw] disable_smtp / no_smtp gid flag smtp-auth question
On Nov 22, 2004, at 3:30 PM, Rick Macdougall wrote: Tom Collins wrote: On Nov 22, 2004, at 12:01 PM, Steve wrote: Please could someone tell me exactly what is the use of the disable_smtp no_smtp gid flag ? I ask that because I use qmail + vpopmail (5.4.7) + smtp-auth, and the above settings don't have any effect when I connect with an authenticated user to my smtp server... I can still send emails even with the no_smtp bit flag set. It's supposed to work. If you look at the user with vuserinfo, does it show the flag set? Hi, You (not you Tom) might want the no_relay flag, not the no_smtp flag. NO_RELAY is to disable POP-before-SMTP and doesn't affect SMTP AUTH. -- 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/