[SGVLUG] Postfix Rejections
Rae Yip
rae.yip at gmail.com
Wed Mar 18 17:22:11 PDT 2009
For brevity, `postconf -n` is better.
-Rae.
On Wed, Mar 18, 2009 at 4:56 PM, Solomon K. Chang <skevin521 at yahoo.com> wrote:
>
> Ah yes, sorry, xxxxx.tld is the server where Postfix is running. I was actually referring to substituting the domain name in the postconf output I sent out, but the SGVLUG mailing list is holding that specific mail hostage until an admin releases it, maybe because it's too damn big.
>
>
> Solomon
>
> --- On Wed, 3/18/09, Rae Yip <rae.yip at gmail.com> wrote:
>
>> From: Rae Yip <rae.yip at gmail.com>
>> Subject: Re: [SGVLUG] Postfix Rejections
>> To: "SGVLUG Discussion List." <sgvlug at sgvlug.net>
>> Date: Wednesday, March 18, 2009, 4:32 PM
>> mydestination usually doesn't contain anything security
>> sensitive; it
>> should refer to other variables that does.
>>
>> And smtpd_recipient_restrictions and relay_recipient_maps?
>> Those
>> shouldn't contain any hostnames. If you're setting
>> these correctly,
>> then there shouldn't be a problem telling me.
>>
>> Also, it's not clear to me if xxxxxx.tld is the server
>> where postfix
>> is running, or another server to which mail should be
>> relayed. If the
>> former, why bother messing with relaying? If the latter,
>> why do you
>> have it set in mydestination?
>>
>> -Rae.
>>
>> On Wed, Mar 18, 2009 at 4:09 PM, Solomon K. Chang
>> <skevin521 at yahoo.com> wrote:
>> >
>> > They are... well, this is a machine to be used for
>> work, so I'm not supposed to say. (I anonymized them
>> to xxxxxx.tld in the postings)
>> >
>> > However, they *are* set to valid names.
>> >
>> > Solomon
>> >
>> >
>> > --- On Wed, 3/18/09, Rae Yip <rae.yip at gmail.com>
>> wrote:
>> >
>> >> From: Rae Yip <rae.yip at gmail.com>
>> >> Subject: Re: [SGVLUG] Postfix Rejections
>> >> To: "SGVLUG Discussion List."
>> <sgvlug at sgvlug.net>
>> >> Date: Wednesday, March 18, 2009, 3:52 PM
>> >> What are mydestination, mynetworks, and
>> >> smtpd_recipient_restrictions
>> >> set to in the output of postconf?
>> >>
>> >> I've never used access and relay_recipients
>> before, but
>> >> I'm not sure
>> >> they'll work unless your basic postfix config
>> is set up
>> >> first.
>> >>
>> >> -Rae.
>> >>
>> >> On Wed, Mar 18, 2009 at 3:20 PM, Solomon K. Chang
>> >> <skevin521 at yahoo.com> wrote:
>> >> >
>> >> > Hola, SGV cronies,
>> >> >
>> >> > 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
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >
>> >
>> >
>> >
>
>
>
>
More information about the SGVLUG
mailing list