Thanks Noel,

 I tried altering the transport table I am using in the hopes of resolving the 
situation.



[root@mail ~]# grep CC2C124F9F /var/log/maillog
Nov 28 00:21:36 mail postfix/smtpd[18192]: CC2C124F9F: 
client=localhost[127.0.0.1]
Nov 28 00:21:50 mail postfix/cleanup[18201]: CC2C124F9F: 
message-id=<20111128052136.cc2c124...@mail.crispycode.com>
Nov 28 00:21:50 mail postfix/qmgr[17871]: CC2C124F9F: 
from=<bluethu...@jokefire.com>, size=381, nrcpt=1 (queue active)
Nov 28 00:21:50 mail postfix/smtp[18204]: CC2C124F9F: 
to=<bluethu...@crispycode.com>, relay=50.19.83.210[50.19.83.210]:25, delay=23, 
delays=23/0.01/0.02/0, dsn=5.4.6, status=bounced (mail for [50.19.83.210] loops 
back to myself)
Nov 28 00:21:50 mail postfix/bounce[18207]: CC2C124F9F: sender non-delivery 
notification: 1C48424FA1


This is what the transport table looks like

mysql> select * from transport;
+----------------+---------------------+
| domain         | transport           |
+----------------+---------------------+
| crispycode.com | smtp:[50.19.83.210] |
+----------------+---------------------+
1 row in set (0.00 sec)


Previously it looked like this:

mysql> select * from transport;
+----------------+---------------------+
| domain         | transport           |
+----------------+---------------------+
| crispycode.com | smtp:[1270.0.1] |
+----------------+---------------------+
1 row in set (0.00 sec)


As far as I know the way these trasnport tables are setup should allow for the 
mail to be delivered. If this table is the problem I would love to understand 
why...


Thanks again!
tim
  

----- Original Message -----
From: "Noel Jones" <njo...@megan.vbhcs.org>
To: "bluethundr" <bluethu...@gmail.com>, postfix-users@postfix.org
Sent: Monday, November 28, 2011 12:04:44 AM
Subject: Re: mail to domain bounced, to hostname accepted

Gmail suppresses duplicates, so you don't see your own posts.  We
get to see all four.  Please stop.


On 11/27/2011 10:50 PM, bluethundr wrote:
> 
> Nov 27 23:27:56 mail postfix/smtp[18013]: 41C6324F9F:
> to=<bluethu...@crispycode.com>, relay=none, delay=25, delays=25/0.01/0/0,
> dsn=5.4.6, status=bounced (mail for 127.0.0.1 loops back to myself)


This is the problem; postfix doesn't know where to deliver this.
Maybe your transport_maps is interfering with delivery?


> If I try a telnet SMTP session that sends mail to the user
> bluethu...@mail.crispycode.com the logs report the mail is delivered but
> there is evidence of the mail file (which should include the message id) on
...
> Nov 27 23:37:08 mail postfix/local[18045]: A6F3F24F9F:
> to=<bluethu...@mail.crispycode.com>, relay=local, delay=36,
> delays=36/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to maildir)

Postfix thinks this is a local domain (listed in mydestination) so
the mail is delivered to the user's home directory.


> This is how I have my virtual domains and users defined in the database:

Probably better off getting your mail to work with simple hash:
files.  After you get that working, duplicate it with sql.


> [root@mail ~]# postconf -n
> home_mailbox = Maildir/

local mail is delivered to the user's $home/Maildir/new

> mydestination = $myhostname, localhost.localdomain, localhost

Probably don't want $myhostname here.



Please review
http://www.postfix.org/BASIC_CONFIGURATION_README.html
http://www.postfix.org/STANDARD_CONFIGURATION_README.html
http://www.postfix.org/VIRTUAL_README.html
http://www.postfix.org/ADDRESS_CLASS_README.html




   -- Noel Jones

Reply via email to