1

Topic: remote amavis

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9
- Linux/BSD distribution name and version:  debian
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx): apache
- Manage mail accounts with iRedAdmin-Pro? maby
- Related log if you're reporting an issue:
====

Hi
I try use remote amavis beacuse i testing iredmail (pro) beacuse i have cahnge qmail to postfix (iredmail)


Where is the problem beacuse every time i get:

Nov 30 12:02:44 iredmail-postfix postfix/qmgr[4365]: warning: connect to transport private/smtp-amavis: Connection refused
Nov 30 12:02:44 iredmail-postfix postfix/error[4379]: 1E235201094: to=<user1@testing-domain.com>, relay=none, delay=0.05, delays=0.03/0/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)


amavis works fine

----------------- master.cf --------------

smtp       inet  n       -       -       -       10      smtpd
    -o content_filter=smtp-amavis:[46.x.x.100]:10628


smtp-amavis unix n  -   -   -   -  smtp -v
    -o smtp_send_xforward_command=yes
    -o disable_dns_lookups=yes

46.x.x.113:10025 inet n  -   n   -   -  smtpd
    -o content_filter=
    -o mynetworks_style=host
    -o mynetworks=46.x.x.100/32
    -o local_recipient_maps=
    -o relay_recipient_maps=
    -o strict_rfc821_envelopes=yes
    -o smtp_tls_security_level=none
    -o smtpd_tls_security_level=none
    -o smtpd_restriction_classes=
    -o smtpd_delay_reject=no
    -o smtpd_client_restrictions=permit_mynetworks,reject
    -o smtpd_helo_restrictions=
    -o smtpd_sender_restrictions=
    -o smtpd_recipient_restrictions=permit_mynetworks,reject
    -o smtpd_end_of_data_restrictions=
    -o smtpd_error_sleep_time=0
    -o smtpd_soft_error_limit=1001
    -o smtpd_hard_error_limit=1000
    -o smtpd_client_connection_count_limit=0
    -o smtpd_client_connection_rate_limit=0
    -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_address_mappings



telnet 46.x.x.100 10628

Trying 46.x.x.100...
Connected to 46.x.x.100.
Escape character is '^]'.
220 [46.x.x.100] ESMTP amavisd-new service ready
ehlo wp.pl
250-[46.x.x.100]
250-VRFY
250-PIPELINING
250-SIZE
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DSN
250 XFORWARD NAME ADDR PORT PROTO HELO IDENT SOURCE



telnet from amavis to my MTA:

telnet 46.x.x.113 10025
Trying 46.x.x.113...
Connected to 46.x.x.113.
Escape character is '^]'.
220 ESMTP Postfix (Debian/GNU)
ehlo wp.pl
250-iredmial-postfix.domain.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN

Or maby You have solutions about run iredmail with remote amavis

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: remote amavis

Hi
Problem solved - in mastre.cf change to private smtp-amavis


smtp-amavis unix y  -   -   -   -  smtp