Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th February 2014, 21:18
xanela xanela is offline
Member
 
Join Date: Feb 2014
Posts: 45
Thanks: 11
Thanked 0 Times in 0 Posts
Default postfix my emails are spam

hi all.

I have installed several web hosting on the server.

I have it configured with postfix, dovecot, pure-ftp, and as a manager I use bind9 ispconfig3.

Everything works fine, except when I run sent a hotmail or gmail as I consider them spam.

I created the type TXT records with information domains (v = spf1 ptr ip4: my_ip mx: my_domain) But the emails keep coming as spam.

A may be due to this?

I hope your help.

thank you very much in advance
Reply With Quote
Sponsored Links
  #2  
Old 13th February 2014, 08:34
srijan srijan is offline
HowtoForge Supporter
 
Join Date: Feb 2014
Location: New Delhi, India
Posts: 934
Thanks: 7
Thanked 134 Times in 128 Posts
Send a message via Skype™ to srijan
Default

Hi xanela,


I thinks you need to modify these configurations in /etc/postfix/main.cf.

Case1: Postfix 2.x

Quote:
vi /etc/postfix/main.cf
as follows:-

Quote:
[...]
smtpd_helo_required = yes
disable_vrfy_command = yes
strict_rfc821_envelopes = yes
invalid_hostname_reject_code = 554
multi_recipient_bounce_reject_code = 554
non_fqdn_reject_code = 554
relay_domains_reject_code = 554
unknown_address_reject_code = 554
unknown_client_reject_code = 554
unknown_hostname_reject_code = 554
unknown_local_recipient_reject_code = 554
unknown_relay_recipient_reject_code = 554
unknown_sender_reject_code = 554
unknown_virtual_alias_reject_code = 554
unknown_virtual_mailbox_reject_code = 554
unverified_recipient_reject_code = 554
unverified_sender_reject_code = 554

smtpd_recipient_restrictions =
reject_invalid_hostname,
reject_unknown_recipient_domain,
reject_unauth_pipelining,
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
reject_rbl_client multi.uribl.com,
reject_rbl_client dsn.rfc-ignorant.org,
reject_rbl_client dul.dnsbl.sorbs.net,
reject_rbl_client list.dsbl.org,
reject_rbl_client sbl-xbl.spamhaus.org,
reject_rbl_client bl.spamcop.net,
reject_rbl_client dnsbl.sorbs.net,
reject_rbl_client cbl.abuseat.org,
reject_rbl_client ix.dnsbl.manitu.net,
reject_rbl_client combined.rbl.msrbl.net,
reject_rbl_client rabl.nuclearelephant.com,
permit
[...]
Case2: Postfix 1.x

Quote:
vi /etc/postfix/main.cf
as follows:-

Quote:
[...]
smtpd_helo_required = yes
disable_vrfy_command = yes
strict_rfc821_envelopes = yes
invalid_hostname_reject_code = 554
multi_recipient_bounce_reject_code = 554
non_fqdn_reject_code = 554
relay_domains_reject_code = 554
unknown_address_reject_code = 554
unknown_client_reject_code = 554
unknown_hostname_reject_code = 554
unknown_local_recipient_reject_code = 554
unknown_relay_recipient_reject_code = 554
unknown_sender_reject_code = 554
unknown_virtual_alias_reject_code = 554
unknown_virtual_mailbox_reject_code = 554
unverified_recipient_reject_code = 554
unverified_sender_reject_code = 554

maps_rbl_domains =
multi.uribl.com,
dsn.rfc-ignorant.org,
dul.dnsbl.sorbs.net,
list.dsbl.org,
sbl-xbl.spamhaus.org,
bl.spamcop.net,
dnsbl.sorbs.net,
cbl.abuseat.org,
ix.dnsbl.manitu.net,
combined.rbl.msrbl.net,
rabl.nuclearelephant.com

