how to configure postfix as smtp for senfd mails like yahoo.

General discussion about PLUC and Linux in Pakistan.
shahid.mehmood
Cadet
Posts: 3
Joined: Fri Jul 11, 2008 11:58 am

how to configure postfix as smtp for senfd mails like yahoo.

Postby shahid.mehmood » Mon Jul 14, 2008 11:05 am

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?

LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Postby LinuxFreaK » Mon Jul 14, 2008 11:47 am

Dear shahid.mehmood,
Salam,

FYI, http://www.google.com/url?sa=t&ct=res&c ... 1PZOmxF67g

Best Regards.
Farrukh Ahmed

shahid.mehmood
Cadet
Posts: 3
Joined: Fri Jul 11, 2008 11:58 am

mail not gone into inbox

Postby shahid.mehmood » Mon Jul 21, 2008 10:41 am

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

LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Postby LinuxFreaK » Wed Jul 23, 2008 9:55 am

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.
Farrukh Ahmed

shahid.mehmood
Cadet
Posts: 3
Joined: Fri Jul 11, 2008 11:58 am

Postby shahid.mehmood » Wed Jul 23, 2008 4:54 pm

AOA
is any miss configuration in the file if yes kindly note me.


Return to “General”

Who is online

Users browsing this forum: No registered users and 1 guest