Topic: www-data in Return-path
==== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- Linux/BSD distribution name and version: Debian 6
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====
Hi,
I feel that pretty close to have fully configured server but there is still one problem, from time to time I get replay with delivery problem:
<www-data@server.domain2.com>: Sender address rejected: MX record not found (in reply to RCPT TO command)
I don't want to write everything from beginning, so here is my last topic with all informations:
http://www.iredmail.org/forum/topic1021 … oblem.html
How can I force postfix/server to set correct Return-path per each domain? I want to have:
- bounce@domain1.com
- bounce@domain2.com
- etc.
I found information at some drupal forum to make changes in /etc/hosts:
It was a sendmail problem and sendmail was getting the hostname from the first line of the hosts file. I modified hosts in 2 ways:
127.0.0.1 localhost.localdomain localhost myserver
became
127.0.0.1 myserver.mydomain localhost.localdomain localhost 111.111.111.111 myserver.mydomain
where 111.111.111.111 is my IP.
Its all working now.
Thanks for all the help!
Mark
Does it make sense? I don't want to experiment.
My /etc/hosts looks like this:
127.0.0.1 server.domain2.com server localhost
127.0.1.1 debian.ispdomain.com debian
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Thank you,
ag
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.