Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [AMaViS-user] help with forward_method

From: Mark Martinec <Mark.Martinec+amavis(at)ijs.si>
Date: Fri Apr 18 2008 - 09:28:00 EDT


jeff,

> i am using amavis to forward to an internal relay.
> $forward_method = 'smtp:10.10.10.1'
> I have recently setup 2 new smtp relays running SSL only port 465
>
> i have setup round robin DNS names
>
> can i use a this config ?
> $forward_method = 'smtp:smtp.example.com:465'
> or do I have to use an IP address ?

You can use a host name, but MX is not taken into account.

It is up to a DNS resolver to determine what happens if a DNS name has multiple A records.

amavisd.conf-sample :

# POSTFIX, or SENDMAIL in dual-MTA setup, or EXIM V4
# (set host and port number as required; host can be specified
# as an IP address or a DNS name (A or CNAME, but MX is ignored)
#$forward_method = 'smtp:[127.0.0.1]:10025';  # where to forward checked mail
#$notify_method = $forward_method;            # where to submit notifications

> yes that did the trick

> $forward_method = 'smtp:example.com:2525';
>
> 2525 inet n - n - - smtpd
> -o mynetworks=10.135.1.6
> -o smtpd_client_restrictions=permit_mynetworks,reject
> -o smtpd_enforce_tls=no
> -o smtpd_sasl_auth_enable=no

If for some reason TLS is needed for passing a message from amavisd back to MTA, amavisd-new-2.6.0 can do it with a quite good transfer rate (transfer rate drops by about a factor of 2):   $tls_security_level_out = 'may';

Do you need help?X

It can also accept mail over TLS, but this is much slower (transfer speed drops by a factor of 10), so it is not something to be recommended unless really necessary:   $tls_security_level_in = 'may';

Mark



This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ Received on Fri Apr 18 09:28:27 2008

This archive was generated by hypermail 2.1.8 : Tue Jul 29 2008 - 23:11:05 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library