Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-26-2006, 02:57 PM   #1
Registered: Mar 2004
Distribution: gentoo, slackware
Posts: 41

Rep: Reputation: 15
sendmail: relay for all (/etc/mail/access...)

can you tell me, please, what has to be saved in /etc/mail/access(db) to create an open smtp server.
people from outside (not only in the lan, but in the www) should be able to send mails through my host.
is there a useful howto?
all i can find is for "local smtp" servers.
thank you
Old 02-26-2006, 04:29 PM   #2
Senior Member
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Your question sounds like you would like to configure a OPEN RELAY server (which is VERY BAD IDEA). People from the outside should be able to send e-mails? There are 3 techniques:
  1. static ip address? => /etc/mail/access
  2. dynamic ip address: smtp auth
  3. dynamic ip address: pop-before-smtp

Also, is there a specific reason for using sendmail?
Old 02-26-2006, 04:48 PM   #3
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 165Reputation: 165
A completely open mail relay is not a good thing to have. However, have a look at - you can turn on relaying several ways to achieve different effects. The simplest way that the sendmail folks recommend is to add domains to /etc/mail/relay-domains


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using sendmail to relay mail to ISP mail server Swift&Smart Linux - Software 26 11-09-2008 03:00 PM
Postfix as a mail relay (getting relay access denied) hypexr Linux - Software 3 09-13-2005 07:15 PM
relay mail to sendmail relay server??? lemay_jeff Linux - Newbie 0 07-06-2004 04:54 PM
mail relay problem with sendmail ilovebytes Linux - Networking 5 11-16-2003 07:56 AM
Sendmail relay mail problem Swift&Smart Linux - Software 15 10-30-2003 09:14 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:19 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration