I am sitting with this problem for about two months. I am a Linux
newbie so I worked through the system over and over. I send this
question to the list a few days ago but it somehow does not manage to
get there.
Situation is like this:
Our ISP has responsibility for our domain. The system is connected to
the ISP by ISDN and PPP. There will be several subdomains. I take the
responsibility for these subdomains. Just now I work with only one
subdomain.
The mailserver is box1.subd1.domain.se. There is a DNS server on the
same computer. I download/upload mail from ISP via uucp on tcp in
regular intervals. That part works great.
Internal mail works OK. Users can mail to the outside world without
any problem.
The problem is downloading mail from the outside world. All the mail
goes to my account as the postmaster. I have tried different
approaches, nothing works. What to do?
By the way, when I start qmail, I get this message:
Starting mail transfer agent: qmailulimit: cannot raise limit: Invalid
argument [1] 916.
916 is PID for qmail-send. I cannot find any information about
qmailulimit.
On the server there is a DNS, named version 8.1.2. The interesting
zone file is as follows:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Zone file for subd1.domain.se
;
; The full zone file
;
subd1.domain.se. IN SOA
box1.subd1.domain.se. user1.subd1.domain.se. (
2 ; serial
8H ; refresh, seconds
2H ; retry, seconds
1W ; expire, seconds
1D) ; minimum, seconds
;
; Name servers
;
subd1.domain.se. IN NS
box1.subd1.domain.se.
;
; Mail exchangers
;
subd1.domain.se. IN MX 10
box1.subd1.domain.se.
;
; Has to do with domain.se -> subd1.domain.se, according to
D.J.Bernstein,
; Frequently Asked Questions: How do I receive mail for another host
name?
;
domain.se. IN MX 0
a.mx.domain.se.
a.mx.domain.se. IN A 192.168.100.66
;
; Addresses for the cannonical names
;
localhost IN A 127.0.0.1
box1.subd1.domain.se. IN A 192.168.100.66
box2.subd1.domain.se. IN A 192.168.100.67
box3.subd1.domain.se. IN A 192.168.100.68
box4.subd1.domain.se. IN A 192.168.100.69
box5.subd1.domain.se. IN A 192.168.100.70
....
....
;
; Mullti-homed hosts (routers)
;
;
; Aliases
;
; mail.subd1.domain.se. IN CNAME box1.subd1.domain.se.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
I start qmail like this:
#######################################################
ulimit -v 2048
csh -cf '/var/qmail/rc &'
# supervise /var/lock/qmail-smtpd tcpserver -v
-x/etc/tcp.smtp.cdb -u$USERID -g$GROUPID 0 25 \
# rblsmtpd qmail-smtpd 2>&1 | setuser qmaill accustamp | \
# setuser qmaill cyclog -s5000000 -n5
/var/log/qmail/qmail-smtpd &
tcpserver -v -x/etc/tcp.smtp.cdb -u 555 -g 111 0 25 \
/var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger
smtpd 3 &
# tcpserver 0 pop3 /var/qmail/bin/qmail-popup \
# box1.subd1.domain.se \
# /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &
tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup \
box1.subd1.domain.se \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \
/var/qmail/bin/splogger pop3d &
#######################################################
The file /var/qmail/control/locals is like this:
#######################################################
localhost
domain.se
subd1.domain.se
box1.subd1.domain.se
#######################################################
The file /var/qmail/control/defaultdomain is like this:
#######################################################
subd1.domain.se
#######################################################
The file /var/qmail/control/rcpthosts is like this:
#######################################################
localhost
domain.se
subd1.domain.se
box1.subd1.domain.se
#######################################################
The file /var/qmail/control/me is like this:
#######################################################
box1.subd1.domain.se
#######################################################
The file /var/qmail/control/virtualdomains is like this:
#######################################################
:alias-uucp
#######################################################