Koozali.org: home of the SME Server

Cannot send mail from local network using IMAP

Steven Curren

Cannot send mail from local network using IMAP
« on: May 20, 2002, 04:53:40 AM »
Hi all,

I am having difficulity sending mail from a local workstation using outlook express IMAP client.

This is the error message I get from outlook express:

The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was 'builder@alp.net'. Subject 'Re: dialup at Mon May 20 09:34:50 EST 2002', Account: 'mail.alp.net', Server: 'mail.alp.net', Protocol: SMTP, Server Response: '550 Mail from to prohibited from your location (UNKNOWN@mckell.alp.net ip=192.168.1.10)', Port: 25, Secure(SSL): No, Server Error: 550, Error Number: 0x800CCC79

I have checked the contents /var/spool/smtpd/etc/smtpd_check_rules, which appears below:

# Don't allow bang paths via us
noto:ALL:ALL:*!*@*:551 Sorry %H (%I), I don't allow unauthorized relaying. You can't use me to send mail from %F to %T.

# Don't allow two @s (equivalent to %hack) via us
noto:ALL:ALL:*@*@*:551 Sorry %H (%I), I don't allow unauthorized relaying. You can't use me to send mail from %F to %T.

# Don't allow %hack relay via us
noto:ALL:ALL:*%*@*:551 Sorry %H (%I), I don't allow unauthorized relaying. You can't use me to send mail from %F to %T.


# Allow relaying from the local network
allow:127.0.0.1:ALL:ALL
allow:192.168.1.0/24:ALL:ALL

# Prohibit access to these addresses from the outside world
noto:ALL:ALL:dialmon@*.alp.net dialmon@alp.net:551 Sorry %H (%I), you cannot send mail to %T from outside our local network.
noto:ALL:ALL:everyone@*.alp.net everyone@alp.net:551 Sorry %H (%I), you cannot send mail to %T from outside our local network.
noto:ALL:ALL:shared@*.alp.net shared@alp.net:551 Sorry %H (%I), you cannot send mail to %T from outside our local network.

# Allow any of our domains
allow:ALL:ALL:*.alp.net *@alp.net

# Just say no to anything else, we won't relay for people we don't know.
noto:ALL:ALL:ALL:551 Sorry %H(%I), I don't allow unauthorized relaying. Please use another SMTP host to mail from %F to %T
 
It seems that this file allows relaying from workstations on the local network. I do not understand why I am unable to send e-mail from the workstation IMAP client, while sending via webmail is no problem.

Any help or ideas appreciated