LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-23-2010, 04:46 AM   #1
pau_kacang
Member
 
Registered: May 2005
Location: Malaysia
Posts: 33

Rep: Reputation: 15
POSTFIX & SMTP Relay Denied


hello,

i'm just finish install & setup postfix & spamassasin. i can send & received email from my local area network. i already install webmail client & i can send received. when using my pda from outside my network i can received but i just can send email to my domain only. for other domain it's error relay access denied. here my postfix configuration. anybody know how to solved this problem
 
Old 03-23-2010, 09:34 AM   #2
caksin
Member
 
Registered: Jul 2008
Location: Ankara, Türkiye
Distribution: Ubuntu, Pardus
Posts: 47

Rep: Reputation: 16
Where is your postfix configuration? Is it me or did you forget to post it?
I had the same problem trying through outlook when I first setup a server, if you don't tick the "my server requires authentication" checkbox, it gives the "relay access denied" error. If you can find any configuration option like the one I mentioned, try that.
 
Old 03-23-2010, 10:58 AM   #3
rpedrica
Member
 
Registered: Nov 2008
Location: Cape Town
Distribution: Slackware64 -current
Posts: 208

Rep: Reputation: 27
You need to of course setup sasl auth to do allow non-ip specified relaying from external. A better way is to use TLS auth however that is another kettle of fish.
 
Old 03-28-2010, 08:31 PM   #4
pau_kacang
Member
 
Registered: May 2005
Location: Malaysia
Posts: 33

Original Poster
Rep: Reputation: 15
thanx for replay,

i tried to configure POSTFIX TLS auth with Slackware 12.2. i refer to thti link http://www.postfix.org/TLS_README.html, but i can't find in my slack box. can anybody help me how to configure TLS auth on POSTFIX + SLACKWARE 12.2
 
Old 03-29-2010, 07:37 AM   #5
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 14.1
Posts: 1,138

Rep: Reputation: 55
Quote:
Originally Posted by pau_kacang View Post
thanx for replay,

i tried to configure POSTFIX TLS auth with Slackware 12.2. i refer to thti link http://www.postfix.org/TLS_README.html, but i can't find in my slack box. can anybody help me how to configure TLS auth on POSTFIX + SLACKWARE 12.2
You first need to create a self-signed CA certificate. Google for the phrase and you'll get detailed how-tos. Then you need to make changes listed in TLS README. For help, here's my config options in main.cf.

Code:
### Begin Section - SMTP with STARTTLS section
smtpd_use_tls = yes

### add tls info in headers
smtpd_tls_received_header = yes

### offer SMTP AUTH with TLS only
smtpd_tls_auth_only = yes

### RSA key and certificates:
smtpd_tls_cert_file = /path/to/cert_file

smtpd_tls_key_file = /path/to/key_file

### log level 1 only produces Log TLS handshake and certificate information.
smtpd_tls_loglevel = 1

### http://www.postfix.org/TLS_README.html
### USE EITHER THIS --this will not force the use TLS
smtpd_tls_security_level = may
### OR THIS --- this will force everyone to use TLS.
#smtpd_tls_security_level = encrypt

### set smtpd_sasl_tls security options
smtpd_sasl_tls_security_options = noanonymous, noactive, nodictionary

smtpd_tls_session_cache_database = btree:/var/spool/postfix/data/smtpd_scache
smtpd_tls_session_cache_timeout = 3600s
smtpd_starttls_timeout = 120s

### use /dev/urandom for tls
tls_random_source = dev:/dev/urandom
 
  


Reply


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
postfix smtp relay ormey2000 Linux - Server 2 01-19-2010 07:24 AM
Postfix as SMTP relay to exchange help GGlinux Linux - Server 6 07-29-2009 09:10 PM
Postfix returns "Relay Access Denied (smtp code 554)" bornfree Linux - Server 3 09-30-2008 11:01 AM
Postfix as a mail relay (getting relay access denied) hypexr Linux - Software 3 09-13-2005 07:15 PM
SMTP: Relay Denied nemesisza Linux - Software 2 03-14-2004 10:54 AM


All times are GMT -5. The time now is 01:41 PM.

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