On Saturday, December 27, 2008 at 10:50 CET,
     "c...@gri" <c...@gri.in> wrote:

> I don't have much experience on linux.
> I needed to install a mail server on my ubuntu server running apache2
> virtual hosts. I had to be quick so I tried this
> http://flurdy.com/docs/postfix/ tutorial.
> Skipped firewall; installed postfix and courier-imap. (added pop3) But
> since I tried to do all as quick as possible, and since I have a very
> low experience, I messed up somewhere.
> I now am able to log-in and recieve through imap or pop3. Also able to
> send mails to accounts of my domain.
> But when I try to send a mail to remote (gmail, yahoo, example.com
> etc.) I get Relay Access Denied. Many of googleing  led me to
> "smtpd_recipient_restrictions" I throubled much but could not solve
> it. And so confused.
> 
> My goal is to have a mail server that:
> - restrict users to use TSL for all (POP3/IMAP/SMTP).
> - make it as hard as possible for spammers to target my domains.
> But now I have a headache for more than 3 days.
> Im adding the last shapes of my cf's.
> Could you tell me what am I doing wrong?

Please post output from "postconf -n" instead of pasting the main.cf
contents. Looking quickly at your configuration, you have not enabled
SASL authentication (which is necessary for client authentication unless
you want to rely on client certificates for authentication) and you are
not granting relay access to SASL authenticated clients.

http://www.postfix.org/SASL_README.html

[...]

> smtpd_recipient_limit = 32

This is too low. The default value is fine, why change it?

[...]

-- 
Magnus Bäck
mag...@dsek.lth.se

Reply via email to