Hi to everyone,
I've configured qmail on fedora core 2 with squirrel and vpopmail.
I've created a virtual domain and some users.
These users can connect successfully to my server via http/https.
They can send/receive mail if the recipients are in the same virtual domain I've created. They can receive mail from outside (for example from *@aol.com) but they cannot send mail to remote domains (for example they cannot send mails to john@aol.com) even if these domains
reside on a server on the same network.
Here's what I get in the /var/log/qmail/send/current log:
@4000000040b5f2011890f2b4 new msg 232698
@4000000040b5f20118913904 info msg 232698: bytes 3541 from
<myuser@myvirtualdomain.com> qp 2587 uid 502
@4000000040b5f2011d27b4fc starting delivery 67: msg 232698 to remote user@remotedomain.com
@4000000040b5f2011d27ff34 status: local 0/10 remote 2/20
@4000000040b5f2011d2835e4 delivery 66: success:
81.31.64.10_accepted_message./Remote_host_said:_250_ok_1085665783_qp_2587/
@4000000040b5f2011d28784c status: local 0/10 remote 1/20
@4000000040b5f2011d28b2e4 end msg 232674
@4000000040b5f2011d8044dc delivery 67: deferral:
Connected_to_111.111.111.111_but_connection_died._(#4.4.2)/
@4000000040b5f2011d808744 status: local 0/10 remote 0/20
myuser@myvirtualdomain.com is the email address of my user on my virtual domain, and user@remotedomain.com is the email address of the outside recipient (for example john@hotmail.com).
111.111.111.111 is the IP address of our qmail server.
for your information this is our tcp.smtp file:
10.1.1.:allow,RELAYCLIENT="",RBLSMTPD=""
111.111.111..:allow,RELAYCLIENT="",RBLSMTPD=""
:allow
111.111.111.x is the public network where our qmail server resides and
10.1.1.x is our private network.
and this is our qmail-smtp run file located at
/var/qmail/supervise/qmail-smtpd
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec /usr/local/bin/softlimit -m 4000000 /usr/local/bin/tcpserver -H -l ourhostname -v -x /etc/tcp.smtp.cdb -c 20 -R -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /usr/local/bin/rblsmtpd -b -C -r 'relays.ordb.org:Your message was rejected because the mail
server you use is configured to allow OPEN RELAY' -t 5 /var/qmail/bin/qmail-smtpd 2>&1
I've configured qmail on fedora core 2 with squirrel and vpopmail.
I've created a virtual domain and some users.
These users can connect successfully to my server via http/https.
They can send/receive mail if the recipients are in the same virtual domain I've created. They can receive mail from outside (for example from *@aol.com) but they cannot send mail to remote domains (for example they cannot send mails to john@aol.com) even if these domains
reside on a server on the same network.
Here's what I get in the /var/log/qmail/send/current log:
@4000000040b5f2011890f2b4 new msg 232698
@4000000040b5f20118913904 info msg 232698: bytes 3541 from
<myuser@myvirtualdomain.com> qp 2587 uid 502
@4000000040b5f2011d27b4fc starting delivery 67: msg 232698 to remote user@remotedomain.com
@4000000040b5f2011d27ff34 status: local 0/10 remote 2/20
@4000000040b5f2011d2835e4 delivery 66: success:
81.31.64.10_accepted_message./Remote_host_said:_250_ok_1085665783_qp_2587/
@4000000040b5f2011d28784c status: local 0/10 remote 1/20
@4000000040b5f2011d28b2e4 end msg 232674
@4000000040b5f2011d8044dc delivery 67: deferral:
Connected_to_111.111.111.111_but_connection_died._(#4.4.2)/
@4000000040b5f2011d808744 status: local 0/10 remote 0/20
myuser@myvirtualdomain.com is the email address of my user on my virtual domain, and user@remotedomain.com is the email address of the outside recipient (for example john@hotmail.com).
111.111.111.111 is the IP address of our qmail server.
for your information this is our tcp.smtp file:
10.1.1.:allow,RELAYCLIENT="",RBLSMTPD=""
111.111.111..:allow,RELAYCLIENT="",RBLSMTPD=""
:allow
111.111.111.x is the public network where our qmail server resides and
10.1.1.x is our private network.
and this is our qmail-smtp run file located at
/var/qmail/supervise/qmail-smtpd
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec /usr/local/bin/softlimit -m 4000000 /usr/local/bin/tcpserver -H -l ourhostname -v -x /etc/tcp.smtp.cdb -c 20 -R -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /usr/local/bin/rblsmtpd -b -C -r 'relays.ordb.org:Your message was rejected because the mail
server you use is configured to allow OPEN RELAY' -t 5 /var/qmail/bin/qmail-smtpd 2>&1