thoughtform l33t
Joined: 24 May 2004 Posts: 600
|
Posted: Fri Jan 11, 2008 12:26 am Post subject: postfix + python-policyd-spf = can't send mail out |
|
|
logs when i try to send from an authenticated squirrelmail session:
Jan 10 19:20:55 [postfix/smtpd] connect from localhost[127.0.0.1]
Jan 10 19:20:55 [postfix/smtpd] NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 554 5.7.1 <scorpaen@gmail.com>: Relay access denied; from=<patrick@lowmips.com> to=<scorpaen@gmail.com> proto=ESMTP helo=<lowmips.com>
Jan 10 19:20:55 [postfix/smtpd] lost connection after RCPT from localhost[127.0.0.1]
here's what I've added to postfix's main.cf
smtpd_recipient_restrictions =
reject_unauth_destination
check_policy_service unix:private/policyd-spf
policyd-spf_time_limit = 3600
edit:
I changed this so I can send mail out:
smtpd_recipient_restrictions =
permit_mynetworks
reject_unauth_destination
check_policy_service unix:private/policyd-spf
policyd-spf_time_limit = 3600
I can send mail but now I keep getting a lot of error messages in my inbox, they are originally addressed to postmaster
but I have my account aliased to that.
here's a sample:
From: "Mail Delivery System" <MAILER-DAEMON@neo.lowmips.com>
Subject: Postfix SMTP server: errors from rrivoc.theholidayauto.info[64.209.213.232]
Date: Thu, January 10, 2008 7:44 pm
To: "Postmaster" <postmaster@lowmips.com>
Transcript of session follows.
Out: 220 neo.lowmips.com ESMTP Postfix
In: HELO rrivoc.theholidayauto.info
Out: 250 neo.lowmips.com
In: MAIL FROM:<1-64304-lowmips.com?patrick@rrivoc.theholidayauto.info>
Out: 250 2.1.0 Ok
In: RCPT TO:<patrick@lowmips.com>
Out: 451 4.3.5 Server configuration error
In: RSET
Out: 250 2.0.0 Ok
In: QUIT
Out: 221 2.0.0 Bye
it doesn't work without the 'reject_unauth_destination' and I'm not sure where to authorize destinations.
thanks |
|