Ubuntu Servers :: Postfix Spam 'from' Address Query?

May 17, 2011

Very new to Ubuntu and Linux so this may be a simple one. I've recently setup an Ubuntu Server 10.04 box as a mail relay running Postfix and Amavisd-new (Spamassassin & ClamAV) and this has been working really well. I started to get a few emails through today with the following header[URL]..(removed domain name) The name's always in quotes and random. The fqdn is that which I configured in postfix as $myhostname. I can't figure out how this address is being used. This box is only used for incoming mail and acts as a relay to Exchange. Exchange doesn't send out through it. The only thing that may be going outwards is bounced messages from Exchange which are almost exclusively to linkedin.

The fqdn isn't public. This box isn't even part of our internal domain, it's just named that way with manual DNS added. Anyone seen this before? Will this header have been part of the message when it arrives at postfix or could this have been added by postfix itself?

View 2 Replies


ADVERTISEMENT

Server :: Postfix Setup To Block Spam From / To Own Address

Jun 21, 2011

I have set up a couple of postfix servers for my domains, but the only thing I am missing now is this: How to block the public sending mail from my email to my email? I have managed it with SPF, but surely there must be a better way, that returns "relay not allowed" to the client. The SPF method costs too much, since it must make a dns request for each mail. So far, I have not gotten many of these mails, unless when testing my mailserver, but as I see it, anyone should not be allowed to send mail from abuse@mydomain.com to abuse@mydomain.com.

Somebody must have thought about this a long time ago, and there is simply that little line in main.conf that I'm missing.. My setup is this (virtual): I have a primary mx, with postfix, courier IMAP/POP3 server, a user database, and sasl via saslauthd. I also have a secondary mail server (backup mx) with no sasl auth, but with a copy of the mail users in the virtual tables, but added as relay_* users instead.

Spamassassin and SPF testing is replicated too, so most of the stuff should work, but I simply cannot find a setting in Postfix that denies someone to mail FROM my address TO my address. When mailing from my address and out in the open, they are required to authenticate, but not when using one of my my domain addresses, and also targeting my domain addresses.

As said, It is possible with a strict SPF setting, but that is at a cost for every lookup. It would be quicker for postfix to lookup the sender and the recipient in the relay/virtual tables, and deny if both addresses were in the recipient tables, and sender is not authenticated.

View 5 Replies View Related

Ubuntu Servers :: Block Spam In Postfix Based On Keywords?

Jun 23, 2011

i keep receiving this damn annoying spam: Quote: No Cost Website Analysis and Ranking Report Rank mysite.com at the top of the 3 major search engines Do you want to know why your competitors are showing up at the top of the three major search engines and how you can rank on top? To increase the number of visitors to your website it is crucial that you have a top search engine position. If you are like most people, you will spend countless hours trying to get traffic to your website.

Our search engine optimization experts will run a detailed website ranking and analysis report showing you exactly where mysite.com currently stands in all the major search engines along with the recommendations of how we can increase your ranking on Google, Yahoo and Bing. For Your No Cost Analysis Report and More Info Please Click Here

[Code]...

i get about 30 of those a day, everyday, for a long time. ive asked the ISP to stop it (theplanet.com) they are not responding and the spam continues. i was thinking is there a way that i can tell postfix to reject emails that contain "No Cost Website Analysis and Ranking Report" in their subject? there must be a way but i dont know how.

View 4 Replies View Related

Fedora Servers :: Postfix : Some Users Considered As Spam By Certain Mail Providers?

May 21, 2010

I have an issue with postfix and my server.One account (mine) is not considered as spam by no one. But all the other users are treated as spam by yahoo, and hotmail. And I can't understand why.Here are the header from one user who sent an email to my yahoo account (treated as spam):

Code:
From userNAme Sat May 22 01:52:27 2010
X-Apparently-To: me@yahoo.ca via 98.136.183.25; Fri, 21 May 2010 14:52:55 -0700

[code]...

View 5 Replies View Related

Ubuntu Servers :: Create New Email Address In Postfix

Jan 30, 2010

Working on ubuntu server for 1st time and need to create a new email address.The server has postfix

View 4 Replies View Related

Fedora Servers :: Email Sender Address - Postfix / Dovecot Etc

May 21, 2009

I have an email server configured with postfix, dovecot, saslauthd and squirrelmail. It works great. In fact I'd even say it works too well: in squirrelmail, I can configure any sender address and my server will accept it. Message will be sent, wether the sender's address is [URL] or [URL]. Is there any way of limiting it in such way that only [URL] is accepted as sender's address?

View 6 Replies View Related

Ubuntu Servers :: Postfix Sender Spoofing - Implement Some Address Mapping To Users?

Feb 8, 2010

I've set up an email server as per this howto: [url]

In a nutshell, it uses a combinatio of postfix, dovecot, amavis (ClamAV and SpamAssisan) and mysql.

However, with this setup, authenticated users are able to spoof outgoing message by simple changing the "from" tag.

Does anyone have any ideas on how I could implement some address mapping to users?

In this setup, postfix users are NOT system users, by are stored in the database.

View 1 Replies View Related

Fedora Servers :: Configure Email Address Alias Using Regular Expression In Postfix?

Mar 8, 2010

I am trying to configure virtual alias using regular expression.

For example :

Email send to user.1@example.com and user.2@example.com will deliver to user mailbox.

Email send to user2.1@example.com and user2.2@example.com will deliver to user2 mailbox.

And the numbers or alphabet in between user name and the domain will be vary , I can't just do a normal alias.

I been try to play around with main.cf and the virtual alias table but still not able to get work. So I am not sure is the main.cf didnt configure correctly or the regular expression is not working.

View 3 Replies View Related

Server :: Postfix & Anti-spam Optimization

Jun 21, 2011

My postfix server has been working great for the last 1-2 years. Lately the number of spams encreased (from 1-2 every day to aprox 8-10 every day per domain for some domains ).I post here the output of postconf -n. Maybe someone gives me some advices about what cat I change or how can I optimize. I must recognise that I don't fully understand details of how postfix and all the restrictions works together, but I will document every advice.

View 4 Replies View Related

Ubuntu Servers :: Postfix Make Install - Error - Postfix: Fatal: Chdir(/usr/libexec/postfix): No Such File Or Directory

Mar 11, 2010

Here is what i do: make clean make makefiles CCARGS='-DEF_CONFIG_DIR="/opt/product/postfix-2.6.5/etc"

-DEF_COMMAND_DIR="/opt/product/postfix-2.6.5"
-DEF_DAEMON_DIR="/opt/product/postfix-2.6.5/libexec"
-DEF_MAILQ_PATH="/opt/product/postfix-2.6.5/bin/mailq"
-DEF_DATA_DIR="/opt/product/postfix-2.6.5/lib"
-DEF_NEWALIAS_DIR="/opt/product/postfix-2.6.5/bin/newaliases"
[Code]...

make install then i got this error: postfix: fatal: chdir(/usr/libexec/postfix): No such file or directory make: *** [install] Error 1 I don't understand why it's checking the usr/libexec folder for the daemons although I've set the folder to /opt/product/postfix-2.6.5/libexec in the makefile. Here is also the cat of my makedefs.out:

[Code]....

View 1 Replies View Related

General :: Postfix Relaying Mail To 2 Spam Filters?

Apr 21, 2011

Does anyone know if it is possible to set up Postfix to receive all email coming to mydomain.com and forward them to 2 different spam filters? All mail needs to go to both spam filters then onto our Exchange server

View 1 Replies View Related

Server :: Postfix/qmgr Message In Logs Seems To Indicate Spam Sent?

Aug 19, 2010

I have postfix installed for a while now. It seems as though my server is sending out spam to other people which is really bad...I got emails like this one:

Code:
Delivered-To: email@provider.com
Received: by 10.223.107.17 with SMTP id z17cs2705fao;

[code]...

View 4 Replies View Related

Server :: Postfix Sends Mail To SPAM In Gemail (CentOS)?

Apr 16, 2011

I'm new here and I'm sure this question has been thrown around a lot but I just couldn't find a solution. I have a networking website I've setup and we need to send notification mails to our members depending on activity related to their profiles(messages, comments etc).We are hosting the site on Centos5.6 with VirtualMin and are using Postfix as our MTA. We also use google apps for email on the site. Heres the problem, the mails go through for some gmail users but more often than not, they end up in gmail,hotmail and yahoo spam.We've setup the appropriate SPF codes on the server, DKIM and rDNS works fine.v=spf1 ip4:xx.xx.xx.xx a mx include:_spf.google.com ~all Below is a sample email that goes directly into gmail spam. I've replaced the actual values with dummy text (Ip, Domain etc)

Delivered-To: my.email@gmail.com
Received: by 10.143.165.5 with SMTP id s5cs223598wfo;
Fri, 15 Apr 2011 08:38:22 -0700 (PDT)

[code]...

View 1 Replies View Related

Server :: Configure Postfix In Order To Check Spam Only For Outgoing Email?

May 8, 2009

It's possible to configure Postfix in order to check spam only for outgoing email?

View 2 Replies View Related

Ubuntu Security :: Add Smtp Authentication To Postfix Installation Used As Spam Filter For Exhange Server

Feb 26, 2010

I followed this How To (https://help.ubuntu.com/community/Postfix) in order to add smtp authentication to my Postfix installation used as spam filter for my exhange server, and it'seem all ok; the only thing that I don't understand is where I list all the users (with passwords) that I authorize to send mail through my server...

View 3 Replies View Related

Server :: Spam - Ip Address To Be Blacklisted To Some Dnsbl Check

Sep 17, 2010

Am using atmail server but recently i have been facing the problems of spams which caused my ip address to be blacklisted to some dnsbl check. am using below dnsbl to filter spams to my atmail

View 1 Replies View Related

Server :: Postfix As Spam Mailscanner To Protect Mail Server Running Sendmail?

Jul 27, 2011

I am using postfix as spam Mailscanner to protect my mail server running sendmail. The problem is that when I forward an email from MailScanner mail me back with the following error:

<postmaster@localhost.@mydomain.com.>... Real domain name required for sender address (in reply to MAIL FROM command))
Jul 27 13:15:59 smtp postfix/local[28465]: C68AC1000001: to=<root@smtp.mydomain.com>,

[code]....

View 1 Replies View Related

Ubuntu Servers :: Discard The Spam Mail ?

Aug 11, 2011

I had setup postfix and spam assassin, and in my environment, I forward the incoming email to my exchange server.

Everything works now, in my mail box, I can receive the email with subject ******SPAM*****. but is there a solution, when spam assassin finished the scan and mark spam, if the score is very high, may be stop to forward it to exchange, for example, send it to a special email box?

View 1 Replies View Related

Ubuntu Servers :: Outgoing Mail ALWAYS Flagged As Spam

Mar 2, 2010

I've got a web server that's hosting a few sites, and there are a few WordPress instances with these sites. With Wordpress, whenever a user registers with the site, they receive an email.With my server, it sends mail via Sendmail. This is all fine and good, except no matter what, it's flagged as spam. Is there any way to correct this?Keep in mind that this isn't a mail server, and the only reason the server ever sends mail is for new wordpress users and password resets.

View 8 Replies View Related

Server :: Sending Spam To The Spam Folder?

Apr 30, 2009

I just setup SpamAssassin and what not following this tutorial

[URL]

I am using CentOS 5.3. I was half way through that and got an email that had ***SPAM*** in the subject. Haven't received any more. First of all I want to know if spam will still get delivered, and just have a modified subject. Second, I want to know how to set it up so Spam goes to a user's spam mailbox (Virtual Users). And third of all, is it possible to disable spam filtering on a user basis, preferably using MySQL tables? Is it possible for users to mark a message as spam, and all further messages sent from that address will be sent to spam folder but only for that user?

EDIT: Yes spam is getting delivered with a modified header, on the server site, how can i deliver to spam folder? how to create IMAP virtual mailboxes on request without having to send an email to them first? Using virtual users with Courier Imap

View 3 Replies View Related

Ubuntu Servers :: Getmail + Dovecot: Filter Spam With Spamassasin?

May 2, 2011

I have a system running at home that uses Getmail to retrieve mail from my ISP's pop server. Dovecot then offers that mail over IMAPs to my desktops running Thunderbird.

The reason I have resorted to using Getmail is because I don't have a static IP (from my ISP) for my server, and thus this server doesn't act as an MX.

I have implemented Spamassassin in my Getmail script as described here.

From further research, I understand that in order to fully utilize Spamassassin 's potential, I have to resort to training it with SA learn.

Currently I still receive spam messages, but 50% of spam is marked as ****SPAM****, and the other half is not marked at all.

My question is this:

1) How do I get getmail to move messages marked as spam by spamassasin to be moved to a JUNK folder within my mailbox automatically?

2) I thought of creating a folder where my users can move messages they deem to be spam, and set up a crontab script to invoke salearn regularly on this folder to get the bayes engine to learn from it. Is this the correct way of doing it?

View 6 Replies View Related

Fedora Servers :: Catching The Spam At The Sendmail Level

Oct 16, 2009

I'm running FC10, with the sendmail that was part of it in Feb 09. Anyway, Up till now I've been using the user client to do spam filtering, But I'd like to start catching the spam at the sendmail level. What are my options today? I tried searching the forums and found a bunch of threads from 2001-2006, but I figured many of the ideas are now longer vaild.

View 2 Replies View Related

Ubuntu Servers :: Snmp Not Allowing Outside Query

Aug 11, 2010

our 9.x servers are running perfect. Just setup 5 new webservers, running 10.04LTS. Have SNMPD running, installed and the same config for all the servers I just copied over, by config, I mean one line, that's it. So the servers have the following /etc/snmp/snmpd.conf file rocommunity public

That's it. Now the only difference is looking at the ps on the local box's, a working one shows;

snmp 1096 0.0 0.0 50480 3756 ? S Jul02 9:21 /usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid
where this one shows
snmp 4962 0.3 0.0 48540 5884 ? S 22:26 0:04 /usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -g snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1
Notice (I did flag it red) the local 127.0.0.1, but that co-incides with my

[Code]....

It almost seems something firewall is blocking, apparmor is not running, is there something else out of the box 10.04 has that I am just completly brain farting on?

View 1 Replies View Related

Server :: Forwarding Spam To A Spam Box?

Aug 25, 2009

I currently have the following email server set up:

Postfix with mysql backend
Dovecot
clamav
spamassassin
amavisd

And it all works great. However I would like it for amavisd to forward all the marked spam into a folder on each user account, but I cannot figure this out.

View 5 Replies View Related

Ubuntu :: Get Postfix To Receive Mail From One Address And Pipe It To A PHP File?

Oct 7, 2010

Im running Ubuntu server 10.04 lts

Im trying to get postfix to receive mail from one address and pipe it to a PHP file for a help desk software called Trellis Desk.

They recommended that I use Cpanel but its not free and my boss is not willing to pay for it. I need a free solution.

I know my way around Linux but Im no professional

View 1 Replies View Related

Red Hat / Fedora :: Redirect The Postfix Email Address?

Dec 28, 2010

tell postfix to send email sent to one email address to another email address. What I really need to do is tell postfix that every email sent to [URL] and [URL] be sent to [URL] I tried transport maps like this: [URL] but that did not work. I then tried canonical maps like this:

recipient_canonical file:

/^((dbsupport|helpdesk).*)thisdomain[.]com$/ admins@thatdomain.com

sender_canonical file:

/^(.*@).*thisdomain[.]com$/ ${1}thatdomain.com

but it did not work either. I am really exhausted and I need to find a solution for this one since it is my boss asking me to get this working. This is what if in /var/log/mail in box1:

Dec 28 16:10:25 box1 postfix/pickup[19291]: 54D258F726: uid=0 from=<root>
Dec 28 16:10:25 box1 postfix/cleanup[23489]: 54D258F726: message-id=<4D1A5241.mailIBZ11LRR6@box1.thisdomain.com>

[code]....

View 4 Replies View Related

Server :: Deny Specific Address From At Postfix?

Jun 30, 2010

I have create distro groups in zimbra and have add member sin there. when i connect an account on mapi etc. [URL] i have create a persona in order client to send from [URL] rather than [URL] How can i restrict inside postfix to relay using [URL]?

View 1 Replies View Related

Server :: Rewrite Sender Address In Postfix?

Dec 27, 2010

I need to have a postfix server to rewrite the sender's address. For example, if the sender is: [URL], then the recipient would receive all emails from [URL] as [URL]. I tried using the generic file and created a table out of it, but this did not work:

postmap /etc/postfix/generic
-rw-r--r-- 1 root root 9977 Dec 27 15:24 generic
-rw-r--r-- 1 root root 12288 Dec 27 15:25 generic.db

I added this line to the generic text file:

[code]....

I am running two boxes with postfix 2.3.3. and 2.1.1 respectively. Both need this configuration. I also added this line:

smtp_generic_maps = hash:/etc/postfix/generic

on the main.cf file. However, this did not work. The one running postfix 2.3.3 is on Centos 5.5, the other one is on SuSe Enterprise 9.

View 14 Replies View Related

Software :: Postfix - Address Verification Is Rejecting Too Much?

Mar 24, 2011

There is a mail server formed by debian4 + postfix 2.3.8 . Some messages aren't received or take too loong to be received. Here is a example or error in mail.log:

Code:
Mar 24 10:30:42 myserver postfix/smtpd[7467]: NOQUEUE: reject: RCPT from n7b.bullet.mail.re1.yahoo.com[69.147.103.218]: 450 4.1.7 <sentto-733423426-11-134235567-myname=mydomain.com@returns.groups.yahoo.com>: Sender address rejected: unverified address: Address verification in progress; from=<sentto-733423426-11-134235567-myname=mydomain.com@returns.groups.yahoo.com> to=<myname@mydomain.com> proto=SMTP helo=<n7b.bullet.mail.re1.yahoo.com>

[Code]...

View 5 Replies View Related

General :: Query A DHCP Server To Get The Local DNS Servers?

Dec 30, 2010

I have a ClarkConnect (CentOS based) box running as my home router on a RR connection. I had the DNS servers set up to use Google's DNS server. I want to change them back to the local DNS servers but I can't find an obvious/easy way to get those address short of a) reconfiguring the router's network to DHCP them (would rather not interrupt everyone) or b) calling their tech support (kill me now!). Is there a command line tool/command I can use to query the DHCP server on the external NIC to see what DNS servers it would set me up with w/o munging my existing setup?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved