Hi everyone, first time poster, novice FreeBSD user since 4.0.
Here's my problem. I have a very small private network that needs a server that can accept emails from network devices and relay them to their destinations.
I have a dell 3110CN network printer that can send email alerts using smtp, but only on port 25, or ports 5000-65000 (can specify the standard 25, or anything custom between 5000 and 65000). The printer can use no smtp authentication, or a few smtp auth types.
Here's what I did so far. I set up FreeBSD 8.2 as a simple server running sendmail and really not much other than what comes with the standard install. It's on the network no problem, can ping other network devices (by ip address) and can be pinged (by ip address). There's really no domain set up (it's an older windows network). The server has full outbound internet connectivity (nslookups and pings work).
So, on to the problem. I have a dell printer on the network and it can be configured to send email alerts for things like low toner, paper jam, and the like. The printer has a hostname (dell47294 or something) but no domain name. In the email config, I can specify the smtp server (I set the ip address of the FreeBSD server), the email address to send as, and some smtp auth options for username and password for authentication.
I won't go into what sendmail options I set using the config files, but here's what happened. The printer is sending mail alerts to the FreeBSD server (I can see the mqueue files) and the server is trying to send the emails to their delivery domains (I'm testing by telling the printer to send email to my personal@gmail account, using the FreeBSD server as the smtp server). When I tail -f /var/log/maillog, I can see it trying to send and then just hanging until it times out. Then it tries again in a few minutes to another gmail MX record (alt-something.gmail.com) - so the server is trying. I'm just not sure that the server is allowing itself to send the emails or something - it's really difficult to describe.
So basically, here's what I need to know how to do
- configure sendmail to allow relaying 100% (I know this is bad, but it's an internal-only box with no inbound access whatsoever). I need to know which files I need to change, which options, and so on. I'm not even tied down to using sendmail if another option would be simpler/more reliable.
I'm hoping I'm just missing something easy here. Please help!
I'm not sure how to proceed, or how to troubleshoot it further, so if you need more information just say the word. Thanks everyone!
Here's my problem. I have a very small private network that needs a server that can accept emails from network devices and relay them to their destinations.
I have a dell 3110CN network printer that can send email alerts using smtp, but only on port 25, or ports 5000-65000 (can specify the standard 25, or anything custom between 5000 and 65000). The printer can use no smtp authentication, or a few smtp auth types.
Here's what I did so far. I set up FreeBSD 8.2 as a simple server running sendmail and really not much other than what comes with the standard install. It's on the network no problem, can ping other network devices (by ip address) and can be pinged (by ip address). There's really no domain set up (it's an older windows network). The server has full outbound internet connectivity (nslookups and pings work).
So, on to the problem. I have a dell printer on the network and it can be configured to send email alerts for things like low toner, paper jam, and the like. The printer has a hostname (dell47294 or something) but no domain name. In the email config, I can specify the smtp server (I set the ip address of the FreeBSD server), the email address to send as, and some smtp auth options for username and password for authentication.
I won't go into what sendmail options I set using the config files, but here's what happened. The printer is sending mail alerts to the FreeBSD server (I can see the mqueue files) and the server is trying to send the emails to their delivery domains (I'm testing by telling the printer to send email to my personal@gmail account, using the FreeBSD server as the smtp server). When I tail -f /var/log/maillog, I can see it trying to send and then just hanging until it times out. Then it tries again in a few minutes to another gmail MX record (alt-something.gmail.com) - so the server is trying. I'm just not sure that the server is allowing itself to send the emails or something - it's really difficult to describe.
So basically, here's what I need to know how to do
I'm hoping I'm just missing something easy here. Please help!