Lawrence,

> I currently have postfix listening on port 25 with amavis, and
> on 2525 that only allows SASL authenticated users and no amavis.
>
> Is there any way of passing the SASL authenticated users through
> amavis with no checking so that it can build up a penpals list?
> Or passing the fact that the mail has been SASL authenticated to
> amavis so I only have to have one port listening?

Let the smtp service on port 2525 use another amavisd port for
scanning, then you can assign a policy bank with disabled checks
to that amavisd port.

main.cf:
content_filter = smtp-amavis:[127.0.0.1]:10024

master.cf:
2525 inet n - n - - smtpd
 -o content_filter=smtp-amavis:[127.0.0.1]:10026

amavisd.conf:

$inet_socket_port = [10024,10026];
$interface_policy{'10026'} = 'AUTHENTICATED';

$policy_bank{'AUTHENTICATED'} = {
  bypass_virus_checks_maps  => [1],
  bypass_spam_checks_maps   => [1],
  bypass_banned_checks_maps => [1],
};


Btw, why do you use a nonstandard port 2525 for mail submission
instead of the standard 587?

  Mark

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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/

Reply via email to