There are basically 3 ways to accomplish what you want, only
2 are probably desirable.

1) Relay anything on your mail server, bad in so many ways.

2) Pop before SMTP.  That is a feature in dbmail where when a
user pop's their email first, their IP is placed in a table
dbmail_pbsp for a "period of time".  Then you have to configure
postfix to do a SQL query for valid IP's from that table.  I have
not done this, so I cannot comment any further.

3) Use AUTH SMTP with Postfix, this is what we do.  I can help you
with this setup.  You will need sasl compiled and postfix recompiled
with sasl support.  When compiling both remember to add database
support for your DB.  Once there it's pretty easy to set up SASL
to query the database when a user requests authentication.

Both 2 and 3 usually require the user to alter their SMTP program
to work with them.  I prefer to just have them log in rather than
depend on an IP allow based on some time period.

However, I will add that both of these features are becoming useless
as most all providers disallow SMTP out of their network.  So even
with it configured your user will most likely have to set their
outgoing SMTP to the external provider they are with.

The exception to that rule is the new Message Submission Protocol
on port 587.  It's basically AUTH SMTP running on port 587 which
is usually not blocked by providers as by it's nature it should
only allow AUTH SMTP.  It the *new* "what everyone should use"
approach to help stop spam.

--
David A. Niblett               | email: [EMAIL PROTECTED]
Network Administrator          | Phone: (352) 334-3400
Gainesville Regional Utilities | Web: http://www.gru.net/
 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Carrera
Sent: Wednesday, August 23, 2006 8:15 AM
To: [email protected]
Subject: [Dbmail] Postfix / Dbmailallow user to send emails outside
mynetwork


Hi All,

I have been trying to figure out how to allow users to send emails from 
outside my network but i am having real problems with the various
howto's.

Dose anyone here know of a good page that has a working postfix / dbmail

allow user to send emails kind of page ???

Thank you in advance for any help

Dave C
_______________________________________________
Dbmail mailing list
[email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to