MailScanner errors.

Erik Jakobsen eja at URBAKKEN.DK
Sat Jan 17 08:12:23 GMT 2004


On Sat, 17 Jan 2004 07:43:06 +0100, Erik Jakobsen <eja at URBAKKEN.DK> wrote:

I see this mail in the archive now. It should also have been sent to me. I
think it has, but due to a reason I don't know it has not been visbile in my
mailing program.

I wonder really what is going on here, or not going on.


>I added the line to my /etc/postfix/main.cf, and it seems to work now.
>
>"alternate_config_directories = /etc/postfix.in"
>
>Erik Jakobsen wrote:
>> On Fri, 16 Jan 2004 16:57:10 +0000, Julian Field
>> <mailscanner at ECS.SOTON.AC.UK> wrote:
>>
>>
>>>At 16:57 16/01/2004, you wrote:
>>>
>>>>Then it must be the sendmail.in.pid and the sendmail.out.pid that lacks,
>>>>but I'm not using sendmail ?.
>>>
>>>Have you set the correct MTA in /etc/sysconfig/MailScanner? That controls
>>>which MTA the MailScanner init.d script will start up.
>>>
>>
>>
>> Oh no. I have overseen that in the postfix instruction.
>>
>> But there seems to be a problem now with sending mails according to this
>> sample of /var/log/maillog, which I have tried to send once before:
>>
>> Jan 16 19:13:01 gateway spamd[5340]: clean message (0.0/5.0) for filter:100
>> in 0.9 seconds, 938 bytes.
>> Jan 16 19:13:01 gateway postfix/postdrop[5349]: error: untrusted
>> configuration directory name: /etc/postfix.in
>> Jan 16 19:13:01 gateway postfix/postdrop[5349]: fatal: specify
>> "alternate_config_directories = /etc/postfix.in" in /etc/postfix/main.cf
>> Jan 16 19:13:02 gateway postfix/sendmail[5348]: warning: premature
>> end-of-input from /usr/sbin/postdrop -r while reading input attribute name
>> Jan 16 19:13:02 gateway postfix/sendmail[5348]: fatal: eja at urbakken.dk(100):
>> unable to execute /usr/sbin/postdrop -r: Success
>> Jan 16 19:13:03 gateway postfix/pipe[5337]: 1D93EC045: to=<oh2bns at sral.fi>,
>> relay=ccfilter, delay=3, status=bounced (service unavailable. Command
>> output: postdrop: error: untrusted configuration directory name:
>> /etc/postfix.in postdrop: fatal: specify "alternate_config_directories =
>> /etc/postfix.in" in /etc/postfix/main.cf sendmail: warning: premature
>> end-of-input from /usr/sbin/postdrop -r while reading input attribute name
>> sendmail: fatal: eja at urbakken.dk(100): unable to execute /usr/sbin/postdrop
>> -r: Success )
>>
>>
>>
>>
>>>>Erik Jakobsen wrote:
>>>>
>>>>>It has been made the /var/run directory:
>>>>>
>>>>># ls -al /var/run
>>>>>total 132
>>>>>drwxr-xr-x    8 root     root         4096 Jan 16 16:33 .
>>>>>drwxr-xr-x   20 root     root         4096 Jan 16 13:46 ..
>>>>>drwxr-xr-x    2 root     root         4096 Feb 10  2003 console
>>>>>-rw-r--r--    1 root     root            5 Jan 16 16:32 crond.pid
>>>>>-rw-r--r--    1 root     root            0 Jan 16 16:32 dansguardian.pid
>>>>>-rw-r--r--    1 root     root            5 Jan 16 16:31 dhcpd.pid
>>>>>-rw-r--r--    1 root     root            5 Jan 16 16:32 dnsmasq.pid
>>>>>-rw-r--r--    1 root     root            5 Jan 16 16:32 httpd.pid
>>>>>-rw-------    1 root     root            5 Jan 16 16:31 klogd.pid
>>>>>-rw-------    1 postfix  postfix         5 Jan 16 16:32 MailScanner.pid
>>>>>drwxrwxr-x    2 root     root         4096 Mar 13  2003 netreport
>>>>>-rw-r--r--    1 root     root            5 Jan 16 16:31 ppp0.pid
>>>>>-rw-r--r--    1 root     root         8192 Jan 16 16:31 pppd.tdb
>>>>>-rw-r--r--    1 root     root            5 Jan 16 16:31 pppoe-adsl.pid
>>>>>-rw-r--r--    1 root     root            5 Jan 16 16:31 pppoe-adsl.pid.pppd
>>>>>-rw-r--r--    1 root     root            5 Jan 16 16:31
>>>>>pppoe-adsl.pid.pppoe
>>>>>-rw-r--r--    1 root     root            5 Jan 16 16:31
>>>>>pppoe-adsl.pid.start
>>>>>-rw-r--r--    1 root     root           10 Jan 16 16:31 ppp-ppp0.pid
>>>>>-rw-r--r--    1 root     root            5 Jan 16 16:32 privoxy.pid
>>>>>drwxr-xr-x    2 root     root         4096 Jan 16 16:32 proftpd
>>>>>-rw-r--r--    1 root     nobody          5 Jan 16 16:32 proftpd.pid
>>>>>drwxr-xr-x    2 root     root         4096 Jan 16 16:32 samba
>>>>>drwxr-xr-x    2 root     root         4096 Jan 26  2003 saslauthd
>>>>>-rw-r--r--    1 root     root            0 Jan 16 16:32 sm-client.pid
>>>>>-rw-------    1 root     root            5 Jan 16 16:32 snort_eth0.pid
>>>>>-rw-r--r--    1 root     root            5 Jan 16 16:31 sshd.pid
>>>>>drwx------    2 root     root         4096 Jan 25  2003 sudo
>>>>>-rw-------    1 root     root            5 Jan 16 16:31 syslogd.pid
>>>>>-rw-r--r--    1 root     root            5 Jan 16 16:33 syswatch.pid
>>>>>-rw-rw-r--    1 root     utmp         4224 Jan 16 17:23 utmp
>>>>>-rw-------    1 root     root            5 Jan 16 16:33 vpnwatchd.pid
>>>>>-rw-r--r--    1 root     root            5 Jan 16 16:33 webconfig.pid
>>>>>-rw-r--r--    1 root     root            5 Jan 16 16:31 xinetd.pid
>>>>>
>>>>>
>>>>>Julian Field wrote:
>>>>>
>>>>>
>>>>>>mkdir /var/run
>>>>>>then try it again.
>>>>>>
>>>>>>At 15:33 16/01/2004, you wrote:
>>>>>>
>>>>>>
>>>>>>>Hi.
>>>>>>>
>>>>>>>I have just reinstalled MailScanner on a new server here. I use postfix,
>>>>>>>but I'm receiving the following when MailScanner shall start:
>>>>>>>
>>>>>>>[root at gateway /]# service MailScanner status
>>>>>>>Checking MailScanner daemons:
>>>>>>>         MailScanner:                                      [  OK  ]
>>>>>>>         incoming sendmail: head: /var/run/sendmail.in.pid: No such
>>>>>>>file or directory
>>>>>>>                                                           [FAILED]
>>>>>>>         outgoing sendmail: head: /var/run/sendmail.out.pid: No such
>>>>>>>file or directory
>>>>>>>                                                           [FAILED]
>>>>>>>
>>>>>>>--
>>>>>>>Med venlig hilsen - Best regards.
>>>>>>>Erik Jakobsen - eja at urbakken.dk.
>>>>>>>Licensed radioamateur with the callsign OZ4KK.
>>>>>>>SuSE Linux 8.2 Proff.
>>>>>>>Registered as user #319488 with the Linux Counter,
>>>>>>>http://counter.li.org.
>>>>>>
>>>>>>
>>>>>>
>>>>>>--
>>>>>>Julian Field
>>>>>>www.MailScanner.info
>>>>>>MailScanner thanks transtec Computers for their support
>>>>>>
>>>>>>PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>>>>>
>>>>>--
>>>>>Med venlig hilsen - Best regards.
>>>>>Erik Jakobsen - eja at urbakken.dk.
>>>>>Licensed radioamateur with the callsign OZ4KK.
>>>>>SuSE Linux 8.2 Proff.
>>>>>Registered as user #319488 with the Linux Counter, http://counter.li.org.
>>>>
>>>>--
>>>>Med venlig hilsen - Best regards.
>>>>Erik Jakobsen - eja at urbakken.dk.
>>>>Licensed radioamateur with the callsign OZ4KK.
>>>>SuSE Linux 8.2 Proff.
>>>>Registered as user #319488 with the Linux Counter, http://counter.li.org.
>>>
>>>--
>>>Julian Field
>>>www.MailScanner.info
>>>MailScanner thanks transtec Computers for their support
>>>
>>>PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>>
>>
>
>--
>Med venlig hilsen - Best regards.
>Erik Jakobsen - eja at urbakken.dk.
>Licensed radioamateur with the callsign OZ4KK.
>SuSE Linux 8.2 Proff.
>Registered as user #319488 with the Linux Counter, http://counter.li.org.



More information about the MailScanner mailing list