Sponsored Content
Operating Systems Linux Ubuntu Any way we can create an SMTP server and use any scripting language to read emails from that server Post 302641807 by otheus on Wednesday 16th of May 2012 01:47:38 PM
Old 05-16-2012
Your question is still to general for these forums, but I will give you a general answer and maybe that will point you in the right direction. But I think maybe you need to find an expert that will consult with you for your specific needs.

Postfix is one of 3 major, free implementations of SMTP for UNIX. The others are sendmail and qmail. Of these, postfix has the best combination of flexibility and ease-of-configuration. All are available for Linux.

Postfix and sendmail are typically thought of as "MTAs" -- Mail Transport Agents. SMTP is a protocol designed for MTAs to talk with each other. (LMTP is another such protocol.) What you are asking for is a function typically provided by "MDAs" -- Mail Delivery Agents. These programs are delegated the responsibility of putting the mail into the right mailbox for the end-user. These programs typically do not interact with other systems or other computers -- only the system that the mail has been transported to (via the MTAs). Examples of such programs include
  • binmail
  • procmail
  • deliver
Take a look at the short Wikipedia article for these. You can start reading here: Mail delivery agent - Wikipedia, the free encyclopedia
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Sending Outgoing Emails from Unix Server

the server i have here is a Ubuntu server. it has nagios on it. after setting up nagios and having it work as it should, i realized at the very end of all my work that obviously nagios will also need to send out email alerts to a set of email addresses that it has in its database. my problem... (1 Reply)
Discussion started by: SkySmart
1 Replies

2. Shell Programming and Scripting

Find and Extract all emails from my server

My linux version is: Linux version 2.6.9-89.0.9.ELsmp (gcc version 3.4.6 20060404 (Red Hat 3.4.6-11)) My problem is simple (lol) I need find and extract all e-mail from my server. I know how to extract the e-mail from a text file, the problem is: Where to find the e-mails? How to find all... (2 Replies)
Discussion started by: mauricio_yan
2 Replies

3. UNIX for Advanced & Expert Users

Routing Emails, Sun One Messaging Server

Hello, i have Sun one Messaging Server 6.3 Up and running, i want to route emails that are destined to a certain email address, let's say test@mydomain.com through the tcp_local channel for example, to another email, and not allowing test@mydomain.com to receive them. So in short, i want... (0 Replies)
Discussion started by: lemonshare
0 Replies

4. Shell Programming and Scripting

Send email from sendmail on AIX using exchange server as SMTP server

i am new in AIX i am trying to write a script to take a backup for specific files on server to and check error log if backup success send email to administrator , script done except for sending mail , i try to configure sendmail on aix to use our exchange server to send emails but still get error... (0 Replies)
Discussion started by: ahmed_salah
0 Replies

5. Solaris

How to check the number of emails sent out from the Solaris server

Our solaris are configured to send out email and i would like to know the number of emails sent out from the solaris server. Anyone know can this be done? Thanks (1 Reply)
Discussion started by: sirius20d
1 Replies

6. Shell Programming and Scripting

How to Read File multi server from 1 server.

How to Read File multi server from 1 server. With Shell script. Server1 (is host) Server2 Server3 Server4 All server : user & password same. : Path of file it same. : user command grep "123456" filename*.log Gide line Pls. (1 Reply)
Discussion started by: ooilinlove
1 Replies

7. Shell Programming and Scripting

Samba server with notification emails

I'm creating a ubuntu samba server that sends out email notifications when a file a new file is created in the monitored directory. Currently im using inotifywait to monitor a directory and send out a email notification. Inotify wait works great but it gets triggered whenever any file including... (2 Replies)
Discussion started by: binary-ninja
2 Replies

8. Shell Programming and Scripting

How to create a file in remote server from local server?

hi, can anyone tell me how can i store the names of a file that are in remote server to a file and then get the file that contains the name in local server? there is a remote server where 5 files are present , say a.txt b.txt c.txt d.txt e.txt i want to write a script in my local... (4 Replies)
Discussion started by: Little
4 Replies

9. UNIX for Dummies Questions & Answers

Emails sent from Linux server are rejected by recipient

Hello i have this longterm issue which im unable to solve, i think this is quite simple issue, i hope you may know the cause It is on CentOS Redhat server with qmail installed. # service qmail status # service qmail start Starting Qmail: # ps aux | grep mail qmails 1688 0.0 0.0 ... (1 Reply)
Discussion started by: postcd
1 Replies

10. Web Development

