Can you start mariadb server manually after iRedMail installation? Any error?
Re: Fresh install of iRedMail-0.9.0 MariaDB issue?
Debian 8 stable (Jessie) - Fresh install of IRedMail-0.9.0 Failing..
Hello there everyone,
I am trying to install IRedMail on a fresh install of Debian 8 Stable, but I am failing at the start of the installation process, here is some more information:
- iRedMail version: IRedMail: 0.9.0 (https://bitbucket.org/zhb/iredmail/down … .0.tar.bz2)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Debian 8 stable (Jessie) running on a OVH machine
I selected Apache2 as webserver, and here is the SSH output:
Configuration completed.
*************************************************************************
***************************** WARNING ***********************************
*************************************************************************
* *
* Below file contains sensitive infomation (username/password), please *
* do remember to *MOVE* it to a safe place after installation. *
* *
* * /home/iRedMail-0.9.0/config
* *
*************************************************************************
< Question > Continue? [y|N]y
< INFO > Installing package(s): postfix postfix-pcre mysql-server mysql-client postfix-mysql libaprutil1-dbd-mysql php5-imap php5-json php5-gd php5-mcrypt php5-curl mcrypt php-apc php5-mysql libapache2-mod-php5 nginx-full php5-fpm postfix-cluebringer postfix-cluebringer-mysql dovecot-imapd dovecot-pop3d dovecot-lmtpd dovecot-managesieved dovecot-sieve dovecot-mysql amavisd-new libcrypt-openssl-rsa-perl libmail-dkim-perl clamav-freshclam clamav-daemon spamassassin altermime arj zoo nomarch cpio lzop cabextract p7zip rpm unrar-free ripole libmail-spf-perl python-mysqldb python-jinja2 python-netifaces python-webpy libapache2-mod-wsgi uwsgi uwsgi-plugin-python awstats bzip2 acl patch cron tofrodos logwatch
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package postfix-cluebringer
E: Unable to locate package postfix-cluebringer-mysql
< ERROR > Installation failed, please check the terminal output.
Here is my content of:
$ nano /etc/apt/sources.list
deb http://debian.mirrors.ovh.net/debian/ jessie main
deb-src http://debian.mirrors.ovh.net/debian/ jessie main
deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main
# jessie-updates, previously known as 'volatile'
deb http://debian.mirrors.ovh.net/debian/ jessie-updates main
deb-src http://debian.mirrors.ovh.net/debian/ jessie-updates main
# jessie-backports, previously on backports.debian.org
deb http://debian.mirrors.ovh.net/debian/ jessie-backports main
deb-src http://debian.mirrors.ovh.net/debian/ jessie-backports main
What should I do to solve this issue?
Thanks.
Re: Debian 8 stable (Jessie) - Fresh install of IRedMail-0.9.0 Failing..
Debian 8 stable has not been released yet, you are running Debian testing which is not supported by iRedmail. Use Debian 7 aka Debian stable instead and your problems are gone.
Re: Debian 8 stable (Jessie) - Fresh install of IRedMail-0.9.0 Failing..
Debian 8 stable has not been released yet, you are running Debian testing which is not supported by iRedmail. Use Debian 7 aka Debian stable instead and your problems are gone.
Thank you for the response, Debian 8 is indeed in Testing stages, but I find it a lot better and stabler than Debian 7.x and therefore I would like to continue to use this version.
Am I able to install IRedMail manually somehow to skip the apt-get? Debian 8 should not be very different from Debian 7.x.
Thanks.
Re: Debian 8 stable (Jessie) - Fresh install of IRedMail-0.9.0 Failing..
Debian 8 is very different from Debian 7 since Debian 8 uses systemd instead of initd so I find it very unlikely you will ever get iRedmail to work on Debian 8.
As to your other claim that Debian 8 should be more stabler than Debian 7 is total nonsense!
Re: Debian 8 stable (Jessie) - Fresh install of IRedMail-0.9.0 Failing..
Debian 8 is very different from Debian 7 since Debian 8 uses systemd instead of initd so I find it very unlikely you will ever get iRedmail to work on Debian 8.
As to your other claim that Debian 8 should be more stabler than Debian 7 is total nonsense!
Hello again, I am not aware of all the changes but from what I have seen and read, it seems like it's minor changes and performance enchantments and support for further hardware.
I am not doing a lot on that machine, the performance is really a lot better, I think it depends on what you actually use the machine for that makes it unstable but I am just running very few programs and a private cloud server so it should not be a bigger issue .
But anyone that actually know if I could get IRedMail to work somehow?
Re: Debian 8 stable (Jessie) - Fresh install of IRedMail-0.9.0 Failing..
Something that has caused a fork of Debian is not a small thing!
Upgrade not available in download file iRedMail-0.9.0
==== Required information ====
- iRedMail version: iRedMail-0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: CentOS 6
- Related log if you're reporting an issue: Yes
====
I am upgrading from iRedMail-0.8.7 to iRedMail-0.9.0
I followed the instructions on http://www.iredmail.org/docs/migrate.or … admin.html
NOTE: There should be a link here to the download page, I had to search for the download.
I downloaded iRedMail-0.9.0.tar.bz2, in /root/ untapped it "tar xvc iRedMail-0.9.0.tar.bz2", went to the /root/iRedMail-0.9.0/tools directory and there was no script labeled or named anything like 'upgrade'
Re: mail is not sent
Sorry for hijacking an old thread. But did you solve it somehow?
I have completely new installation of iRedMail 0.9.0 on FreeBSD 10.1.
I am facing similar problems:
If I send mail from Roundcube I got error:
SMTP Error (220): Authentication failed.
In maillog is this:
Jan 3 23:49:01 smtpnew postfix/smtpd[14856]: connect from unknown[xx.xx.xx.xx]
Jan 3 23:49:01 smtpnew postfix/smtpd[14856]: SSL_accept error from unknown[xx.xx.xx.xx]: 0
Jan 3 23:49:01 smtpnew postfix/smtpd[14856]: warning: TLS library problem: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s3_pkt.c:1125:SSL alert number 48:
Jan 3 23:49:01 smtpnew postfix/smtpd[14856]: lost connection after STARTTLS from unknown[xx.xx.xx.xx]
Jan 3 23:49:01 smtpnew roundcube: PHP Deprecated: Non-static method PEAR::raiseError() should not be called statically, assuming $this from incompatible context in /usr/local/www/roundcube/program/lib/Net/SMTP.php on line 611
Jan 3 23:49:01 smtpnew postfix/smtpd[14856]: disconnect from unknown[xx.xx.xx.xx]
Jan 3 23:49:01 smtpnew roundcube: STARTTLS failed ():
Jan 3 23:49:01 smtpnew roundcube: PHP Deprecated: Non-static method PEAR::raiseError() should not be called statically, assuming $this from incompatible context in /usr/local/www/roundcube/program/lib/Net/SMTP.php on line 371
Jan 3 23:49:01 smtpnew roundcube: PHP Deprecated: Non-static method PEAR::raiseError() should not be called statically, assuming $this from incompatible context in /usr/local/www/roundcube/program/lib/Net/SMTP.php on line 265
Jan 3 23:49:01 smtpnew roundcube: SMTP Error: SMTP error: Authentication failure: STARTTLS failed (Code: ) in /usr/local/www/roundcube/program/lib/Roundcube/rcube.php on line 1505 (POST /mail/?_task=mail&_unlock=loading1420325349248&_lang=en_US&_framed=1?_task=mail&_action=send)
Re: Upgrade not available in download file iRedMail-0.9.0
I guess I am going cross eyed, the instructions say
We assume you uploaded it to /root/iRedAdmin-{BACKEND}-x.y.z.tar.bz2 ({BACKEND} is one of LDAP, MySQL, PGSQL). "
But the link information says
iRedAdmin-0.3.3.tar.bz2
iRedAdmin-0.3.tar.bz2
iRedAdmin-0.4.tar.bz2
There is no iRedAdmin with a "Mysql" imbedded in the name of the file.
UPDATE: I took a chance and ran the iRedAdmin without the BACKEND information in the filename and it looks like the script figures out which backend it is and updates it.
NOTE: Link at top of page says "Addition Steps" should be "Additional Steps"
Thank you for all your hard work Zhang
Re: Upgrade not available in download file iRedMail-0.9.0
Zhang, How do I update to the latest iRedMail? This was an iRedAdmin update.
Re: OpenBSD 5.6, iRedMail-0.9.0: uwsgi not fetched by the scripts
Small glitch on OpenBSD 5.6, that was already there in the rc. versions: the scrip doesn't fetch uwsgi, so it fails with:
< INFO > Installing uWSGI from source tarball, depends on your hardware, it may take 1 to 5 minutes, please be patient. tar: Failed open to read on uwsgi-*.tar.gz: No such file or directory /root/iRedMail-0.9.0/functions/packages.sh: line 506: cd: uwsgi-*/: No such file or directory
i just wget'ed the last stable: http://projects.unbit.it/downloads/uwsgi-2.0.9.tar.gz and put it into pkg/misc and started over, but didn't look for the line to fix in the script.
Also, in the installation instructions for OpenBSD, the mention of p5-Mail-SPF instead of p5-Mail-SPF-Query in packages choice has disappears (in http://www.iredmail.org/docs/install.ir … nbsd.html, ) (if p5-Mail-SPF-Query is choosen there will be a conflict later ...).
Confirming this on my install yesterday. Note though the install calls for uwsgi-2.0.8 available at http://projects.unbit.it/downloads/uwsgi-2.0.8.tar.gz and I installed that since pkg/MD5.openbsd referenced it.
I chose the package p5-Mail-SPF on install as it is more actively updated per http://openports.se/mail/p5-Mail-SPF
Re: OpenBSD 5.6, iRedMail-0.9.0: uwsgi not fetched by the scripts
Small glitch on OpenBSD 5.6, that was already there in the rc. versions: the scrip doesn't fetch uwsgi, so it fails with:
Fixed. i forgot to download uwsgi-2.0.8 on iredmail.org site. Sorry about this mistake.
Also, in the installation instructions for OpenBSD, the mention of p5-Mail-SPF instead of p5-Mail-SPF-Query in packages choice has disappears (in http://www.iredmail.org/docs/install.ir … nbsd.html, ) (if p5-Mail-SPF-Query is choosen there will be a conflict later ...).
Fixed moment ago.
Re: Upgrade not available in download file iRedMail-0.9.0
NOTE: Link at top of page says "Addition Steps" should be "Additional Steps"
Fixed (in all articles under /docs/) moment ago.
Zhang, How do I update to the latest iRedMail?
Upgrade tutorials for iRedMail are here: http://www.iredmail.org/docs/iredmail.releases.html
Re: Originating mail domains that are not being managed by iRedMail
GJT wrote:Dec 29 19:22:11 cenarioesolucao postfix/trivial-rewrite[2978]: warning: do not l ist domain cenarioesolucao.com.br in BOTH mydestination and virtual_mailbox_doma ins
Fix this issue first please.
Hello,
I managed to fix this problem by changing the name of my hosts to endeavour.com.br and my first virtual domain has become mail.endeavour.com.br. The domain is used @cenarioesolucao.com.br
The unfortunately the error remains the same. I will describe best with the logs of postfix in the next post.
Re: Originating mail domains that are not being managed by iRedMail
Before I begin sending and receiving tests, cleaned the /var/log/mail.log log file.
I rebooted my server and open the email manager. The result is as follows:
First - I can send and receive email from me to myself.
Second - I can receive email originated in another account managed by iRedMail the field.
Third - I can send mail to other external domains to iRedMail, all of which arrived quickly.
The problem - When I try to send an email originated from an external domain to the account managed by iRedMail, email never arrives. However, as soon after sending this email from the external domain and I send an email from me to myself, just my MySQL service will not run.
Just below this the log file mail.log:
Jan 4 16:35:04 endeavour amavis[1942]: starting. /usr/sbin/amavisd-new at endea vour.com.br amavisd-new-2.7.1 (20120429), Unicode aware
Jan 4 16:35:05 endeavour amavis[1994]: Net::Server: Group Not Defined. Default ing to EGID '117 117'
Jan 4 16:35:05 endeavour amavis[1994]: Net::Server: User Not Defined. Defaulti ng to EUID '111'
Jan 4 16:35:05 endeavour amavis[1994]: Module Amavis::Conf 2.303
Jan 4 16:35:05 endeavour amavis[1994]: Module Archive::Zip 1.30
Jan 4 16:35:05 endeavour amavis[1994]: Module BerkeleyDB 0.51
Jan 4 16:35:05 endeavour amavis[1994]: Module Compress::Zlib 2.033
Jan 4 16:35:05 endeavour amavis[1994]: Module Convert::TNEF 0.17
Jan 4 16:35:05 endeavour amavis[1994]: Module Convert::UUlib 1.4
Jan 4 16:35:05 endeavour amavis[1994]: Module Crypt::OpenSSL::RSA 0.28
Jan 4 16:35:05 endeavour amavis[1994]: Module DBD::mysql 4.021
Jan 4 16:35:05 endeavour amavis[1994]: Module DBI 1.622
Jan 4 16:35:05 endeavour amavis[1994]: Module DB_File 1.821
Jan 4 16:35:05 endeavour amavis[1994]: Module Digest::MD5 2.51
Jan 4 16:35:05 endeavour amavis[1994]: Module Digest::SHA 5.61
Jan 4 16:35:05 endeavour amavis[1994]: Module File::Temp 0.22
Jan 4 16:35:05 endeavour amavis[1994]: Module IO::Socket::INET6 2.69
Jan 4 16:35:05 endeavour amavis[1994]: Module MIME::Entity 5.503
Jan 4 16:35:05 endeavour amavis[1994]: Module MIME::Parser 5.503
Jan 4 16:35:05 endeavour amavis[1994]: Module MIME::Tools 5.503
Jan 4 16:35:05 endeavour amavis[1994]: Module Mail::DKIM::Signer 0.39
Jan 4 16:35:05 endeavour amavis[1994]: Module Mail::DKIM::Verifier 0.39
Jan 4 16:35:05 endeavour amavis[1994]: Module Mail::Header 2.09
Jan 4 16:35:05 endeavour amavis[1994]: Module Mail::Internet 2.09
Jan 4 16:35:05 endeavour amavis[1994]: Module Mail::SPF v2.008
Jan 4 16:35:05 endeavour amavis[1994]: Module Mail::SpamAssassin 3.003002
Jan 4 16:35:05 endeavour amavis[1994]: Module Net::DNS 0.66
Jan 4 16:35:05 endeavour amavis[1994]: Module Net::Server 2.006
Jan 4 16:35:05 endeavour amavis[1994]: Module NetAddr::IP 4.062
Jan 4 16:35:05 endeavour amavis[1994]: Module Socket6 0.23
Jan 4 16:35:05 endeavour amavis[1994]: Module Time::HiRes 1.972101
Jan 4 16:35:05 endeavour amavis[1994]: Module URI 1.60
Jan 4 16:35:05 endeavour amavis[1994]: Module Unix::Syslog 1.1
Jan 4 16:35:05 endeavour amavis[1994]: Amavis::DB code loaded
Jan 4 16:35:05 endeavour amavis[1994]: SQL base code loaded
Jan 4 16:35:05 endeavour amavis[1994]: SQL::Log code loaded
Jan 4 16:35:05 endeavour amavis[1994]: SQL::Quarantine loaded
Jan 4 16:35:05 endeavour amavis[1994]: Lookup::SQL code loaded
Jan 4 16:35:05 endeavour amavis[1994]: Lookup::LDAP code NOT loaded
Jan 4 16:35:05 endeavour amavis[1994]: AM.PDP-in proto code loaded
Jan 4 16:35:05 endeavour amavis[1994]: SMTP-in proto code loaded
Jan 4 16:35:05 endeavour amavis[1994]: Courier proto code NOT loaded
Jan 4 16:35:05 endeavour amavis[1994]: SMTP-out proto code loaded
Jan 4 16:35:05 endeavour amavis[1994]: Pipe-out proto code NOT loaded
Jan 4 16:35:05 endeavour amavis[1994]: BSMTP-out proto code NOT loaded
Jan 4 16:35:05 endeavour amavis[1994]: Local-out proto code NOT loaded
Jan 4 16:35:05 endeavour amavis[1994]: OS_Fingerprint code NOT loaded
Jan 4 16:35:05 endeavour amavis[1994]: ANTI-VIRUS code loaded
Jan 4 16:35:05 endeavour amavis[1994]: ANTI-SPAM code loaded
Jan 4 16:35:05 endeavour amavis[1994]: ANTI-SPAM-EXT code NOT loaded
Jan 4 16:35:05 endeavour amavis[1994]: ANTI-SPAM-C code NOT loaded
Jan 4 16:35:05 endeavour amavis[1994]: ANTI-SPAM-SA code loaded
Jan 4 16:35:05 endeavour amavis[1994]: Unpackers code loaded
Jan 4 16:35:05 endeavour amavis[1994]: DKIM code loaded
Jan 4 16:35:05 endeavour amavis[1994]: Tools code NOT loaded
Jan 4 16:35:05 endeavour amavis[1994]: Found $file at /usr/bin/file
Jan 4 16:35:05 endeavour amavis[1994]: Found $altermime at /usr/bin/alter mime
Jan 4 16:35:05 endeavour amavis[1994]: Internal decoder for .mail
Jan 4 16:35:05 endeavour amavis[1994]: No decoder for .F
Jan 4 16:35:05 endeavour amavis[1994]: Found decoder for .Z at /bin/uncom press
Jan 4 16:35:05 endeavour amavis[1994]: Internal decoder for .gz
Jan 4 16:35:05 endeavour amavis[1994]: Found decoder for .bz2 at /bin/bzip2 -d
Jan 4 16:35:05 endeavour amavis[1994]: Found decoder for .xz at /usr/bin/x z -dc
Jan 4 16:35:05 endeavour amavis[1994]: Found decoder for .lzma at /usr/bin/x z -dc --format=lzma
Jan 4 16:35:05 endeavour amavis[1994]: Found decoder for .lzo at /usr/bin/l zop -d
Jan 4 16:35:05 endeavour amavis[1994]: Found decoder for .rpm at /usr/bin/r pm2cpio
Jan 4 16:35:05 endeavour amavis[1994]: Found decoder for .cpio at /bin/pax
Jan 4 16:35:05 endeavour amavis[1994]: Found decoder for .tar at /bin/pax
Jan 4 16:35:05 endeavour amavis[1994]: Found decoder for .deb at /usr/bin/a r
Jan 4 16:35:05 endeavour amavis[1994]: Internal decoder for .zip
Jan 4 16:35:05 endeavour amavis[1994]: Internal decoder for .kmz
Jan 4 16:35:05 endeavour amavis[1994]: Found decoder for .7z at /usr/bin/7 zr
Jan 4 16:35:05 endeavour amavis[1994]: Found decoder for .rar at /usr/bin/u nrar-free
Jan 4 16:35:05 endeavour amavis[1994]: Found decoder for .arj at /usr/bin/a rj
Jan 4 16:35:05 endeavour amavis[1994]: Found decoder for .arc at /usr/bin/n omarch
Jan 4 16:35:05 endeavour amavis[1994]: Found decoder for .zoo at /usr/bin/z oo
Jan 4 16:35:05 endeavour amavis[1994]: Found decoder for .doc at /usr/bin/r ipole
Jan 4 16:35:05 endeavour amavis[1994]: Found decoder for .cab at /usr/bin/c abextract
Jan 4 16:35:05 endeavour amavis[1994]: No decoder for .tnef
Jan 4 16:35:05 endeavour amavis[1994]: Internal decoder for .tnef
Jan 4 16:35:05 endeavour amavis[1994]: Found decoder for .exe at /usr/bin/u nrar-free; /usr/bin/arj
Jan 4 16:35:05 endeavour amavis[1994]: Using primary internal av scanner code f or ClamAV-clamd
Jan 4 16:35:05 endeavour amavis[1994]: Deleting db files __db.003,__db.002,nann y.db,snmp.db,__db.001,__db.004 in /var/lib/amavis/db
Jan 4 16:35:05 endeavour amavis[1994]: Creating db in /var/lib/amavis/db/; Berk eleyDB 0.51, libdb 5.1
Jan 4 16:35:14 endeavour postfix/master[3017]: daemon started -- version 2.9.6, configuration /etc/postfix
Jan 4 16:35:14 endeavour postfix/qmgr[3023]: DDB5D41129: from=<glaucio@cenarioe solucao.com.br>, size=631, nrcpt=1 (queue active)
Jan 4 16:35:17 endeavour amavis[3112]: (03112-01) (!)connect to /tmp/clamd.sock et failed, attempt #1: Can't connect to UNIX socket /tmp/clamd.socket: No such f ile or directory
Jan 4 16:35:18 endeavour amavis[3112]: (03112-01) (!)connect to /tmp/clamd.sock et failed, attempt #1: Can't connect to UNIX socket /tmp/clamd.socket: No such f ile or directory
Jan 4 16:35:18 endeavour amavis[3112]: (03112-01) (!)ClamAV-clamd: All attempts (1) failed connecting to /tmp/clamd.socket, retrying (2)
Jan 4 16:35:24 endeavour amavis[3112]: (03112-01) (!)connect to /tmp/clamd.sock et failed, attempt #1: Can't connect to UNIX socket /tmp/clamd.socket: No such f ile or directory
Jan 4 16:35:24 endeavour amavis[3112]: (03112-01) (!)ClamAV-clamd av-scanner FA ILED: run_av error: Too many retries to talk to /tmp/clamd.socket (All attempts (1) failed connecting to /tmp/clamd.socket) at (eval 114) line 603.\n
Jan 4 16:35:24 endeavour amavis[3112]: (03112-01) (!)WARN: all primary virus sc anners failed, considering backups
Jan 4 16:35:24 endeavour amavis[3112]: (03112-01) (!!)AV: ALL VIRUS SCANNERS FA ILED
Jan 4 16:35:24 endeavour postfix/smtpd[3114]: connect from endeavour.com.br[127 .0.0.1]
Jan 4 16:35:24 endeavour postfix/smtpd[3114]: D3F3B410CA: client=endeavour.com. br[127.0.0.1]
Jan 4 16:35:24 endeavour postfix/cleanup[3117]: D3F3B410CA: message-id=<dd064b1 7107cd327dae7f189cbe0e852@cenarioesolucao.com.br>
Jan 4 16:35:24 endeavour postfix/qmgr[3023]: D3F3B410CA: from=<glaucio@cenarioe solucao.com.br>, size=1102, nrcpt=1 (queue active)
Jan 4 16:35:24 endeavour postfix/smtpd[3114]: disconnect from endeavour.com.br[ 127.0.0.1]
Jan 4 16:35:24 endeavour amavis[3112]: (03112-01) Passed UNCHECKED {RelayedInte rnal}, MYNETS/MYUSERS LOCAL [127.0.0.1]:52654 [127.0.0.1] <glaucio@cenarioesoluc ao.com.br> -> <glaucio@cenarioesolucao.com.br>, Queue-ID: DDB5D41129, Message-ID : <dd064b17107cd327dae7f189cbe0e852@cenarioesolucao.com.br>, mail_id: d__lTjdmeV ND, Hits: -0.997, size: 631, queued_as: D3F3B410CA, 7456 ms
Jan 4 16:35:25 endeavour postfix/smtp[3037]: DDB5D41129: to=<glaucio@cenarioeso lucao.com.br>, relay=127.0.0.1[127.0.0.1]:10024, delay=375, delays=365/0.05/3.2/ 7.5, 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 D3F3B410CA)
Jan 4 16:35:25 endeavour postfix/qmgr[3023]: DDB5D41129: removed
Jan 4 16:35:25 endeavour postfix/pipe[3123]: D3F3B410CA: to=<glaucio@cenarioeso lucao.com.br>, relay=dovecot, delay=0.32, delays=0.1/0.03/0/0.19, dsn=2.0.0, sta tus=sent (delivered via dovecot service)
Jan 4 16:35:25 endeavour postfix/qmgr[3023]: D3F3B410CA: removed
Jan 4 16:35:57 endeavour postfix/smtpd[3145]: connect from endeavour.com.br[127 .0.0.1]
Jan 4 16:35:57 endeavour postfix/smtpd[3145]: 255AA410CA: client=endeavour.com. br[127.0.0.1], sasl_method=LOGIN, sasl_username=glaucio@cenarioesolucao.com.br
Jan 4 16:35:58 endeavour postfix/cleanup[3117]: 255AA410CA: message-id=<4ed38f0 aeb79e43b5cc07b345318e803@cenarioesolucao.com.br>
Jan 4 16:35:58 endeavour postfix/qmgr[3023]: 255AA410CA: from=<glaucio@cenarioe solucao.com.br>, size=607, nrcpt=1 (queue active)
Jan 4 16:35:58 endeavour roundcube: User glaucio@cenarioesolucao.com.br [177.97 .211.221]; Message for glaucio@cenarioesolucao.com.br; 250: 2.0.0 Ok: queued as 255AA410CA
Jan 4 16:35:58 endeavour amavis[3109]: (03109-01) (!)connect to /tmp/clamd.sock et failed, attempt #1: Can't connect to UNIX socket /tmp/clamd.socket: No such f ile or directory
Jan 4 16:35:58 endeavour postfix/smtpd[3145]: disconnect from endeavour.com.br[ 127.0.0.1]
Jan 4 16:35:59 endeavour amavis[3109]: (03109-01) (!)connect to /tmp/clamd.sock et failed, attempt #1: Can't connect to UNIX socket /tmp/clamd.socket: No such f ile or directory
Jan 4 16:35:59 endeavour amavis[3109]: (03109-01) (!)ClamAV-clamd: All attempts (1) failed connecting to /tmp/clamd.socket, retrying (2)
Jan 4 16:36:05 endeavour amavis[3109]: (03109-01) (!)connect to /tmp/clamd.sock et failed, attempt #1: Can't connect to UNIX socket /tmp/clamd.socket: No such f ile or directory
Jan 4 16:36:05 endeavour amavis[3109]: (03109-01) (!)ClamAV-clamd av-scanner FA ILED: run_av error: Too many retries to talk to /tmp/clamd.socket (All attempts (1) failed connecting to /tmp/clamd.socket) at (eval 114) line 603.\n
Jan 4 16:36:05 endeavour amavis[3109]: (03109-01) (!)WARN: all primary virus sc anners failed, considering backups
Jan 4 16:36:05 endeavour amavis[3109]: (03109-01) (!!)AV: ALL VIRUS SCANNERS FA ILED
Jan 4 16:36:05 endeavour postfix/smtpd[3114]: connect from endeavour.com.br[127 .0.0.1]
Jan 4 16:36:05 endeavour postfix/smtpd[3114]: 739AE41129: client=endeavour.com. br[127.0.0.1]
Jan 4 16:36:05 endeavour postfix/cleanup[3117]: 739AE41129: message-id=<4ed38f0 aeb79e43b5cc07b345318e803@cenarioesolucao.com.br>
Jan 4 16:36:05 endeavour postfix/qmgr[3023]: 739AE41129: from=<glaucio@cenarioe solucao.com.br>, size=1078, nrcpt=1 (queue active)
Jan 4 16:36:05 endeavour postfix/smtpd[3114]: disconnect from endeavour.com.br[ 127.0.0.1]
Jan 4 16:36:05 endeavour amavis[3109]: (03109-01) Passed UNCHECKED {RelayedInte rnal}, MYNETS/MYUSERS LOCAL [127.0.0.1]:38110 [127.0.0.1] <glaucio@cenarioesoluc ao.com.br> -> <glaucio@cenarioesolucao.com.br>, Queue-ID: 255AA410CA, Message-ID : <4ed38f0aeb79e43b5cc07b345318e803@cenarioesolucao.com.br>, mail_id: PnOkvhhe_M fn, Hits: -0.997, size: 607, queued_as: 739AE41129, 7290 ms
Jan 4 16:36:05 endeavour postfix/smtp[3037]: 255AA410CA: to=<glaucio@cenarioeso lucao.com.br>, relay=127.0.0.1[127.0.0.1]:10024, delay=8.5, delays=1.2/0/0.02/7. 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 739AE41129)
Jan 4 16:36:05 endeavour postfix/qmgr[3023]: 255AA410CA: removed
Jan 4 16:36:05 endeavour postfix/pipe[3123]: 739AE41129: to=<glaucio@cenarioeso lucao.com.br>, relay=dovecot, delay=0.09, delays=0.01/0.01/0/0.08, dsn=2.0.0, st atus=sent (delivered via dovecot service)
Jan 4 16:36:05 endeavour postfix/qmgr[3023]: 739AE41129: removed
Jan 4 16:36:38 endeavour postfix/smtpd[3145]: connect from endeavour.com.br[127 .0.0.1]
Jan 4 16:36:38 endeavour postfix/smtpd[3145]: 1DD0D41129: client=endeavour.com. br[127.0.0.1], sasl_method=LOGIN, sasl_username=glaucio@cenarioesolucao.com.br
Jan 4 16:36:39 endeavour postfix/cleanup[3117]: 1DD0D41129: message-id=<8440e2d 298748ec560ab8e461a8775ef@cenarioesolucao.com.br>
Jan 4 16:36:39 endeavour postfix/qmgr[3023]: 1DD0D41129: from=<glaucio@cenarioe solucao.com.br>, size=776, nrcpt=1 (queue active)
Jan 4 16:36:39 endeavour roundcube: User glaucio@cenarioesolucao.com.br [177.97 .211.221]; Message for glaucio.teixeira@hotmail.com; 250: 2.0.0 Ok: queued as 1D D0D41129
Jan 4 16:36:39 endeavour postfix/smtpd[3145]: disconnect from endeavour.com.br[ 127.0.0.1]
Jan 4 16:36:39 endeavour amavis[3110]: (03110-01) (!!)file(1) utility (/usr/bin /file) FAILED: run_command: can't fork: Cannot allocate memory at /usr/sbin/amav isd-new line 3586.
Jan 4 16:36:39 endeavour amavis[3110]: (03110-01) (!)connect to /tmp/clamd.sock et failed, attempt #1: Can't connect to UNIX socket /tmp/clamd.socket: No such f ile or directory
Jan 4 16:36:40 endeavour amavis[3110]: (03110-01) (!)connect to /tmp/clamd.sock et failed, attempt #1: Can't connect to UNIX socket /tmp/clamd.socket: No such f ile or directory
Jan 4 16:36:40 endeavour amavis[3110]: (03110-01) (!)ClamAV-clamd: All attempts (1) failed connecting to /tmp/clamd.socket, retrying (2)
Jan 4 16:36:46 endeavour amavis[3110]: (03110-01) (!)connect to /tmp/clamd.sock et failed, attempt #1: Can't connect to UNIX socket /tmp/clamd.socket: No such f ile or directory
Jan 4 16:36:46 endeavour amavis[3110]: (03110-01) (!)ClamAV-clamd av-scanner FA ILED: run_av error: Too many retries to talk to /tmp/clamd.socket (All attempts (1) failed connecting to /tmp/clamd.socket) at (eval 114) line 603.\n
Jan 4 16:36:46 endeavour amavis[3110]: (03110-01) (!)WARN: all primary virus sc anners failed, considering backups
Jan 4 16:36:46 endeavour amavis[3110]: (03110-01) (!!)AV: ALL VIRUS SCANNERS FA ILED
Jan 4 16:36:46 endeavour postfix/smtpd[3114]: connect from endeavour.com.br[127 .0.0.1]
Jan 4 16:36:46 endeavour postfix/smtpd[3114]: B398341138: client=endeavour.com. br[127.0.0.1]
Jan 4 16:36:46 endeavour postfix/cleanup[3117]: B398341138: message-id=<8440e2d 298748ec560ab8e461a8775ef@cenarioesolucao.com.br>
Jan 4 16:36:46 endeavour postfix/smtpd[3114]: disconnect from endeavour.com.br[ 127.0.0.1]
Jan 4 16:36:46 endeavour postfix/qmgr[3023]: B398341138: from=<glaucio@cenarioe solucao.com.br>, size=1243, nrcpt=1 (queue active)
Jan 4 16:36:46 endeavour amavis[3110]: (03110-01) Passed UNCHECKED {RelayedInte rnal}, MYNETS/MYUSERS LOCAL [127.0.0.1]:38140 [127.0.0.1] <glaucio@cenarioesoluc ao.com.br> -> <glaucio.teixeira@hotmail.com>, Queue-ID: 1DD0D41129, Message-ID: <8440e2d298748ec560ab8e461a8775ef@cenarioesolucao.com.br>, mail_id: zg-k3Xzf0wba , Hits: -0.997, size: 776, queued_as: B398341138, 7617 ms
Jan 4 16:36:46 endeavour postfix/smtp[3037]: 1DD0D41129: to=<glaucio.teixeira@h otmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=8.8, delays=1.1/0/0.05/7.6, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 O k: queued as B398341138)
Jan 4 16:36:46 endeavour postfix/qmgr[3023]: 1DD0D41129: removed
Jan 4 16:36:48 endeavour postfix/smtp[3181]: B398341138: to=<glaucio.teixeira@h otmail.com>, relay=mx1.hotmail.com[65.55.37.72]:25, delay=1.8, delays=0.05/0.06/ 0.77/0.95, dsn=2.0.0, status=sent (250 <8440e2d298748ec560ab8e461a8775ef@cenari oesolucao.com.br> Queued mail for delivery)
Jan 4 16:36:48 endeavour postfix/qmgr[3023]: B398341138: removed
Jan 4 16:38:43 endeavour postfix/smtpd[3464]: connect from endeavour.com.br[127 .0.0.1]
Jan 4 16:38:43 endeavour postfix/smtpd[3464]: D2D9F41129: client=endeavour.com. br[127.0.0.1], sasl_method=LOGIN, sasl_username=glaucio@cenarioesolucao.com.br
Jan 4 16:38:44 endeavour postfix/cleanup[3468]: D2D9F41129: message-id=<9fcf18f 71dd7c221907bb82e632db941@cenarioesolucao.com.br>
Jan 4 16:38:44 endeavour postfix/qmgr[3023]: D2D9F41129: from=<glaucio@cenarioe solucao.com.br>, size=607, nrcpt=1 (queue active)
Jan 4 16:38:45 endeavour roundcube: User glaucio@cenarioesolucao.com.br [177.97 .211.221]; Message for glaucio@cenarioesolucao.com.br; 250: 2.0.0 Ok: queued as D2D9F41129
Jan 4 16:38:45 endeavour postfix/smtpd[3464]: disconnect from endeavour.com.br[ 127.0.0.1]
Jan 4 16:38:45 endeavour amavis[3111]: (03111-01) (!!)file(1) utility (/usr/bin /file) FAILED: run_command: can't fork: Cannot allocate memory at /usr/sbin/amav isd-new line 3586.
Jan 4 16:38:45 endeavour amavis[3111]: (03111-01) (!)connect to /tmp/clamd.sock et failed, attempt #1: Can't connect to UNIX socket /tmp/clamd.socket: No such f ile or directory
Jan 4 16:38:46 endeavour amavis[3111]: (03111-01) (!)connect to /tmp/clamd.sock et failed, attempt #1: Can't connect to UNIX socket /tmp/clamd.socket: No such f ile or directory
Jan 4 16:38:46 endeavour amavis[3111]: (03111-01) (!)ClamAV-clamd: All attempts (1) failed connecting to /tmp/clamd.socket, retrying (2)
Jan 4 16:38:52 endeavour amavis[3111]: (03111-01) (!)connect to /tmp/clamd.sock et failed, attempt #1: Can't connect to UNIX socket /tmp/clamd.socket: No such f ile or directory
Jan 4 16:38:52 endeavour amavis[3111]: (03111-01) (!)ClamAV-clamd av-scanner FA ILED: run_av error: Too many retries to talk to /tmp/clamd.socket (All attempts (1) failed connecting to /tmp/clamd.socket) at (eval 114) line 603.\n
Jan 4 16:38:52 endeavour amavis[3111]: (03111-01) (!)WARN: all primary virus sc anners failed, considering backups
Jan 4 16:38:52 endeavour amavis[3111]: (03111-01) (!!)AV: ALL VIRUS SCANNERS FA ILED
Jan 4 16:38:54 endeavour postfix/smtpd[3489]: connect from endeavour.com.br[127 .0.0.1]
Jan 4 16:38:54 endeavour postfix/proxymap[3465]: warning: mysql query failed: L ost connection to MySQL server during query
Jan 4 16:38:54 endeavour postfix/trivial-rewrite[3466]: warning: proxy:mysql:/e tc/postfix/mysql/virtual_mailbox_domains.cf: table lookup problem
Jan 4 16:38:54 endeavour postfix/trivial-rewrite[3466]: warning: virtual_mailbo x_domains lookup failure
Jan 4 16:38:54 endeavour postfix/smtpd[3489]: 244AD4113E: client=endeavour.com. br[127.0.0.1]
Jan 4 16:38:54 endeavour postfix/proxymap[3465]: warning: connect to mysql serv er 127.0.0.1: Can't connect to MySQL server on '127.0.0.1' (111)
Jan 4 16:38:54 endeavour postfix/cleanup[3468]: warning: proxy:mysql:/etc/postf ix/mysql/sender_bcc_maps_user.cf lookup error for "glaucio@cenarioesolucao.com.b r"
Jan 4 16:38:54 endeavour postfix/cleanup[3468]: warning: 244AD4113E: sender_bcc _maps lookup problem
Jan 4 16:38:54 endeavour postfix/proxymap[3465]: warning: mysql query failed: L ost connection to MySQL server during query
Jan 4 16:38:54 endeavour postfix/cleanup[3468]: warning: proxy:mysql:/etc/postf ix/mysql/virtual_alias_maps.cf lookup error for "postmaster@endeavour.com.br"
Jan 4 16:38:54 endeavour postfix/cleanup[3468]: warning: 2E56C4113E: virtual_al ias_maps map lookup problem for postmaster@endeavour.com.br -- deferring deliver y
Jan 4 16:38:54 endeavour postfix/smtpd[3489]: disconnect from endeavour.com.br[ 127.0.0.1]
Jan 4 16:38:54 endeavour amavis[3111]: (03111-01) Negative SMTP response to dat a-dot (<glaucio@cenarioesolucao.com.br>): 451 4.3.0 Error: queue file write erro r
Jan 4 16:38:54 endeavour amavis[3111]: (03111-01) (!)FWD from <glaucio@cenarioe solucao.com.br> -> <glaucio@cenarioesolucao.com.br>,BODY=8BITMIME 451 4.3.0 from MTA(smtp:[127.0.0.1]:10025): 451 4.3.0 Error: queue file write error
Jan 4 16:38:54 endeavour amavis[3111]: (03111-01) Blocked MTA-BLOCKED {TempFail edInternal}, MYNETS/MYUSERS LOCAL [127.0.0.1]:38448 [127.0.0.1] <glaucio@cenario esolucao.com.br> -> <glaucio@cenarioesolucao.com.br>, Queue-ID: D2D9F41129, Mess age-ID: <9fcf18f71dd7c221907bb82e632db941@cenarioesolucao.com.br>, mail_id: GLgy k1I-0nEE, Hits: -0.997, size: 607, 9226 ms
Jan 4 16:38:54 endeavour amavis[3111]: (03111-01) (!)sql begin transaction fail ed, probably disconnected by server, reconnecting (DBD::mysql::db begin_work fai led: Turning off AutoCommit failed at (eval 110) line 85, <GEN38> line 46.)
Jan 4 16:38:54 endeavour amavis[3111]: (03111-01) (!)connect_to_sql: unable to connect to DSN 'DBI:mysql:database=amavisd;host=127.0.0.1;port=3306': Can't conn ect to MySQL server on '127.0.0.1' (111)
Jan 4 16:38:54 endeavour amavis[3111]: (03111-01) (!!)TROUBLE in check_mail, bu t must continue (1): sql-update FAILED: connect_to_sql: unable to connect to any dataset at (eval 110) line 247, <GEN38> line 46.
Jan 4 16:38:54 endeavour amavis[3111]: (03111-01) (!)PRESERVING EVIDENCE in /va r/lib/amavis/tmp/amavis-20150104T163845-03111-Kkv645O0
Jan 4 16:38:54 endeavour postfix/smtp[3469]: D2D9F41129: to=<glaucio@cenarioeso lucao.com.br>, relay=127.0.0.1[127.0.0.1]:10024, delay=11, delays=1.3/0.04/0.42/ 8.8, dsn=4.3.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.3.0 id=03 111-01 - Temporary MTA failure on relaying, from MTA(smtp:[127.0.0.1]:10025): 45 1 4.3.0 Error: queue file write error (in reply to end of DATA command))
Jan 4 16:38:54 endeavour postfix/proxymap[3465]: warning: mysql query failed: L ost connection to MySQL server during query
Jan 4 16:38:54 endeavour postfix/smtp[3469]: warning: proxy:mysql:/etc/postfix/ mysql/relay_domains.cf: table lookup problem
Jan 4 16:38:54 endeavour postfix/smtp[3469]: warning: D2D9F41129: flush service failure
Jan 4 16:38:55 endeavour roundcube: DB Error: SQLSTATE[HY000] [2003] Can't conn ect to MySQL server on '127.0.0.1' (111) in /usr/share/apache2/roundcubemail-1.0 .4/program/lib/Roundcube/rcube_db.php on line 158 (POST /mail/?_task=mail&_actio n=check-recent?_task=&_action=)
Jan 4 16:38:55 endeavour roundcube: DB Error: SQLSTATE[HY000] [2003] Can't conn ect to MySQL server on '127.0.0.1' (111) (POST /mail/?_task=mail&_action=check-r ecent?_task=&_action=)
Re: Upgrade not available in download file iRedMail-0.9.0
Great thanks. I am working on the upgrade now, I have issues which I will post a new item.
Upgrade from iRedAPD 1.4.3 to 1.4.4
==== Required information ====
- iRedMail version: 0.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MYSQL
- Linux/BSD distribution name and version: CentOS 6
- Related log if you're reporting an issue: iRedAPD 1.4.4
====
I have the upgrade done following http://www.iredmail.org/docs/upgrade.iredapd.html
However the instructions for some of the new things don't tell how to do it
It's recommended to enable plugin reject_null_sender in iRedAPD-1.4.4 or newer releases to prevent authenticated user sending spam as null sender.
Where do it update Reject_null_sender to be a plugin?
In
Since version 1.4.4, iRedAPD supports Postfix smtp protocol state END-OF-MESSAGE, so you can enable iRedAPD in Postfix parameter smtpd_end_of_data_restrictions like below:
smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:7777, ...
Currently, only plugin amavisd_message_size_limit works in END-OF-MESSAGE state, other plugins work in RCPT state.
How do enable that? in postfix main it already has "smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10031"
Re: Upgrade from iRedAPD 1.4.3 to 1.4.4
Where do it update Reject_null_sender to be a plugin?
/opt/iredapd/settings.py
How do enable that? in postfix main it already has "smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10031"
/etc/postfix/main.cf
Return-Path filter for spam?
==== Required information ====
- iRedMail version: 0.8.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 12.04 LTS
- Related log if you're reporting an issue:
====
I am getting very specific spam that always has mydomain.com in the Return-Path in the message header.
Return-Path: <onlinedoctorate-webmaster=mydomain.com@dvdcopymac.org>
I am trying to filter this with spamassassin using the following in /etc/mail/spamassissin/local.cf using
# checking for local domain in return path
header MYLOCAL_RETURN Return-Path =~ /\mydomain\.com/
score MYLOCAL_RETURN 50
describe MYLOCAL_RETURN mark with score 50 all mails with Return-Path "bogus@mydomain"
However, I still recevied the email and it is not marked as spam.
Is the syntax correct? Does something (cluebringer) override this? Is there another way to use Return-Path to filter spam? thank you