Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Spam send to user+spam@domain
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
elmar283
Guru
Guru


Joined: 06 Dec 2004
Posts: 316
Location: Haarlem, Netherlands

PostPosted: Sun May 03, 2015 1:09 pm    Post subject: [solved] Spam send to user+spam@domain Reply with quote

I have a mailserver that I configured with the website: https://wiki.gentoo.org/wiki/Complete_Virtual_Mail_Server

At the Amavis en Clamd instructions: https://wiki.gentoo.org/wiki/Complete_Virtual_Mail_Server/amvisd_spamassassin_clamav I get stuck on the spam configuration.
When I send the test spam mail I get a mail returned stating that elmar+spam(at)elmarotter(dot)eu (@ and . replaced with (at) and (dot) does not exists. That is of course correct.
But I don't want it to be send to user+spam@domain. Does anyone know where the adding of the +spam at the user is configured?


Last edited by elmar283 on Sun May 10, 2015 9:56 am; edited 1 time in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9677
Location: almost Mile High in the USA

PostPosted: Mon May 04, 2015 10:00 pm    Post subject: Reply with quote

For me, sendmail's cf file seems to handle the user+mailbox designations.
Unfortunately finding data about how to write sendmail.cf is a pain. There must be some language to it but it looks arcane to me... The stock gentoo sendmail.cf seems to work fine however.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
SwordArMor
n00b
n00b


Joined: 21 Feb 2015
Posts: 56
Location: Bretagne

PostPosted: Wed May 06, 2015 9:21 am    Post subject: Reply with quote

In /etc/postfix/main.cf you have
Code:
# ADDRESS EXTENSIONS (e.g., user+foo)
#
# The recipient_delimiter parameter specifies the separator between
# user names and address extensions (user+foo). See canonical(5),
# local(8), relocated(5) and virtual(5) for the effects this has on
# aliases, canonical, virtual, relocated and .forward file lookups.
# Basically, the software tries user+foo and .forward+foo before
# trying user and .forward.
#
recipient_delimiter = +
Back to top
View user's profile Send private message
elmar283
Guru
Guru


Joined: 06 Dec 2004
Posts: 316
Location: Haarlem, Netherlands

PostPosted: Sun May 10, 2015 9:47 am    Post subject: Reply with quote

SwordArMor wrote:
In /etc/postfix/main.cf you have
Code:
# ADDRESS EXTENSIONS (e.g., user+foo)
#
# The recipient_delimiter parameter specifies the separator between
# user names and address extensions (user+foo). See canonical(5),
# local(8), relocated(5) and virtual(5) for the effects this has on
# aliases, canonical, virtual, relocated and .forward file lookups.
# Basically, the software tries user+foo and .forward+foo before
# trying user and .forward.
#
recipient_delimiter = +

Thanks, adding 'recipient_delimiter = +' to '/etc/postfix/main.cf' solved it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum