Quantcast
Channel: iRedMail — iRedMail Support
Viewing all 12095 articles
Browse latest View live

Outlook flags mail as spam

$
0
0

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

I have A, AAAA, MX, SPF, DKIM & DMARC records all correctly configured, the http://www.mail-tester.com/ service scores me a 10/10 (0 being most spammy 10 being least) and tools like mxtoolbox say my SMTP and all records look good, yet outlook still flags email coming from my addresses as spam, initially tested from postmaster@domain.com and then made one brad@domain.com - these come through to iCloud fine but outlook sends it straight to junk, no idea why. I am not listed on any spamhaus lists either (both domain and IP checked and fine). Any information would be very much appreciated as without being able to send mail to popular services like outlook there is zero point running my own mail as telling people to check their junk and hoping everyone gets their emails is not good enough.


Installed - unable to login to roundcube - 500 error

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: Red Hat Enterprise Linux Server release 6.7 (Santiago)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====

Attempt to log into roundcube results in 500 error.
Looking in the maillog I see the following error:

Aug 10 09:40:43   roundcube: PHP Fatal error:  Call to undefined function mb_strtolower() in /var/www/roundcubemail-1.2.0/progra$

from what I can tell this probably means PHP needs to be recompiled with --enable-mbstring.  When I look up the running of configure there can be quite a few options to specify (file locations for apache, mysql config file, etc...)

Is there a redmail recommended command for running configure to get all the correct paths?

Appreciate any help that can be provided.

send mail from website - error TLS

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release):  v0.9.5-1
- Linux/BSD distribution name and version: Debian 8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySql
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro?: No
- Related log if you're reporting an issue:
====

I have a own website and when I want to use the mail server with a valid account to send mail from the website gives me the following error:

Aug 10 12:02:10 mail1 postfix/submission/smtpd[3869]: lost connection after STARTTLS from unknown[192.168.100.28]
Aug 10 12:02:10 mail1 postfix/submission/smtpd[3869]: disconnect from unknown[192.168.100.28]
Aug 10 12:02:49 mail1 postfix/submission/smtpd[3892]: connect from unknown[192.168.100.28]
Aug 10 12:02:49 mail1 postfix/submission/smtpd[3892]: SSL_accept error from unknown[192.168.100.28]: 0
Aug 10 12:02:49 mail1 postfix/submission/smtpd[3892]: warning: TLS library problem: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:s3_pkt.c:1300:SSL alert number 48:

the web server and mail server are through the internal network, so it appears the ip 192.168.100.28 (webserver), in the script on page I use TLS connection port 587 with a valid email account

QueuePool limit

$
0
0

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




Aug 11 00:24:04 mail1 postfix/smtpd[8454]: warning: problem talking to server 127.0.0.1:7777: Connection timed out
Aug 11 00:24:04 mail1 postfix/smtpd[8425]: warning: connect to 127.0.0.1:7777: Connection timed out
Aug 11 00:24:04 mail1 postfix/smtpd[8425]: warning: problem talking to server 127.0.0.1:7777: Connection tim


in iredapd.log


 
-08-11 00:19:23 INFO [217.113.51.51] RCPT, www-data@XXX -> biuro@XXX, DUNNO
2016-08-11 00:19:53 ERROR Unexpected error: QueuePool limit of size 5 overflow 0 reached, connection timed out, timeout 30. Fallback to default action: DUNNO



[root@mail1 iredapd]# time telnet localhost 7777
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection timed out

Clamav not working

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version:  Debian 8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- Related log if you're reporting an issue: /var/log/mail.log
====

I don't know when this started but I found this in the log to day.
Any suggestion how to troubleshoot?

Aug 11 09:17:17 iRedMailSrv amavis[2500]: (02500-10) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to a UNIX socket /var/run/clamav/clamd.ctl: No such file or directory
Aug 11 09:17:18 iRedMailSrv amavis[2500]: (02500-10) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to a UNIX socket /var/run/clamav/clamd.ctl: No such file or directory
Aug 11 09:17:18 iRedMailSrv amavis[2500]: (02500-10) (!)ClamAV-clamd: All attempts (1) failed connecting to /var/run/clamav/clamd.ctl, retrying (2)
Aug 11 09:17:24 iRedMailSrv amavis[2500]: (02500-10) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to a UNIX socket /var/run/clamav/clamd.ctl: No such file or directory
Aug 11 09:17:24 iRedMailSrv amavis[2500]: (02500-10) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd.ctl (All attempts (1) failed connecting to /var/run/clamav/clamd.ctl) at (eval 103) line 613.\n
Aug 11 09:17:24 iRedMailSrv amavis[2500]: (02500-10) (!)WARN: all primary virus scanners failed, considering backups

Configurations

/etc/clamav/clamd.conf
#Automatically Generated by clamav-daemon postinst
#To reconfigure clamd run #dpkg-reconfigure clamav-daemon
#Please read /usr/share/doc/clamav-daemon/README.Debian.gz for details
LocalSocket /var/run/clamav/clamd.ctl
FixStaleSocket true
LocalSocketGroup clamav
LocalSocketMode 666
# TemporaryDirectory is not set to its default /tmp here to make overriding
# the default with environment variables TMPDIR/TMP/TEMP possible
User clamav
AllowSupplementaryGroups true
ScanMail true
ScanArchive true
ArchiveBlockEncrypted false
MaxDirectoryRecursion 15
FollowDirectorySymlinks false
FollowFileSymlinks false
ReadTimeout 180
MaxThreads 12
MaxConnectionQueueLength 15
LogSyslog false
LogRotate true
LogFacility LOG_LOCAL6
LogClean false
LogVerbose false
DatabaseDirectory /var/lib/clamav
OfficialDatabaseOnly false
SelfCheck 3600
Foreground false
Debug false
ScanPE true
MaxEmbeddedPE 10M
ScanOLE2 true
ScanPDF true
ScanHTML true
MaxHTMLNormalize 10M
MaxHTMLNoTags 2M
MaxScriptNormalize 5M
MaxZipTypeRcg 1M
ScanSWF true
DetectBrokenExecutables false
ExitOnOOM false
LeaveTemporaryFiles false
AlgorithmicDetection true
ScanELF true
IdleTimeout 30
CrossFilesystems true
PhishingSignatures true
PhishingScanURLs true
PhishingAlwaysBlockSSLMismatch false
PhishingAlwaysBlockCloak false
PartitionIntersection false
DetectPUA false
ScanPartialMessages false
HeuristicScanPrecedence false
StructuredDataDetection false
CommandReadTimeout 5
SendBufTimeout 200
MaxQueue 100
ExtendedDetectionInfo true
OLE2BlockMacros false
ScanOnAccess false
AllowAllMatchScan true
ForceToDisk false
DisableCertCheck false
DisableCache false
MaxScanSize 100M
MaxFileSize 25M
MaxRecursion 16
MaxFiles 10000
DetectPUA false
ScanPartialMessages false
HeuristicScanPrecedence false
StructuredDataDetection false
CommandReadTimeout 5
SendBufTimeout 200
MaxQueue 100
ExtendedDetectionInfo true
OLE2BlockMacros false
ScanOnAccess false
AllowAllMatchScan true
ForceToDisk false
DisableCertCheck false
DisableCache false
MaxScanSize 100M
MaxFileSize 25M
MaxRecursion 16
MaxFiles 10000
MaxPartitions 50
MaxIconsPE 100
PCREMatchLimit 10000
PCRERecMatchLimit 5000
PCREMaxFileSize 25M
StatsEnabled false
StatsPEDisabled true
StatsHostID auto
StatsTimeout 10
StreamMaxLength 25M
#LogFile /var/log/clamav/clamav.log
LogTime true
#LogFileUnlock false
#LogFileMaxSize 0
Bytecode true
BytecodeSecurity TrustSigned
BytecodeTimeout 60000

/etc/amavis/conf.d/50-user

use strict;

#
# Place your configuration directives here.  They will override those in
# earlier files.
#
# See /usr/share/doc/amavisd-new/ for documentation and examples of
# the directives you can use in this file
#

