[freebsd] sendmail

Eugene Grosbein eugen at grosbein.net
Fri Jul 7 17:59:45 EEST 2017


> >>> Что было непонятно в совете смотреть в логи spamass-milter
> >>> и почему он проигнорирован?
> >>>
> >> Я не игнорировал. Там ничего нет. Отдельных логов этого мильтера нет.
> >> В  maillog и messages тоже ничего.
> >> grep spamass /var/log/maillog
> >> Jul  7 12:07:52 rmaile spamass-milter[16423]: spamass-milter 0.4.0 starting
> >>
> >> и все
> >> Как и где заставить его писать отдельный подробный лог я пока просто не нашел.
> >
> > Про это написано в man spamass-milter, но проблема тут, похоже,
> > вовсе не в нём, а в сломанной базовой системе из-за freebsd-update.
> >
> > dmesg -a в студию.
> >
> >
> Copyright (c) 1992-2016 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>         The Regents of the University of California. All rights reserved.
> FreeBSD is a registered trademark of The FreeBSD Foundation.
> FreeBSD 10.3-RELEASE #0 r297264: Fri Mar 25 03:51:29 UTC 2016
>     root at releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386
> FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
> CPU: Intel(R) Core(TM)2 Duo CPU     E7500  @ 2.93GHz (2926.06-MHz 686-class CPU)
>   Origin="GenuineIntel"  Id=0x1067a  Family=0x6  Model=0x17  Stepping=10
>   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
>   Features2=0xc08e3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,OSXSAVE>
>   AMD Features=0x20100000<NX,LM>
>   AMD Features2=0x1<LAHF>
>   VT-x: (disabled in BIOS) HLT,PAUSE
>   TSC: P-state invariant, performance statistics
> real memory  = 4294967296 (4096 MB)
> avail memory = 3399380992 (3241 MB)
> Event timer "LAPIC" quality 400
> ACPI APIC Table: <PTLTD          APIC  >
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
> FreeBSD/SMP: 1 package(s) x 2 core(s)
>  cpu0 (BSP): APIC ID:  0
>  cpu1 (AP): APIC ID:  1
> random: <Software, Yarrow> initialized
> ioapic0 <Version 2.0> irqs 0-23 on motherboard
> kbd1 at kbdmux0
> acpi0: <PTLTD    XSDT> on motherboard
> acpi0: Power Button (fixed)
> cpu0: <ACPI CPU> on acpi0
> cpu1: <ACPI CPU> on acpi0
> atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
> Event timer "RTC" frequency 32768 Hz quality 0
> attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
> Timecounter "i8254" frequency 1193182 Hz quality 0
> Event timer "i8254" frequency 1193182 Hz quality 100
> Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
> pci1: <ACPI PCI bus> on pcib1
> mpt0: <LSILogic SAS/SATA Adapter> port 0x2000-0x20ff mem
> 0xde110000-0xde113fff,0xde100000-0xde10ffff irq 16 at device 0.0 on
> pci1
> mpt0: MPI Version=1.5.18.0
> uhci0: <Intel 82801I (ICH9) USB controller> port 0x1820-0x183f irq 16
> at device 26.0 on pci0
> usbus0 on uhci0
> uhci1: <Intel 82801I (ICH9) USB controller> port 0x1840-0x185f irq 17
> at device 26.1 on pci0
> usbus1 on uhci1
> uhci2: <Intel 82801I (ICH9) USB controller> port 0x1860-0x187f irq 18
> at device 26.2 on pci0
> usbus2 on uhci2
> ehci0: <Intel 82801I (ICH9) USB 2.0 controller> mem
> 0xde000000-0xde0003ff irq 18 at device 26.7 on pci0
> usbus3: EHCI version 1.0
> usbus3 on ehci0
> pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
> pci5: <ACPI PCI bus> on pcib2
> pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
> pci13: <ACPI PCI bus> on pcib3
> em0: <Intel(R) PRO/1000 Network Connection 7.6.1-k> port 0x3000-0x301f
> mem 0xde220000-0xde23ffff,0xde200000-0xde203fff irq 16 at device 0.0
> on pci13
> em0: Using MSIX interrupts with 3 vectors
> em0: Ethernet address: 00:30:48:b8:3a:16
> pcib4: <ACPI PCI-PCI bridge> irq 17 at device 28.5 on pci0
> pci15: <ACPI PCI bus> on pcib4
> em1: <Intel(R) PRO/1000 Network Connection 7.6.1-k> port 0x4000-0x401f
> mem 0xde320000-0xde33ffff,0xde300000-0xde303fff irq 17 at device 0.0
> on pci15
> em1: Using MSIX interrupts with 3 vectors
> em1: Ethernet address: 00:30:48:b8:3a:17
> uhci3: <Intel 82801I (ICH9) USB controller> port 0x1880-0x189f irq 23
> at device 29.0 on pci0
> usbus4 on uhci3
> uhci4: <Intel 82801I (ICH9) USB controller> port 0x18a0-0x18bf irq 22
> at device 29.1 on pci0
> usbus5 on uhci4
> uhci5: <Intel 82801I (ICH9) USB controller> port 0x18c0-0x18df irq 21
> at device 29.2 on pci0
> usbus6 on uhci5
> ehci1: <Intel 82801I (ICH9) USB 2.0 controller> mem
> 0xde000400-0xde0007ff irq 23 at device 29.7 on pci0
> usbus7: EHCI version 1.0
> usbus7 on ehci1
> pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0
> pci17: <ACPI PCI bus> on pcib5
> vgapci0: <VGA-compatible display> mem
> 0xdf800000-0xdfffffff,0xde400000-0xde403fff,0xde800000-0xdeffffff irq
> 22 at device 3.0 on pci17
> vgapci0: Boot video device
> isab0: <PCI-ISA bridge> at device 31.0 on pci0
> isa0: <ISA bus> on isab0
> ahci0: <Intel ICH9 AHCI SATA controller> port
> 0x1c50-0x1c57,0x1c44-0x1c47,0x1c48-0x1c4f,0x1c40-0x1c43,0x18e0-0x18ff
> mem 0xde000800-0xde000fff irq 17 at device 31.2 on pci0
> ahci0: AHCI v1.20 with 4 3Gbps ports, Port Multiplier supported
> ahcich0: <AHCI channel> at channel 0 on ahci0
> ahcich1: <AHCI channel> at channel 1 on ahci0
> ahcich4: <AHCI channel> at channel 4 on ahci0
> ahcich5: <AHCI channel> at channel 5 on ahci0
> ahciem0: <AHCI enclosure management bridge> on ahci0
> acpi_button0: <Power Button> on acpi0
> atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> kbd0 at atkbd0
> atkbd0: [GIANT-LOCKED]
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: [GIANT-LOCKED]
> psm0: model IntelliMouse Explorer, device ID 4
> uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
> uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
> uart2: <16550 or compatible> port 0x220-0x227 irq 5 on acpi0
> pmtimer0 on isa0
> orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcd7ff pnpid
> ORM0000 on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> ata0: <ATA channel> at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
> ata1: <ATA channel> at port 0x170-0x177,0x376 irq 15 on isa0
> ppc0: parallel port not found.
> est0: <Enhanced SpeedStep Frequency Control> on cpu0
> est1: <Enhanced SpeedStep Frequency Control> on cpu1
> Timecounters tick every 1.000 msec
> random: unblocking device.
> usbus0: 12Mbps Full Speed USB v1.0
> usbus1: 12Mbps Full Speed USB v1.0
> usbus2: 12Mbps Full Speed USB v1.0
> usbus3: 480Mbps High Speed USB v2.0
> usbus4: 12Mbps Full Speed USB v1.0
> usbus5: 12Mbps Full Speed USB v1.0
> usbus6: 12Mbps Full Speed USB v1.0
> usbus7: 480Mbps High Speed USB v2.0
> ugen1.1: <Intel> at usbus1
> uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
> ugen4.1: <Intel> at usbus4
> uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
> ugen3.1: <Intel> at usbus3
> uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
> ugen2.1: <Intel> at usbus2
> uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
> ugen0.1: <Intel> at usbus0
> uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
> ugen6.1: <Intel> at usbus6
> uhub5: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus6
> ugen5.1: <Intel> at usbus5
> uhub6: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
> ugen7.1: <Intel> at usbus7
> uhub7: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus7
> ses0 at ahciem0 bus 0 scbus5 target 0 lun 0
> ses0: <AHCI SGPIO Enclosure 1.00 0001> SEMB S-E-S 2.00 device
> ses0: SEMB SES Device
> da0 at mpt0 bus 0 scbus0 target 0 lun 0
> da0: <SEAGATE ST3146356SS 0007> Fixed Direct Access SPC-3 SCSI device
> da0: Serial Number 3QN4PS12000091308B4X
> da0: 300.000MB/s transfers
> da0: Command Queueing enabled
> da0: 140014MB (286749488 512 byte sectors)
> da1 at mpt0 bus 0 scbus0 target 2 lun 0
> da1: <SEAGATE ST3146356SS 0007> Fixed Direct Access SPC-3 SCSI device
> da1: Serial Number 3QN4PRJ700009130H22J
> da1: 300.000MB/s transfers
> da1: Command Queueing enabled
> da1: 140014MB (286749488 512 byte sectors)
> GEOM: da0: the secondary GPT table is corrupt or invalid.
> GEOM: da0: using the primary only -- recovery suggested.
> GEOM: da1: the secondary GPT table is corrupt or invalid.
> GEOM: da1: using the primary only -- recovery suggested.
> SMP: AP CPU #1 Launched!
> GEOM: diskid/DISK-3QN4PS12000091308B4X: the secondary GPT table is
> corrupt or invalid.
> GEOM: diskid/DISK-3QN4PS12000091308B4X: using the primary only --
> recovery suggested.
> uhub1: 2 ports with 2 removable, self powered
> uhub4: 2 ports with 2 removable, self powered
> uhub0: 2 ports with 2 removable, self powered
> uhub3: 2 ports with 2 removable, self powered
> uhub6: 2 ports with 2 removable, self powered
> uhub5: 2 ports with 2 removable, self powered
> GEOM: diskid/DISK-3QN4PRJ700009130H22J: the secondary GPT table is
> corrupt or invalid.
> GEOM: diskid/DISK-3QN4PRJ700009130H22J: using the primary only --
> recovery suggested.
> Root mount waiting for: usbus7 usbus3
> Root mount waiting for: usbus7 usbus3
> Root mount waiting for: usbus7 usbus3
> uhub7: 6 ports with 6 removable, self powered
> uhub2: 6 ports with 6 removable, self powered
> Trying to mount root from ufs:/dev/da0p3 [rw]...
> Setting hostuuid: 53d1a494-d663-a0e7-890b-003048b83a16.
> Setting hostid: 0x539721fe.
> Entropy harvesting: interrupts ethernet point_to_point swi.
> Starting file system checks:
> /dev/da0p3: FILE SYSTEM CLEAN; SKIPPING CHECKS
> /dev/da0p3: clean, 2450808 free (600 frags, 306276 blocks, 0.0% fragmentation)
> /dev/da0p4: FILE SYSTEM CLEAN; SKIPPING CHECKS
> /dev/da0p4: clean, 6544551 free (11007 frags, 816693 blocks, 0.1% fragmentation)
> /dev/da0p5: FILE SYSTEM CLEAN; SKIPPING CHECKS
> /dev/da0p5: clean, 5066564 free (236 frags, 633291 blocks, 0.0% fragmentation)
> /dev/da0p6: FILE SYSTEM CLEAN; SKIPPING CHECKS
> /dev/da0p6: clean, 7241671 free (21815 frags, 902482 blocks, 0.3% fragmentation)
> /dev/da0p7: FILE SYSTEM CLEAN; SKIPPING CHECKS
> /dev/da0p7: clean, 4955180 free (132 frags, 619381 blocks, 0.0% fragmentation)
> Mounting local file systems:.
> Writing entropy file:.
> Setting hostname: rmaile.iop.kiev.ua.
> ugen2.2: <American Megatrends Inc.> at usbus2
> ukbd0: <Keyboard Interface> on usbus2
> kbd2 at ukbd0
> em0: link state changed to UP
> Starting Network: lo0 em0 em1.
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
>         options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
>         inet6 ::1 prefixlen 128
>         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
>         inet 127.0.0.1 netmask 0xff000000
>         nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
> em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO>
>         ether 00:30:48:b8:3a:16
>         inet 194.44.164.164 netmask 0xfffffff0 broadcast 194.44.164.175
>         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>         media: Ethernet autoselect (100baseTX <full-duplex>)
>         status: active
> em1: flags=8c02<BROADCAST,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO>
>         ether 00:30:48:b8:3a:17
>         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>         media: Ethernet autoselect
>         status: no carrier
> Starting devd.
> Starting Network: em1.
> em1: flags=8c02<BROADCAST,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO>
>         ether 00:30:48:b8:3a:17
>         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>         media: Ethernet autoselect
>         status: no carrier
> ums0: <Mouse Interface> on usbus2
> add net default: gateway 194.44.164.161
> add net fe80::: gateway ::1
> add net ff02::: gateway ::1
> add net ::ffff:0.0.0.0: gateway ::1
> add net ::0.0.0.0: gateway ::1
> ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib
> /usr/local/lib/compat/pkg /usr/local/lib/compat/pkg
> /usr/local/lib/gcc48 /usr/local/lib/perl5/5.18/mach/CORE
> /usr/local/lib/perl5/5.20/mach/CORE /usr/local/llvm36/lib
> a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout
> Creating and/or trimming log files.
> Starting syslogd.
> Clearing /tmp (X related).
> Starting xinetd.
> Updating motd:.
> Mounting late file systems:.
> Starting spamass_milter.
> chown: /var/run/spamass-milter.sock: No such file or directory
> chmod: /var/run/spamass-milter.sock: No such file or directory
> Starting saslauthd.
> Starting spamd.
> Starting clamav_clamd.
> Waiting for clamd socket..
> Starting clamav_milter.
> Waiting for clamav-milter socket..
> Starting clamav_freshclam.
> Configuring syscons: blanktime.
> Performing sanity check on sshd configuration.
> Starting sshd.
> Starting sendmail.
> Warning: Option: AuthMechanisms requires SASL support (-DSASL)
> WARNING: Xspamassassin: local socket name /var/run/spamass-milter.sock missing
> Starting sendmail_msp_queue.
> Starting cron.
> Starting background file system checks in 60 seconds.

Просьба отвечать не лично, а в рассылку.

Ещё надо:

uname -K
uname -U


More information about the freebsd mailing list