On Thu, Sep 4, 2008 at 5:12 PM, Ashish Shukla आशीष शुक्ल <wahjava.ml@
gmail.com> wrote:

> Yes, I've created that too, as Gmail's SMTP won't let you to continue
> on unencrypted connection.


>> i followed the CA creation and signing steps given in the HOW-TO, and
made necessary changes to main.cf

but now when i try to send a test mail, the following is logged:
$grep "sahil.dave19" < /var/log/mail.log

Sep  4 03:48:18 localhost postfix/smtpd[8377]: NOQUEUE: reject: RCPT from
debmail.net[192.168.1.8]: 554 5.7.1 <[EMAIL PROTECTED]>: *Relay access
denied*; from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]> proto=SMTP

##main.cf##
# TLS parameters and settings
smtp_tls_loglevel = 1
smtp_tls_per_site = hash:/etc/postfix/tls_per_site
smtp_tls_CAfile = /etc/postfix/cacert.pem
smtp_tls_cert_file = /etc/postfix/FOO-cert.pem
smtp_tls_key_file = /etc/postfix/FOO-key.pem
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtp_use_tls = yes
smtpd_tls_CAfile = /etc/postfix/cacert.pem
smtpd_tls_cert_file = /etc/postfix/FOO-cert.pem
smtpd_tls_key_file = /etc/postfix/FOO-key.pem
smtpd_tls_received_header = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom


# SASL Settings
smtpd_sasl_auth_enable = no
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtpd_sasl_local_domain = $myhostname
smtp_sasl_security_options = noanonymous
smtp_sasl_tls_security_options = noanonymous
smtpd_sasl_application_name = smtpd

disable_dns_lookups = yes
transport_maps = hash:/etc/postfix/transport

are the above settings correct?

also, since i am on debian, i didn't install postfix from source and simply
"apt-get"ed it. so, some of the files like generic, tls_per_site, transport
were not there. i have created the last 2 manually and ran a postmap.



-- 
Sahil

MCA(SE)
USIT
GGSIPU, Kashmere Gate
Delhi
_______________________________________________
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

Reply via email to