#
#       IREDMAIL 0.9.5 implementation
#       http://www.iredmail.org/docs/upgrade.ir … 0.9.5.html
#
# Custom short log template (at log_level 0), add SpamAssassin testing result (Tests: [xxx])
#
# Note: You can find the original log template at the bottom of
#       /usr/sbin/amavisd-new.
$log_templ = '
[?%#D|#|Passed #
[? [:ccat|major] |#
OTHER|CLEAN|MTA-BLOCKED|OVERSIZED|BAD-HEADER-[:ccat|minor]|SPAMMY|SPAM|\
UNCHECKED[?[:ccat|minor]||-ENCRYPTED|]|BANNED (%F)|INFECTED (%V)]#
{[:actions_performed]}#
,[?%p|| %p][?%a||[?%l|| LOCAL] [:client_addr_port]][?%e|| \[%e\]] [:mail_addr_decode_octets|%s] -> [%D|[:mail_addr_decode_octets|%D]|,]#
[? %q ||, quarantine: %q]#
[? %Q ||, Queue-ID: %Q]#
[? %m ||, Message-ID: [:mail_addr_decode_octets|%m]]#
[? %r ||, Resent-Message-ID: [:mail_addr_decode_octets|%r]]#
[? %i ||, mail_id: %i]#
, Hits: [:SCORE]#
, size: %z#
[? [:partition_tag] ||, pt: [:partition_tag]]#
[~[:remote_mta_smtp_response]|["^$"]||[", queued_as: "]]\
[remote_mta_smtp_response|[~%x|["queued as ([0-9A-Za-z]+)$"]|["%1"]|["%0"]]|/]#
#, Subject: [:dquote|[:mime2utf8|[:header_field_octets|Subject]|100|1]]#
#, From: [:uquote|[:mail_addr_decode_octets|[:rfc2822_from]]]#
[? [:dkim|sig_sd]    ||, dkim_sd=[:dkim|sig_sd]]#
[? [:dkim|newsig_sd] ||, dkim_new=[:dkim|newsig_sd]]#
, %y ms#
[? %#T ||, Tests: \[[%T|,]\]]#
]
[?%#O|#|Blocked #
[? [:ccat|major|blocking] |#
OTHER|CLEAN|MTA-BLOCKED|OVERSIZED|BAD-HEADER-[:ccat|minor]|SPAMMY|SPAM|\
UNCHECKED[?[:ccat|minor]||-ENCRYPTED|]|BANNED (%F)|INFECTED (%V)]#
{[:actions_performed]}#
,[?%p|| %p][?%a||[?%l|| LOCAL] [:client_addr_port]][?%e|| \[%e\]] [:mail_addr_decode_octets|%s] -> [%O|[:mail_addr_decode_octets|%O]|,]#
[? %q ||, quarantine: %q]#
[? %Q ||, Queue-ID: %Q]#
[? %m ||, Message-ID: [:mail_addr_decode_octets|%m]]#
[? %r ||, Resent-Message-ID: [:mail_addr_decode_octets|%r]]#
[? %i ||, mail_id: %i]#
, Hits: [:SCORE]#
, size: %z#
[? [:partition_tag] ||, pt: [:partition_tag]]#
#, Subject: [:dquote|[:mime2utf8|[:header_field_octets|Subject]|100|1]]#
#, From: [:uquote|[:mail_addr_decode_octets|[:rfc2822_from]]]#
[? [:dkim|sig_sd]    ||, dkim_sd=[:dkim|sig_sd]]#
[? [:dkim|newsig_sd] ||, dkim_new=[:dkim|newsig_sd]]#
, %y ms#
[? %#T ||, Tests: \[[%T|,]\]]#
]';

#
##       IREDMAIL 0.9.5 implementation END
#


#------------ Do not modify anything below this line -------------
#{1}


chomp($mydomain = "iRedMailSrv");
@local_domains_maps = 1;
@mynetworks = qw( 127.0.0.0/8 [::1] [FE80::]/10 [FEC0::]/10
                  10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 );

# listen on multiple TCP ports. 9998 is used for releasing quarantined mails.
$inet_socket_port = [10024, 10026, 9998];

# Enable virus check.
@bypass_virus_checks_maps = (
   \%bypass_virus_checks,
   \@bypass_virus_checks_acl,
   $bypass_virus_checks_re,
   );

# Enable spam check.
@bypass_spam_checks_maps = (
    \%bypass_spam_checks,
    \@bypass_spam_checks_acl,
    $bypass_spam_checks_re,
    );

$mailfrom_notify_admin = "root\@$mydomain";
$mailfrom_notify_recip = "root\@$mydomain";
$mailfrom_notify_spamadmin = "root\@$mydomain";

# Mail notify.
$mailfrom_notify_admin     = "root\@$mydomain";  # notifications sender
$mailfrom_notify_recip     = "root\@$mydomain";  # notifications sender
$mailfrom_notify_spamadmin = "root\@$mydomain"; # notifications sender
$mailfrom_to_quarantine = ''; # null return path; uses original sender if undef

# Disable defang banned mail.
$defang_banned = 0;  # MIME-wrap passed mail containing banned name

$policy_bank{'MYNETS'} = {   # mail originating from @mynetworks
  originating => 1,  # is true in MYNETS by default, but let's make it explicit
  os_fingerprint_method => undef,  # don't query p0f for internal clients
  allow_disclaimers => 1,  # enables disclaimer insertion if available
};

# it is up to MTA to re-route mail from authenticated roaming users or
# from internal hosts to a dedicated TCP port (such as 10026) for filtering
$interface_policy{'10026'} = 'ORIGINATING';

$policy_bank{'ORIGINATING'} = {  # mail supposedly originating from our users
    originating => 1,  # declare that mail was submitted by our smtp client
    allow_disclaimers => 1,  # enables disclaimer insertion if available

    # notify administrator of locally originating malware
    virus_admin_maps => ["root\@$mydomain"],
    spam_admin_maps  => [],
    bad_header_admin_maps => [],
    banned_admin_maps => ["root\@$mydomain"],
    warnbadhsender   => 1,
    warnbannedsender => 1,

    # force MTA conversion to 7-bit (e.g. before DKIM signing)
    #smtpd_discard_ehlo_keywords => ['8BITMIME'],

    # don't remove NOTIFY=SUCCESS option
    terminate_dsn_on_notify_success => 0,

    # don't perform spam/virus/header check.
    #bypass_spam_checks_maps => [1],    # spam
    #bypass_header_checks_maps => [1],  # bad header
    #bypass_virus_checks_maps => [1],   # virus    #bypass_banned_checks_maps => [1],  # banned file names and types
};

# Set hostname.
$myhostname = "iRedMailSrv";
$localhost_name = $myhostname;

# Set listen IP/PORT.
$notify_method  = 'smtp:[127.0.0.1]:10025';
$forward_method = 'smtp:[127.0.0.1]:10025';

@av_scanners = (
    #### http://www.clamav.net/
    ['ClamAV-clamd',
    \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.ctl"],
    qr/\bOK$/, qr/\bFOUND$/,
    qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],
);

@av_scanners_backup = (
    ### http://www.clamav.net/   - backs up clamd or Mail::ClamAV
    ['ClamAV-clamscan', 'clamscan',
    "--stdout --disable-summary -r --tempdir=$TEMPBASE {}", [0], [1],
    qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],
);

#
# Port used to release quarantined mails.
#
$interface_policy{'9998'} = 'AM.PDP-INET';
$policy_bank{'AM.PDP-INET'} = {
    protocol => 'AM.PDP',       # select Amavis policy delegation protocol
    inet_acl => [qw( 127.0.0.1 [::1] )],    # restrict access to these IP addresses
    auth_required_release => 1,    # 0 - don't require secret_id for amavisd-release
    #log_level => 4,
    #always_bcc_by_ccat => {CC_CLEAN, 'admin@example.com'},
};

# Set default action.
# Available actions: D_PASS, D_BOUNCE, D_REJECT, D_DISCARD.
$final_virus_destiny      = D_DISCARD;
$final_banned_destiny     = D_BOUNCE;
$final_spam_destiny       = D_PASS;
$final_bad_header_destiny = D_PASS;

#########################
# Quarantine mails.
#

# Where to store quarantined mail message:
#   - 'local:spam-%i-%m', quarantine mail on local file system.
#   - 'sql:', quarantine mail in SQL server specified in @storage_sql_dsn.
#   - undef, do not quarantine mail.

# Bad header.
$bad_header_quarantine_method = undef;
#$bad_header_quarantine_method = 'sql:';
#$bad_header_quarantine_to = 'bad-header-quarantine';

# SPAM.
$spam_quarantine_method = undef;
#$spam_quarantine_method = 'sql:';
#$spam_quarantine_to = 'spam-quarantine';

# Virus
$virus_quarantine_to     = 'virus-quarantine';
$virus_quarantine_method = 'sql:';

# Banned
$banned_files_quarantine_method = undef;#$banned_files_quarantine_method = 'sql:';
#$banned_quarantine_to = 'banned-quarantine';

#########################
# Quarantine CLEAN mails.
# Don't forget to enable clean quarantine in policy bank 'MYUSERS'.
#
#$clean_quarantine_method = 'sql:';
#$clean_quarantine_to = 'clean-quarantine';

$sql_allow_8bit_address = 1;
$timestamp_fmt_mysql = 1;

# a string to prepend to Subject (for local recipients only) if mail could
# not be decoded or checked entirely, e.g. due to password-protected archives
#$undecipherable_subject_tag = '***UNCHECKED*** ';  # undef disables it
$undecipherable_subject_tag = undef;
# Hope to fix 'nested MAIL command' issue on high load server.
$smtp_connection_cache_enable = 0;

# The default set of header fields to be signed can be controlled
# by setting %signed_header_fields elements to true (to sign) or
# to false (not to sign). Keys must be in lowercase, e.g.:
# 0 -> off
# 1 -> on
$signed_header_fields{'received'} = 0;
$signed_header_fields{'to'} = 1;

# Add dkim_key here.
dkim_key("iredmail.domain", "dkim", "/var/lib/dkim/iredmail.domain.pem");




# Note that signing mail for subdomains with a key of a parent
# domain is treated by recipients as a third-party key, which
# may 'hold less merit' in their eyes. If one has a choice,
# it is better to publish a key for each domain (e.g. host1.a.cn)
# if mail is really coming from it. Sharing a pem file
# for multiple domains may be acceptable, so you don't need
# to generate a different key for each subdomain, but you
# do need to publish it in each subdomain. It is probably
# easier to avoid sending addresses like host1.a.cn and
# always use a parent domain (a.cn) in 'From:', thus
# avoiding the issue altogether.
#dkim_key("host1.iredmail.domain", "dkim", "/var/lib/dkim/iredmail.domain.pem");
#dkim_key("host3.iredmail.domain", "dkim", "/var/lib/dkim/iredmail.domain.pem");

# Add new dkim_key for other domain.
#dkim_key('Your_New_Domain_Name', 'dkim', 'Your_New_Pem_File');

@dkim_signature_options_bysender_maps = ( {
    # ------------------------------------
    # For domain: iredmail.domain.
    # ------------------------------------
    # 'd' defaults to a domain of an author/sender address,
    # 's' defaults to whatever selector is offered by a matching key

    #'postmaster@iredmail.domain'    => { d => "iredmail.domain", a => 'rsa-sha256', ttl =>  7*24*3600 },
    #"spam-reporter@iredmail.domain"    => { d => "iredmail.domain", a => 'rsa-sha256', ttl =>  7*24*3600 },

    # explicit 'd' forces a third-party signature on foreign (hosted) domains
    "iredmail.domain"      => { d => "iredmail.domain", a => 'rsa-sha256', ttl => 10*24*3600 },


        #"host1.iredmail.domain"  => { d => "host1.iredmail.domain", a => 'rsa-sha256', ttl => 10*24*3600 },
        #"host2.iredmail.domain"  => { d => "host2.iredmail.domain", a => 'rsa-sha256', ttl => 10*24*3600 },
        # ---- End domain: iredmail.domain ----

        # catchall defaults
        '.' => { a => 'rsa-sha256', c => 'relaxed/simple', ttl => 30*24*3600 },
    } );
    # ------------ Disclaimer Setting ---------------
    # Uncomment this line to enable singing disclaimer in outgoing mails.
    #$defang_maps_by_ccat{+CC_CATCHALL} = [ 'disclaimer' ];

    # Program used to signing disclaimer in outgoing mails.
    $altermime = '/usr/bin/altermime';

    # Disclaimer in plain text formart.
    @altermime_args_disclaimer = qw(--disclaimer=/etc/postfix/disclaimer/_OPTION_.txt --disclaimer-html=/etc/postfix/disclaimer/_OPTION_.txt --force-for-bad-html);

    @disclaimer_options_bysender_maps = ({
        # Per-domain disclaimer setting: /etc/postfix/disclaimer/host1.iredmail.org.txt
        #'host1.iredmail.org' => 'host1.iredmail.org',

        # Sub-domain disclaimer setting: /etc/postfix/disclaimer/iredmail.org.txt
        #'.iredmail.org'      => 'iredmail.org',

        # Per-user disclaimer setting: /etc/postfix/disclaimer/boss.iredmail.org.txt
        #'boss@iredmail.org'  => 'boss.iredmail.org',
   
       # Catch-all disclaimer setting: /etc/postfix/disclaimer/default.txt
        '.' => 'default',
    },);
    # ------------ End Disclaimer Setting ---------------
    # Reporting and quarantining.
    @storage_sql_dsn = (
        ['DBI:mysql:database=amavisd;host=127.0.0.1;port=3306', 'amavisd', 'Qg1irwrO6neGO3LhifVonCraQTUU0k'],
    );

    # Lookup for per-recipient, per-domain and global policy.
    @lookup_sql_dsn = @storage_sql_dsn;
    # Don't send email with subject "UNCHECKED contents in mail FROM xxx".
    delete $admin_maps_by_ccat{&CC_UNCHECKED};

    # Do not notify administrator about SPAM/VIRUS from remote servers.
    $virus_admin = undef;
    $spam_admin = undef;
    $banned_admin = undef;
    $bad_header_admin = undef;

    # Num of pre-forked children.
    # WARNING: it must match (equal to or larger than) the number set in
    # /etc/postfix/master.cf "maxproc" column for the 'smtp-amavis' service.
    $max_servers = 2;

    # Enable DKIM signing/verification
    $enable_dkim_verification = 1;
    $enable_dkim_signing = 1;

    # Amavisd log level. Verbosity: 0, 1, 2, 3, 4, 5, -d.
    $log_level = 0;
    # SpamAssassin debugging (require $log_level). Default if off (0).
    $sa_debug = 0;

    # Listen on specified addresses.
    # Don't send email with subject "UNCHECKED contents in mail FROM xxx".
    delete $admin_maps_by_ccat{&CC_UNCHECKED};

    # Do not notify administrator about SPAM/VIRUS from remote servers.
    $virus_admin = undef;
    $spam_admin = undef;
    $banned_admin = undef;
    $bad_header_admin = undef;

    # Num of pre-forked children.
    # WARNING: it must match (equal to or larger than) the number set in
    # /etc/postfix/master.cf "maxproc" column for the 'smtp-amavis' service.
    $max_servers = 2;

    # Enable DKIM signing/verification
    $enable_dkim_verification = 1;
    $enable_dkim_signing = 1;

    # Amavisd log level. Verbosity: 0, 1, 2, 3, 4, 5, -d.
    $log_level = 0;
    # SpamAssassin debugging (require $log_level). Default if off (0).
    $sa_debug = 0;

    # Listen on specified addresses.
    $inet_socket_bind = ['127.0.0.1'];

    # Selectively disable some of the header checks
    #
    # Duplicate or multiple occurrence of a header field
    $allowed_header_tests{'multiple'} = 0;

    # Missing some headers. e.g. 'Date:'
    $allowed_header_tests{'missing'} = 0;

    1;  # insure a defined return

Clamav not working with "AllowSupplementaryGroups true" in clamd.conf

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version:  Debian 8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- Related log if you're reporting an issue: /var/log/mail.log
====

ps -ef|grep clamd
root      2505  1774  0 09:10 pts/2    00:00:00 nano /etc/clamav/clamd.conf
root      3338  2614  0 09:31 pts/4    00:00:00 grep clcmd

Clamav deb 8 version 0.99.2

The problem seems to be:
AllowSupplementaryGroups true
in clcmd.conf

Commenting out the clamd.conf line with "AllowSupplementaryGroups true" and restarting service worked.

Is this any problem for iRedMail?


/var/log/mail.log

Aug 11 09:17:17 iRedMailSrv amavis[2500]: (02500-10) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to a UNIX socket /var/run/clamav/clamd.ctl: No such file or directory
Aug 11 09:17:18 iRedMailSrv amavis[2500]: (02500-10) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to a UNIX socket /var/run/clamav/clamd.ctl: No such file or directory
Aug 11 09:17:18 iRedMailSrv amavis[2500]: (02500-10) (!)ClamAV-clamd: All attempts (1) failed connecting to /var/run/clamav/clamd.ctl, retrying (2)
Aug 11 09:17:24 iRedMailSrv amavis[2500]: (02500-10) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to a UNIX socket /var/run/clamav/clamd.ctl: No such file or directory
Aug 11 09:17:24 iRedMailSrv amavis[2500]: (02500-10) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd.ctl (All attempts (1) failed connecting to /var/run/clamav/clamd.ctl) at (eval 103) line 613.\n
Aug 11 09:17:24 iRedMailSrv amavis[2500]: (02500-10) (!)WARN: all primary virus scanners failed, considering backups

CLAMD is not running:




Configurations

/etc/clamav/clamd.conf
#Automatically Generated by clamav-daemon postinst
#To reconfigure clamd run #dpkg-reconfigure clamav-daemon
#Please read /usr/share/doc/clamav-daemon/README.Debian.gz for details
LocalSocket /var/run/clamav/clamd.ctl
FixStaleSocket true
LocalSocketGroup clamav
LocalSocketMode 666
# TemporaryDirectory is not set to its default /tmp here to make overriding
# the default with environment variables TMPDIR/TMP/TEMP possible
User clamav
AllowSupplementaryGroups true
ScanMail true
ScanArchive true
ArchiveBlockEncrypted false
MaxDirectoryRecursion 15
FollowDirectorySymlinks false
FollowFileSymlinks false
ReadTimeout 180
MaxThreads 12
MaxConnectionQueueLength 15
LogSyslog false
LogRotate true
LogFacility LOG_LOCAL6
LogClean false
LogVerbose false
DatabaseDirectory /var/lib/clamav
OfficialDatabaseOnly false
SelfCheck 3600
Foreground false
Debug false
ScanPE true
MaxEmbeddedPE 10M
ScanOLE2 true
ScanPDF true
ScanHTML true
MaxHTMLNormalize 10M
MaxHTMLNoTags 2M
MaxScriptNormalize 5M
MaxZipTypeRcg 1M
ScanSWF true
DetectBrokenExecutables false
ExitOnOOM false
LeaveTemporaryFiles false
AlgorithmicDetection true
ScanELF true
IdleTimeout 30
CrossFilesystems true
PhishingSignatures true
PhishingScanURLs true
PhishingAlwaysBlockSSLMismatch false
PhishingAlwaysBlockCloak false
PartitionIntersection false
DetectPUA false
ScanPartialMessages false
HeuristicScanPrecedence false
StructuredDataDetection false
CommandReadTimeout 5
SendBufTimeout 200
MaxQueue 100
ExtendedDetectionInfo true
OLE2BlockMacros false
ScanOnAccess false
AllowAllMatchScan true
ForceToDisk false
DisableCertCheck false
DisableCache false
MaxScanSize 100M
MaxFileSize 25M
MaxRecursion 16
MaxFiles 10000
DetectPUA false
ScanPartialMessages false
HeuristicScanPrecedence false
StructuredDataDetection false
CommandReadTimeout 5
SendBufTimeout 200
MaxQueue 100
ExtendedDetectionInfo true
OLE2BlockMacros false
ScanOnAccess false
AllowAllMatchScan true
ForceToDisk false
DisableCertCheck false
DisableCache false
MaxScanSize 100M
MaxFileSize 25M
MaxRecursion 16
MaxFiles 10000
MaxPartitions 50
MaxIconsPE 100
PCREMatchLimit 10000
PCRERecMatchLimit 5000
PCREMaxFileSize 25M
StatsEnabled false
StatsPEDisabled true
StatsHostID auto
StatsTimeout 10
StreamMaxLength 25M
#LogFile /var/log/clamav/clamav.log
LogTime true
#LogFileUnlock false
#LogFileMaxSize 0
Bytecode true
BytecodeSecurity TrustSigned
BytecodeTimeout 60000

/etc/amavis/conf.d/50-user

use strict;

#
# Place your configuration directives here.  They will override those in
# earlier files.
#
# See /usr/share/doc/amavisd-new/ for documentation and examples of
# the directives you can use in this file
#

#
#       IREDMAIL 0.9.5 implementation
#       http://www.iredmail.org/docs/upgrade.ir … 0.9.5.html
#
# Custom short log template (at log_level 0), add SpamAssassin testing result (Tests: [xxx])
#
# Note: You can find the original log template at the bottom of
#       /usr/sbin/amavisd-new.
$log_templ = '
[?%#D|#|Passed #
[? [:ccat|major] |#
OTHER|CLEAN|MTA-BLOCKED|OVERSIZED|BAD-HEADER-[:ccat|minor]|SPAMMY|SPAM|\
UNCHECKED[?[:ccat|minor]||-ENCRYPTED|]|BANNED (%F)|INFECTED (%V)]#
{[:actions_performed]}#
,[?%p|| %p][?%a||[?%l|| LOCAL] [:client_addr_port]][?%e|| \[%e\]] [:mail_addr_decode_octets|%s] -> [%D|[:mail_addr_decode_octets|%D]|,]#
[? %q ||, quarantine: %q]#
[? %Q ||, Queue-ID: %Q]#
[? %m ||, Message-ID: [:mail_addr_decode_octets|%m]]#
[? %r ||, Resent-Message-ID: [:mail_addr_decode_octets|%r]]#
[? %i ||, mail_id: %i]#
, Hits: [:SCORE]#
, size: %z#
[? [:partition_tag] ||, pt: [:partition_tag]]#
[~[:remote_mta_smtp_response]|["^$"]||[", queued_as: "]]\
[remote_mta_smtp_response|[~%x|["queued as ([0-9A-Za-z]+)$"]|["%1"]|["%0"]]|/]#
#, Subject: [:dquote|[:mime2utf8|[:header_field_octets|Subject]|100|1]]#
#, From: [:uquote|[:mail_addr_decode_octets|[:rfc2822_from]]]#
[? [:dkim|sig_sd]    ||, dkim_sd=[:dkim|sig_sd]]#
[? [:dkim|newsig_sd] ||, dkim_new=[:dkim|newsig_sd]]#
, %y ms#
[? %#T ||, Tests: \[[%T|,]\]]#
]
[?%#O|#|Blocked #
[? [:ccat|major|blocking] |#
OTHER|CLEAN|MTA-BLOCKED|OVERSIZED|BAD-HEADER-[:ccat|minor]|SPAMMY|SPAM|\
UNCHECKED[?[:ccat|minor]||-ENCRYPTED|]|BANNED (%F)|INFECTED (%V)]#
{[:actions_performed]}#
,[?%p|| %p][?%a||[?%l|| LOCAL] [:client_addr_port]][?%e|| \[%e\]] [:mail_addr_decode_octets|%s] -> [%O|[:mail_addr_decode_octets|%O]|,]#
[? %q ||, quarantine: %q]#
[? %Q ||, Queue-ID: %Q]#
[? %m ||, Message-ID: [:mail_addr_decode_octets|%m]]#
[? %r ||, Resent-Message-ID: [:mail_addr_decode_octets|%r]]#
[? %i ||, mail_id: %i]#
, Hits: [:SCORE]#
, size: %z#
[? [:partition_tag] ||, pt: [:partition_tag]]#
#, Subject: [:dquote|[:mime2utf8|[:header_field_octets|Subject]|100|1]]#
#, From: [:uquote|[:mail_addr_decode_octets|[:rfc2822_from]]]#
[? [:dkim|sig_sd]    ||, dkim_sd=[:dkim|sig_sd]]#
[? [:dkim|newsig_sd] ||, dkim_new=[:dkim|newsig_sd]]#
, %y ms#
[? %#T ||, Tests: \[[%T|,]\]]#
]';

#
##       IREDMAIL 0.9.5 implementation END
#


#------------ Do not modify anything below this line -------------
#{1}


chomp($mydomain = "iRedMailSrv");
@local_domains_maps = 1;
@mynetworks = qw( 127.0.0.0/8 [::1] [FE80::]/10 [FEC0::]/10
                  10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 );

# listen on multiple TCP ports. 9998 is used for releasing quarantined mails.
$inet_socket_port = [10024, 10026, 9998];

# Enable virus check.
@bypass_virus_checks_maps = (
   \%bypass_virus_checks,
   \@bypass_virus_checks_acl,
   $bypass_virus_checks_re,
   );

# Enable spam check.
@bypass_spam_checks_maps = (
    \%bypass_spam_checks,
    \@bypass_spam_checks_acl,
    $bypass_spam_checks_re,
    );

$mailfrom_notify_admin = "root\@$mydomain";
$mailfrom_notify_recip = "root\@$mydomain";
$mailfrom_notify_spamadmin = "root\@$mydomain";

# Mail notify.
$mailfrom_notify_admin     = "root\@$mydomain";  # notifications sender
$mailfrom_notify_recip     = "root\@$mydomain";  # notifications sender
$mailfrom_notify_spamadmin = "root\@$mydomain"; # notifications sender
$mailfrom_to_quarantine = ''; # null return path; uses original sender if undef

# Disable defang banned mail.
$defang_banned = 0;  # MIME-wrap passed mail containing banned name

$policy_bank{'MYNETS'} = {   # mail originating from @mynetworks
  originating => 1,  # is true in MYNETS by default, but let's make it explicit
  os_fingerprint_method => undef,  # don't query p0f for internal clients
  allow_disclaimers => 1,  # enables disclaimer insertion if available
};

# it is up to MTA to re-route mail from authenticated roaming users or
# from internal hosts to a dedicated TCP port (such as 10026) for filtering
$interface_policy{'10026'} = 'ORIGINATING';

$policy_bank{'ORIGINATING'} = {  # mail supposedly originating from our users
    originating => 1,  # declare that mail was submitted by our smtp client
    allow_disclaimers => 1,  # enables disclaimer insertion if available

    # notify administrator of locally originating malware
    virus_admin_maps => ["root\@$mydomain"],
    spam_admin_maps  => [],
    bad_header_admin_maps => [],
    banned_admin_maps => ["root\@$mydomain"],
    warnbadhsender   => 1,
    warnbannedsender => 1,

    # force MTA conversion to 7-bit (e.g. before DKIM signing)
    #smtpd_discard_ehlo_keywords => ['8BITMIME'],

    # don't remove NOTIFY=SUCCESS option
    terminate_dsn_on_notify_success => 0,

    # don't perform spam/virus/header check.
    #bypass_spam_checks_maps => [1],    # spam
    #bypass_header_checks_maps => [1],  # bad header
    #bypass_virus_checks_maps => [1],   # virus    #bypass_banned_checks_maps => [1],  # banned file names and types
};

# Set hostname.
$myhostname = "iRedMailSrv";
$localhost_name = $myhostname;

# Set listen IP/PORT.
$notify_method  = 'smtp:[127.0.0.1]:10025';
$forward_method = 'smtp:[127.0.0.1]:10025';

@av_scanners = (
    #### http://www.clamav.net/
    ['ClamAV-clamd',
    \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.ctl"],
    qr/\bOK$/, qr/\bFOUND$/,
    qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],
);

@av_scanners_backup = (
    ### http://www.clamav.net/   - backs up clamd or Mail::ClamAV
    ['ClamAV-clamscan', 'clamscan',
    "--stdout --disable-summary -r --tempdir=$TEMPBASE {}", [0], [1],
    qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],
);

#
# Port used to release quarantined mails.
#
$interface_policy{'9998'} = 'AM.PDP-INET';
$policy_bank{'AM.PDP-INET'} = {
    protocol => 'AM.PDP',       # select Amavis policy delegation protocol
    inet_acl => [qw( 127.0.0.1 [::1] )],    # restrict access to these IP addresses
    auth_required_release => 1,    # 0 - don't require secret_id for amavisd-release
    #log_level => 4,
    #always_bcc_by_ccat => {CC_CLEAN, 'admin@example.com'},
};

# Set default action.
# Available actions: D_PASS, D_BOUNCE, D_REJECT, D_DISCARD.
$final_virus_destiny      = D_DISCARD;
$final_banned_destiny     = D_BOUNCE;
$final_spam_destiny       = D_PASS;
$final_bad_header_destiny = D_PASS;

#########################
# Quarantine mails.
#

# Where to store quarantined mail message:
#   - 'local:spam-%i-%m', quarantine mail on local file system.
#   - 'sql:', quarantine mail in SQL server specified in @storage_sql_dsn.
#   - undef, do not quarantine mail.

# Bad header.
$bad_header_quarantine_method = undef;
#$bad_header_quarantine_method = 'sql:';
#$bad_header_quarantine_to = 'bad-header-quarantine';

# SPAM.
$spam_quarantine_method = undef;
#$spam_quarantine_method = 'sql:';
#$spam_quarantine_to = 'spam-quarantine';

# Virus
$virus_quarantine_to     = 'virus-quarantine';
$virus_quarantine_method = 'sql:';

# Banned
$banned_files_quarantine_method = undef;#$banned_files_quarantine_method = 'sql:';
#$banned_quarantine_to = 'banned-quarantine';

#########################
# Quarantine CLEAN mails.
# Don't forget to enable clean quarantine in policy bank 'MYUSERS'.
#
#$clean_quarantine_method = 'sql:';
#$clean_quarantine_to = 'clean-quarantine';

$sql_allow_8bit_address = 1;
$timestamp_fmt_mysql = 1;

# a string to prepend to Subject (for local recipients only) if mail could
# not be decoded or checked entirely, e.g. due to password-protected archives
#$undecipherable_subject_tag = '***UNCHECKED*** ';  # undef disables it
$undecipherable_subject_tag = undef;
# Hope to fix 'nested MAIL command' issue on high load server.
$smtp_connection_cache_enable = 0;

# The default set of header fields to be signed can be controlled
# by setting %signed_header_fields elements to true (to sign) or
# to false (not to sign). Keys must be in lowercase, e.g.:
# 0 -> off
# 1 -> on
$signed_header_fields{'received'} = 0;
$signed_header_fields{'to'} = 1;

# Add dkim_key here.
dkim_key("iredmail.domain", "dkim", "/var/lib/dkim/iredmail.domain.pem");




# Note that signing mail for subdomains with a key of a parent
# domain is treated by recipients as a third-party key, which
# may 'hold less merit' in their eyes. If one has a choice,
# it is better to publish a key for each domain (e.g. host1.a.cn)
# if mail is really coming from it. Sharing a pem file
# for multiple domains may be acceptable, so you don't need
# to generate a different key for each subdomain, but you
# do need to publish it in each subdomain. It is probably
# easier to avoid sending addresses like host1.a.cn and
# always use a parent domain (a.cn) in 'From:', thus
# avoiding the issue altogether.
#dkim_key("host1.iredmail.domain", "dkim", "/var/lib/dkim/iredmail.domain.pem");
#dkim_key("host3.iredmail.domain", "dkim", "/var/lib/dkim/iredmail.domain.pem");

# Add new dkim_key for other domain.
#dkim_key('Your_New_Domain_Name', 'dkim', 'Your_New_Pem_File');

@dkim_signature_options_bysender_maps = ( {
    # ------------------------------------
    # For domain: iredmail.domain.
    # ------------------------------------
    # 'd' defaults to a domain of an author/sender address,
    # 's' defaults to whatever selector is offered by a matching key

    #'postmaster@iredmail.domain'    => { d => "iredmail.domain", a => 'rsa-sha256', ttl =>  7*24*3600 },
    #"spam-reporter@iredmail.domain"    => { d => "iredmail.domain", a => 'rsa-sha256', ttl =>  7*24*3600 },

    # explicit 'd' forces a third-party signature on foreign (hosted) domains
    "iredmail.domain"      => { d => "iredmail.domain", a => 'rsa-sha256', ttl => 10*24*3600 },


        #"host1.iredmail.domain"  => { d => "host1.iredmail.domain", a => 'rsa-sha256', ttl => 10*24*3600 },
        #"host2.iredmail.domain"  => { d => "host2.iredmail.domain", a => 'rsa-sha256', ttl => 10*24*3600 },
        # ---- End domain: iredmail.domain ----

        # catchall defaults
        '.' => { a => 'rsa-sha256', c => 'relaxed/simple', ttl => 30*24*3600 },
    } );
    # ------------ Disclaimer Setting ---------------
    # Uncomment this line to enable singing disclaimer in outgoing mails.
    #$defang_maps_by_ccat{+CC_CATCHALL} = [ 'disclaimer' ];

    # Program used to signing disclaimer in outgoing mails.
    $altermime = '/usr/bin/altermime';

    # Disclaimer in plain text formart.
    @altermime_args_disclaimer = qw(--disclaimer=/etc/postfix/disclaimer/_OPTION_.txt --disclaimer-html=/etc/postfix/disclaimer/_OPTION_.txt --force-for-bad-html);

    @disclaimer_options_bysender_maps = ({
        # Per-domain disclaimer setting: /etc/postfix/disclaimer/host1.iredmail.org.txt
        #'host1.iredmail.org' => 'host1.iredmail.org',

        # Sub-domain disclaimer setting: /etc/postfix/disclaimer/iredmail.org.txt
        #'.iredmail.org'      => 'iredmail.org',

        # Per-user disclaimer setting: /etc/postfix/disclaimer/boss.iredmail.org.txt
        #'boss@iredmail.org'  => 'boss.iredmail.org',
   
       # Catch-all disclaimer setting: /etc/postfix/disclaimer/default.txt
        '.' => 'default',
    },);
    # ------------ End Disclaimer Setting ---------------
    # Reporting and quarantining.
    @storage_sql_dsn = (
        ['DBI:mysql:database=amavisd;host=127.0.0.1;port=3306', 'amavisd', 'Qg1irwrO6neGO3LhifVonCraQTUU0k'],
    );

    # Lookup for per-recipient, per-domain and global policy.
    @lookup_sql_dsn = @storage_sql_dsn;
    # Don't send email with subject "UNCHECKED contents in mail FROM xxx".
    delete $admin_maps_by_ccat{&CC_UNCHECKED};

    # Do not notify administrator about SPAM/VIRUS from remote servers.
    $virus_admin = undef;
    $spam_admin = undef;
    $banned_admin = undef;
    $bad_header_admin = undef;

    # Num of pre-forked children.
    # WARNING: it must match (equal to or larger than) the number set in
    # /etc/postfix/master.cf "maxproc" column for the 'smtp-amavis' service.
    $max_servers = 2;

    # Enable DKIM signing/verification
    $enable_dkim_verification = 1;
    $enable_dkim_signing = 1;

    # Amavisd log level. Verbosity: 0, 1, 2, 3, 4, 5, -d.
    $log_level = 0;
    # SpamAssassin debugging (require $log_level). Default if off (0).
    $sa_debug = 0;

    # Listen on specified addresses.
    # Don't send email with subject "UNCHECKED contents in mail FROM xxx".
    delete $admin_maps_by_ccat{&CC_UNCHECKED};

    # Do not notify administrator about SPAM/VIRUS from remote servers.
    $virus_admin = undef;
    $spam_admin = undef;
    $banned_admin = undef;
    $bad_header_admin = undef;

    # Num of pre-forked children.
    # WARNING: it must match (equal to or larger than) the number set in
    # /etc/postfix/master.cf "maxproc" column for the 'smtp-amavis' service.
    $max_servers = 2;

    # Enable DKIM signing/verification
    $enable_dkim_verification = 1;
    $enable_dkim_signing = 1;

    # Amavisd log level. Verbosity: 0, 1, 2, 3, 4, 5, -d.
    $log_level = 0;
    # SpamAssassin debugging (require $log_level). Default if off (0).
    $sa_debug = 0;

    # Listen on specified addresses.
    $inet_socket_bind = ['127.0.0.1'];

    # Selectively disable some of the header checks
    #
    # Duplicate or multiple occurrence of a header field
    $allowed_header_tests{'multiple'} = 0;

    # Missing some headers. e.g. 'Date:'
    $allowed_header_tests{'missing'} = 0;

    1;  # insure a defined return

iRedmail server All in one: Busy Disk 100% most of the time

$
0
0

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

Hi Zhang,
I have a big problem, so i hope you can help me to troubleshoot this problem.

I install iRedmail server all-in-one in an ubuntu server 4 core - 4Gb to host multi mail domain on it.

My problem is my root disk busy is 100% almost the time.
My root disk Sata 100GB
Disk to store mail is SATA 500GB

I have tuning the performance by using tmpfs for amavis and separate postfix queue to SSD, so the disk busy of the root disk is 100% ( i use cloud server with mail store on a addition volume mount).

So do you have any idea for this problem?
Hope you can help
Thanks

No database install or install second server to use already existing

$
0
0

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

Hello all,
I am trying to make my AWS HA install. I will use EFS as shared file system and ELB as front end load balancer.
Is there a way to make the install with no DB. I already installed server 1 to use MariaDB RDS as database backend.
Best regards, Traian.


i am getting issue in smtp -permint

$
0
0

hi all

my system information \

iRedMail    v0.9.5-1
iRedAdmin    v0.6.1 (LDAP)
Hostname    tom.ex2d2.com
Uptime    0 days, 3 hours, 56 minutes.
Server Load    0.030, 0.020, 0.000.
Network (eth1)    192.168.4.66/255.255.255.0


i have one application in that have mail distribution . when i click getting below error . please how to kown smtp server name and port . 
EXCEPTION in  send_mail_to_users =>ORA-29279: SMTP permanent error: 504 5.5.2 <192.168.4.66>: Helo command rejected: need fully-qualified hostname
please help i am fresher in this filed .


Thanks


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

Does iRedMail support Proxy Protocol?

$
0
0

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

As a part of the HA set-up I encountered the following issues.
The Amazon Elastic Load Balancer is sending to the backend servers his own IP. See log bellow
--------------------------------------------------------------------------------------------------------------------
Aug 12 13:08:02 mx1 postfix/postscreen[3326]: warning: cidr map /etc/postfix/postscreen_access.cidr, line 8: bad address pattern: "''": skipping this rule
Aug 12 13:08:02 mx1 postfix/postscreen[3326]: CONNECT from [192.168.0.218]:42291 to [192.168.0.196]:25
Aug 12 13:08:02 mx1 postfix/postscreen[3326]: PASS OLD [192.168.0.218]:42291
Aug 12 13:08:02 mx1 postfix/smtpd[3327]: connect from ip-192-168-0-218.eu-west-1.compute.internal[192.168.0.218]
Aug 12 13:08:02 mx1 postfix/smtpd[3327]: Anonymous TLS connection established from ip-192-168-0-218.eu-west-1.compute.internal[192.168.0.218]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Aug 12 13:08:02 mx1 postfix/smtpd[3327]: D1CB66394B: client=ip-192-168-0-218.eu-west-1.compute.internal[192.168.0.218]
Aug 12 13:08:02 mx1 postfix/cleanup[3331]: D1CB66394B: message-id=<bdfa8750-ee65-362c-1390-5eb6ee7766c6@dializa.md>
Aug 12 13:08:02 mx1 postfix/qmgr[2349]: D1CB66394B: from=<it@dializa.md>, size=1927, nrcpt=1 (queue active)
Aug 12 13:08:02 mx1 postfix/smtpd[3327]: disconnect from ip-192-168-0-218.eu-west-1.compute.internal[192.168.0.218]
Aug 12 13:08:03 mx1 postfix/smtpd[3335]: connect from mx1.traianaws.cf[127.0.0.1]
Aug 12 13:08:03 mx1 postfix/smtpd[3335]: 29C866394C: client=mx1.traianaws.cf[127.0.0.1]
Aug 12 13:08:03 mx1 postfix/cleanup[3331]: 29C866394C: message-id=<bdfa8750-ee65-362c-1390-5eb6ee7766c6@dializa.md>
Aug 12 13:08:03 mx1 postfix/qmgr[2349]: 29C866394C: from=<it@dializa.md>, size=2543, nrcpt=1 (queue active)
Aug 12 13:08:03 mx1 postfix/smtpd[3335]: disconnect from mx1.traianaws.cf[127.0.0.1]
Aug 12 13:08:03 mx1 amavis[1593]: (01593-03) Passed CLEAN {RelayedInternal}, MYNETS LOCAL [192.168.0.218]:42291 [52.31.209.6]  -> , Queue-ID: D1CB66394B, Message-ID: , mail_id: LBJ2hRzirbQX, Hits: -0.89, size: 1927, queued_as: 29C866394C, 282 ms, Tests: [ALL_TRUSTED=-1,DKIM_SIGNED=0.1,T_DKIM_INVALID=0.01]
Aug 12 13:08:03 mx1 postfix/smtp[3332]: D1CB66394B: to=<trciobanu@traianaws.cf>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.43, delays=0.11/0.01/0/0.3, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 29C866394C)
Aug 12 13:08:03 mx1 postfix/qmgr[2349]: D1CB66394B: removed
Aug 12 13:08:03 mx1 postfix/pipe[3336]: 29C866394C: to=<trciobanu@traianaws.cf>, relay=dovecot, delay=0.23, delays=0.02/0.01/0/0.2, dsn=2.0.0, status=sent (delivered via dovecot service)
Aug 12 13:08:03 mx1 postfix/qmgr[2349]: 29C866394C: removed
----------------------------------------------------------------------------------------------------------------------------------------

After I enable Proxy Protocol as per the Amazon AWS documentation here
https://docs.aws.amazon.com/elasticload … otocol-cli
it should transmit the clients real IP to the backend. But instead my mail is bounced back with following errors in the client
-------------------------------------------------------------------------------------------------------------
This is the mail system at host mail.dializa.md.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

<trciobanu@traianaws.cf>: Protocol error: host mail.traianaws.cf[52.50.211.144]
    said: 250 2.1.5 Ok (in reply to DATA command)



Reporting-MTA: dns; mail.dializa.md
X-Postfix-Queue-ID: 7DE9760AAB
X-Postfix-Sender: rfc822; it@dializa.md
Arrival-Date: Fri, 12 Aug 2016 15:57:56 +0300 (EEST)

Final-Recipient: rfc822; trciobanu@traianaws.cf
Original-Recipient: rfc822;trciobanu@traianaws.cf
Action: failed
Status: 5.5.0
Remote-MTA: dns; mail.traianaws.cf
Diagnostic-Code: smtp; 250 2.1.5 Ok
-------------------------------------------------------------------------------------------------------------------------------------------


and here is log in /var/log/mail.log on receiving server
-----------------------------------------------------
Aug 12 13:14:45 mx1 postfix/postscreen[3451]: warning: cidr map /etc/postfix/postscreen_access.cidr, line 8: bad address pattern: "''": skipping this rule
Aug 12 13:14:45 mx1 postfix/postscreen[3451]: CONNECT from [192.168.0.218]:42457 to [192.168.0.196]:25
Aug 12 13:14:45 mx1 postfix/postscreen[3451]: PASS OLD [192.168.0.218]:42457
Aug 12 13:14:45 mx1 postfix/smtpd[3454]: connect from ip-192-168-0-218.eu-west-1.compute.internal[192.168.0.218]
Aug 12 13:14:45 mx1 postfix/smtpd[3454]: C0CFC63947: client=ip-192-168-0-218.eu-west-1.compute.internal[192.168.0.218]
Aug 12 13:14:45 mx1 postfix/smtpd[3454]: lost connection after DATA (12 bytes) from ip-192-168-0-218.eu-west-1.compute.internal[192.168.0.218]
Aug 12 13:14:45 mx1 postfix/smtpd[3454]: disconnect from ip-192-168-0-218.eu-west-1.compute.internal[192.168.0.218]
Aug 12 13:14:45 mx1 postfix/cleanup[3456]: C0CFC63947: message-id=<>
---------------------------------------------------

and on sending  server

---------------------------------------------
Aug 12 16:08:02 mail postfix/smtpd[12958]: disconnect from localhost.localdomain[127.0.0.1]
Aug 12 16:08:02 mail postfix/qmgr[18060]: 750E760AAB: from=<it@dializa.md>, size=1705, nrcpt=1 (queue active)
Aug 12 16:08:02 mail amavis[11927]: (11927-03) Passed CLEAN {RelayedInternal}, ORIGINATING LOCAL [52.31.209.6]:58375 [52.31.209.6] <it@dializa.md> -> <trciobanu@traianaws.cf>, Queue-ID: 22E66608FC, Message-ID: <bdfa8750-ee65-362c-1390-5eb6ee7766c6@dializa.md>, mail_id: Nspy2_7dtqwT, Hits: -1, size: 620, queued_as: 750E760AAB, dkim_new=dkim:dializa.md, 280 ms
Aug 12 16:08:02 mail postfix/smtp[12955]: 22E66608FC: to=<trciobanu@traianaws.cf>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.41, delays=0.11/0.01/0/0.28, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 750E760AAB)
Aug 12 16:08:02 mail postfix/qmgr[18060]: 22E66608FC: removed
Aug 12 16:08:02 mail postfix/smtp[12959]: 750E760AAB: to=<trciobanu@traianaws.cf>, relay=mail.traianaws.cf[52.50.211.144]:25, delay=0.47, delays=0/0.01/0.28/0.18, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as D1CB66394B)
Aug 12 16:08:02 mail postfix/qmgr[18060]: 750E760AAB: removed
Aug 12 16:11:22 mail postfix/anvil[12342]: statistics: max connection rate 1/60s for (smtp:139.255.51.42) at Aug 12 16:04:56
Aug 12 16:11:22 mail postfix/anvil[12342]: statistics: max connection count 1 for (smtp:139.255.51.42) at Aug 12 16:04:56
Aug 12 16:11:22 mail postfix/anvil[12342]: statistics: max cache size 2 at Aug 12 16:08:01
Aug 12 16:13:53 mail postfix/smtpd[13056]: connect from ec2-52-30-210-162.eu-west-1.compute.amazonaws.com[52.30.210.162]
Aug 12 16:13:53 mail postfix/smtpd[13056]: AF93B602F7: client=ec2-52-30-210-162.eu-west-1.compute.amazonaws.com[52.30.210.162]
Aug 12 16:13:53 mail postfix/cleanup[13066]: AF93B602F7: message-id=<28a4e9802c6ff6a9d953c30a5aa5ee02@traianaws.cf>
Aug 12 16:13:53 mail postfix/qmgr[18060]: AF93B602F7: from=<trciobanu@traianaws.cf>, size=1826, nrcpt=1 (queue active)
Aug 12 16:13:53 mail postfix/smtpd[13056]: disconnect from ec2-52-30-210-162.eu-west-1.compute.amazonaws.com[52.30.210.162]
Aug 12 16:13:54 mail postfix/smtpd[13073]: connect from localhost.localdomain[127.0.0.1]
Aug 12 16:13:54 mail postfix/smtpd[13073]: F215260AAB: client=localhost.localdomain[127.0.0.1]
Aug 12 16:13:54 mail postfix/cleanup[13066]: F215260AAB: message-id=<28a4e9802c6ff6a9d953c30a5aa5ee02@traianaws.cf>
Aug 12 16:13:54 mail postfix/qmgr[18060]: F215260AAB: from=<trciobanu@traianaws.cf>, size=2707, nrcpt=1 (queue active)
Aug 12 16:13:54 mail postfix/smtpd[13073]: disconnect from localhost.localdomain[127.0.0.1]
Aug 12 16:13:55 mail amavis[12769]: (12769-02) Passed CLEAN {RelayedInbound}, [52.30.210.162]:35869 [52.30.210.162] <trciobanu@traianaws.cf> -> <it@dializa.md>, Queue-ID: AF93B602F7, Message-ID: <28a4e9802c6ff6a9d953c30a5aa5ee02@traianaws.cf>, mail_id: 1g7IaVx90Kap, Hits: 4.116, size: 1826, queued_as: F215260AAB, 1247 ms
Aug 12 16:13:55 mail postfix/smtp[13070]: AF93B602F7: to=<it@dializa.md>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.3, delays=0.08/0.01/0/1.3, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as F215260AAB)
Aug 12 16:13:55 mail postfix/qmgr[18060]: AF93B602F7: removed
Aug 12 16:13:55 mail postfix/pipe[13074]: F215260AAB: to=<it@dializa.md>, relay=dovecot, delay=0.04, delays=0/0.01/0/0.03, dsn=2.0.0, status=sent (delivered via dovecot service)
Aug 12 16:13:55 mail postfix/qmgr[18060]: F215260AAB: removed
Aug 12 16:14:43 mail postfix/smtpd[13087]: connect from ec2-52-31-209-6.eu-west-1.compute.amazonaws.com[52.31.209.6]
Aug 12 16:14:44 mail postfix/smtpd[13087]: 165B2602F7: client=ec2-52-31-209-6.eu-west-1.compute.amazonaws.com[52.31.209.6], sasl_method=PLAIN, sasl_username=it@dializa.md
Aug 12 16:14:44 mail postfix/cleanup[13066]: 165B2602F7: message-id=<8fd36df3-7713-8cbf-9b46-9b6a34e44f77@dializa.md>
Aug 12 16:14:44 mail postfix/qmgr[18060]: 165B2602F7: from=<it@dializa.md>, size=623, nrcpt=1 (queue active)
Aug 12 16:14:44 mail postfix/smtpd[13087]: disconnect from ec2-52-31-209-6.eu-west-1.compute.amazonaws.com[52.31.209.6]
Aug 12 16:14:45 mail postfix/smtpd[13073]: connect from localhost.localdomain[127.0.0.1]
Aug 12 16:14:45 mail postfix/smtpd[13073]: 5880A60AAB: client=localhost.localdomain[127.0.0.1]
Aug 12 16:14:45 mail postfix/cleanup[13066]: 5880A60AAB: message-id=<8fd36df3-7713-8cbf-9b46-9b6a34e44f77@dializa.md>
Aug 12 16:14:45 mail postfix/smtpd[13073]: disconnect from localhost.localdomain[127.0.0.1]
Aug 12 16:14:45 mail postfix/qmgr[18060]: 5880A60AAB: from=<it@dializa.md>, size=1708, nrcpt=1 (queue active)
Aug 12 16:14:45 mail amavis[12566]: (12566-05) Passed CLEAN {RelayedInternal}, ORIGINATING LOCAL [52.31.209.6]:58385 [52.31.209.6] <it@dializa.md> -> <trciobanu@traianaws.cf>, Queue-ID: 165B2602F7, Message-ID: <8fd36df3-7713-8cbf-9b46-9b6a34e44f77@dializa.md>, mail_id: uEFvB58YMxp5, Hits: -0.999, size: 623, queued_as: 5880A60AAB, dkim_new=dkim:dializa.md, 1223 ms
Aug 12 16:14:45 mail postfix/smtp[13070]: 165B2602F7: to=<trciobanu@traianaws.cf>, relay=127.0.0.1[127.0.0.1]:10026, delay=1.3, delays=0.11/0/0/1.2, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 5880A60AAB)
Aug 12 16:14:45 mail postfix/qmgr[18060]: 165B2602F7: removed
Aug 12 16:14:45 mail postfix/smtp[13090]: 5880A60AAB: to=<trciobanu@traianaws.cf>, relay=mail.traianaws.cf[52.50.211.144]:25, delay=0.49, delays=0/0.01/0.3/0.18, dsn=5.5.0, status=bounced (Protocol error: host mail.traianaws.cf[52.50.211.144] said: 250 2.1.5 Ok (in reply to DATA command))
Aug 12 16:14:45 mail postfix/cleanup[13066]: D9D5760AE0: message-id=<20160812131445.D9D5760AE0@mail.dializa.md>
Aug 12 16:14:45 mail postfix/qmgr[18060]: D9D5760AE0: from=<>, size=3633, nrcpt=1 (queue active)
Aug 12 16:14:45 mail postfix/bounce[13091]: 5880A60AAB: sender non-delivery notification: D9D5760AE0
Aug 12 16:14:45 mail postfix/qmgr[18060]: 5880A60AAB: removed
Aug 12 16:14:45 mail postfix/pipe[13074]: D9D5760AE0: to=<it@dializa.md>, relay=dovecot, delay=0.03, delays=0/0/0/0.03, dsn=2.0.0, status=sent (delivered via dovecot service)
Aug 12 16:14:45 mail postfix/qmgr[18060]: D9D5760AE0: removed
Aug 12 16:14:53 mail postfix/smtpd[13056]: connect from unknown[155.133.82.144]
Aug 12 16:14:53 mail postfix/smtpd[13056]: lost connection after AUTH from unknown[155.133.82.144]
Aug 12 16:14:53 mail postfix/smtpd[13056]: disconnect from unknown[155.133.82.144]
------------------------------------------------------------------

