View previous topic :: View next topic |
Author |
Message |
elmar283 Guru
Joined: 06 Dec 2004 Posts: 316 Location: Haarlem, Netherlands
|
Posted: Sun May 03, 2015 1:09 pm Post subject: [solved] Spam send to user+spam@domain |
|
|
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 |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9677 Location: almost Mile High in the USA
|
Posted: Mon May 04, 2015 10:00 pm Post subject: |
|
|
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 |
|
|
SwordArMor n00b
Joined: 21 Feb 2015 Posts: 56 Location: Bretagne
|
Posted: Wed May 06, 2015 9:21 am Post subject: |
|
|
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 |
|
|
elmar283 Guru
Joined: 06 Dec 2004 Posts: 316 Location: Haarlem, Netherlands
|
Posted: Sun May 10, 2015 9:47 am Post subject: |
|
|
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 |
|
|
|