Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vpopmail not logging and qmail bind to external ip

Status
Not open for further replies.

klamath

Technical User
Nov 27, 2004
1
US
Hello all, im having a terriable time getting everything working on my system.

Here is the story, I have been using qmail on my remotely hosted server, a few weeks ago I called up their hotline and asked them to do some maintenance on my system, fsck. They ran fsck –y (with the system running and disc’s mounted) thinking that it was a Mac OS X I guess. Needless to say, everything was destroyed, my imap was open at the time and I lost all my mail from 1996 to present, no too good. I asked for the system to be sent back to me so I can host it at my house off my DSL.

I got Mandrake 10.1 CE loaded on the system, qmail and vpopmail. Im using the system internally with the IP address of 10.0.0.109. I called my ISP up and they routed me 208.15.25.109. I put a drect translation into my Cisco 1605-R to redirect any traffic coming to 208.15.25.109 to 10.0.0.109.


Here is what is currently going wrong. Vpopmail’s pop3 is not logging into the /var/log/maillog, it is logging errors but past that, no auth attempts. I compiled vpopmail and here is the output from the ./configure:



vpopmail 5.4.0
Current settings
---------------------------------------

vpopmail directory = /home/vpopmail
uid = 89
gid = 89
roaming users = ON --enable-roaming-users
tcpserver file = /home/vpopmail/etc/tcp.smtp
open_smtp file = /home/vpopmail/etc/open-smtp
rebuild tcpserver file = ON --enable-rebuild-tcpserver-file (default)
password learning = ON --enable-learn-passwords
md5 passwords = ON --enable-md5-passwords (default)
file locking = ON --enable-file-locking (default)
vdelivermail fsync = OFF --disable-file-sync (default)
make seekable = ON --enable-make-seekable (default)
clear passwd = ON --enable-clear-passwd (default)
user dir hashing = ON --enable-users-big-dir (default)
address extensions = OFF --disable-qmail-ext (default)
ip alias = OFF --disable-ip-alias-domains (default)
domain quotas = OFF --disable-domainquotas (default)
auth module = cdb --enable-auth-module=cdb (default)
auth inc = -Icdb
auth lib =
system passwords = OFF --disable-passwd (default)
pop syslog = show successful and failed login attempts
--enable-logging=y
auth logging = ON --enable-auth-logging (default)



Now, im not using supervise, never used it why start now, I start qmail from a script I had and start tcpserver also from a script, here is my tcpserver script:

env - PATH="/var/qmail/bin:/usr/local/bin" tcpserver -H -R -x /home/vpopmail/etc/tcp.smtp.cdb -u504 -g502 -c20 0 smtp rblsmtpd -ropm.blitzed.org -rdnsbl.ahbl.org -rrsbl.csma.biz -rcbl.abuseat.org -rspam.dnsbl.sorbs.net -rsbl-xbl.spamhaus.org -rlist.dsbl.org -rrelays.ordb.org -rbl.spamcop.net /var/qmail/bin/qmail-smtpd 2>&1 > /dev/null &

and

env - PATH="/var/qmail/bin:/usr/local/bin" tcpserver -H -R -u89 -g89 -c20 0 pop-3 /var/qmail/bin/qmail-popup core.comtrix.net /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir | /var/qmail/bin/splogger &


Running processes of concern:



qmails 3593 0.0 0.5 1436 356 pts/0 S 17:21 0:00 qmail-send
qmaill 3594 0.0 0.6 1400 412 pts/0 S 17:21 0:00 splogger qmail
root 3595 0.0 0.5 1400 308 pts/0 S 17:21 0:00 qmail-lspawn ./Mailbox
qmailr 3596 0.0 0.5 1400 316 pts/0 S 17:21 0:00 qmail-rspawn
qmailq 3597 0.0 0.5 1392 304 pts/0 S 17:21 0:00 qmail-clean
root 3661 0.0 1.0 1460 612 ? Ss 17:30 0:00 syslogd -m 0
root 3683 0.0 2.0 2108 1232 ? Ss 17:30 0:00 klogd -2
qmaill 3867 0.0 0.7 1456 464 pts/0 S 17:50 0:00 tcpserver -H -R -x /home/vpopmail/etc/tcp.smtp.cdb -u504 -g502 -c20 0 smtp rblsmtpd -ropm.blitzed
vpopmail 3868 0.0 0.7 1456 464 pts/0 S 17:50 0:00 tcpserver -H -R -u89 -g89 -c20 0 pop-3 /var/qmail/bin/qmail-popup core.comtrix.net /home/vpopmail



And finally my /etc/syslog.conf


# Mail logging
mail.info /var/log/maillog

mail.warning /var/log/maillog
mail.alert /var/log/maillog



My other problem is, my ip address on the qmail headers is showing up as 10.0.0.109 not the external IP which I imagine is a problem when it comes to black list traps, what can I do to make it bind to the external IP?



Thanks for your help!

PS

Here is my ifconfig:

[root@core vpopmail-5.4.0]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:03:47:C2:07:CB
inet addr:10.0.0.109 Bcast:10.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::203:47ff:fec2:7cb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20624 errors:0 dropped:0 overruns:0 frame:0
TX packets:14371 errors:0 dropped:0 overruns:0 carrier:0
collisions:53 txqueuelen:1000
RX bytes:2433624 (2.3 Mb) TX bytes:1694403 (1.6 Mb)
Interrupt:11 Base address:0x1000

eth0:1 Link encap:Ethernet HWaddr 00:03:47:C2:07:CB
inet addr:208.15.25.109 Bcast:208.15.25.127 Mask:255.255.255.128
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 TX bytes:0 (0.0
Interrupt:11 Base address:0x1000


and my line to the cisco



ip nat inside source static 10.0.0.109 208.15.25.109
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top