List Info

Thread: amavisd-new accepting e-mails from a remote machine




amavisd-new accepting e-mails from a remote machine
country flaguser name
Spain
2008-01-17 12:06:01
hi,

i've got 2 debian servers, one with postfix and the other
one with 
amavisd-new running.

I've read a lot of examples about how to set up amavisd-new
to filter 
emails that come from postfix.

The thing is that in amavisd.conf i have to put something
like this:

$forward_method = 'smtp:[*]:10025';

i mean...
if i write:

$forward_method = 'smtp:[192.168.1.10]:10025';

where 192.168.1.10 is the postfix's ip address... it works
fine.
But the idea is to have an amavis server that filters from
many 
different servers.

How can i tell amavis to send the filtered mail to the ip
address it 
came from?

Thank you.


------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: amavisd-new accepting e-mails from a remote machine
country flaguser name
United States
2008-01-17 12:09:22
Jordi Moles wrote:
> hi,
> 
> i've got 2 debian servers, one with postfix and the
other one with 
> amavisd-new running.
> 
> I've read a lot of examples about how to set up
amavisd-new to filter 
> emails that come from postfix.
> 
> The thing is that in amavisd.conf i have to put
something like this:
> 
> $forward_method = 'smtp:[*]:10025';
> 
> i mean...
> if i write:
> 
> $forward_method = 'smtp:[192.168.1.10]:10025';
> 
> where 192.168.1.10 is the postfix's ip address... it
works fine.
> But the idea is to have an amavis server that filters
from many 
> different servers.
> 
> How can i tell amavis to send the filtered mail to the
ip address it 
> came from?
> 

 From amavisd.conf-sample:


# To make it possible for several hosts to share one content

checking daemon,
# the IP address and/or the port number in $forward_method
and 
$notify_method
# may be spacified as an asterisk. An asterisk in the 
colon-separated
# second field (host) will be replaced by the SMTP client
peer 
address,
# An asterisk in the third field (tcp port) will be replaced

by the incoming
# SMTP/LMTP session port number plus one. This obsoletes the

previously used
# less flexible configuration parameter
$relayhost_is_client. 
An example:
#   $forward_method = 'smtp';
$notify_method = 'smtp:10587';


-- 
Noel Jones

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: amavisd-new accepting e-mails from a remote machine
country flaguser name
France
2008-01-17 13:38:34
Jordi Moles wrote:
> hi,
> 
> i've got 2 debian servers, one with postfix and the
other one with 
> amavisd-new running.
> 
> I've read a lot of examples about how to set up
amavisd-new to filter 
> emails that come from postfix.
> 
> The thing is that in amavisd.conf i have to put
something like this:
> 
> $forward_method = 'smtp:[*]:10025';
> 
> i mean...
> if i write:
> 
> $forward_method = 'smtp:[192.168.1.10]:10025';
> 
> where 192.168.1.10 is the postfix's ip address... it
works fine.
> But the idea is to have an amavis server that filters
from many 
> different servers.
> 
> How can i tell amavis to send the filtered mail to the
ip address it 
> came from?
> 

look at the amavisd.conf-sample:

$forward_method = 'smtp';

should do if all postfixers listen on $port+1 (in your case,
$port=10024 
and $port+1=10025).






------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )