I am not sure this is working but I had tried to send mail out my
mail server here. It was working a few days ago and now isn't. I've tried
starting and reloading my postfix and even rebooted. I had these problems
last week when I was trying to figure out my spam leakage problem.
Anyway, I removed Postfix and reinstalled, and put my saved configuration
back in place. I got it working only by rebooting -- going to telinit 1
and then to telinit 3 failed to produce the desired effect. I've had some
stuck mail in there before -- but at least it was trying to send it; now
it's not even doing that. And I haven't altered /etc/postfix/master.cf
(attached) since -- at least not until now.
I do have smtp entries in that file - and that's supposedly the reason why
it wouldn't work (if they weren't there, that is).
But I'm still getting problems.
/var/log/mail/errors: - the gaps are the reboot and retries
Nov 13 05:16:22 m206-157 postfix/smtp[20777]: fatal: unknown service:
smtp/tcp
Nov 13 05:16:22 m206-157 postfix/smtp[20778]: fatal: unknown service:
smtp/tcp
Nov 13 05:35:26 m206-157 postfix/smtp[21502]: fatal: unknown service:
smtp/tcp
Nov 13 06:06:52 m206-157 postfix/smtp[2274]: fatal: unknown service:
smtp/tcp
/var/log/mail/warnings
[EMAIL PROTECTED] mail]# tail /var/log/mail/warnings
Nov 13 06:20:12 m206-157 postfix/smtp[2406]: warning: deliver_request_get:
error receiving common attributes
Nov 13 06:23:33 m206-157 postfix/nqmgr[1838]: warning: premature
end-of-input on private/smtp socket while reading input attribute name
Nov 13 06:23:33 m206-157 postfix/nqmgr[1838]: warning: private/smtp
socket: malformed response
Nov 13 06:23:33 m206-157 postfix/nqmgr[1838]: warning: transport smtp
failure -- see a previous warning/fatal/panic logfile record for the
problem description
Nov 13 06:23:33 m206-157 postfix/nqmgr[1838]: warning: premature
end-of-input on private/smtp socket while reading input attribute name
Nov 13 06:23:33 m206-157 postfix/nqmgr[1838]: warning: private/smtp
socket: malformed response
Nov 13 06:23:33 m206-157 postfix/nqmgr[1838]: warning: transport smtp
failure -- see a previous warning/fatal/panic logfile record for the
problem description
Nov 12 22:23:33 m206-157 postfix/master[1305]: warning:
process /usr/lib/postfix/smtp pid 2416 exit status 1
Nov 12 22:23:33 m206-157 postfix/master[1305]:
warning: /usr/lib/postfix/smtp: bad command startup -- throttling
Nov 12 22:23:33 m206-157 postfix/master[1305]: warning:
process /usr/lib/postfix/smtp pid 2415 exit status 1
This was working perfectly until my box was compromised. Tomorrow night
I'll probably throw in the towel and go qmail. Or maybe just keep sending
mail through smtp.tsoft.com as MAPS still has not taken my IP off of their
list.
By the way, I had this entire post rejected because of one word ---
deeelist (as in deeeeeeeeelisting my server). I got a response that said
my post would not go out, along with a return address unknown to
MandrakeSoft's servers. This reminds me of Prodigy filters -- one
instance when someone wanted to let people know their daughter graduated
magna cum laude -- and prodigy blocked on the word cum. IMHO this kind of
brain dead list filtering is going to cause more problems than it solves.
------------------------------------------------------------------------
David E. Fox Thanks for letting me
[EMAIL PROTECTED] change magnetic patterns
[EMAIL PROTECTED] on your hard disk.
----------------------------------------------------------------------
#
# Postfix master process configuration file. Each line describes how
# a mailer component program should be run. The fields that make up
# each line are described below. A "-" field value requests that a
# default value be used for that field.
#
# Service: any name that is valid for the specified transport type
# (the next field). With INET transports, a service is specified as
# host:port. The host part (and colon) may be omitted. Either host
# or port may be given in symbolic form or in numeric form. Examples
# for the SMTP server: localhost:smtp receives mail via the loopback
# interface only; 10025 receives mail on port 10025.
#
# Transport type: "inet" for Internet sockets, "unix" for UNIX-domain
# sockets, "fifo" for named pipes.
#
# Private: whether or not access is restricted to the mail system.
# Default is private service. Internet (inet) sockets can't be private.
#
# Unprivileged: whether the service runs with root privileges or as
# the owner of the Postfix system (the owner name is controlled by the
# mail_owner configuration variable in the main.cf file).
#
# Chroot: whether or not the service runs chrooted to the mail queue
# directory (pathname is controlled by the queue_directory configuration
# variable in the main.cf file). Presently, all Postfix daemons can run
# chrooted, except for the pipe, virtual and local delivery daemons.
# The files in the examples/chroot-setup subdirectory describe how
# to set up a Postfix chroot environment for your type of machine.
#
# Wakeup time: automatically wake up the named service after the
# specified number of seconds. A ? at the end of the wakeup time
# field requests that wake up events be sent only to services that
# are actually being used. Specify 0 for no wakeup. Presently, only
# the pickup, queue manager and flush daemons need a wakeup timer.
#
# Max procs: the maximum number of processes that may execute this
# service simultaneously. Default is to use a globally configurable
# limit (the default_process_limit configuration parameter in main.cf).
# Specify 0 for no process count limit.
#
# Command + args: the command to be executed. The command name is
# relative to the Postfix program directory (pathname is controlled by
# the program_directory configuration variable). Adding one or more
# -v options turns on verbose logging for that service; adding a -D
# option enables symbolic debugging (see the debugger_command variable
# in the main.cf configuration file). See individual command man pages
# for specific command-line options, if any.
#
# In order to use the "uucp" message tranport below, set up entries
# in the transport table.
#
# In order to use the "cyrus" message transport below, configure it
# in main.cf as the mailbox_transport.
#
# SPECIFY ONLY PROGRAMS THAT ARE WRITTEN TO RUN AS POSTFIX DAEMONS.
# ALL DAEMONS SPECIFIED HERE MUST SPEAK A POSTFIX-INTERNAL PROTOCOL.
#
# DO NOT CHANGE THE ZERO PROCESS LIMIT FOR CLEANUP/BOUNCE/DEFER OR
# POSTFIX WILL BECOME STUCK UP UNDER HEAVY LOAD
#
# DO NOT CHANGE THE ONE PROCESS LIMIT FOR PICKUP/QMGR OR POSTFIX WILL
# DELIVER MAIL MULTIPLE TIMES.
#
# DO NOT SHARE THE POSTFIX QUEUE BETWEEN MULTIPLE POSTFIX INSTANCES.
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (50)
# ==========================================================================
smtp inet n - y - - smtpd
#smtps inet n - n - - smtpd
# -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission inet n - n - - smtpd
# -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628 inet n - n - - qmqpd
pickup fifo n - y 60 1 pickup
cleanup unix n - y - 0 cleanup
#qmgr fifo n - n 300 1 qmgr
qmgr fifo n - y 300 1 nqmgr
#tlsmgr fifo - - n 300 1 tlsmgr
rewrite unix - - y - - trivial-rewrite
bounce unix - - y - 0 bounce
defer unix - - y - 0 bounce
flush unix n - y 1000? 0 flush
smtp unix - - y 300 - smtp
showq unix n - y - - showq
error unix - - y - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - y - - lmtp
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
# The Cyrus deliver program has changed incompatibly.
#
cyrus unix - n n - - pipe
flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
relay unix - - n - - smtp
proxymap unix - - n - - proxymap
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com