1 (edited by iamjeshnavarro 2018-05-17 15:06:41)

Topic: can't receive/send email outside fresh install iredmail

==== Required information ====
- iRedMail version (check /etc/iredmail-release): iredmail 0.9.8
- Linux/BSD distribution name and version: ubuntu 16.0.4 lts
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? notyet but im planning so try the free one
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

how to config receive/sending outside? pls help some has persistence to teach me smile

----

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

2

Re: can't receive/send email outside fresh install iredmail

Any error in Postfix log file (/var/log/maillog)?

3 (edited by iamjeshnavarro 2018-05-18 10:51:10)

Re: can't receive/send email outside fresh install iredmail

here's the latest logfile
May 18 07:47:57 mail amavis[13989]: No decoder for       .zoo
May 18 10:46:58 mail postfix/submission/smtpd[20608]: connect from localhost[127.0.0.1]
May 18 10:46:58 mail postfix/submission/smtpd[20608]: Anonymous TLS connection established from localhost[127.0.0.1]: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bi$
May 18 10:46:58 mail postfix/trivial-rewrite[20612]: warning: do not list domain cashmart.ph in BOTH mydestination and virtual_mailbox_domains
May 18 10:46:58 mail postfix/submission/smtpd[20608]: 7E3F1DC0912: client=localhost[127.0.0.1], sasl_method=LOGIN, sasl_username=jesusnavarro@cashmart.ph
May 18 10:46:58 mail postfix/cleanup[20620]: 7E3F1DC0912: message-id=<9e5d5dcff92654e3e501bf2d9f4b88ec@cashmart.ph>
May 18 10:46:58 mail postfix/qmgr[2357]: 7E3F1DC0912: from=<jesusnavarro@cashmart.ph>, size=1042, nrcpt=1 (queue active)
May 18 10:46:58 mail roundcube: <81272vj2> User jesusnavarro@cashmart.ph [119.92.69.248]; Message for iamjeshnavarro@gmail.com; 250: 2.0.0 Ok: queued as 7E3F1DC0912
May 18 10:46:58 mail postfix/submission/smtpd[20608]: disconnect from localhost[127.0.0.1] ehlo=2 starttls=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=8
May 18 10:46:59 mail postfix/10025/smtpd[20632]: connect from localhost[127.0.0.1]
May 18 10:46:59 mail postfix/trivial-rewrite[20612]: warning: do not list domain cashmart.ph in BOTH mydestination and virtual_mailbox_domains
May 18 10:46:59 mail postfix/10025/smtpd[20632]: 81542DC10E7: client=localhost[127.0.0.1]
May 18 10:46:59 mail postfix/cleanup[20620]: 81542DC10E7: message-id=<9e5d5dcff92654e3e501bf2d9f4b88ec@cashmart.ph>
May 18 10:46:59 mail postfix/10025/smtpd[20632]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
May 18 10:46:59 mail postfix/qmgr[2357]: 81542DC10E7: from=<jesusnavarro@cashmart.ph>, size=2073, nrcpt=1 (queue active)
May 18 10:46:59 mail amavis[13991]: (13991-01) Passed CLEAN {RelayedInternal}, ORIGINATING/MYNETS LOCAL [127.0.0.1]:57198 <jesusnavarro@cashmart.ph> -> <iamjeshnavarro@gmail.com$
May 18 10:46:59 mail postfix/amavis/smtp[20625]: 7E3F1DC0912: to=<iamjeshnavarro@gmail.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=1.2, delays=0.18/0.01/0.01/1, dsn=2.0.0, sta$
May 18 10:46:59 mail postfix/qmgr[2357]: 7E3F1DC0912: removed
May 18 10:46:59 mail postfix/smtp[20633]: connect to gmail-smtp-in.l.google.com[2404:6800:4008:c04::1a]:25: Network is unreachable
May 18 10:47:29 mail postfix/smtp[20633]: connect to gmail-smtp-in.l.google.com[74.125.204.26]:25: Connection timed out




Sorry new at iredmail/roundcube. I'm using mdaemon before.

4

Re: can't receive/send email outside fresh install iredmail

iamjeshnavarro wrote:

May 18 10:46:58 mail postfix/trivial-rewrite[20612]: warning: do not list domain cashmart.ph in BOTH mydestination and virtual_mailbox_domains

Is domain "cashmart.ph" listed in Postfix parameter "mydestination =" (in /etc/postfix/main.cf)?

5

Re: can't receive/send email outside fresh install iredmail

iamjeshnavarro wrote:

May 18 10:46:59 mail postfix/smtp[20633]: connect to gmail-smtp-in.l.google.com[2404:6800:4008:c04::1a]:25: Network is unreachable
May 18 10:47:29 mail postfix/smtp[20633]: connect to gmail-smtp-in.l.google.com[74.125.204.26]:25: Connection timed out

Does your ISP block port 25?

6

Re: can't receive/send email outside fresh install iredmail

ZhangHuangbin wrote:
iamjeshnavarro wrote:

May 18 10:46:59 mail postfix/smtp[20633]: connect to gmail-smtp-in.l.google.com[2404:6800:4008:c04::1a]:25: Network is unreachable
May 18 10:47:29 mail postfix/smtp[20633]: connect to gmail-smtp-in.l.google.com[74.125.204.26]:25: Connection timed out

Does your ISP block port 25?


can you check this? i dont know if open or not.

Proto Recv-Q Send-Q Local Address           Foreign Address         State     
tcp        0      0 127.0.0.1:9998          0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:7790          0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:143             0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:24242         0.0.0.0:*               LISTEN     
tcp        0      0 127.0.1.1:53            0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:24            0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:8125          0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:4190          0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:19999         0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:20000         0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:7777          0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:993             0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:995             0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:10024         0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:10025         0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:10026         0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:587             0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:10027         0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:11211         0.0.0.0:*               LISTEN     
tcp6       0      0 :::110                  :::*                    LISTEN     
tcp6       0      0 :::143                  :::*                    LISTEN     
tcp6       0      0 ::1:631                 :::*                    LISTEN     
tcp6       0      0 :::25                   :::*                    LISTEN     
tcp6       0      0 ::1:8125                :::*                    LISTEN     
tcp6       0      0 :::993                  :::*                    LISTEN     
tcp6       0      0 :::995                  :::*                    LISTEN     
tcp6       0      0 :::587                  :::*                    LISTEN

7

Re: can't receive/send email outside fresh install iredmail

ZhangHuangbin wrote:
iamjeshnavarro wrote:

May 18 10:46:58 mail postfix/trivial-rewrite[20612]: warning: do not list domain cashmart.ph in BOTH mydestination and virtual_mailbox_domains

Is domain "cashmart.ph" listed in Postfix parameter "mydestination =" (in /etc/postfix/main.cf)?

yes it listed.

# hostname
myhostname = cashmart.ph
myorigin = cashmart.ph
mydomain = cashmart.ph

8

Re: can't receive/send email outside fresh install iredmail

Do you use this domain as server hostname (run command "hostname -f")? during iRedMail installation, it clearly mentions you cannot use same domain name for both server hostname and virtual mail domain name.

9 (edited by iamjeshnavarro 2018-05-18 15:24:12)

Re: can't receive/send email outside fresh install iredmail

ZhangHuangbin wrote:

Do you use this domain as server hostname (run command "hostname -f")? during iRedMail installation, it clearly mentions you cannot use same domain name for both server hostname and virtual mail domain name.



the hostname -f is mail.cashmart.ph


should i change this to mail.cashmart.ph?
# hostname
myhostname = mail.cashmart.ph
myorigin = mail.cashmart.ph
mydomain = mail.cashmart.ph

10

Re: can't receive/send email outside fresh install iredmail

iamjeshnavarro wrote:

should i change this to mail.cashmart.ph?
# hostname
myhostname = mail.cashmart.ph
myorigin = mail.cashmart.ph
mydomain = mail.cashmart.ph

Yes please. and restart postfix service after change.