Page 1 of 1
how to configure postfix as smtp for senfd mails like yahoo.
Posted: Mon Jul 14, 2008 11:05 am
by shahid.mehmood
dear ,
i am new user in linux. i facing problem in configuration in postfix.
i want to use postfix for smtp only for my local net. i hv live ip. both forward, reverslookup & no MX record in dns. i dont want to use gatway smtp of my isp in my postfix.
what configuration is required for this. can u provied my the configuration. so that my mails goes in inboxes of others domains like yahoo, gmail & hotmail etc.
plz help me.
secondly can i used domain name as server name in postfix?
Re:
Posted: Mon Jul 14, 2008 11:47 am
by LinuxFreaK
mail not gone into inbox
Posted: Mon Jul 21, 2008 10:41 am
by shahid.mehmood
AOA
i configure my mail server. but my mails goes into junk(spam).here is my configuration. i want y server sent mail directally.not using isp smtp server as baridge. i want to sent mails of my domain as well as others domain through my local net.
my main .cf file config. is below
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
readme_directory = /usr/share/doc/postfix
spf-policyd_time_limit = 3600s
# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
myhostname = abc.pk
mydomain = abc.pk
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = abc.pk
#mydestination =
#relayhost =
mynetworks = 127.0.0.0/8, 192.168.0.0/24
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
html_directory = /usr/share/doc/postfix/html
Re:
Posted: Wed Jul 23, 2008 9:55 am
by LinuxFreaK
Dear shahid.mehmood,
Salam,
You need to setup RDNS, SPF and DomainKeys for your domain from which you are trying to send an email.
Best Regards.
Posted: Wed Jul 23, 2008 4:54 pm
by shahid.mehmood
AOA
is any miss configuration in the file if yes kindly note me.