SMTP Server Configuration

Hello list, I want to be able to send email directly from my linux box. I have both a CentOS and Debian installation. I am by no means an expert when it comes to all of the SMTP servers. I have been testing different configs by installing and uninstalling sendmail, postfix, and exim4. ... (2 Replies)
Discussion started by: landossa
2 Replies
REQUESTSYNC(1)						      General Commands Manual						    REQUESTSYNC(1)

NAME
requestsync - helper to file sync requests for Ubuntu SYNOPSIS
requestsync [-d distro] [-nse] [-k keyid] <source package> [target release] [base version] requestsync --lp [-nse] <source package> <target release> [base version] requestsync -h DESCRIPTION
requestsync looks at the versions of <source package> in Debian and Ubuntu and prompts for an explanation of why the Ubuntu changes (if there are any) should be dropped. The changelog entry is then downloaded from packages.debian.org, and the sync request bug is filed in launchpad. Alternatively, the sync request can be filed by GPG-signed email (option --email). requestsync checks if you have the permissions to request the sync from the archive administrators directly by checking if you have upload permissions for that package through package set permissions or component permissions. If you don't have upload permissions, the script will subscribe the necessary team with approval rights to the bug report for you. This check is only performed if requestsync is allowed to use the LP API (not email submission). In the other case requestsync relies on that you answer the question about upload permissions honestly to determine if a team with approval rights is to be subscribed to the bug. If you have permission to upload the package directly, then you may prefer to use syncpackage instead to copy the package using the Launch- pad API. At some future point, requestsync will be changed to do this automatically. requestsync uses launchpadlib authentication to file its requests. OPTIONS
Listed below are the command line options for requestsync: -h Display a help message and exit. -d Specifies which Debian distribution a package should be synced from. Default is testing in LTS cycles, otherwise unstable. -n Specifies that the package is a new package, and requestsync should not attempt to look it up in Ubuntu since it will not exist. -k <keyid> Specifies your GPG key. This is only used if the sync request is mailed to Launchpad. --email Use GPG-signed email to file the bug, rather than launchpadlib. -s Specifies that you require sponsorship. You need this option if you don't have upload permissions for that package. This disables the upload permissions check described above. -C Allow changelog to be manually filled in when missing. requestsync gets Debian changelogs from packages.debian.org, which isn't in sync with the Debian archive. To request a sync before the changelog is available, pass this option, and provide the changelog entries yourself. -e Use this flag after FeatureFreeze for non-bug fix syncs. requestsync will subscribe ubuntu-release team instead of sponsorship team. -l INSTANCE, --lpinstance=INSTANCE Use the specified instance of Launchpad (e.g. "staging"), instead of the default of "production". --no-conf Do not read any configuration files, or configuration from environment variables. <source package> This is the source package that you would like to be synced from Debian. <target release> This is the release that you would like the source package to be synced into. This should always be the latest development release of Ubuntu. [base version] In some cases, the base version (where the Ubuntu package started differing from the Debian package) cannot be automatically deter- mined. Specify this option in this case. ENVIRONMENT
requestsync uses the following variables which should be set in your shell's configuration by adding export VARIABLE= lines, where VARIABLE is one of the following: UBUMAIL, DEBEMAIL Specifies which email should be used when sending to Launchpad. All of the CONFIGURATION VARIABLES below are also supported as environment variables. Variables in the environment take precedence to those in configuration files. CONFIGURATION VARIABLES
REQUESTSYNC_SMTP_SERVER Set which SMTP server to use when sending mail. If unspecified this defaults to launchpad's SMTP servers (the eventual destina- tion). REQUESTSYNC_SMTP_PORT Sets which port of the SMTP server to use. Default is 25. REQUESTSYNC_SMTP_USER and REQUESTSYNC_SMTP_PASS Sets the username and password to use when authenticating to the SMTP server. REQUESTSYNC_USE_LPAPI Setting this to no is equivalent to running with --email. REQUESTSYNC_LPINSTANCE, UBUNTUTOOLS_LPINSTANCE The default value for --lpinstance. REQUESTSYNC_KEYID, UBUNTUTOOLS_KEYID The default value for -k. SEE ALSO
rmadison(1), syncpackage(1), ubuntu-dev-tools(5) AUTHOR
requestsync and this manual page were written by the Ubuntu MOTU Team. Both are released under the GNU General Public License, version 2. ubuntu-dev-tools 19 January 2008 REQUESTSYNC(1)
All times are GMT -4. The time now is 08:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy