LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-26-2010, 01:34 PM   #1
marlonferri
LQ Newbie
 
Registered: Nov 2010
Posts: 3

Rep: Reputation: 0
Sended mail go to trash folder of reciver using postfix in my smtp server


Hi, I configue my postfix to send and recive external emails, but many recive in trash folder.
Other programer say me that is need some configurations in postfix with and dovecot to work, but i dont know what!

This is my first time configuring a linux server at this week.


my main.conf

sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
virtual_alias_maps = hash:/etc/postfix/virtual
sender_bcc_maps = hash:/etc/postfix/bcc
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
home_mailbox = Maildir/
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
virtual_maps = hash:/etc/postfix/virtusertable
#smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated #reject_unauth_destination
#----------------------------------------
canonical_maps = hash:/etc/postfix/canonical
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
header_recipient
myhostname = mail.mydomain.com.br
mydomain = mydomain.com.br
myorigin = $mydomain
mydestination = $myhostname, localhost.$mydomain, $mydomain
program_directory = /usr/lib/postfix
masquerade_domains =
mynetworks = myip/28, 127.0.0.0/8
relay_domains = $mydestination
defer_transports =
home_mailbox = Maildir/
disable_dns_lookups = no
mailbox_command =
mailbox_transport =
bloqueia_anexos_perigosos reject_unknown_client,
unknown_client_reject_code = 550
smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/access,
permit_mynetworks,
reject_unknown_sender_domain,
reject_non_fqdn_sender,

unknown_address_reject_code = 550

smtpd_helo_required = yes
smtpd_helo_restrictions = check_helo_access hash:/etc/postfix/access,
reject_invalid_hostname,
reject_unknown_hostname,
#reject_non_fqdn_hostname,

unknown_hostname_reject_code = 550
alias_maps = hash:/etc/aliases
message_size_limit = 20480000
mailbox_size_limit = 0
delay_warning_time = 1h
html_directory = /usr/share/doc/packages/postfix/htmlsmtpd_sasl_type = devecot



Thanks for all!
 
Old 11-26-2010, 04:58 PM   #2
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
There are several causes of this. See this thread for some suggestions.
 
Old 11-27-2010, 07:05 PM   #3
marlonferri
LQ Newbie
 
Registered: Nov 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for you reply, because I don't know how ask this i dont find this other post. I will go try anything in other post!

Thanks!
 
Old 11-28-2010, 05:50 AM   #4
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
The other post is located here (click this link): http://www.linuxquestions.org/questi...ic#post4156934

Basically it comes down to a few things:
1 - most recipient domains will reject email that originates from a system with a dynamic IP, is allocated from a pool that is classified as dynamic (even if your is static), or is from a pool that is designated as residential.
2 - you should have the reverse DNS match the forward DNS. This is typically not the case with residential accounts
3 - being on a spam run time black list
4 - not having an SPF record, Sender ID, and or Domain keys
5 - the recipient (hotmail, gmail, earthlink, etc) has a policy of default spam declaration until you contact them to request otherwise, but this will only work if you comply with 1-4 above.
 
  


Reply



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 Problem Sending SMTP Mail j.smith1981 Linux - Server 2 10-27-2010 09:51 PM
Postfix Mail Connection to SMTP Server zeraia77 Linux - Networking 4 03-05-2006 01:50 AM
keep a copy of sended mail? nabil_boussetta Linux - Software 4 03-16-2004 11:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:46 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration