-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 28-02-14 00:50, David Mehler wrote:
> Hello,
> 
> I'm using Postfix 2.10 and DSpam 3.10 on an FC20 system.
> 
> I'm trying to set up the DSpam aliases for retraining,
> s...@domain.com and nots...@domain.com and I keep getting an error
> 555 from Postfix, user does not exist. I thought this was because I
> was trying to forward an email to the notspam address from my
> webmail client, but I tried it locally and got the same error.
> 
> Here's my config for postfix, can anyone spot my error? 
> /etc/postfix/main.cf: # Transport for dspam transport_maps =
> hash:/etc/postfix/transport virtual_mailbox_maps = 
> proxy:mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf, 
> hash:/etc/postfix/dspam_aliases

My second best guess here is that you need to specify the receiving
addresses in an alias table (i.e. virtual_alias_maps), and have them
point to a mailbox in mydestination such as localhost. How about:

/etc/postfix/main.cf:
 virtual_alias_maps = hash:/etc/postfix/virtual
 transport_maps = hash:/etc/postfix/transport

/etc/postfix/virtual:
 s...@example.com    spam@localhost
 nots...@example.com notspam@localhost

/etc/postfix/transport:
 spam@localhost    dspam-retrain:spam
 notspam@localhost dspam-retrain:innocent

> 
> /etc/postfix/transport s...@example.com  dspam-retrain:spam 
> nots...@example.com   dspam-retrain:innocent
> 
> /etc/postfix/dspam_aliases # for dspam training s...@example.com
> 2 nots...@example.com       6
> 
> /etc/postfix/master.cf: dspam-retrain         unix    -       n
> n       -      -     pipe flags=Rhq user=dspam argv=/usr/bin/dspamc
> --client --mode=teft --class=${nexthop} --source=error --user
> ${sender}
> 
> Once these aliases are working is it possible to protect them? I
> don't want anyone just sending email to them?
> 
> Thanks. Dave.
> 
> ------------------------------------------------------------------------------
>
> 
Flow-based real-time traffic analytics software. Cisco certified tool.
> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow
> Analyzer Customize your own dashboards, set traffic alerts and
> generate reports. Network behavioral analysis & security
> monitoring. All-in-one tool. 
> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
>
> 
_______________________________________________
> Dspam-user mailing list Dspam-user@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/dspam-user
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTEQb1AAoJEJPfMZ19VO/1BmgP/iN+G5vMr6zTJGUzUUma8XI+
bLLG2GcuTb5oQPmWA4ht5QX/G4ABWNaAhFsNIUN2K6CqVr62tR6X1483WK6ZTsh5
Eke8m6ABicFC4awNDclUqjVeeE1IV2WYlqMwfAaaKRnHkOfdHLQ5jYy1dr5pa/kQ
LZ8kb8bc+rzFcMzIee5Oim6vOOnLv3zCafitP8HliDYrxXVTBMMAD7pkxbPpgQTj
Ehehd6PcEN2Ww34trsJdcsJIABEpx8Gf53Ng6zmtjBwaFZJ7J0RH4voj5j8JZ4+2
u/BbQaWSsAiZePt0rICA9boBfoJp/Nijtnih7Nbw88AMEhdv+B51WdtzgqZ+AHqT
Lx8wSiu5p/CvWkLiV/b/U5jLkG0YiEM8BFfZD3MKl4vhLZVEOUvKeccUQjx0z3P9
FI+YY9Hou06yv/WInhh3YOKAoGrh1pJYuisggCCv3oOEJPO0vptoQdfIXaxn4U5t
UAenlfB+bwBg3Qa42/EOUqbAyp35sVTKWMlKVhAIHFXB6tdqFkRK81NhK7d1SKtj
wnxH/HgLDqYLp/mzvgM8b4MBcuwRDEATdYWDsdVxDqadqppajvGUoqL9rjwVuhTT
IAqzxv0Ob9F0Wiw4wFINgTF2JoSOuwrgrV7I+eKEYbCFRCSB66vbklfcuPrwNz6f
Aoxwml/WBP5WmxlKG2x5
=rtvt
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to