Quantcast
Channel: iRedMail
Viewing all 45763 articles
Browse latest View live

Re: Unable to connect to managesieve server

0
0

Just saw that...

# iptables -vn -L
Chain INPUT (policy DROP 4083 packets, 193K bytes)
pkts bytes target     prot opt in     out     source               destination         
1426  177K fail2ban-postfix  tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            multiport dports 80,443,25,587,110,995,143,993,4190
1426  177K fail2ban-dovecot  tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            multiport dports 80,443,25,587,110,995,143,993,4190
1427  177K fail2ban-roundcube  tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            multiport dports 80,443,25,587,110,995,143,993,4190
1096 74126 fail2ban-ssh  tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:22
315K   67M ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0            state RELATED,ESTABLISHED
2367  142K ACCEPT     all  --  lo     *       0.0.0.0/0            0.0.0.0/0           
   31  1348 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:80
   49  2316 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:443
  451 25528 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:25
   23  1048 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:587
   20   912 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:110
   16   704 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:995
  694 39834 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:143
   86  4648 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:993
   47  2660 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:22
  149 11657 ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0            icmptype 8

Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target     prot opt in     out     source               destination         

Chain OUTPUT (policy ACCEPT 5553 packets, 1493K bytes)
pkts bytes target     prot opt in     out     source               destination         

Chain fail2ban-dovecot (1 references)
pkts bytes target     prot opt in     out     source               destination         
1426  177K RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain fail2ban-postfix (1 references)
pkts bytes target     prot opt in     out     source               destination         
1426  177K RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain fail2ban-roundcube (1 references)
pkts bytes target     prot opt in     out     source               destination         
1427  177K RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain fail2ban-ssh (1 references)
pkts bytes target     prot opt in     out     source               destination         
1096 74126 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0       


O_o So this 's why he didn't answer the requests..  When Default policy is DROP and 4190 is not explicitly ACCEPT the packets fly into the nirvana...


So next step: Howto configure fail2ban to simply ACCEPT packets on this port..? I do used fail2ban never before..


Re: Unable to connect to managesieve server

0
0

Workaround:

# cat /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

iptables -I INPUT -p tcp --dport 4190 -j ACCEPT

exit 0


I really do not understand how this fail2ban works and in which way thees iptable-rules are generated...

:-?

Re: Unable to connect to managesieve server

Re: Catchall and general accounts?

0
0

My mistake - my alias entry didn't have the domain attribute set.. it does work as expected.

Re: Unable to connect to managesieve server

0
0

By default it's not wanted to have managesieve server accessible from internet / if you need it, you should customize the firewall - have a look on the file /etc/default/iptables and add a rule to accept communication on port 4190.

Putting the rule in rc.local is kind of ugly ;-)

Re: password plugin on roundcube problem...

0
0

Did you upgrade Roundcube manually? If so, please sync its plugin config file (password plugin, in your case) from old version.

Re: Amavis MySQL table cleanup/maintenence

0
0

Hi pang,

Do you have iRedAdmin-Pro? if so, please simply execute file shipped within it:

# cd /path/to/iRedAdmin-Pro/
# python tools/cleanup_amavisd_db.py

It may take a long time if you have many records in 3 tables: msgs, msgrcpt, quarantine.

If you're not running the latest iRedAdmin-Pro, please mail us (support at iredmail dot org) to get download link.

Re: VM migration

0
0
hforho wrote:

or i need active the license again ?

No. Just remove iRedAdmin-Pro on old server, then install it on new server. Nothing special.
If you're not running the latest iRedAdmin-Pro, please mail us (support at iredmail dot org) to get download link.


Re: Postfix - send to queue.

0
0
matteo.frakka wrote:

Just to know: Why did you choose this setting as the default?

To help reduce spam.
If you need to send email to many recipients in a single mail, it's a good idea to remove it.

Re: Cluebringer and Amavisd/Spamassassin

0
0
brandon wrote:

the cluebringer admin UI is totally useless unless I perform this patch?

This patch is required if you want to use Amavisd integration support in Cluebringer, other features don't require this patch.

Re: Setting aliases

0
0

Mail alias account is supported in iRedMail by default.

Re: Postfix Sending Emails Properly Virtually (sends from original domain)

0
0

Please show us original full error message. and, I don't quite understand your issue. sad

Re: Setting aliases

0
0

And how to set them up? I tried to prescribe the alias, in the /etc/postfix/aliase test: user1@mydomen.su.
Then executes the command: postalias /etc/postfix/aliase and  /etc/init.d/postfix reload
when sending error is presented on test@mydomen.su - Recipient address rejected: User unknown in virtual mailbox table.

That is, the user receives a mail if user1@mydomen.su send an email to - test@mydomen.su. I use LDAP to connect to the AD

Whislist for migration to iRedAdmin-Pro (MySql)

0
0

I'm going eventually to replace my current mailserver solution (free version of mailcleaner; mailcleaner.org) with iRedAdmin-Pro for MySQL backend, but missing a few features:

per domain configurable smtp-callout to an another system (if the domain is forwarded to another host)

per user/domain/server configurable archiving method which sends the messages without any adresschanges to another host:port
just like it is possible with amavisd for the whole server:

$archive_quarantine_method = 'smtp:[212.79.184.19]:2500'; #
# $archive_quarantine_to = 'archive-quarantine'; # rewrite local part of recipient address 
$archive_quarantine_to = '%a'; # keep recipient address
@archive_quarantine_to_maps = (\$archive_quarantine_to);
$mailfrom_to_quarantine = undef;  # undef keeps original sender

per user/domain/server configurable spam/quarantine reporting (with configurable mail teplates) and an user interface to release such messages

one button (and cmd) backup/restore for configuration and/or content to activate an already prepared standby system in a very short time

domain-aliases
customer has several domains which all have the same settings and are all forwarded to the same mailbox server (i.e. ms-exchange)

Deleted Accounts not Deleted

0
0

======== Required information ====
- iRedMail version: 0.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: CentOS 6.2
- Related log if you're reporting an issue:
====

Hi there,

Still evaluating the free version of iRedMail before I consider upgrading.

I realise that accounts are not deleted from the file system by design, although I can't imagine how or why this is a good idea. On an active server -- which mine will be, as it's replacing an existing non-iRedMail server -- this will just lead to the accumulation of cruft and wasted disk space.

That said, I saw a reference in "Remove mailboxes when deleting user" to the "deleted_mailboxes" table, with a suggestion that a cron job could be run to remove old mailboxes from the file system. However, when I delete an account / mail box, nothing is added to this table.

Two questions:

1) Why is nothing added to the "deleted_mailboxes" table, and how can I run a cron job if there's nothing in there?
2) Does the current Pro version support deleting accounts from the file system on demand, or must it be done manually or via a cron job? If the latter, is it working?

Thanks.


Craig


Re: Bulk Mailing iRedmail vs Power MTA / GreenArrow

0
0

Hello Everyone!

For PowerMTA Installation & configuration, PowerMTA License, Interspire Email Marketer, Interspire email marketer addons, more then 500k emails per day

License version.
- PowerMTA Management Console v1.0
- PowerMTA v4.0

- Interspire email marketer

- Interspire addons
  - Advanced Export
  - Feedback Loops Processor
  - Geo-Location Statistics
  - Multiple MTA + IP Monitor
  - Multithread
  - Social Network Tracking
  - Spinning


Skype - MassMailSolution
http://www.massmailsolution.com

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PowerMTA Installation & PowerMTA Configuration, Interspire Addons, Interspire email marketer
For free powermta installation information, tips & more Click Here - http://www.massmailsolution.com

Rejected Outbound

0
0

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
====
I cannot send any email outside my network until I register the domain of the external mail server like gmail.com in my postfix main.cf relay_domain. Below are the errors:

From Roundcube Server:
[12-Sep-2013 14:32:21 +0300]: SMTP Error: SMTP error: Failed to add recipient 'mymailbj@gmail.go.tz' in /var/www/roundcubemail/program/include/rcmail.php on line 1035 (POST /mail/?_unlock=loading1378985541714&_lang=0?_task=mail&_action=send)

From Amavisd-new server:
Sep 12 16:59:49 mail amavis[11300]: (11300-02) dkim: signing (author), From: <demo@test.com> (From:<demo@test.com>), KEY.key_ind=>0, a=>rsa-sha256, c=>relaxed/simple, d=>test.com, s=>dkim, ttl=>864000, x=>1379858388.05829
Sep 12 16:59:49 mail amavis[11300]: (11300-02) smtp resp to RCPT (pip) (<mymailbj@gmail.com>): 554 5.7.1 <mymailbj@gmail.com>: Relay access denied
Sep 12 16:59:49 mail amavis[11300]: (11300-02) Negative SMTP resp. to DATA: 554 5.5.1 Error: no valid recipients
Sep 12 16:59:49 mail amavis[11300]: (11300-02) (!)FWD from <demo@test.com> -> <mymailbj@gmail.com>,BODY=7BIT 554 5.7.1 from MTA(smtp:[192.168.20.148]:10025): 554 5.7.1 <mymailbj@gmail.com>: Relay access denied
Sep 12 16:59:49 mail amavis[11300]: (11300-02) Blocked MTA-BLOCKED {RejectedOutbound}, MYNETS/MYUSERS LOCAL [192.168.20.152]:42531 [192.168.20.152] <demo@test.com> -> <mymailbj@gmail.com>, Queue-ID: C62E4130847, Message-ID: <196043114090672c363ad2804ac9c88d@test.com>, mail_id: eTlze0PKXs5D, Hits: -12.799, size: 1022, dkim_new=dkim:test.com, 1198 ms

From MTA/Postfix server:
Sep 12 16:53:27 mail01 postfix/smtpd[6517]: NOQUEUE: reject: RCPT from mail.test.com[192.168.20.155]: 554 5.7.1 <mymailbj@gmail.com>: Relay access denied; from=<demo@test.com> to=<mymailbj@gmail.com> proto=ESMTP helo=<localhost>
Sep 12 16:53:27 mail01 postfix/smtpd[6517]: disconnect from mail.test.com[192.168.20.155]
Sep 12 16:53:27 mail01 postfix/smtp[32158]: 0424A130847: to=<mymailbj@gmail.com>, relay=192.168.20.155[192.168.20.155]:10024, delay=1.2, delays=0.29/0.05/0.03/0.82, dsn=5.7.1, status=bounced (host 192.168.20.155[192.168.20.155] said: 554 5.7.1 id=18599-01 - Rejected by next-hop MTA on relaying, from MTA(smtp:[192.168.20.148]:10025): 554 5.7.1 <mymailbj@gmail.com>: Relay access denied (in reply to end of DATA command))


Any Idea of this will highly be appreciated.

Re: iRedAdmin extreme slow login.

0
0

After a couple of days the tables are clean.
I enabled the cron job to maintain the tables clean.
Thx

Re: SMTP (450) Cannot Find Domain

0
0

The client-side message is as follows:
SMTP Error (450): Failed to add recipient "****@exchange.com" (4.1.2 <****@exchange.com>: Recipient address rejected: Domain not found).

From /var/mail.log:
Sep 12 08:26:22 IREDMAIL-SERVER postfix/smtpd[9359]: connect from localhost[127.0.0.1]
Sep 12 08:26:22 IREDMAIL-SERVER postfix/smtpd[9359]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 450 4.1.2 <****@exchange>: Recipient address rejected: Domain not found; from=<$$$$@iredmail> to=<****@exchange> proto=ESMTP helo=<mail.iredmail>
Sep 12 08:26:22 IREDMAIL-SERVER roundcube: Invalid response code received from server (450):

Sep 12 08:26:22 IREDMAIL-SERVER roundcube: SMTP Error: SMTP error: Failed to add recipient '****@exchange' in /usr/share/apache2/roundcubemail-0.7/program/include/main.inc on line 1745 (POST /webmail/?_unlock=loading1378999579276&_lang=undefined?_task=mail&_action=send)

Sep 12 08:26:22 IREDMAIL-SERVER postfix/smtpd[9359]: disconnect from localhost[127.0.0.1]

Do you need any other information? I am happy to provide it.

I can ping both servers by their external domain addresses and they resolve to the internal IP's just fine from any workstation on the network as well as the servers. I am using Server 2008 as my exchange server and I have inputted over-writing MX records in to potentially fix this issue, but it did not work.

Can't recieve mail from local systems....

0
0

==== Required information ====
- iRedMail version: 0.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Linux/BSD distribution name and version: OpenSuse 12.3
- Related log if you're reporting an issue:
====

I'm stumped.... I've used qmail for years and can usually trouble shoot smtp issue pretty quickly with it but I'm new to postfix and completely lost.

I've got an iredmail server installed and running fine with all the domains I put on it, not problem there.

the problem is that I have another local machine running asterisk and I want all the root and local user emails from that machine to go to my personal email address on the iredmail server as well as any voicemail to email messages out of asterisk and this is where I've somehow botched things up....

on the asterisk machine i set up an alias for root to point to: me@mydomain.com

local domain: mydomain.com (192.168.1.0/24)
iredmail: mail.mydomain.com
asterisk: asterisk.mydomain.com

mail from the asterisk system is sent out from: <user>@asterisk.mydomain.com and what I see in the asterisk system's maillog is:

Sep 12 15:51:37 asterisk postfix/qmgr[21185]: D49012A19E9: from=<root@Asterisk.mydomain.com>, size=846, nrcpt=1 (queue active)
Sep 12 15:52:07 asterisk postfix/smtp[21230]: D49012A19E9: to=<me@mydomain.com>, orig_to=<root>, relay=none, delay=1326, delays=1296/0.04/30/0, dsn=4.4.1, status=deferred (connect to mail.mydomain.com[<publicip>]:25: Connection timed out)

so basically it's routing out the gateway to the internet and trying to come back in again to my mailserver...  Not quite sure how to tell postfix on asterisk.mydomain.com that mail for <user>@mydomain.com should go directly to the local IP of mail.mydomain.com.

Viewing all 45763 articles
Browse latest View live




Latest Images