|Main Archive Page > Month Archives > postfix-users archives|
Le 21/10/2010 03:59, Christopher Koeber a écrit :
> On Mon, Oct 18, 2010 at 5:04 PM, Ralf Hildebrandt
> <Ralf.Hildebrandt@charite.de <mailto:Ralf.Hildebrandt@charite.de>> wrote:
> * Christopher Koeber <email@example.com <mailto:firstname.lastname@example.org>>:
> > inet_interfaces = all
> > mydomain = students.wesleyseminary.edu
> > myhostname = students.wesleyseminary.edu
> I'd say myhostname = students.wesleyseminary.edu
> which implies mydomain = wesleyseminary.edu
> Setting mydomain equal to myhostname strikes me as being odd.
> I did this per the directions for setting Postfix up with Gentoo. If I
> change it I'll need to change other items on the system for sure so
> I'll look into this first before making changes.
it's ok to have mydomain = myhostname.
should you change anything, it would be the hostname of the machine (to
something like "hostfoo.students.wes....") but then you may break things
in your system (and you'll need to update dns)...
> > mynetworks = 127.0.0.0/8 <http://127.0.0.0/8>
> > mynetworks_style = subnet
> If you set mynetworks explicitly, no need to set mynetworks_style
> Thanks, I removed it.
> > myorigin = $mydomain
> Or rather $myhostname which is the default anyway :)
> > smtpd_banner = students.wesleyseminary.edu
> <http://students.wesleyseminary.edu/> ESMTP $mail_name ($mail_version)
> Lose that, use the default
> See, here is where I have a question. When I set this to the default I
> never passed the online mail server tests and my mail was caught in
> spam, etc.
The smtpd banner has nothing to do with mail you send. it is how postfix
welcomes clients (including MTAs) at reception time.
remove the setting from your main.cf (so that postfix uses the default
value) and if you have any problems, come back with detailed infos on
what's happening... etc.
> When I have it set like this everything works correctly.
> Any ideas?
> > smtpd_recipient_restrictions = permit_sasl_authenticated,
> > permit_mynetworks, reject_unauth_destination
> Thanks so much for your time and energy.
> Christopher Koeber
> Ralf Hildebrandt
> Geschäftsbereich IT | Abteilung Netzwerk
> Charité - Universitätsmedizin Berlin
> Campus Benjamin Franklin
> Hindenburgdamm 30 | D-12203 Berlin
> Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
> email@example.com <mailto:firstname.lastname@example.org> |
> http://www.charite.de <http://www.charite.de/>