[nflug] Postfix Store and Forward
Robert Wolfe
robert at muzzlethem.com
Sun Jan 25 18:42:25 EST 2009
On 1/25/2009 5:07 PM, Eric Toczek wrote:
> in main.cf:
>
> add the domain name for their domain to the end of "relay_domains"
>
> add "check_relay_domains" to smtpd_recipient_restrictions
>
> then finally add:
> transport_maps = hash:/etc/postfix/transport
>
> so then create a transport map at that above location, structured like so:
> domain.tld smtp:their.ip.or.hostname
>
> ex:
>
> example.com smtp:192.168.0.15
Okay, since those lines didn't exist in my main.cf file I had to add
them and restart postfix. Once I did and sent a test email, I got the
following in my logs:
Jan 25 18:38:51 webber postfix/smtp[32519]: DD3AC6819F:
to=<robert.wolfe at tinysbbs.com>, relay=net261.ath.cx[74.77.174.23]:25,
delay=2.4, delays=0.15/0.04/2.2/0, dsn=5.4.6, status=bounced (mail for
tinysbbs.com loops back to myself)
Jan 25 18:38:51 webber postfix/smtpd[32514]: disconnect from
unknown[192.168.1.1]
Jan 25 18:38:51 webber postfix/cleanup[32500]: 4F7FF682F9:
message-id=<20090125233851.4F7FF682F9 at mail.bflony.muzzlethem.com>
Jan 25 18:38:51 webber postfix/qmgr[32499]: 4F7FF682F9: from=<>,
size=3043, nrcpt=1 (queue active)
Jan 25 18:38:51 webber postfix/bounce[32520]: DD3AC6819F: sender
non-delivery notification: 4F7FF682F9
The bounceback I get in return is:
This is the mail system at host mail.bflony.muzzlethem.com.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<sysop at tinysbbs.com>: mail for tinysbbs.com loops back to myself
Final-Recipient: rfc822; sysop at tinysbbs.com
Original-Recipient: rfc822;sysop at tinysbbs.com
Action: failed
Status: 5.4.6
Diagnostic-Code: X-Postfix; mail for tinysbbs.com loops back to myself
More information about the nflug
mailing list