Hie Don,
I have imapd running on port 25 ,now the question is how do i make it allow connections from my ISP mail server on port 25 and only the ISP mail server .i have played around with the /etc/hosts.allow but no luck
sendmail is an smtp server. It sends, and receives mail using the (E)SMTP protocol on tcp port 25.
imap uses port 143.
I am not sure what you are trying to do? You want to run your own mail server, but only accept mail from your ISP SMTP server?
Can you forward your ISP mail to your own server? (My ISP allows me to forward all incoming mail to another address)
If that's the case, then you can configure your firewall to allow tcp traffic on port 25 only from the ISP mail server address(es).
That means you won't receive any e-mail directly addressed to your domain. Any mail addressed to you directly will probably queue up at the sending site (or an intermediate site along the way) for a few days and finally be bounced back to the sender as undeliverable.
Don
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines List Address: squirrelmail-users@lists.sourceforge.net List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users