Selective POP3 redirection ?
Hi, I was wondering if there were any add-ons to qmail for doing selective POP3 redirection. I have found that using a package called netpipes, running under tcpserver, I am able to achieve total redirection from one server to another, but what about selectively ? I had thought about storing username:hostname pairs in a file or database, and writing a wrapper which would run qmail-popup (etc.) if the user was local, or running netpipes if the user was remote, in order to hand them off to the correct server (the server where their mail is sitting). This does not seem as straightforward as I would like though. The other idea I have would be to modify qmail-pop3d somehow, so that when authentication had been done under checkpassword on the main mail server, a session could then be established with a remote server. Does anyone else have any existing code , or other ideas about how I might be able to achieve this ? The "rationale" for doing this is that if I have to migrate from one server to another, I want to be able to provide a transparant service to users, whilst moving mailboxes. Thanks for any help. Regards, Rich Aldridge, Cable Internet, Telewest Communications.
Re: Aliases
On Mon, Aug 09, 1999 at 11:04:40AM +1000, Waterfront Internet Service wrote: >Hi, I am having trouble using /etc/aliases. I have installed >fastforward and followed the instructions on setting it up. When I >send mail to an aliased name and check the log i get the >following; Unable_to_open_/var/qmail/bin/fastforward_-d_/etc/aliases.c >db:_file_does_not_exist (#4.2.1) Regards, Steve You appear to have missed one step. You must run /var/qmail/bin/newaliases to create /etc/aliases.cdb. -- See complete headers for more info
Re: smtpd help!
I had this same problem starting a few days ago. Turns out, without telling any of its customers, mindspring has stopped allowing access SMTP servers other than their own. Your server may work, mine did. Unfortunately, even if it does you'll never get to it through mindspring. If you telnet to port 25 of you server from mindspring there will be no response. For a little more informatio look at http://help.mindspring.com/modules/01400/01424.htm Hope you haven't spent too long with this yet, Ben Matt Heatley wrote: > Ok, I believe I've read everything available about configuring smtpd with > qmail for selective relaying. Now, I can't seem to get anything to work :). > > The problem seems to be that *something* (though I can't figure out what) is > listening on port 25. If I change to port 24 everything works fine. I need > to figure out what is running but I just can't seem do it.. is there a > command that lists port and process? netstat doesn't seem to do it. > > My inetd.conf file,the output of ps waux, and the qmail startup lines are > included below... > > ANY help is greatly appreciated at this point The basic problem is that > even when I don't start qmail I have *something* listening on port 25... if > I use nmap (a portscanner) on my server it shows port 25 as "filtered" > > Any ideas? I'm about at the end of my rope.. thanks!! > > Matt > > > Error rec'd in Outlook mail client: > > Unable to connect to the Server:... > > (whether or not qmail-smtp is started) > > > qmail and qmail-smtpd are started via: > QMAILDUID=`id -u qmaild` > NOFILESGID=`id -g qmaild` > > supervise /var/supervise/qmail/send /var/qmail/rc | > setuser qmaill cyclog /var/log/qmail & > > supervise /var/supervise/qmail/smtpd tcpserver -v -x/etc/tcp.smtp.cdb \ > -u$QMAILDUID -g$NOFILESGID 0 smtp \ > recordio /var/qmail/bin/qmail-smtpd 2>&1 | setuser qmaill accustamp > | \ > setuser qmaill cyclog /var/log/qmail/smtpd & > > My inetd.conf(with comments removed): > # See "man 8 inetd" for more information. > # > timestream tcp nowait rootinternal > > timedgram udp waitrootinternal > > ftp stream tcp nowait root/usr/sbin/tcpd wu.ftpd -a > > telnet stream tcp nowait root/usr/sbin/tcpd in.telnetd > > shell stream tcp nowait root/usr/sbin/tcpd in.rshd -L > > login stream tcp nowait root/usr/sbin/tcpd in.rlogind > > talkdgram udp waitroot/usr/sbin/tcpd in.talkd > > ntalk dgram udp waitroot/usr/sbin/tcpd in.talkd > > imapstream tcp nowait cyrus /usr/cyrus/bin/imapdimapd > > finger stream tcp nowait nobody /usr/sbin/tcpd in.fingerd -w > > http-rman stream tcp nowait.1nobody /usr/sbin/tcpd >/usr/sbin/http-rman > > rplay dgram udp waitroot/usr/sbin/tcpd rplayd -t 30 -c 60 -s > 16384 -F0 --inetd > > midinet stream tcp nowait root/usr/sbin/tcpd in.midinetd > > My output of ps waux (if I don't start qmail): > USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND > nobody 104 0.0 2.9 3460 1384 ? S18:36 0:00 > /opt/apache/bin/httpd > nobody 105 0.0 2.9 3460 1384 ? S18:36 0:00 > /opt/apache/bin/httpd > nobody 106 0.0 2.9 3460 1384 ? S18:36 0:00 > /opt/apache/bin/httpd > nobody 107 0.0 2.9 3460 1384 ? S18:36 0:00 > /opt/apache/bin/httpd > nobody 108 0.0 2.9 3460 1384 ? S18:36 0:00 > /opt/apache/bin/httpd > root 1 0.1 0.3 260 168 ? S18:36 0:03 init [2] > root 2 0.0 0.0 0 0 ? SW 18:36 0:00 (kflushd) > root 3 0.0 0.0 0 0 ? SW 18:36 0:00 (kpiod) > root 4 0.0 0.0 0 0 ? SW 18:36 0:00 (kswapd) > root 5 0.0 0.0 0 0 ? SW 18:36 0:00 (md_thread) > root12 0.0 0.5 764 244 ? S18:36 0:00 update (bdflush) > root74 0.0 1.1 948 552 ? S18:36 0:00 /usr/sbin/syslogd > root78 0.0 1.5 1136 732 ? S18:36 0:00 > /usr/sbin/klogd -c 1 > root 101 0.0 0.9 912 460 ? S18:36 0:00 /usr/sbin/inetd > root 102 0.0 2.9 3448 1400 ? S18:36 0:00 > /opt/apache/bin/httpd > root 137 0.0 1.7 1412 796 ? S18:36 0:00 /usr/sbin/nmbd -D > root 138 0.0 1.4 1376 684 ? S18:36 0:00 /usr/sbin/nmbd -D > root 139 0.0 1.6 1764 752 ? S18:36 0:00 /usr/sbin/smbd -D > root 146 0.0 1.5 1528 728 ? S18:36 0:00 sh ./RUN_SYBASE > root 147 0.0 14.6 15964 6840 ? S18:36 0:01 > /opt/sybase/bin/dataserver -d/data/master.dat -sSYBASE -
Re: Qmail Options
On Mon, Aug 09, 1999 at 03:37:23PM +1000, Waterfront Internet Service wrote: > Just wondering where the options file is for Qmail? I have searched for it > but can't seem to find one. Sendmail's equilivent is /etc/sendmail.cf qmail isn't sendmail. Have you read *any* of the documentation? You're not going to get any help unless you've shown that you've made at least a minimal effort on your own. > Can anyone help with aliasing? I have tried it with fastforward but I get an > error in my maillog saying > /var/qmail/bin/fastforward_-d_/etc/aliases.cdb_file_not_found for every user > to I try and send an email to as their aliases. What does the .qmail file from which you call fastforward look like? Chris
Qmail Options
Hi, Just wondering where the options file is for Qmail? I have searched for it but can't seem to find one. Sendmail's equilivent is /etc/sendmail.cf Can anyone help with aliasing? I have tried it with fastforward but I get an error in my maillog saying /var/qmail/bin/fastforward_-d_/etc/aliases.cdb_file_not_found for every user to I try and send an email to as their aliases. Regards, Steve
Re: qmail/sshd question
nevermind, just made a script to do it. ;> -steve On 08/08/99 @ 11:03PM, steve j. kondik wrote: > thanks for the help with my last question, now i have another simple > question.. couldn't find any info about this but im sure its been done many > times. ssh is the only way for users to access my system, now what would be > the best way to have sshd check the users mail upon initial login? it seems > to only want to check /var/spool/mail and im using Maildirs. > > thanks in advance, > -steve
qmail/sshd question
thanks for the help with my last question, now i have another simple question.. couldn't find any info about this but im sure its been done many times. ssh is the only way for users to access my system, now what would be the best way to have sshd check the users mail upon initial login? it seems to only want to check /var/spool/mail and im using Maildirs. thanks in advance, -steve
E-mail only clients
Hello, I am configuring my new Internet System in such a way that i will also have users, subscribed for e-mail only service. So i would like to have mail-servers in a way that these users will have access to them, but they cannot browse the net. I am thinking of making a different server for these users and have mail messages delivered to outer world through my major mail server. These users will dial to this server (with multiple serial card) and will have SMTP/POP access. Any other idea? TIA Jason
Aliases
Hi, I am having trouble using /etc/aliases. I have installed fastforward and followed the instructions on setting it up. When I send mail to an aliased name and check the log i get the following; Unable_to_open_/var/qmail/bin/fastforward_-d_/etc/aliases.cdb:_file_does_not_exist (#4.2.1) Regards, Steve
Re: smtpd help!
Oops, sorry about that last pipe char on that lsof line. That was a typo. :) On Sun, 8 Aug 1999, Jim wrote: > netstat -a will show you all open ports *including listening servers.* > > Also try: > lsof -i | > > > > On Sun, 8 Aug 1999, Matt Heatley wrote: > > > Ok, I believe I've read everything available about configuring smtpd with > > qmail for selective relaying. Now, I can't seem to get anything to work :). > > > > The problem seems to be that *something* (though I can't figure out what) is > > listening on port 25. If I change to port 24 everything works fine. I need > > to figure out what is running but I just can't seem do it.. is there a > > command that lists port and process? netstat doesn't seem to do it. > > > > My inetd.conf file,the output of ps waux, and the qmail startup lines are > > included below... > > > > ANY help is greatly appreciated at this point The basic problem is that > > even when I don't start qmail I have *something* listening on port 25... if > > I use nmap (a portscanner) on my server it shows port 25 as "filtered" > > > > Any ideas? I'm about at the end of my rope.. thanks!! > > > > Matt > > > > > > Error rec'd in Outlook mail client: > > > > Unable to connect to the Server:... > > > > (whether or not qmail-smtp is started) > > > > > > qmail and qmail-smtpd are started via: > > QMAILDUID=`id -u qmaild` > > NOFILESGID=`id -g qmaild` > > > > supervise /var/supervise/qmail/send /var/qmail/rc | > > setuser qmaill cyclog /var/log/qmail & > > > > supervise /var/supervise/qmail/smtpd tcpserver -v -x/etc/tcp.smtp.cdb \ > > -u$QMAILDUID -g$NOFILESGID 0 smtp \ > > recordio /var/qmail/bin/qmail-smtpd 2>&1 | setuser qmaill accustamp > > | \ > > setuser qmaill cyclog /var/log/qmail/smtpd & > > > > My inetd.conf(with comments removed): > > # See "man 8 inetd" for more information. > > # > > timestream tcp nowait rootinternal > > > > timedgram udp waitrootinternal > > > > ftp stream tcp nowait root/usr/sbin/tcpd wu.ftpd -a > > > > telnet stream tcp nowait root/usr/sbin/tcpd in.telnetd > > > > shell stream tcp nowait root/usr/sbin/tcpd in.rshd -L > > > > login stream tcp nowait root/usr/sbin/tcpd in.rlogind > > > > talkdgram udp waitroot/usr/sbin/tcpd in.talkd > > > > ntalk dgram udp waitroot/usr/sbin/tcpd in.talkd > > > > imapstream tcp nowait cyrus /usr/cyrus/bin/imapdimapd > > > > finger stream tcp nowait nobody /usr/sbin/tcpd in.fingerd -w > > > > http-rman stream tcp nowait.1nobody /usr/sbin/tcpd >/usr/sbin/http-rman > > > > rplay dgram udp waitroot/usr/sbin/tcpd rplayd -t 30 -c 60 -s > > 16384 -F0 --inetd > > > > midinet stream tcp nowait root/usr/sbin/tcpd in.midinetd > > > > My output of ps waux (if I don't start qmail): > > USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND > > nobody 104 0.0 2.9 3460 1384 ? S18:36 0:00 > > /opt/apache/bin/httpd > > nobody 105 0.0 2.9 3460 1384 ? S18:36 0:00 > > /opt/apache/bin/httpd > > nobody 106 0.0 2.9 3460 1384 ? S18:36 0:00 > > /opt/apache/bin/httpd > > nobody 107 0.0 2.9 3460 1384 ? S18:36 0:00 > > /opt/apache/bin/httpd > > nobody 108 0.0 2.9 3460 1384 ? S18:36 0:00 > > /opt/apache/bin/httpd > > root 1 0.1 0.3 260 168 ? S18:36 0:03 init [2] > > root 2 0.0 0.0 0 0 ? SW 18:36 0:00 (kflushd) > > root 3 0.0 0.0 0 0 ? SW 18:36 0:00 (kpiod) > > root 4 0.0 0.0 0 0 ? SW 18:36 0:00 (kswapd) > > root 5 0.0 0.0 0 0 ? SW 18:36 0:00 (md_thread) > > root12 0.0 0.5 764 244 ? S18:36 0:00 update (bdflush) > > root74 0.0 1.1 948 552 ? S18:36 0:00 /usr/sbin/syslogd > > root78 0.0 1.5 1136 732 ? S18:36 0:00 > > /usr/sbin/klogd -c 1 > > root 101 0.0 0.9 912 460 ? S18:36 0:00 /usr/sbin/inetd > > root 102 0.0 2.9 3448 1400 ? S18:36 0:00 > > /opt/apache/bin/httpd > > root 137 0.0 1.7 1412 796 ? S18:36 0:00 /usr/sbin/nmbd -D > > root 138 0.0 1.4 1376 684 ? S18:36 0:00 /usr/sbin/nmbd -D > > root 139 0.0 1.6 1764 752 ? S18:36 0:00 /usr/sbin/smbd -D > > root 146 0.0 1.5 1528 728 ? S18:36 0:00 sh ./RUN_SYBASE > > root 147 0.0 14.6 15964 6840 ? S18:36 0:01 > > /opt/sybase/bin/dataserver -d/data/master.dat -sSYBASE -e/dat
Re: smtpd help!
netstat -a will show you all open ports *including listening servers.* Also try: lsof -i | On Sun, 8 Aug 1999, Matt Heatley wrote: > Ok, I believe I've read everything available about configuring smtpd with > qmail for selective relaying. Now, I can't seem to get anything to work :). > > The problem seems to be that *something* (though I can't figure out what) is > listening on port 25. If I change to port 24 everything works fine. I need > to figure out what is running but I just can't seem do it.. is there a > command that lists port and process? netstat doesn't seem to do it. > > My inetd.conf file,the output of ps waux, and the qmail startup lines are > included below... > > ANY help is greatly appreciated at this point The basic problem is that > even when I don't start qmail I have *something* listening on port 25... if > I use nmap (a portscanner) on my server it shows port 25 as "filtered" > > Any ideas? I'm about at the end of my rope.. thanks!! > > Matt > > > Error rec'd in Outlook mail client: > > Unable to connect to the Server:... > > (whether or not qmail-smtp is started) > > > qmail and qmail-smtpd are started via: > QMAILDUID=`id -u qmaild` > NOFILESGID=`id -g qmaild` > > supervise /var/supervise/qmail/send /var/qmail/rc | > setuser qmaill cyclog /var/log/qmail & > > supervise /var/supervise/qmail/smtpd tcpserver -v -x/etc/tcp.smtp.cdb \ > -u$QMAILDUID -g$NOFILESGID 0 smtp \ > recordio /var/qmail/bin/qmail-smtpd 2>&1 | setuser qmaill accustamp > | \ > setuser qmaill cyclog /var/log/qmail/smtpd & > > My inetd.conf(with comments removed): > # See "man 8 inetd" for more information. > # > time stream tcp nowait rootinternal > > time dgram udp waitrootinternal > > ftp stream tcp nowait root/usr/sbin/tcpd wu.ftpd -a > > telnetstream tcp nowait root/usr/sbin/tcpd in.telnetd > > shell stream tcp nowait root/usr/sbin/tcpd in.rshd -L > > login stream tcp nowait root/usr/sbin/tcpd in.rlogind > > talk dgram udp waitroot/usr/sbin/tcpd in.talkd > > ntalk dgram udp waitroot/usr/sbin/tcpd in.talkd > > imap stream tcp nowait cyrus /usr/cyrus/bin/imapdimapd > > fingerstream tcp nowait nobody /usr/sbin/tcpd in.fingerd -w > > http-rman stream tcp nowait.1nobody /usr/sbin/tcpd >/usr/sbin/http-rman > > rplay dgram udp waitroot/usr/sbin/tcpd rplayd -t 30 -c 60 -s > 16384 -F0 --inetd > > midinet stream tcp nowait root/usr/sbin/tcpd in.midinetd > > My output of ps waux (if I don't start qmail): > USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND > nobody 104 0.0 2.9 3460 1384 ? S18:36 0:00 > /opt/apache/bin/httpd > nobody 105 0.0 2.9 3460 1384 ? S18:36 0:00 > /opt/apache/bin/httpd > nobody 106 0.0 2.9 3460 1384 ? S18:36 0:00 > /opt/apache/bin/httpd > nobody 107 0.0 2.9 3460 1384 ? S18:36 0:00 > /opt/apache/bin/httpd > nobody 108 0.0 2.9 3460 1384 ? S18:36 0:00 > /opt/apache/bin/httpd > root 1 0.1 0.3 260 168 ? S18:36 0:03 init [2] > root 2 0.0 0.0 0 0 ? SW 18:36 0:00 (kflushd) > root 3 0.0 0.0 0 0 ? SW 18:36 0:00 (kpiod) > root 4 0.0 0.0 0 0 ? SW 18:36 0:00 (kswapd) > root 5 0.0 0.0 0 0 ? SW 18:36 0:00 (md_thread) > root12 0.0 0.5 764 244 ? S18:36 0:00 update (bdflush) > root74 0.0 1.1 948 552 ? S18:36 0:00 /usr/sbin/syslogd > root78 0.0 1.5 1136 732 ? S18:36 0:00 > /usr/sbin/klogd -c 1 > root 101 0.0 0.9 912 460 ? S18:36 0:00 /usr/sbin/inetd > root 102 0.0 2.9 3448 1400 ? S18:36 0:00 > /opt/apache/bin/httpd > root 137 0.0 1.7 1412 796 ? S18:36 0:00 /usr/sbin/nmbd -D > root 138 0.0 1.4 1376 684 ? S18:36 0:00 /usr/sbin/nmbd -D > root 139 0.0 1.6 1764 752 ? S18:36 0:00 /usr/sbin/smbd -D > root 146 0.0 1.5 1528 728 ? S18:36 0:00 sh ./RUN_SYBASE > root 147 0.0 14.6 15964 6840 ? S18:36 0:01 > /opt/sybase/bin/dataserver -d/data/master.dat -sSYBASE -e/data/errorlog -i/o > pt/sybase > root 149 0.0 1.1 912 516 ? S18:36 0:00 /usr/sbin/cron > root 151 0.1 1.2 1224 584 ? S18:36 0:03 > /usr/local/sbin/sshd > root 152 0.0 0.7 768 340 1 S18:36 0:00 > /sbin/mingetty --noclear tty1 > root 153 0.0 0.7 768 340 2 S18:36 0:00 /sbin/mingetty > tty2 > ro
smtpd help!
Ok, I believe I've read everything available about configuring smtpd with qmail for selective relaying. Now, I can't seem to get anything to work :). The problem seems to be that *something* (though I can't figure out what) is listening on port 25. If I change to port 24 everything works fine. I need to figure out what is running but I just can't seem do it.. is there a command that lists port and process? netstat doesn't seem to do it. My inetd.conf file,the output of ps waux, and the qmail startup lines are included below... ANY help is greatly appreciated at this point The basic problem is that even when I don't start qmail I have *something* listening on port 25... if I use nmap (a portscanner) on my server it shows port 25 as "filtered" Any ideas? I'm about at the end of my rope.. thanks!! Matt Error rec'd in Outlook mail client: Unable to connect to the Server:... (whether or not qmail-smtp is started) qmail and qmail-smtpd are started via: QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` supervise /var/supervise/qmail/send /var/qmail/rc | setuser qmaill cyclog /var/log/qmail & supervise /var/supervise/qmail/smtpd tcpserver -v -x/etc/tcp.smtp.cdb \ -u$QMAILDUID -g$NOFILESGID 0 smtp \ recordio /var/qmail/bin/qmail-smtpd 2>&1 | setuser qmaill accustamp | \ setuser qmaill cyclog /var/log/qmail/smtpd & My inetd.conf(with comments removed): # See "man 8 inetd" for more information. # timestream tcp nowait rootinternal timedgram udp waitrootinternal ftp stream tcp nowait root/usr/sbin/tcpd wu.ftpd -a telnet stream tcp nowait root/usr/sbin/tcpd in.telnetd shell stream tcp nowait root/usr/sbin/tcpd in.rshd -L login stream tcp nowait root/usr/sbin/tcpd in.rlogind talkdgram udp waitroot/usr/sbin/tcpd in.talkd ntalk dgram udp waitroot/usr/sbin/tcpd in.talkd imapstream tcp nowait cyrus /usr/cyrus/bin/imapdimapd finger stream tcp nowait nobody /usr/sbin/tcpd in.fingerd -w http-rman stream tcp nowait.1nobody /usr/sbin/tcpd /usr/sbin/http-rman rplay dgram udp waitroot/usr/sbin/tcpd rplayd -t 30 -c 60 -s 16384 -F0 --inetd midinet stream tcp nowait root/usr/sbin/tcpd in.midinetd My output of ps waux (if I don't start qmail): USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND nobody 104 0.0 2.9 3460 1384 ? S18:36 0:00 /opt/apache/bin/httpd nobody 105 0.0 2.9 3460 1384 ? S18:36 0:00 /opt/apache/bin/httpd nobody 106 0.0 2.9 3460 1384 ? S18:36 0:00 /opt/apache/bin/httpd nobody 107 0.0 2.9 3460 1384 ? S18:36 0:00 /opt/apache/bin/httpd nobody 108 0.0 2.9 3460 1384 ? S18:36 0:00 /opt/apache/bin/httpd root 1 0.1 0.3 260 168 ? S18:36 0:03 init [2] root 2 0.0 0.0 0 0 ? SW 18:36 0:00 (kflushd) root 3 0.0 0.0 0 0 ? SW 18:36 0:00 (kpiod) root 4 0.0 0.0 0 0 ? SW 18:36 0:00 (kswapd) root 5 0.0 0.0 0 0 ? SW 18:36 0:00 (md_thread) root12 0.0 0.5 764 244 ? S18:36 0:00 update (bdflush) root74 0.0 1.1 948 552 ? S18:36 0:00 /usr/sbin/syslogd root78 0.0 1.5 1136 732 ? S18:36 0:00 /usr/sbin/klogd -c 1 root 101 0.0 0.9 912 460 ? S18:36 0:00 /usr/sbin/inetd root 102 0.0 2.9 3448 1400 ? S18:36 0:00 /opt/apache/bin/httpd root 137 0.0 1.7 1412 796 ? S18:36 0:00 /usr/sbin/nmbd -D root 138 0.0 1.4 1376 684 ? S18:36 0:00 /usr/sbin/nmbd -D root 139 0.0 1.6 1764 752 ? S18:36 0:00 /usr/sbin/smbd -D root 146 0.0 1.5 1528 728 ? S18:36 0:00 sh ./RUN_SYBASE root 147 0.0 14.6 15964 6840 ? S18:36 0:01 /opt/sybase/bin/dataserver -d/data/master.dat -sSYBASE -e/data/errorlog -i/o pt/sybase root 149 0.0 1.1 912 516 ? S18:36 0:00 /usr/sbin/cron root 151 0.1 1.2 1224 584 ? S18:36 0:03 /usr/local/sbin/sshd root 152 0.0 0.7 768 340 1 S18:36 0:00 /sbin/mingetty --noclear tty1 root 153 0.0 0.7 768 340 2 S18:36 0:00 /sbin/mingetty tty2 root 154 0.0 0.7 768 340 3 S18:36 0:00 /sbin/mingetty tty3 root 155 0.0 0.7 768 340 4 S18:36 0:00 /sbin/mingetty tty4 root 156 0.0 0.7 768 340 5 S18:36 0:00 /sbin/mingetty tty5 root 157 0.0 0.7 768 340 6 S18:36 0:00 /sbin/mingetty tty6 root 209 0.0 1.5 1272 704 ?
RE: secondary MX on a Qmail host.
First of all, qm1.asimba.com is NOT a secondary MX host. The only MX recored for asimba.com points to smtp.asimba.com which is a CNAME for ms1.asimba.com. Before you do ANYTHING with qm1.asimba.com, fix your DNS so that it matches either: asimba.com. IN MX 10smtp.asimba.com. smtp.asimba.com.IN A209.0.108.112 ms1.asimba.com. IN A209.0.108.112 or: asimba.com. IN MX 10ms1.asimba.com. ms1.asimba.com. IN A209.0.108.112 Then, add another MX record for asimba.com like this: asimba.com. IN MX 20qm1.asimba.com. What you have right now is a mess. The above will straighten it out and get things working correctly. On Sun, 8 Aug 1999, Dongping Deng wrote: > -Original Message- > From: Chris Johnson [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 23, 1999 10:47 AM > Subject: Re: secondary MX on a Qmail host. > > >them.org should be in control/rcpthosts *only*. That's the only > configuration > >required. > > >Chris > > I have a machine qm1.asimba.com which acts as a secondary MX. The only > purpose for it is to move mail to the primary mail server after the > primary server is up. I have the primary mail server entry in rcpthosts > file. But it didn't quite work. We shut down the primary mail server. > Qm1.asimba.com receives the messages destined to the primary mail > server, marks them as remote. Somehow qmail keeps trying every few > seconds til it accumulates so many hops, it started to bounce. Do you > have any clues? > > Here's some sample message > > Hi. This is the qmail-send program at qm1.asimba.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]>: > 209.0.108.110 failed after I sent the message. > Remote host said: 554 too many hops, this message is looping (#5.4.6) > > --- Below this line is a copy of the message. > > Return-Path: <[EMAIL PROTECTED]> > Received: (qmail 4348 invoked from network); 8 Aug 1999 18:49:08 - > Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) > by 166.90.135.14 with SMTP; 8 Aug 1999 18:49:08 - > Received: (qmail 4333 invoked from network); 8 Aug 1999 18:49:03 - > Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) > by 166.90.135.14 with SMTP; 8 Aug 1999 18:49:03 - > Received: (qmail 4233 invoked from network); 8 Aug 1999 18:48:28 - > Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) > by 166.90.135.14 with SMTP; 8 Aug 1999 18:48:28 - > Received: (qmail 4046 invoked from network); 8 Aug 1999 18:47:42 - > Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) > by 166.90.135.14 with SMTP; 8 Aug 1999 18:47:42 - > Received: (qmail 4042 invoked from network); 8 Aug 1999 18:47:42 - > Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) > by 166.90.135.14 with SMTP; 8 Aug 1999 18:47:42 - > Received: (qmail 4013 invoked from network); 8 Aug 1999 18:47:32 - > Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) > by 166.90.135.14 with SMTP; 8 Aug 1999 18:47:32 - > Received: (qmail 4010 invoked from network); 8 Aug 1999 18:47:32 - > Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) > by 166.90.135.14 with SMTP; 8 Aug 1999 18:47:32 - > Received: (qmail 3985 invoked from network); 8 Aug 1999 18:47:26 - > Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) > by 166.90.135.14 with SMTP; 8 Aug 1999 18:47:26 - > Received: (qmail 3982 invoked from network); 8 Aug 1999 18:47:26 - > Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) > by 166.90.135.14 with SMTP; 8 Aug 1999 18:47:26 - > Received: (qmail 3907 invoked from network); 8 Aug 1999 18:47:01 - > Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) > by 166.90.135.14 with SMTP; 8 Aug 1999 18:47:01 - > Received: (qmail 3904 invoked from network); 8 Aug 1999 18:47:01 - > Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) > by 166.90.135.14 with SMTP; 8 Aug 1999 18:47:01 - > Received: (qmail 3901 invoked from network); 8 Aug 1999 18:47:01 - > Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) > by 166.90.135.14 with SMTP; 8 Aug 1999 18:47:01 - > Received: (qmail 3898 invoked from network); 8 Aug 1999 18:47:00 - > Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) > by 166.90.135.14 with SMTP; 8 Aug 1999 18:47:00 - > Received: (qmail 3843 invoked from network); 8 Aug 1999 18:46:45 - > Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) > by 166.90.135.14 with SMTP; 8 Aug 1999 18:46:45 - > Received: (qmail 3821 invoked from network); 8 Aug 1999 18
RE: secondary MX on a Qmail host.
-Original Message- From: Chris Johnson [mailto:[EMAIL PROTECTED]] Sent: Friday, April 23, 1999 10:47 AM Subject: Re: secondary MX on a Qmail host. >them.org should be in control/rcpthosts *only*. That's the only configuration >required. >Chris I have a machine qm1.asimba.com which acts as a secondary MX. The only purpose for it is to move mail to the primary mail server after the primary server is up. I have the primary mail server entry in rcpthosts file. But it didn't quite work. We shut down the primary mail server. Qm1.asimba.com receives the messages destined to the primary mail server, marks them as remote. Somehow qmail keeps trying every few seconds til it accumulates so many hops, it started to bounce. Do you have any clues? Here's some sample message Hi. This is the qmail-send program at qm1.asimba.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]>: 209.0.108.110 failed after I sent the message. Remote host said: 554 too many hops, this message is looping (#5.4.6) --- Below this line is a copy of the message. Return-Path: <[EMAIL PROTECTED]> Received: (qmail 4348 invoked from network); 8 Aug 1999 18:49:08 - Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) by 166.90.135.14 with SMTP; 8 Aug 1999 18:49:08 - Received: (qmail 4333 invoked from network); 8 Aug 1999 18:49:03 - Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) by 166.90.135.14 with SMTP; 8 Aug 1999 18:49:03 - Received: (qmail 4233 invoked from network); 8 Aug 1999 18:48:28 - Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) by 166.90.135.14 with SMTP; 8 Aug 1999 18:48:28 - Received: (qmail 4046 invoked from network); 8 Aug 1999 18:47:42 - Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) by 166.90.135.14 with SMTP; 8 Aug 1999 18:47:42 - Received: (qmail 4042 invoked from network); 8 Aug 1999 18:47:42 - Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) by 166.90.135.14 with SMTP; 8 Aug 1999 18:47:42 - Received: (qmail 4013 invoked from network); 8 Aug 1999 18:47:32 - Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) by 166.90.135.14 with SMTP; 8 Aug 1999 18:47:32 - Received: (qmail 4010 invoked from network); 8 Aug 1999 18:47:32 - Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) by 166.90.135.14 with SMTP; 8 Aug 1999 18:47:32 - Received: (qmail 3985 invoked from network); 8 Aug 1999 18:47:26 - Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) by 166.90.135.14 with SMTP; 8 Aug 1999 18:47:26 - Received: (qmail 3982 invoked from network); 8 Aug 1999 18:47:26 - Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) by 166.90.135.14 with SMTP; 8 Aug 1999 18:47:26 - Received: (qmail 3907 invoked from network); 8 Aug 1999 18:47:01 - Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) by 166.90.135.14 with SMTP; 8 Aug 1999 18:47:01 - Received: (qmail 3904 invoked from network); 8 Aug 1999 18:47:01 - Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) by 166.90.135.14 with SMTP; 8 Aug 1999 18:47:01 - Received: (qmail 3901 invoked from network); 8 Aug 1999 18:47:01 - Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) by 166.90.135.14 with SMTP; 8 Aug 1999 18:47:01 - Received: (qmail 3898 invoked from network); 8 Aug 1999 18:47:00 - Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) by 166.90.135.14 with SMTP; 8 Aug 1999 18:47:00 - Received: (qmail 3843 invoked from network); 8 Aug 1999 18:46:45 - Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) by 166.90.135.14 with SMTP; 8 Aug 1999 18:46:45 - Received: (qmail 3821 invoked from network); 8 Aug 1999 18:46:40 - Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) by 166.90.135.14 with SMTP; 8 Aug 1999 18:46:40 - Received: (qmail 3795 invoked from network); 8 Aug 1999 18:46:34 - Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) by 166.90.135.14 with SMTP; 8 Aug 1999 18:46:34 - Received: (qmail 3786 invoked from network); 8 Aug 1999 18:46:29 - Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) by 166.90.135.14 with SMTP; 8 Aug 1999 18:46:29 - Received: (qmail 3783 invoked from network); 8 Aug 1999 18:46:29 - Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) by 166.90.135.14 with SMTP; 8 Aug 1999 18:46:29 - Received: (qmail 3750 invoked from network); 8 Aug 1999 18:46:24 - Received: from ccdsf110.ccdsf.com (HELO qm1.asimba.com) (209.0.108.110) by 16
qmail-smtpd /w rblsmtpd causing load avg 9/9/9
Hello, I am using qmail from tcpserver, with the line: echo -n "(qmail-smtpd via tcpserver) " supervise /var/qmail/supervise/tcpserver-qmail-smtpd \ /usr/local/bin/tcpserver -c 10 -u $QMAILDUID -g $NOFILESGID \ -x /etc/tcprules.d/qmail-smtpd.cdb \ 0 smtp \ /usr/local/bin/rblsmtpd -rrbl.maps.vix.com \ /usr/local/bin/rblsmtpd -rdul.maps.vix.com \ /var/qmail/bin/qmail-smtpd 2>&1 & Everything seems fine, and the machine is humming along, until I notice a load average of 9/9/9! I was tracing it down, but ps, top, etc did not show ANYTHING using CPU time.. but what I did notice from 'ps ax' was: 24408 ? S0:00 /usr/local/bin/rblsmtpd -rrbl.maps.vix.com /usr/local/bin/r . (3 more) 24431 ? D0:00 /usr/local/bin/rblsmtpd -rdul.maps.vix.com /var/qmail/bin/q 24432 ? D0:00 /usr/local/bin/rblsmtpd -rdul.maps.vix.com /var/qmail/bin/q 24434 ? D0:00 /usr/local/bin/rblsmtpd -rrbl.maps.vix.com /usr/local/bin/r . (2 more) 24453 ? D0:00 /usr/local/bin/rblsmtpd -rrbl.maps.vix.com /usr/local/bin/r I killed these, and my load avg went back down. What caused this? Thanks, Robert
Re: Installing Qmail
Waterfront Internet Service wrote: > Hi, I am currently running sendmail but wish to change to qmail. I > have read the instructions but they all say how to upgrade from > sendmail to qmail. I want to delete sendmail as if it never existed > and install qmail as if I never had a mail program installed. I know I > will loose any messages that are in sendmails queue. Is this possible > and how? > > What Operating System?
Re: Sendmail
On Mon, 9 Aug 1999, Deb wrote: > Once Qmail is installed and running okay can I remove the var/spool/mail directory >and the sendmail directory? yes. -- "MOST USELESS site of the year 1998" --> http://x42.com/urlcalc/
Sendmail
Once Qmail is installed and running okay can I remove the var/spool/mail directory and the sendmail directory?
Qmail Problems
Hi, I have just tried to setup qmail, unsuccessfully! I wanted to use Maildir to store the mail which I got working ok, the only problem I was having was trying to receive mail and trying to send mail outside of my domain. I could send local mail ok but when I tried to pick it up it said there were no new messages. I assume it was accessing the old /var/spool/mail for message. Could not work out how to tell qmail to access /Maildir Trying to send mail outside of my domain resulted in a message saying " . no relay" I checked the FAQ and did what it said, changed the line in inetd.conf, edited hosts.allow and added tcp-env: 203.57.50.: setenv = RELAYCLIENT but I still couldn't relay. Help! Regards, Steve
Installing Qmail
Hi, I am currently running sendmail but wish to change to qmail. I have read the instructions but they all say how to upgrade from sendmail to qmail. I want to delete sendmail as if it never existed and install qmail as if I never had a mail program installed. I know I will loose any messages that are in sendmails queue. Is this possible and how? Regards, Steve
qmail Digest 8 Aug 1999 10:00:01 -0000 Issue 722
qmail Digest 8 Aug 1999 10:00:01 - Issue 722 Topics (messages 28683 through 28712): $HOME must be owned by user? 28683 by: Eric Lammerts <[EMAIL PROTECTED]> 28690 by: [EMAIL PROTECTED] (John R. Levine) 28693 by: Mate Wierdl <[EMAIL PROTECTED]> 28695 by: "Scott D. Yelich" <[EMAIL PROTECTED]> 28696 by: Tomasz Papszun <[EMAIL PROTECTED]> 28697 by: "Scott D. Yelich" <[EMAIL PROTECTED]> 28698 by: Tomasz Papszun <[EMAIL PROTECTED]> can 'alias' run programs? 28684 by: [EMAIL PROTECTED] (James R Grinter) Performance 28685 by: Cris Daniluk <[EMAIL PROTECTED]> 28686 by: "Johannes Erdfelt" <[EMAIL PROTECTED]> 28687 by: "Fred Lindberg" <[EMAIL PROTECTED]> qmail-remote size 28688 by: Cris Daniluk <[EMAIL PROTECTED]> 28689 by: Andre Oppermann <[EMAIL PROTECTED]> 28694 by: Russ Allbery <[EMAIL PROTECTED]> Qmail newbie POP problem.. 28691 by: Mate Wierdl <[EMAIL PROTECTED]> RH 6.0 compile problem... 28692 by: Mate Wierdl <[EMAIL PROTECTED]> Bare LF and zombie processes 28699 by: Aaron Nabil <[EMAIL PROTECTED]> 451 See http://pobox.com/~djb/docs/smtplf.html. 28700 by: Aaron Nabil <[EMAIL PROTECTED]> 28701 by: Russell Nelson <[EMAIL PROTECTED]> 28702 by: Aaron Nabil <[EMAIL PROTECTED]> 28703 by: Russell Nelson <[EMAIL PROTECTED]> 28704 by: Aaron Nabil <[EMAIL PROTECTED]> 28705 by: "D. J. Bernstein" <[EMAIL PROTECTED]> 28706 by: Aaron Nabil <[EMAIL PROTECTED]> 28709 by: Aaron Nabil <[EMAIL PROTECTED]> question about ip hosts and virtual hosts 28707 by: "steve j. kondik" <[EMAIL PROTECTED]> 28708 by: John Gonzalez/netMDC admin <[EMAIL PROTECTED]> 28711 by: "steve j. kondik" <[EMAIL PROTECTED]> bare line feeds 28710 by: [EMAIL PROTECTED] (John R. Levine) 28712 by: John R Levine <[EMAIL PROTECTED]> Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To bug my human owner, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] -- On Fri, 6 Aug 1999, Russell Nelson wrote: > Given /etc/passwd and the user's home directory, how do you decide > whether an entry in /etc/passwd should receive mail? Look for a > .qmail file and give up otherwise? That's a reasonable choice, but it > involves creating a bunch of .qmail files, all of which are empty. You could deliver mail if the user own his home directory OR if a .qmail file exists. > But also consider that qmail-local runs as the user, and if the user > doesn't own their home directory, they can't modify their mailbox. You don't necessarily need those rights. Maybe a maildir is used that is owned by the user, or something like '|/usr/cyrus/bin/deliver $USER'. Eric -- Eric Lammerts <[EMAIL PROTECTED]> "Don't you know there ain't no devil? There's just God when he's drunk." -- Tom Waits >You don't necessarily need those rights. Maybe a maildir is used that >is owned by the user, or something like '|/usr/cyrus/bin/deliver $USER'. Those are perfectly reasonable ways to deliver mail. If you don't want users to be able to change their delivery rules, make a users/assign that doesn't list those users, and create ~alias/.qmail-whoever files with the delivery rules you want to use. -- John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869 [EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, Member, Provisional board, Coalition Against Unsolicited Commercial E-mail Well, part of qmail's philosophy is to give more control to the user (so the admin is bothered less). If you want to give part of the control back to root, use qmail-users. (On the side: my home dir is my homedir. Even if root owns files in it, I can delete them. Try su - echo '|supercontrol.sh' > ~user/.qmail chmod -xrw ~user/.qmail su - user rm .qmail ) Mate -BEGIN PGP SIGNED MESSAGE- On Sat, 7 Aug 1999, Mate Wierdl wrote: > If you want to give part of the control back to root, use qmail-users. I may end up going this way, it might just be cleaner... > (On the side: my home dir is my homedir. Even if root owns files in it, I > can delete them. Try > su - > echo '|supercontrol.sh' > ~user/.qmail > chmod -xrw ~user/.qmail > su - user > rm .qmail > > ) not really. "mv"ing a file is controlled by write permissions on the dir... right. Modifying the contents of a file is controlled by write perms on the file (well, I treat a dir like any other file, but anyways)... I have the user owning $HOME, and u-w (and go-w too) I have root owning the .qmail files (not that this seems to really do anything or phase qmail). The users don't have shells, but they do have ftp access. They "c