[SGVLUG] [LiLAX] Postfix Rejections
Rae Yip
rae.yip at gmail.com
Thu Mar 19 13:00:37 PDT 2009
Yeah, I suspected it was something like that. Postfix is pretty picky
about what it accepts. If you *were* trying to act as a relay, then
setting relay_domains would be the way to go.
I don't really know why they bother with "localhost.$mydomain" really;
no one ever sends email to that, and it's rarely actually defined in
/etc/hosts.
-Rae.
On Thu, Mar 19, 2009 at 12:52 PM, Solomon K. Chang <skevin521 at yahoo.com> wrote:
>
> I feel silly. It was as follows...
>
> Change the following line in the Postfix config (main.cf) from:
> mydestination = $myhostname, localhost.$mydomain, localhost
>
> To:
> mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
>
>
> ...and suddenly I'm receiving mail.
>
> Apparently, "mydestination" refers to which server this is receiving mail for. This includes the domain itself, sans hostname.
>
> --- On Thu, 3/19/09, Carol Johnson <cnordj at sprynet.com> wrote:
>
>> From: Carol Johnson <cnordj at sprynet.com>
>> Subject: Re: [LiLAX] Postfix Rejections
>> To: skevin521 at yahoo.com
>> Date: Thursday, March 19, 2009, 10:26 AM
>> Hi Solomon,
>> Possibly port 25 is not what you need? (For
>> Earthlink's SMTP server, I had to change 25 to a 3-digit
>> port number.)
>> Bye, Carol J
>> ----- Original Message -----
>> From: Solomon K. Chang
>> To: Lilax ; lula at lula.org
>> Sent: Wednesday, March 18, 2009 3:35 PM
>> Subject: [LiLAX] Postfix Rejections
>>
>>
>>
>> Dear Lula/Lilax,
>>
>> I've been trying to get a Postfix installation
>> running for some time now. I have a stock CentOS
>> installation.
>>
>> However, when I try to send mail to my domain, the mail
>> keeps getting bounced. A brief glance at /var/log/maillog
>> show me:
>>
>> Mar 18 15:09:13 localhost postfix/smtpd[32333]: NOQUEUE:
>> reject: RCPT from
>> n56.bullet.mail.sp1.yahoo.com[98.136.44.52]: 554 5.7.1
>> <admin at XXXXXX.TLD>: Relay access denied;
>> from=<solomonchasos at yahoo.com>
>> to=<admin at XXXXXX.TLD> proto=SMTP
>> helo=<n56.bullet.mail.sp1.yahoo.com>
>>
>> [domains x'd out for security reasons]
>>
>> I've done the following:
>> - made sure port 25 is wide open.
>> - added "admin at XXXXXX.TLD OK" to
>> /etc/postfix/relay_recipients
>> - added "yahoo.com OK" to /etc/postfix/access
>> - added ".yahoo.com OK" to /etc/postfix/access
>> - ran postmap against /etc/postfix/access and
>> /etc/postfix/relay_recipients
>> - restart Postfix
>>
>> ...and the mail server is still rejecting Yahoo, just
>> like that hot supermodel at the bar last night-... but
>> that's another story for another time. Ironically, I
>> can send email connecting from another machine on the local
>> subnet.
>>
>> What have I left out?
>>
>> Thanks in advance.
>>
>> Solomon
>>
>>
>>
>>
>>
>> _______________________________________________
>> lilax mailing list
>> lilax at lilax.net
>> http://carson.lilax.net/mailman/listinfo/lilax
>
>
>
>
>
More information about the SGVLUG
mailing list