smtpd_recipient_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
reject_invalid_hostname,
reject_non_fqdn_hostname,
reject_non_fqdn_sender,
reject_unknown_sender_domain,
reject_unknown_recipient_domain,
reject_maps_rbl,
check_relay_domains
[...]
Then restart the services for both cases.

Quote:
/etc/init.d/postfix restart
Br//
Srijan
Reply With Quote
  #3  
Old 13th February 2014, 11:34
xanela xanela is offline
Member
 
Join Date: Feb 2014
Posts: 45
Thanks: 11
Thanked 0 Times in 0 Posts
 
Default

hello again .

first of all thanks for the reply.

I have the version 2.9, when I reboot the server throws the following output

Quote:
[.... ] Starting Postfix Mail Transport Agent : postfixpostconf : warning: / etc / postfix / main.cf : unused parameter: unknown_sender_reject_code = 554
postconf : warning: / etc / postfix / main.cf : unused parameter: unknown_sender_reject_code = 554
postconf : warning: / etc / postfix / main.cf : unused parameter: unknown_sender_reject_code = 554
postconf : warning: / etc / postfix / main.cf : unused parameter: unknown_sender_reject_code = 554
postconf : warning: / etc / postfix / main.cf : unused parameter: unknown_sender_reject_code = 554
postconf : warning: / etc / postfix / main.cf : unused parameter: unknown_sender_reject_code = 554
/ usr / sbin / postconf : warning: / etc / postfix / main.cf : unused parameter: unknown_sender_reject_code = 554
/ usr / sbin / postconf : warning: / etc / postfix / main.cf : unused parameter: unknown_sender_reject_code = 554
/ usr / sbin / postconf : warning: / etc / postfix / main.cf : unused parameter: unknown_sender_reject_code = 554
/ usr / sbin / postconf : warning: / etc / postfix / main.cf : unused parameter: unknown_sender_reject_code = 554
/ usr / sbin / postconf : warning: / etc / postfix / main.cf : unused parameter: unknown_sender_reject_code = 554
/ usr / sbin / postconf : warning: / etc / postfix / main.cf : unused parameter: unknown_sender_reject_code = 554
/ usr / sbin / postconf : warning: / etc / postfix / main.cf : unused parameter: unknown_sender_reject_code = 554
/ usr / sbin / postconf : warning: / etc / postfix / main.cf : unused parameter: unknown_sender_reject_code = 554
/ usr / sbin / postconf : warning: / etc / postfix / main.cf : unused parameter: unknown_sender_reject_code = 554
/ usr / sbin / postconf : warning: / etc / postfix / main.cf : unused parameter: unknown_sender_reject_code = 554
/ usr / sbin / postconf : warning: / etc / postfix / main.cf : unused parameter: unknown_sender_reject_code = 554
/ usr / sbin / postconf : warning: / etc / postfix / main.cf : unused parameter: unknown_sender_reject_code = 554
/ usr / sbin / postconf : warning: / etc / postfix / main.cf : unused parameter: unknown_sender_reject_code = 554
/ usr / sbin / postconf : warning: / etc / postfix / main.cf : unused parameter: unknown_sender_reject_code = 554
/ usr / sbin / postconf : warning: / etc / postfix / main.cf : unused parameter: unknown_sender_reject_code = 554
/ usr / sbin / postconf : warning: / etc / postfix / main.cf : unused parameter: unknown_sender_reject_code = 554
. ok
but the emails keep coming as spam

Last edited by xanela; 13th February 2014 at 11:40.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix - Sender address rejected: not owned by user pdxvwerik Installation/Configuration 16 9th January 2014 02:28
Postix dosen't forward to Gmail Yahoo Hotmail baculas Server Operation 0 25th September 2013 13:05
Multiple postfix errors iandoug Server Operation 4 6th February 2013 23:40
mail recipient linux_red Installation/Configuration 6 9th March 2012 15:24
Verify email setup meekish Installation/Configuration 28 27th October 2006 16:36


All times are GMT +2. The time now is 13:01.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.