Sendmail problem na FreeBSD 4.6
Marek Matejka
marek.matejka at jet2web.cz
Thu Jul 4 16:19:08 CEST 2002
Ahoj,
co ja jsem zjistil tak sendmail od v 4.6-RC3(asi) ma nove volby do
/etc/rc.conf. Pokud mas v /etc/rc.conf 'sendmail_enable="YES"' tak se
spusti normalni sendmail ktery posloucha na vsech interfacech, pokud tam
je 'sendmail_enable="NO"' tak se spusti pouze localni sendmail ktery
posloucha na 127.0.0.1:25, no a posledni moznost je
'sendmail_enable="NONE"' to nespusti vubec nic. Procti si
/etc/defaults/rc.conf. To ze jsi smazal submit.cf nebyl dobry napad,
protoze ho pouziva te volba 'sendmail_enable="NO"'.
S pozdravem
Marek Matejka
On Thu, 4 Jul 2002, Martin Salač wrote:
> Zdravim vespolek.
>
> Mel bych opet jeden zacatecnicky dotaz. Nesla mi posilat posta ze
> stroje s FreeBSD 4.6 instalci. Pomohlo odstraneni souboru submit.cf
> z /etc/mail. Zdalo se, ze posta chodi korektne, ale jenom pro nekoho.
> Napriklad pokud chci posilat postu z PHP scriptu, nepovede se a ve
> /var/log/messages najdu hlasku:
>
> Jul 4 09:22:25 kompjuutr sendmail[73272]: g647MPCg073272: SYSERR(www): collect: Cann
> ot write ./dfg647MPCg073272 (sm_io_flush||sm_io_error, uid=80, gid=25): Input/ou
> tput error
> Jul 4 09:22:25 kompjuutr sendmail[73272]: g647MPCg073272: SYSERR(www): queueup: cann
> ot create queue temp file ./tfg647MPCg073272, uid=80: Permission denied
> Jul 4 09:33:29 kompjuutr sendmail[73317]: g647XTKQ073317: SYSERR(www): collect: Cann
> ot write ./dfg647XTKQ073317 (sm_io_flush||sm_io_error, uid=80, gid=25): Input/ou
> tput error
> Jul 4 09:33:38 kompjuutr sendmail[73319]: g647XcQe073319: SYSERR(www): collect: Cann
> ot write ./dfg647XcQe073319 (sm_io_flush||sm_io_error, uid=80, gid=25): Input/ou
> tput error
> Jul 4 09:36:28 kompjuutr sendmail[73325]: g647aSGT073325: SYSERR(www): collect: Cann
> ot write ./dfg647aSGT073325 (sm_io_flush||sm_io_error, uid=80, gid=25): Input/ou
> tput error
>
> Nevedel by nekdo kam chce zapisovat a nema tam pravo?
> (Byl by nekdo od te dorbroty a vylozil mi polopaticky, k cemu tam to submission je? :-)
>
> Dekuju za odpovedi
>
> Martin
>
> Pro uplnost, moje konfigurace:
>
> postak normalne bezi:
> 69380 ?? Ss 0:05.58 sendmail: accepting connections (sendmail)
>
> rc.conf:
> sendmail_enable="YES"
> sendmail_flags="-L sm-mta -bd -q30m" # Flags to sendmail (as a server)
> sendmail_submit_enable="YES" # Start a localhost-only MTA for mail submission
> sendmail_submit_flags="-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost"
> # Flags for localhost-only MTA
> sendmail_outbound_enable="YES" # Dequeue stuck mail (YES/NO).
> sendmail_outbound_flags="-L sm-queue -q30m" # Flags to sendmail (outbound only)
> sendmail_msp_queue_enable="YES" # Dequeue stuck clientmqueue mail (YES/NO).
> sendmail_msp_queue_flags="-L sm-msp-queue -Ac -q30m"
> # Flags for sendmail_msp_queue daemon.
>
More information about the Users-l
mailing list