Does postfix, dovecot support this proxy protocol?

AWS HA install issues on second server

$
0
0

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

I have the following errors in /var/log/mail.log on seccond server can someone help me  figure out what this means?

Aug 12 14:40:41 mx2 postfix/cleanup[2654]: warning: C94A363595: sender_bcc_maps map lookup problem -- message not accepted, try again later
Aug 12 14:40:41 mx2 postfix/pickup[2638]: warning: maildrop/230206370A: error writing C94A363595: queue file write error
Aug 12 14:40:42 mx2 postfix/pickup[2638]: C9ADD63595: uid=999 from=<sogo>
Aug 12 14:40:42 mx2 postfix/cleanup[2645]: warning: proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf lookup error for "sogo@mx2.traianaws.cf"
Aug 12 14:40:42 mx2 postfix/cleanup[2645]: warning: C9ADD63595: sender_bcc_maps map lookup problem -- message not accepted, try again later
Aug 12 14:40:42 mx2 postfix/pickup[2638]: warning: maildrop/8B868636A7: error writing C9ADD63595: queue file write error
Aug 12 14:40:43 mx2 postfix/pickup[2638]: CA11063595: uid=999 from=<sogo>
Aug 12 14:40:43 mx2 postfix/cleanup[2641]: warning: proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf lookup error for "sogo@mx2.traianaws.cf"
Aug 12 14:40:43 mx2 postfix/cleanup[2641]: warning: CA11063595: sender_bcc_maps map lookup problem -- message not accepted, try again later
Aug 12 14:40:43 mx2 postfix/pickup[2638]: warning: maildrop/351D563711: error writing CA11063595: queue file write error
Aug 12 14:40:44 mx2 postfix/pickup[2638]: CA73863595: uid=999 from=<sogo>
Aug 12 14:40:44 mx2 postfix/cleanup[2654]: warning: proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf lookup error for "sogo@mx2.traianaws.cf"
Aug 12 14:40:44 mx2 postfix/cleanup[2654]: warning: CA73863595: sender_bcc_maps map lookup problem -- message not accepted, try again later
Aug 12 14:40:44 mx2 postfix/pickup[2638]: warning: maildrop/CDC2063707: error writing CA73863595: queue file write error
Aug 12 14:40:45 mx2 postfix/pickup[2638]: CAD6B63595: uid=999 from=<sogo>
Aug 12 14:40:45 mx2 postfix/cleanup[2645]: warning: proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf lookup error for "sogo@mx2.traianaws.cf"
Aug 12 14:40:45 mx2 postfix/cleanup[2645]: warning: CAD6B63595: sender_bcc_maps map lookup problem -- message not accepted, try again later
Aug 12 14:40:45 mx2 postfix/pickup[2638]: warning: maildrop/BB5776370F: error writing CAD6B63595: queue file write error
Aug 12 14:40:46 mx2 postfix/pickup[2638]: CB3A363595: uid=999 from=<sogo>
Aug 12 14:40:46 mx2 postfix/cleanup[2641]: warning: proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf lookup error for "sogo@mx2.traianaws.cf"
Aug 12 14:40:46 mx2 postfix/cleanup[2641]: warning: CB3A363595: sender_bcc_maps map lookup problem -- message not accepted, try again later
Aug 12 14:40:46 mx2 postfix/pickup[2638]: warning: maildrop/669576370C: error writing CB3A363595: queue file write error
Aug 12 14:40:47 mx2 postfix/pickup[2638]: CB9D463595: uid=999 from=<sogo>
Aug 12 14:40:47 mx2 postfix/cleanup[2654]: warning: proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf lookup error for "sogo@mx2.traianaws.cf"
Aug 12 14:40:47 mx2 postfix/cleanup[2654]: warning: CB9D463595: sender_bcc_maps map lookup problem -- message not accepted, try again later
Aug 12 14:40:47 mx2 postfix/pickup[2638]: warning: maildrop/102A2636C0: error writing CB9D463595: queue file write error
Aug 12 14:40:48 mx2 postfix/pickup[2638]: CC00463595: uid=999 from=<sogo>
Aug 12 14:40:48 mx2 postfix/cleanup[2645]: warning: proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf lookup error for "sogo@mx2.traianaws.cf"
Aug 12 14:40:48 mx2 postfix/cleanup[2645]: warning: CC00463595: sender_bcc_maps map lookup problem -- message not accepted, try again later
Aug 12 14:40:48 mx2 postfix/pickup[2638]: warning: maildrop/ACC8263721: error writing CC00463595: queue file write error
Aug 12 14:40:49 mx2 postfix/pickup[2638]: CC63363595: uid=999 from=<sogo>
Aug 12 14:40:49 mx2 postfix/cleanup[2641]: warning: proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf lookup error for "sogo@mx2.traianaws.cf"
Aug 12 14:40:49 mx2 postfix/cleanup[2641]: warning: CC63363595: sender_bcc_maps map lookup problem -- message not accepted, try again later
Aug 12 14:40:49 mx2 postfix/pickup[2638]: warning: maildrop/0149463714: error writing CC63363595: queue file write error
Aug 12 14:40:50 mx2 postfix/pickup[2638]: CCC6563595: uid=999 from=<sogo>
Aug 12 14:40:50 mx2 postfix/cleanup[2654]: warning: proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf lookup error for "sogo@mx2.traianaws.cf"
Aug 12 14:40:50 mx2 postfix/cleanup[2654]: warning: CCC6563595: sender_bcc_maps map lookup problem -- message not accepted, try again later
Aug 12 14:40:50 mx2 postfix/pickup[2638]: warning: maildrop/36BFA63715: error writing CCC6563595: queue file write error
Aug 12 14:40:51 mx2 postfix/pickup[2638]: CD28263595: uid=999 from=<sogo>
Aug 12 14:40:51 mx2 postfix/cleanup[2645]: warning: proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf lookup error for "sogo@mx2.traianaws.cf"
Aug 12 14:40:51 mx2 postfix/cleanup[2645]: warning: CD28263595: sender_bcc_maps map lookup problem -- message not accepted, try again later
Aug 12 14:40:51 mx2 postfix/pickup[2638]: warning: maildrop/BC03A636FF: error writing CD28263595: queue file write error
Aug 12 14:40:52 mx2 postfix/pickup[2638]: CD8A563595: uid=999 from=<sogo>
Aug 12 14:40:52 mx2 postfix/cleanup[2641]: warning: proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf lookup error for "sogo@mx2.traianaws.cf"
Aug 12 14:40:52 mx2 postfix/cleanup[2641]: warning: CD8A563595: sender_bcc_maps map lookup problem -- message not accepted, try again later
Aug 12 14:40:52 mx2 postfix/pickup[2638]: warning: maildrop/7EF3F63702: error writing CD8A563595: queue file write error
Aug 12 14:40:53 mx2 postfix/pickup[2638]: CDEC463595: uid=999 from=<sogo>
Aug 12 14:40:53 mx2 postfix/cleanup[2654]: warning: proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf lookup error for "sogo@mx2.traianaws.cf"
Aug 12 14:40:53 mx2 postfix/cleanup[2654]: warning: CDEC463595: sender_bcc_maps map lookup problem -- message not accepted, try again later
Aug 12 14:40:53 mx2 postfix/pickup[2638]: warning: maildrop/074396371C: error writing CDEC463595: queue file write error
Aug 12 14:40:54 mx2 postfix/pickup[2638]: CE4E663595: uid=999 from=<sogo>
Aug 12 14:40:54 mx2 postfix/cleanup[2645]: warning: proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf lookup error for "sogo@mx2.traianaws.cf"
Aug 12 14:40:54 mx2 postfix/cleanup[2645]: warning: CE4E663595: sender_bcc_maps map lookup problem -- message not accepted, try again later
Aug 12 14:40:54 mx2 postfix/pickup[2638]: warning: maildrop/BFF90636A8: error writing CE4E663595: queue file write error
Aug 12 14:40:55 mx2 postfix/pickup[2638]: CEB2A63595: uid=999 from=<sogo>
Aug 12 14:40:55 mx2 postfix/cleanup[2641]: warning: proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf lookup error for "sogo@mx2.traianaws.cf"
Aug 12 14:40:55 mx2 postfix/cleanup[2641]: warning: CEB2A63595: sender_bcc_maps map lookup problem -- message not accepted, try again later
Aug 12 14:40:55 mx2 postfix/pickup[2638]: warning: maildrop/5C3CB63705: error writing CEB2A63595: queue file write error
Aug 12 14:40:56 mx2 postfix/pickup[2638]: CF15D63595: uid=999 from=<sogo>
Aug 12 14:40:56 mx2 postfix/cleanup[2654]: warning: proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf lookup error for "sogo@mx2.traianaws.cf"
Aug 12 14:40:56 mx2 postfix/cleanup[2654]: warning: CF15D63595: sender_bcc_maps map lookup problem -- message not accepted, try again later
Aug 12 14:40:56 mx2 postfix/pickup[2638]: warning: maildrop/BE244636BF: error writing CF15D63595: queue file write error
Aug 12 14:40:57 mx2 postfix/pickup[2638]: CF78363595: uid=999 from=<sogo>
Aug 12 14:40:57 mx2 postfix/cleanup[2645]: warning: proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf lookup error for "sogo@mx2.traianaws.cf"
Aug 12 14:40:57 mx2 postfix/cleanup[2645]: warning: CF78363595: sender_bcc_maps map lookup problem -- message not accepted, try again later
Aug 12 14:40:57 mx2 postfix/pickup[2638]: warning: maildrop/D83396370E: error writing CF78363595: queue file write error
Aug 12 14:40:58 mx2 postfix/pickup[2638]: CFDC163595: uid=999 from=<sogo>
Aug 12 14:40:58 mx2 postfix/cleanup[2641]: warning: proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf lookup error for "sogo@mx2.traianaws.cf"
Aug 12 14:40:58 mx2 postfix/cleanup[2641]: warning: CFDC163595: sender_bcc_maps map lookup problem -- message not accepted, try again later
Aug 12 14:40:58 mx2 postfix/pickup[2638]: warning: maildrop/A20CB63717: error writing CFDC163595: queue file write error
Aug 12 14:40:59 mx2 postfix/pickup[2638]: D03E663595: uid=999 from=<sogo>
Aug 12 14:40:59 mx2 postfix/cleanup[2654]: warning: proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf lookup error for "sogo@mx2.traianaws.cf"
Aug 12 14:40:59 mx2 postfix/cleanup[2654]: warning: D03E663595: sender_bcc_maps map lookup problem -- message not accepted, try again later
Aug 12 14:40:59 mx2 postfix/pickup[2638]: warning: maildrop/271D563704: error writing D03E663595: queue file write error
Aug 12 14:41:00 mx2 postfix/pickup[2638]: D0A2563595: uid=999 from=<sogo>
Aug 12 14:41:00 mx2 postfix/cleanup[2645]: warning: proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf lookup error for "sogo@mx2.traianaws.cf"
Aug 12 14:41:00 mx2 postfix/cleanup[2645]: warning: D0A2563595: sender_bcc_maps map lookup problem -- message not accepted, try again later
Aug 12 14:41:00 mx2 postfix/pickup[2638]: warning: maildrop/846D9636D7: error writing D0A2563595: queue file write error

hostname help

$
0
0

==== Required information ====
- iRedMail version : 0.9.5-1
- Linux/BSD distribution name and version: Ubuntu 16.04 server
- Store mail accounts in which backend : MySQL
- Web server : Apache
- Manage mail accounts with iRedAdmin-Pro? no
- Related log if you're reporting an issue:
====

Could somebody help me with setting hostname please

this is how it looks now

127.0.0.1       localhost
127.0.1.1       RoundishKungfu.us       RoundishKungfu

I am just unclear on how its suppost to end up looking

if i'm right in thinking I need to put what I put in for first domain name that would be mail.roundishkungfu.us is that right?

/etc/cron.daily/spamassassin

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): last
- Linux/BSD distribution name and version: Debian 8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue: /etc/cron.daily/spamassassin
====

Hi there,

Little pb today ... I don't understand this error message.

/etc/cron.daily/spamassassin:
run-parts: /etc/spamassassin/sa-update-hooks.d/amavisd-new exited with return code 3
run-parts: /etc/cron.daily/spamassassin exited with return code 1
/etc/cron.daily/tmpreaper:
Please read /usr/share/doc/tmpreaper/README.security.gz first;
edit /etc/tmpreaper.conf to remove this message (look for SHOWWARNING).

Thx

Just some support on my server randomly stopping.

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: Ubuntu 14.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue: N/a
====
Hello guys just got a few issues. I had a problem, where my mail server randomly stops over night, once I reboot the server, it will work with no problems for hours(except still can't get my emails going into spam of big email providers, I'll get to that.)

So my hostname is example.com. However, everything else such as postmaster etc is mail.example.com within the tips file. I can't fully remember how I set it up. My hostname is currently
127.0.1.1 example.com www.example.com
127.0.0.1 localhost

I have also turned off greylisting to try and stop this from happening a few days ago, still randomly stops, and I might add, I tried restarting the service iRedAPD. When I did that, it didn't fix it, I have to fully reboot the server to get the mail back up.

What should my mx record be? example.com or mail.example.com?

Going to the spam thing, I am struggling setting up my DKIM key, I used digitalocean as you probably guessed, I added the DKIM key, but didn't solve it, I also believe I have done the SPF key correctly, but my DKIM key with Iredmail has quotation marks and forward slashes that are split between keys, something that I haven't seen it set up tutorials. Really unsure of this.
I hope you guys can help me!


I just want to say to the admins and I believe Mr Zhang, this project is amazing, I am just an idiot. Really new to all this Back end stuff.

Thank you so much for taking the time to read this smile)

No whitelist/blacklist in iredapd

$
0
0

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

Hello,
I try to add some account to white list. I use tutorial from docs (http://www.iredmail.org/docs/amavisd.wblist.html)
When I put any command using wblist_admin.py scripts I got information No  whitelist/blacklist.

root@mail:/opt/iredapd/tools# python wblist_admin.py --list --whitelist
* Establishing SQL connection.
* Manage (inbound) wblist for account: @.
* Operation: show existing wblist (--list).
* wblist type: whitelist (--whitelist).
* No whitelist.

root@mail:/opt/iredapd/tools# python wblist_admin.py --list --blacklist
* Establishing SQL connection.
* Manage (inbound) wblist for account: @.
* Operation: show existing wblist (--list).
* wblist type: blacklist (--blacklist).
* No blacklist.

service iredapd is up and running
root@mail:/opt/iredapd/tools# /etc/init.d/iredapd status
iredapd is running.
telent to port 7777 working fine.
iredapd is added to postfix configuration
root@mail:/opt/iredapd/tools# postconf |grep 7777
smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:7777
smtpd_recipient_restrictions = reject_unknown_recipient_domain reject_non_fqdn_recipient reject_unlisted_recipient check_policy_service inet:127.0.0.1:7777 permit_mynetworks permit_sasl_authenticated reject_unauth_destination

what action is required to use whitelist/blacklist ? ;-)


http://www.idealhealthdoctor.com/t-90-xplode/

$
0
0

It is absolutely critical that you EVERY day come to your 2g per Kg body weight. More is even better. Using protein of muscle building for beginners is much faster, you regenerierst you better, can take more weight and frequent exercise. You'll feel better and develop more power. Good protein sources include: can win t 90 xplode Losing weight and muscles simultaneously a difficult thing to do. Especially if you're not sure what to do to rip your muscles, while adding muscle at the same time. So what I'll do is win together with you a few tips for losing weight and muscle fast. In this way you will get in a very short time crack able.

http://www.idealhealthdoctor.com/t-90-xplode/

iredadmin-another port access

$
0
0

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

Hello guys!
i'd like to change the http port of iredadmin to another port like 4444 for example.
is it possible?
if yes,what should i change in the config files?

thanks a lot!
raz

generate_ssl_keys.sh not working

$
0
0

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

I have followed this:
http://www.iredmail.org/forum/topic2440 … e-ssl.html

I modified ~/iRedMail-0.8.6/tools/generate_ssl_keys.sh
I reboot after running this file

Same error is given, and security certificate details still has unchanged city, state, and country, indicating no change to the keys.

Any suggestions?

http://www.athleticgreensfacts.com/max-gain-xtreme/

$
0
0

It goes almost without saying that long monotonous cardio units because max gain xtreme not contribute very much to the success. If you similar a endurance emphasized sports like football, rugby, soccer are running, then you should really be conditioned sufficiently strong off the regular training. I play even on several days a week ice hockey and it has never had a negative impact max gain xtreme on my goals in the gym. In the event that you still want to do some conditioning training, you can do it even once with a crisp taste interval training. Sure, who wants to be muscular, if he can not even manage a few steps, because it requires an oxygen tent a few steps? Trail running, kettlebells or the use of Battle Ropes once or twice a week will ensure that your heart rate is untwisted without you so zerschießt your regeneration as a marathon. Perhaps max gain xtreme there will soon be on the topic of physical training nor a follow-up article, but for the present time your focus should be on cold iron. Also remember that you compensate for the increased consumption by the additional training in the form of calories! Recovery for Hard Gainer Recovery for Hardgainer sleep is very important so that you reach your long goals. On average, you max gain xtreme should come to at least 7-8 hours. Away from training and nutrition is the sleep quantity and quality of the largest block that is important to the success and improvement in body composition. Deep sleep ensures secretion of growth hormone and testosterone while minimizing the volume cortisol. Believe me: Your success in the studio will suffer under it, if you do not adequately tankst much sleep, so pack the cell phone off and turn the telly off.

http://www.athleticgreensfacts.com/max-gain-xtreme/

No address associated with hostname - tried a few things (hostname -f)

$
0
0

Newest iRedmail
Ubuntu 14.04
MySQL
Nginx
No pro (yet)

Incredibly excited about iRedmail !!
----------
Both my hosts and postfix hosts match and are:

127.0.0.1          localhost.localdomain localhost
my.public.ip.ip   mx.mydomain.com mail


I'm getting a "no address associated with hostname" error when I run hostname -f

I can (or could recently) send emails but I do not receive them.

I have a few questions:

1) Should that second line be my public ip? I tried with the server IP as well.
2) On my domains DNS  MX record should I make it "mx.mydomain.com." or "mail.mydomain.com."?
3) Could this be a port forwarding issue? (the email not arriving problem).

I've restarted postfix after all the changes that I've made


Awesome product, I'm excited to get it working and possibly upgrade to pro.

Viewing all 12095 articles
Browse latest View live