Hi Tom,

I was assuming that this relay guide was a full howto, my bad.

Now as pointed out by yourself and Reindl I have added a transport table to my 
postfix configuration in order to relay the mails to the backend server. For 
that purpose I have added the following configuration to postfix:

transport_maps = hash:/etc/postfix/transport

The content of my transport file looks like this:

mydomain.com        smtp:mybackendserver.domain.tld


The problem here with this new configuration is that my postfix does not pass 
the mail to dspam anymore for scanning, so the mail simply goes through 
directly unscanned to the backend server. Am I missing something else?

Regards
ML



On Saturday, June 7, 2014 5:29 PM, Tom Hendrikx <t...@whyscream.net> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


Hi ML,

The 'relay' in that file relates to dspam operatoring as a relay between
the outside world and postfix. If postfix receives the messages after
they are scanned, you succeeded in following the doc.

The MX relay you want to setup (relaying from postfix to 'end mail
server') is unrelated to dspam, as the relaying functionality you want
is implemented completely in postfix, and has nothing to do with
dspam. Reindl pointed you to the docs for setting that up.

If you need more guidance for setting up a relay in postfix, search
for "postfix relay", or ask questions on the postfix-users mailing
list. Reindl already nudged you in the correct direction.

Tom

On 07-06-14 17:01, ML mail wrote:
> That's what I did. As stated in dspam relay.txt documentation 
> (http://sourceforge.net/p/dspam/code/ci/master/tree/doc/relay.txt)
> I added the following virtual transport table:
> 
> virtual_transport    = lmtp:unix:/tmp/dspam.sock 
> virtual_mailbox_domains    = mydomain.org virtual_mailbox_maps
> = pgsql:/etc/postfix/vmailbox.cf
> 
> Is there maybe any additional configuration parameters that I need
> to add into postfix? I re-read the whole relay.txt from dspam and
> I can't find anythig else.
> 
> Best regards ML
> 
> 
> 
> 
> On Friday, June 6, 2014 11:51 PM, Reindl Harald 
> <h.rei...@thelounge.net> wrote:
> 
> 
> 
> 
> 
> Am 06.06.2014 18:37, schrieb ML mail:
>> I am trying to configure a server as MX relay with dspam just
>> for scanning spam and then forwarding the innocent mails to the
>> end mail server. For this I have followed the doc/relay.txt file.
>> I see it works and dspam treats the incoming mail but the problem
>> is that postfix is then trying to deliver the mail locally on the
>> MX relay server. So my question is: how do I make my postfix
>> deliver that mail to the right server? Or is it dspam who is
>> supposed to deliver the innocent mail to the end mail server?
> 
> postfix -> transport tables
> 
> the postfix working as gateway needs to know valid rcpts as well
> as domains he accepts and where he has to relay them, in the best
> case the destination servers are configured with mysql tables which
> could be re-used on the gateway
> 
> ------------------------------------------------------------------------------
>
>
> 
Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases
> and their applications. Written by three acclaimed leaders in the
> field, this first edition is now available. Download your free book
> today! http://p.sf.net/sfu/NeoTech 
> _______________________________________________ Dspam-user mailing 
> list Dspam-user@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/dspam-user
> 
> 
> ------------------------------------------------------------------------------
>
>
> 
Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases
> and their applications. Written by three acclaimed leaders in the
> field, this first edition is now available. Download your free book
> today! http://p.sf.net/sfu/NeoTech 
> _______________________________________________ Dspam-user mailing 
> list Dspam-user@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/dspam-user
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTky4lAAoJEJPfMZ19VO/1SwwP/RGNbbk2E7r96YVUhvFwzVCF
yLGWUJ+7zXaDcdcoG97Vo9SmcyS034v1+sZmDsROq2K/K0hH5k6Xn1PZe4pKVAxX
aZZBnYdBI9n/9TCMoTT8VT1td3Bd3VvzzAZeICl3kUBY0X0TK2MbsnZMD2XvAUA0
iDMSim4MrchKGUFSW5j94zr2BA10psYf2XE1wmrTetYN20sfHyR9vyHZPyVsGCKD
icepg5Piwd3Mptwi4jSjduXZ6fMtjQurfm539NXffnqvB1jiekW971oLXGUBKAia
Sb2Lym9NvqXgcWtq08bTpF8HjtehUVyXF0L2/BosN+c+raSYZBdKj2s6ZEqh8cf7
SO33aRZ8IJ3wLLtrkCYl89l+9p+3OJ1jtSNTMqEV1knrVp7uwi+wJdWUcYX+aQj4
bgA+GblC3f7lKpFHbNwOPK0GSZ67HDHk7+O18+lhirq1Y0ZstH7tnuEc12vM72Z/
a2xX+crOF2V+vfJjsb7U4sH32uaPMpqooAtaE9nq/r9W8yAwyrlTzGDNWl1SDrKp
Pc6HHiMorE+/fupeOEBkN762bBLnwW4X0bmZk0rcCy/RgFuzUQhp3IJgwbA0Q5Fc
yO43YAQkCLrOK4QP5U8+23mCsVbEQdcA5ImQfYm0uNIqFfeWwzFP0Xa3So6O9lF7
dBA5XjsNBsGY6rKsuSXR
=hggF
-----END PGP SIGNATURE-----




------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://www.hpccsystems.com
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to