View Single Post
Old 12-04-2012, 11:52 PM  
GFED
Confirmed User
 
GFED's Avatar
 
Industry Role:
Join Date: May 2002
Posts: 8,098
Quote:
Originally Posted by edgeprod View Post
587, if I remember correctly, is the "alternate" SMTP port, designed to get around the ISP blocking port 25.

In your case, sendmail probably isn't properly configured to talk to the outside world. It may need ports exposed (or forwarded) on the router, or some other settings. Next thing on your list should be checking out the sendmail docs, specifically for FreeBSD.
Okay, according to http://www.freebsd.org/doc/en_US.ISO.../sendmail.html

Code:
29.3.1 /etc/mail/access
The access database defines what host(s) or IP addresses have access to the local mail server and what kind of access they have. Hosts can be listed as OK, REJECT, RELAY or simply passed to sendmail's error handling routine with a given mailer error. Hosts that are listed as OK, which is the default, are allowed to send mail to this host as long as the mail's final destination is the local machine. Hosts that are listed as REJECT are rejected for all mail connections. Hosts that have the RELAY option for their hostname are allowed to send mail for any destination through this mail server.
so I added the following to /etc/mail/access
Code:
localhost.localdomain                   RELAY
localhost                               RELAY
127.0.0.1                               RELAY
192.168.1                               RELAY
and compile the db
Code:
freebsd# pwd
/etc/mail
freebsd# make
/usr/sbin/makemap hash access.db < access
chmod 0640 access.db
Still not working... I'll continue researching and post an update when I find something else...

Quote:
Originally Posted by sandman! View Post
when you ready for a managed freebsd 9 box let me know
Yes, I have a managed box but I decided to make my own for fun.
GFED is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote