1

Topic: SMTP Error

I just finished installing on ubuntu 10.4. I created an email user and I can login to roundcube from a desktop but when I go and send an email I get the following error in roundcube. "SMTP: Connection to server failed" Looking for some help, please.

Thanks

----

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

2

Re: SMTP Error

Ok, so it was an error in my config file. Now I am able to send an email from webmail(roundcube) to an external address but when I reply to the user from outside network I get the following error.

The error that the other server returned was: 550 550 5.1.1 <testnewserver@domain.ca>: Recipient address rejected: User unknown in local recipient table (state 14).

Idea's? Pretty new to this. Any help appreciated.

3

Re: SMTP Error

- Do you have correct DNS settings for your mail server? A and MX records.
- What's the error log in your server (/var/log/mail.log)?

4

Re: SMTP Error

We are using ppoe connection, dns,A and MX are done by our internet provider.

I just copied from when the email was sent out and then the reply.

Jun  2 15:55:48 mail postfix/smtp[2301]: 17BB2360413: to=<user@gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.157.27]:25, delay=2.3, delays=0.11/0.05/0.54/1.6, dsn=2.0.0, status=sent (250 2.0.0 OK 1307047756 q27si2335984yba.93)
Jun  2 15:55:48 mail postfix/qmgr[2258]: 17BB2360413: removed
Jun  2 15:57:03 mail postfix/smtpd[2314]: connect from mail-gy0-f170.google.com[209.85.160.170]
Jun  2 15:57:04 mail postfix/smtpd[2314]: NOQUEUE: reject: RCPT from mail-gy0-f170.google.com[209.85.160.170]: 550 5.1.1 <testnewserver@domain.ca>: Recipient address rejected: User unknown in local recipient table; from=<user@gmail.com> to=<testnewserver@domain.ca> proto=ESMTP helo=<mail-gy0-f170.google.com>
Jun  2 15:57:04 mail postfix/smtpd[2314]: disconnect from mail-gy0-f170.google.com[209.85.160.170]
Jun  2 15:59:07 mail postfix/master[1697]: reload -- version 2.7.0, configuration /etc/postfix
Jun  2 15:59:07 mail postfix/anvil[2318]: statistics: max connection rate 1/60s for (smtp:209.85.160.170) at Jun  2 15:57:03
Jun  2 15:59:07 mail postfix/anvil[2318]: statistics: max connection count 1 for (smtp:209.85.160.170) at Jun  2 15:57:03
Jun  2 15:59:07 mail postfix/anvil[2318]: statistics: max cache size 1 at Jun  2 15:57:03
Jun  2 16:01:01 mail cleanup: clean up process starting: policyd v1.82
Jun  2 16:01:01 mail cleanup: connecting to mysql database: 127.0.0.1
Jun  2 16:01:01 mail cleanup: connected..
Jun  2 16:01:01 mail cleanup: expiring validated records older than 7 days (1306443661)
Jun  2 16:01:01 mail cleanup: expired: 0 records

Thanks

ZhangHuangbin wrote:

- Do you have correct DNS settings for your mail server? A and MX records.
- What's the error log in your server (/var/log/mail.log)?

5

Re: SMTP Error

- How did you create this mail user?

jwupori wrote:

We are using ppoe connection, dns,A and MX are done by our internet provider.

Does it means you're not using a static IP address on your mail server?

6

Re: SMTP Error

I created the user using the iredAdmin panel.
Yes we get a static ip when connected. Our website is functional when connected as well.

Thanks

ZhangHuangbin wrote:

- How did you create this mail user?

jwupori wrote:

We are using ppoe connection, dns,A and MX are done by our internet provider.

Does it means you're not using a static IP address on your mail server?