1 (edited by lechevo 2012-07-26 22:39:05)

Topic: Cannot send mail but can receive

Hi
Could someone help me.

I m hosting website with apache and trying to set up iredmail in the vps server

I need to receive mail from external servers and cannot send mail to hotmail

mail.log:

Jul 25 02:56:51 acmslt sm-mta[757]: gethostbyaddr(127.0.0.2) failed: 1
Jul 25 02:56:51 acmslt sm-mta[757]: gethostbyaddr(5.39.55.149) failed: 1
Jul 25 02:56:51 acmslt sm-mta[759]: starting daemon (8.14.3): SMTP+queueing@00:10:00
Jul 25 07:12:40 acmslt postfix/master[2271]: fatal: bind 0.0.0.0 port 25: Address already in use
Jul 25 07:17:26 acmslt dovecot: Dovecot v1.2.15 starting up (core dumps disabled)
Jul 25 07:17:26 acmslt dovecot: Generating Diffie-Hellman parameters for the first time. This may take a while..
.
.
.
.
Jul 26 18:29:14 acmslt postfix/smtpd[8568]: warning: connect to 127.0.0.1:10031: Connection refused
Jul 26 18:29:14 acmslt postfix/smtpd[8568]: warning: problem talking to server 127.0.0.1:10031: Connection refused
Jul 26 18:29:15 acmslt postfix/smtpd[8568]: warning: connect to 127.0.0.1:10031: Connection refused
Jul 26 18:29:15 acmslt postfix/smtpd[8568]: warning: problem talking to server 127.0.0.1:10031: Connection refused
Jul 26 18:29:15 acmslt postfix/smtpd[8568]: NOQUEUE: reject: RCPT from mail-qc0-f169.google.com[209.85.216.169]: 451 4.3.5 Server configuration problem; from=<----------@gmail.com> to=<-----------@acmslt.fr> proto=ESMTP helo=<mail-qc0-f169.google.com>
Jul 26 18:29:15 acmslt postfix/smtpd[8568]: disconnect from mail-qc0-f169.google.com[209.85.216.169]
Jul 26 18:32:35 acmslt postfix/anvil[8570]: statistics: max connection rate 1/60s for (smtp:209.85.216.169) at Jul 26 18:29:13
Jul 26 18:32:35 acmslt postfix/anvil[8570]: statistics: max connection count 1 for (smtp:209.85.216.169) at Jul 26 18:29:13
Jul 26 18:32:35 acmslt postfix/anvil[8570]: statistics: max cache size 1 at Jul 26 18:29:13


==== Provide required information ====
- iRedMail version and backend (LDAP/MySQL/PGSQL): 0.8.1
- Linux/BSD distribution name and version: debian lenny
- Any related log? Log is helpful for troubleshooting.
====

----

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

2

Re: Cannot send mail but can receive

First of all, it's recommended to setup a FRESH, mini/basic Debian lenny server, then install iRedMail on it.

lechevo wrote:

Jul 25 02:56:51 acmslt sm-mta[759]: starting daemon (8.14.3): SMTP+queueing@00:10:00
Jul 25 07:12:40 acmslt postfix/master[2271]: fatal: bind 0.0.0.0 port 25: Address already in use

"sm-mta" is listening on port 25, so Postfix cannot start at all. Please either disable sm-mta or remove it, then try to start Postfix.

lechevo wrote:

Jul 26 18:29:14 acmslt postfix/smtpd[8568]: warning: connect to 127.0.0.1:10031: Connection refused

Service /etc/init.d/postfix-policyd is not running. It will log in /var/log/mail.log, so check the log file to see what the problem is, fix it and start it.

3

Re: Cannot send mail but can receive

I have made thats it's recommended : fresh debian server, then iredmail, then website hosting

How do i disable sm-mta ?

My first message was an excerpt of /var/log/mail so i don't see the problem

Thanks

4

Re: Cannot send mail but can receive

lechevo wrote:

How do i disable sm-mta ?

Looks like it's Sendmail service.