LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-14-2005, 11:35 AM   #1
newtommy
Member
 
Registered: Feb 2005
Location: Baltimore, Maryland
Distribution: SuSE 9.2 Professional
Posts: 38

Rep: Reputation: 15
email being blocked by spam filters - New postifx setup


Hi,

I'm very new to mail applications so I'm hoping someone out there can enlighten me on what's causing this issue. Here is my setup:

Postfix running on SuSE 9.2
Cyrus IMAP acting as mailbox_transport
Squirrelmail running as web interface
everything works -- ie. I can send and receive mail inside and outside my network
(main.cf is below)
Mail server sits behind an ADSL modem/router connecting to my ISP
running named for dns support, I have forward and rev. lookup entries
I also have my MX 10 entry for the mail server

My problem: I can send email to, for example my corporate account which is outside my local network, I also can send mail to my Yahoo account - but it is intercepted as "junk mail". I have run into many other cases where I am considered junk mail by other people I know and want to send mail to. Its a new domain, and I've only been up and running for 2 weeks now. I am not a spammer. Only thing i can think of is that maybe these recipient mail systems are trying to authenticate me and think I'm not really coming from an authentic email adress? I don't know where to begin to fix this problem, but it basically makes my e-mail setup not-usable. I apprecaite any help you can offer me.

Main.cf:
-------------------
queue_directory = /var/spool/postfix

command_directory = /usr/sbin

daemon_directory = /usr/lib/postfix

mail_owner = postfix

myhostname = gandalf.bostonst.com

mydomain = bostonst.com

myorigin = $mydomain

inet_interfaces = all
local_recipient_maps =

unknown_local_recipient_reject_code = 550



mynetworks = 192.168.1.1/70 , 127.0.0.1/8


debug_peer_level = 3

debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail

newaliases_path = /usr/bin/newaliases


mailq_path = /usr/bin/mailq


setgid_group = maildrop


html_directory = /usr/share/doc/packages/postfix/html


manpage_directory = /usr/share/man

sample_directory = /usr/share/doc/packages/postfix/samples


readme_directory = /usr/share/doc/packages/postfix/README_FILES
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient

program_directory = /usr/lib/postfix

masquerade_domains =
mydestination = $myhostname, localhost.$mydomain, $mydomain
defer_transports =
disable_dns_lookups = no
relayhost =
mailbox_command =
mailbox_transport = cyrus
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
 
Old 02-14-2005, 03:24 PM   #2
merize147
Member
 
Registered: Oct 2004
Location: Where ever I put down Lappie
Distribution: Dragged kicking and screaming to RHEL
Posts: 132

Rep: Reputation: 15
If you can send mail to some but not all then most likely your subnet is listed in a blacklist somewhere and the mail servers that your trying to send to are checking your ip against those lists. On many occasions legit users get caught in an ip range that is being blocked.

Option 1: bounce your mail off your ISP's mail server, usually not blocked.

Option 2: get the person to whitelist you.



May the swartz be with you,
M
 
Old 02-15-2005, 12:23 PM   #3
newtommy
Member
 
Registered: Feb 2005
Location: Baltimore, Maryland
Distribution: SuSE 9.2 Professional
Posts: 38

Original Poster
Rep: Reputation: 15
Merize,

Thanks for the idea -- I'm going to work on changing my config to relay to my provider and see if that makes a difference. However I'm not quite sure how to do that? (planning on researching online) if anyone happens to know the 2 or 3 key things to do this, (and I have to provide a login and password to use my ISP's SMPT server) I'd apprecaite if you could post a quick fix.

Thanks you guys are awesome.

Tommy.
 
Old 02-21-2005, 09:48 AM   #4
fleabag
LQ Newbie
 
Registered: Jan 2005
Location: MPLS
Distribution: Mandrake 10.1
Posts: 18

Rep: Reputation: 0
Using your ISP smtp server will fix it

In order to try to cut out spam, many ISPs do not allow mail from individual mail servers. You can ask different ISPs to add you to the White list, but as mentioned above, it is easier to work with your ISP's smtp server.

My postfix config file has outgoing mail server entry. I changed the smtp.myserver.com to smtp.comcast.net. as I am with comcast now. There is no user/passwd needed in my setup as comcast knows my IP.

I also have to change my POP mail clients to specify this as well.

I have had very good luck using Webmin to config these settings. It can be more intuitive than grepping through config files.

Works like a charm, good luck

Last edited by fleabag; 02-21-2005 at 09:53 AM.
 
Old 05-05-2005, 04:03 AM   #5
gokuie
LQ Newbie
 
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
can someone tell me what is a MX 10 and how to set one up.
I am having the same problem. My emails are being filter out by yahoo.com and being viewed as junkmail.

Tommy were you able to bounce your emails off your ISP? Have you figure out how to supply a login and password?

Last edited by gokuie; 05-05-2005 at 04:04 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
I've had it with M$ Exchange and commercial spam filters - going Postfix KimVette General 4 10-22-2005 11:19 PM
sendmail getting e-mail through others spam filters grizzly Linux - Software 1 08-20-2005 05:18 PM
Spam Filters for Slackware 10.0 bad_andy Linux - Newbie 1 09-07-2004 03:02 PM
A method for cascading spam filters jkcunningham Linux - Networking 0 08-03-2003 04:56 PM
Spam Filters loom001 Linux - Software 0 06-23-2003 10:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:43 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration