niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Apps » Postfix
Filtering spam - bogus users
Post new topic   Reply to topic Page 1 of 1 [7 Posts] View previous topic :: View next topic
Author Message
Noel Jones
*nix forums Guru


Joined: 28 Feb 2005
Posts: 776

PostPosted: Mon Feb 13, 2006 8:43 pm    Post subject: RE: Filtering spam - bogus users Reply with quote

At 12:44 PM 2/13/2006, PostfixSupport wrote:
Quote:
You can set postfix to automatically reject mail
claiming to be from
bogus virtual senders.
http://www.postfix.org/postconf.5.html#smtpd_reject_unlis
ted_sender


If I understand correctly this will stop users that spoof
one of my
addresses from sending inbound, but won't alter relaying
to me when they
aren't spoofing is that correct?

That's right, smtpd_reject_unlisted_sender will only check
sender addresses that claim to use a domain you manage. If
the user exists, the mail is processed normally and checked
with any other restrictions you have defined. If the user
does not exist, the mail is rejected.

--
Noel Jones
Back to top
mouss
*nix forums Guru


Joined: 27 Feb 2005
Posts: 1947

PostPosted: Mon Feb 13, 2006 7:36 pm    Post subject: Re: Filtering spam - bogus users Reply with quote

PostfixSupport a écrit :
Quote:
You can set postfix to automatically reject mail claiming to be from

bogus virtual senders.

http://www.postfix.org/postconf.5.html#smtpd_reject_unlisted_sender



If I understand correctly this will stop users that spoof one of my
addresses from sending inbound, but won't alter relaying to me when they
aren't spoofing is that correct?

We periodically see this as well and the

"The sender domain matches $relay_domains but the recipient is not
listed in $relay_recipient_maps, and $relay_recipient_maps is not null"

statement seems to match my main concern.


reject_unlisted_sender rejects mail when the sender is in a domain
"listed" (I mean, users are listed: the corresponding map isn't set to
void) on postfix but the address doesn't exist. This includes
local_recipient_maps, relay_recipient_maps and virtual_mailbox_maps. One
caveat though is that wildcard virtual aliases and canonical break this
validation.
Back to top
PostfixSupport
*nix forums beginner


Joined: 12 Jan 2006
Posts: 11

PostPosted: Mon Feb 13, 2006 6:44 pm    Post subject: RE: Filtering spam - bogus users Reply with quote

Quote:
You can set postfix to automatically reject mail claiming to be from
bogus virtual senders.
http://www.postfix.org/postconf.5.html#smtpd_reject_unlisted_sender


If I understand correctly this will stop users that spoof one of my
addresses from sending inbound, but won't alter relaying to me when they
aren't spoofing is that correct?

We periodically see this as well and the

"The sender domain matches $relay_domains but the recipient is not
listed in $relay_recipient_maps, and $relay_recipient_maps is not null"

statement seems to match my main concern.

Bob
Back to top
Joey
*nix forums addict


Joined: 14 Apr 2005
Posts: 55

PostPosted: Sat Feb 11, 2006 2:52 am    Post subject: RE: Filtering spam - bogus users Reply with quote

You should reply and leave the message originally sent so you can see
everything at once.
How you described your problem may not be good, and so it may have not made
sense.

Please explain what the problem is and what you are trying to do.

-----Original Message-----
From: Robin Rowe [mailto:rower@movieeditor.com]
Sent: Friday, February 10, 2006 8:01 PM
To: Joey
Subject: Re: Filtering spam - bogus users

Joey,

Quote:
The from shouldn't allow them to send mail.
Are you allowing mail to relay based on the from instead of using
smtpauth or other methods?

I'm new to postfix and may not understand your question. The email is being
sent from somewhere else, has a forged from address, and my server as the
final destination. It's not being sent from my server. I don't think postfix
is looking at the from address at all. That's what I'd like it to check.

Robin
Back to top
Joey
*nix forums addict


Joined: 14 Apr 2005
Posts: 55

PostPosted: Fri Feb 10, 2006 9:53 pm    Post subject: RE: Filtering spam - bogus users Reply with quote

The from shouldn't allow them to send mail.
Are you allowing mail to relay based on the from instead of using smtpauth
or other methods?



-----Original Message-----
From: owner-postfix-users@postfix.org
[mailto:owner-postfix-users@postfix.org] On Behalf Of Robin Rowe
Sent: Friday, February 10, 2006 12:28 PM
To: postfix-users@postfix.org
Subject: Filtering spam - bogus users

How do I kill spam that's forged as being from users who don't exist on my
server, that is, with a from line like bogus@mydomain.com? Further, what if
it's a virtual domain user not in my virtual file, that is,
bogus@myvirtual.com?

Thank you,

Robin
Back to top
Noel Jones
*nix forums Guru


Joined: 28 Feb 2005
Posts: 776

PostPosted: Fri Feb 10, 2006 5:38 pm    Post subject: Re: Filtering spam - bogus users Reply with quote

At 11:28 AM 2/10/2006, Robin Rowe wrote:
Quote:
How do I kill spam that's forged as being from users who
don't exist on my server, that is, with a from line like
bogus@mydomain.com? Further, what if it's a virtual domain
user not in my virtual file, that is, bogus@myvirtual.com?

Thank you,

Robin


You can set postfix to automatically reject mail claiming
to be from bogus virtual senders.
http://www.postfix.org/postconf.5.html#smtpd_reject_unlisted_sender

--
Noel Jones
Back to top
Robin Rowe
*nix forums beginner


Joined: 09 Feb 2006
Posts: 10

PostPosted: Fri Feb 10, 2006 5:28 pm    Post subject: Filtering spam - bogus users Reply with quote

How do I kill spam that's forged as being from users who don't exist on
my server, that is, with a from line like bogus@mydomain.com? Further,
what if it's a virtual domain user not in my virtual file, that is,
bogus@myvirtual.com?

Thank you,

Robin
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [7 Posts] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 1:14 pm | All times are GMT
navigation Forum index » Apps » Postfix
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Filtering internal mail and forwarding to another domain fmaa1 Postfix 0 Wed Apr 30, 2008 12:50 pm
No new posts mails returning as spam bahadirtonguc Postfix 0 Fri Apr 04, 2008 7:06 pm
No new posts vsftpd chroot for users xi@videotron.ca Setup 1 Fri Jul 21, 2006 2:09 pm
No new posts Rejecting non-existant users Matthias Exim 0 Fri Jul 21, 2006 12:00 pm
No new posts mlock(2) for ordinary users Peter Jeremy Architecture 4 Fri Jul 21, 2006 10:40 am

Credit Cards | Mortgage Calculator | Actress | Mortgage insurance | Unblock Myspace
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.3367s ][ Queries: 20 (0.2513s) ][ GZIP on - Debug on ]