Smtp with authentication

I have a Ubuntu 10.04.1 LTS VPS ..

I need some smtp service to send mail from my server.. I have tried postfix and exim4 and they work well without authentication but I need also authentication like user@domain.com with password.. Every vhost may use its own domain to send mail.. I have tried some tutorials and read some documents but still have a lot of problem with it..

I don't need any pop support and I don't keep any mail in the server.. Just send mail from php/mono and logwatch.. I use gmail's service to receive mails…

Can anyone help me with this problem.. Or at least give me some advice..

Thanks in advance..

3 Replies

You can relay mail from Postfix through another host, and even do so on a per-sender basis. You'll need to install the Cyrus SASL libraries (libsasl2-2 and libsasl2-modules packages).

I'm not aware of a friendlier HOWTO, but that page should at least give you some terms to search for.

Thank you for your reply, Vance..

That was not something in my mind to use relay host but I will reconsider about it..

Are there any other way without using a relay host? Because I don't want to be stopped with Gmail's smtp policies.. (I know that Gmail allows to send only limited number of mails per day)..

I think there are more information than I saw before in thisweb-page :)

Thanks again Vance..

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct