MTA and postfix questions - anychance of a guide?
Drew Marshall
drew at THEMARSHALLS.CO.UK
Mon Mar 22 12:47:25 GMT 2004
Pete said:
> Drew Marshall wrote:
>
>>Pete said:
>>
>>
>>>Drew Marshall wrote:
>>>
>>>
>>>
>>>>Pete said:
>>>>
>>>>
>>>>
>>>>
>>>>>Thanks am trying to follow the word guide you published, but i always
>>>>>get an erro cant find incoming post fix
>>>>>Shall i change the lines in /etc/sysconfig/MailScanner to remove the
>>>>>postfix.in and make it just potsfix ?
>>>>>
>>>>>POSTFIX=/usr/sbin/postfix
>>>>>POSTFIXINCF=/etc/postfixin.in # Directory containing incoming
>>>>>configuration
>>>>>POSTFIXOUTCF=/etc/postfix # Directory containing outgoing
>>>>>configuration
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>You are running RH (or similar) aren't you? If so then yes you will
>>>> need
>>>>to comment out references to the postfix.in commands. This is the bit
>>>>that
>>>>is outstanding before the option becomes openly available. It doesn't
>>>>matter if you are running any non .rpm installation, as you have to set
>>>>up
>>>>the start up scripts yourself. Julain was looking to automate this part
>>>>based on the setup in MailScanner.conf.
>>>>
>>>>The error is just that the MailScanner service is trying to start 2
>>>>postfix instances and they don't exisist.
>>>>
>>>>Drew
>>>>
>>>>
>>>>
>>>>
>>>>
>>>Yeah my production systems are red hat.
>>>Thanks - also pcre isnt something postfix allows by default. Or doesnt
>>>seem to be to me, seems like this should be regexp ? pcre didnt work on
>>>my super basic/default postfix 2.16 install. I notice when installing
>>>postfix 1 on freebsd it asks me to compile pcre in, eg its not enable by
>>>default.
>>>
>>>I know NOTHING about perl - is it possible to make that file hashed
>>>instead, so its usable by the most people? or am i waaaaaaay off?
>>>
>>>
>>>
>>Interesting, pcre just tells Postfix what to expect in the file (Perl
>>Compatible Regular Expressions) however it's only used as it's faster
>> than
>>regexp. I was under the impression that Postfix compiled with pcre as
>>standard (Or at least in all the versions I have installed (none on Red
>>Hat) I have never worried about it), but obviously not. You can use
>> regexp
>>with out problem. just change the line that reads
>>pcre:/etc/postfix/header_checks to be regexp:/etc/postfix/header_checks
>>and that should work.
>>
>>Drew
>>
>>
>>
> Cool - i did do that, but just wanted to check - but certainly that was
> postfix 2.016 installed on fedora core1 from source and pcre gave a lot
> of unknown type errors in the maillog. I jumped onto production servers
> running RH9, postfix 2.16 compiled from source and did postconf -m and
> no pcre is listed.
>
> No bigdeal, log as i know how to drive it, and there is this entry in
> the archives for others to use.
>
> thanks again for all your help
A pleasure (Sent via the list for the archive)
--
In line with our policy, this message has
been scanned for viruses and dangerous
content by MailScanner, and is believed to be clean.
www.themarshalls.co.uk/policy
More information about the MailScanner
mailing list