Sponsored Content
Top Forums Programming Sendmail & mail.local + MySQL API Post 10274 by Neo on Sunday 11th of November 2001 07:46:31 PM
Old 11-11-2001
In the sendmail.cf file there is a configuration area that lets you specify the local mailer. This is the the part of sendmail that does the post processing of the incoming mail. I would recommend you add the functionality there by building your own version of the mailer...... for example....
 

7 More Discussions You Might Find Interesting

1. Linux

local mail relay problem in Sendmail

I have a linux box. Sendmail is work fine in this box. The only problem I am facing is whenever I send mail using the mail command to the outside world or to root@localhost, I get this error - 127.0.0.1 localhost denied from relaying The command I used to send mail is - Ls -l | mail -s... (0 Replies)
Discussion started by: RajaRC
0 Replies

2. Programming

API C MYSQL vs lock table ???

(sorry for my english) Hi, i have an app that uses MYSQL API C.. i trying do a timeout until the table is locked by an other thread , in the docs of Mysql i can see that MYSQL_OPT_READ_TIMEOUT is not implemented for linux ¿?¿?.. any body knows a way to do a timeout until the table is locked by... (0 Replies)
Discussion started by: JEscola
0 Replies

3. Programming

Man pages for C API for MySql

Hi, I am on Ubuntu 9.04 tweaking some programs demanding MySql queries. I got the program working by installing following package: sudo apt-get install libmysqlclient-dev and using proper include and library folder However I was unable to access any man pages for these C api's (Strangely... (1 Reply)
Discussion started by: dheerajsuthar
1 Replies

4. Shell Programming and Scripting

PHP read large string & split in multidimensional arrays & assign fieldnames & write into MYSQL

Hi, I hope the title does not scare people to look into this thread but it describes roughly what I'm trying to do. I need a solution in PHP. I'm a programming beginner, so it might be that the approach to solve this, might be easier to solve with an other approach of someone else, so if you... (0 Replies)
Discussion started by: lowmaster
0 Replies

5. UNIX for Dummies Questions & Answers

Minimal Mail Server Setup for Local Mail Transfer

I am trying to get stored mail out of an old mail client. I figured that the easiest way to do it is with IMAP by logging in with both clients. I can copy the mail to the server from the old mail client, and back down into the new mail client. Rather than using a real mail account on the... (2 Replies)
Discussion started by: nixie
2 Replies

6. SCO

Sendmail delivers mail to local user if it exists instead of passing it to the smart relay

Environment: SCO Unix Openserver 6 Sendmail ver: 8.11.3 I just put this server online replacing it's old counterpart, same OS on new machine. There are many different servers on this domain, windowssrv.thisdomain.com, oldunix.thisdomain.com, and the new newunix.thisdomain.com just to name a... (2 Replies)
Discussion started by: checkpro
2 Replies

7. Proxy Server

How to send mail (sendmail) for php mail()?

PHP mail() function doesn't work. Nor does sendmail: loaded system configuration file /etc/msmtprc ignoring user configuration file /home/xi/.msmtprc: No such file or directory falling back to default account using account default from /etc/msmtprc host = xsi port = 25 proxy host = (not... (1 Reply)
Discussion started by: Xcislav
1 Replies
mailstats(1)							   User Commands						      mailstats(1)

NAME
mailstats - print statistics collected by sendmail SYNOPSIS
mailstats [-o] [-c ] [-C configfile] [-f statisticsfile] [-p] [-P] DESCRIPTION
The mailstats utility prints out the statistics collected by the sendmail(1M) program on mailer usage. These statistics are collected if the file indicated by the StatusFile configuration option of sendmail (defined in /etc/mail/sendmail.cf) exists. The default statistics file is /etc/mail/statistics. To enable mailstats, you must, as root, touch /etc/mail/statistics. See the StatusFile processing option in sendmail(1M). mailstats first prints the time that the statistics file was created and the last time it was modified. Then, the statistics for each mailer are displayed on a single line, each with the following whitespace-separated fields: M The mailer number. msgsfr Number of messages from the mailer. bytes_from Kbytes from the mailer. msgsto Number of messages to the mailer. bytes_to Kbytes to the mailer. msgsrej Number of messages rejected by the mailer. msgsdis Number of messages discarded by the mailer. msgsqur Number of messages quarantined by the mailer. Mailer The name of the mailer. The display of statistics described above is followed by a separation line containing only equal sign (=) characters. After the separation line, a line preceded with a "T" and totaling the values for all of the mailers is displayed. This is followed by another line preceded with a "C" that lists the number of TCP connections. To reinitialize the statistics file once a night, add an entry to root's crontab(1): mailstats -p > /dev/null OPTIONS
The following options are supported: -c Try to use submit.cf instead of the default sendmail configuration file. -C configfile Specify a sendmail configuration file. -f statisticsfile Specify a sendmail statistics file. -o Do not display the name of the mailer in the output. -p Output information in program-readable mode and clear statistics. -P Output information in program-readable mode without clearing statistics. USAGE
See largefile(5) for the description of the behavior of mailstats when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes). FILES
/dev/null Zero-lined file /etc/mail/statistics Default sendmail statistics file /etc/mail/sendmail.cf Default sendmail configuration file ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsndmu | +-----------------------------+-----------------------------+ |Output Stability |Unstable | +-----------------------------+-----------------------------+ SEE ALSO
crontab(1), cron(1M), sendmail(1M), attributes(5), largefile(5) SunOS 5.11 24 Jun 2004 mailstats(1)
All times are GMT -4. The time now is 04:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy