Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Can't configure sendmail to send mails to external SMTP Server Post 302482375 by DGPickett on Tuesday 21st of December 2010 10:46:22 AM
Old 12-21-2010
Well, there are a number of sendmail config fields to define when email is for here. Try sending to root@localhost, root@127.0.0.1, other users at localhost. You can test rewrite rules that define when mail is local or not using:
Code:
echo 'mail address' | sendmail -bt

PS: The mnemonic for that option is Become Tester, as opposed to become daemon!

Last edited by DGPickett; 12-21-2010 at 01:08 PM..
 

10 More Discussions You Might Find Interesting

1. Solaris

how to send mails to users on exchange server from sendmail/solaris(mailx)

Hi, Can anyone pls. tell me how to access Active directory from solaris. I am looking at solution by which I can send mail notification from the logs generated by scripts, to the users on Exchange server. I am trying for a Perl-LDAP module , but don't realy know how to go for it (5 Replies)
Discussion started by: ganeshh
5 Replies

2. SuSE

How to configure Suse Enterprise Linux 9.0 for sending mails to smtp server...???

Hi All, I have a system running with Suse Enterprise Linux 9.0. xyz# uname -a Linux xyz 2.4.21-291-smp #1 SMP Tue May 24 14:07:45 UTC 2005 i686 unknown I would like to configure postfix on this system for sending mails as a root user using "mail" command to smtp server (Windows System)... (5 Replies)
Discussion started by: jumadhiya
5 Replies

3. UNIX for Advanced & Expert Users

Configure SMTP Server for Unix

Hi, We had an upgrade today morning and since then mailx command is not working. I have been told to change the DNS to use host name as smtp.companyname.com instead of the IP address. Can someone please help me out to know where can I change this on a Unix Server. Thanks Aman (5 Replies)
Discussion started by: chawlaaman
5 Replies

4. SCO

SCO 5.0.7 Sendmail. Need help on how to configure SMTP

Did anyone know or can provide some instructions on how to setup smtp for sendmail. All I need to do is email files from sco thru my ISP smtp provider. please help (3 Replies)
Discussion started by: miles556
3 Replies

5. UNIX for Dummies Questions & Answers

Steps to configure sendmail to receive e-mails

Hi Unix Gurus, Please help me out here. Please tell me the steps to conigure sendmail to receive emails (same way we configure outlook client in windows)? Thanks in advance. -Dejavu (1 Reply)
Discussion started by: DejaVu
1 Replies

6. 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

7. Solaris

Unable to send mails to external mailids from solaris 10

Hi, Iam not able to send mails from solaris servers to external mailid (gmail,yahoo).I am able to send mails to internal mailids with in network. Requesting you all to please help me to resolve this issue. Thanks in advance. Venkat (2 Replies)
Discussion started by: venkatasiva85
2 Replies

8. Red Hat

External SMTP server

Hi, We current use an email/hosted exchange server (provided by 3rd party company). Our production DNS (RH5) server has got the MX rec configured for this 3rd party mail relay server. So in order to resolve hostnames to send outbound mails an A record entry is also required on the external... (1 Reply)
Discussion started by: Duffs22
1 Replies

9. Solaris

Solaris - Sendmail - Adding .com.gr in external senders e-mails

Hello Everybody ! I'm Harry from Athens Greece and i have a problem with my Sendmail 8.13.3 installed on Solaris SunOS ultra 5.10. The problem is that when someone sends to us an e-mail and his e-mail address is like : xxxx@xxxx.com, our e-mail server adds up in the senders address a .com.gr... (2 Replies)
Discussion started by: Mcasim
2 Replies

10. Solaris

Configure sendmail with SMTP

Hello, I'm trying to configure sendmail with SMTP authentication on a SunOS 5.11 operating system. I have been read various documentation / tutorials and unfortunately is not working. I need help from someone who has configured smtp on this operating system. When I try to send a mail, I have... (2 Replies)
Discussion started by: d4rkm4nx99
2 Replies
LAMSON(1)																 LAMSON(1)

NAME
Lamson - Lamson is a modern Pythonic mail server built like a web application server. SYNOPSIS
lamson <action> [options] DESCRIPTION
lamson is a pure Python SMTP server designed to create robust and complex mail applications in the style of modern web frameworks such as Django. Unlike traditional SMTP servers like Postfix or Sendmail, Lamson has all the features of a web application stack (ORM, templates, routing, handlers, state machines, Python) without needing to configure alias files, run newaliases, or juggle tons of tiny fragile pro- cesses. Lamson also plays well with other web frameworks and Python libraries. ACTIONS
log [-port PORT] [-host HOST] [-pid PIDFILE] [-chroot True|False] [-chdir DIR] [-umask UMASK] [-uid UID] [-gid GID] [-FORCE True|False] Runs a logging only server on the given hosts and port. It logs each message it receives and also stores it to the run/queue so that you can make sure it was received in testing. lamson log -port 8825 -host 127.0.0.1 -pid ./run/log.pid -chroot False -chdir "." -umask False -uid False -gid False -FORCE False If you specify a uid/gid then this means you want to first change to root, set everything up, and then drop to that UID/GID combina- tion. This is typically so you can bind to port 25 and then become "safe" to continue operating as a non-root user. If you give one or the other, this it will just change to that uid or gid without doing the priv drop operation. send [-port PORT] [-host HOST] [-debug 0|1] [-sender EMAIL] [-to EMAIL] [-subject SUBJECT] [-body BODY] [-attach FILENAME] Sends an email to someone as a test message. See the sendmail command for a sendmail replacement. lamson send -port 8825 -host 127.0.0.1 -debug 1 -sender EMAIL -to EMAIL -subject STR -body STR -attach False' sendmail [-port PORT] [-host HOST] [-debug 0|1] -- [RECIPIENTS] Used as a testing sendmail replacement for use in programs like mutt as an MTA. It reads the email to send on the stdin and then delivers it based on the port and host settings. lamson sendmail -port 8825 -host 127.0.0.1 -debug 0 -- [recipients] start [-pid PIDFILE] [-FORCE True|False] [-chroot True|False] [-chdir DIR] [-umask UMASK] [-uid UID] [-gid GID] [-boot BOOTMODULE] Runs a lamson server out of the given directory. lamson start -pid ./run/smtp.pid -FORCE False -chroot False -chdir "." -umask False -uid False -gid False -boot config.boot stop [-pid PIDFILE] [-KILL True|False] [-ALL DIR] Stops a running lamson server. Give -KILL True to have it stopped violently. The PID file is removed after the signal is sent. Give -ALL the name of a run directory and it will stop all pid files it finds there. lamson stop -pid ./run/smtp.pid -KILL False -ALL False restart [-pid PIDFILE] [-FORCE True|False] [-chroot True|False] [-chdir DIR] [-umask UMASK] [-uid UID] [-gid GID] [-boot CONFIG] [-KILL True|False] [-ALL DIR] Simply attempts a stop and then a start command. All options for both apply to restart. status [-pid PIDFILE] Prints out status information about lamson useful for finding out if it's running and where. lamson status -pid ./run/smtp.pid queue [-pop|-get|-remove|-count|-clear|-keys] [-name QUEUE] Let's you do most of the operations available to a queue. lamson queue (-pop | -get | -remove | -count | -clear | -keys) -name run/queue routes [-path PATH] -- [CONFIG] [-test EMAIL] Prints out valuable information about an application's routing configuration after everything is loaded and ready to go. Helps debug problems with messages not getting to your handlers. Path has the search paths you want separated by a ':' character, and it's added to the sys.path. lamson routes -path $PWD -- config.testing -test "" It defaults to running your config.testing to load the routes. If you want it to run the config.boot then give that instead: lamson routes -- config.boot You can also test a potential target by doing -test EMAIL. gen [-project NAME] Generates various useful things for you to get you started. lamson gen -project STR spell [-language LANG] -- [FILES] Runs the PyEnchant spell checker on the given file. Use this to train the spell checker for unit test runs when new words show up. lamson spell -langauge en_US -- [files] It will run interactively and if you perform an edit on the file it will save your changes back to the file and make a backup named with .bak. web [-basedir DIR] [-port PORT] [-host HOST] Starts a very simple files only web server for easy testing of applications that need to make some HTML files as the result of their operation. If you need more than this then use a real web server. lamson web -basedir "." -port 8888 -host '127.0.0.1' This command doesn't exit so you can view the logs it prints out. cleanse [-input MAILBOX] [-output MAILBOX] Uses Lamson mail cleansing and canonicalization system to take an input maildir (or mbox) and replicate the email over into another maildir. It's used mostly for testing and cleaning. blast [-input MAILBOX] [-port PORT] [-host HOST] [-debug 0|1] Given a maildir, this command will go through each email and blast it at your server. It does nothing to the message, so it will be real messages hitting your server, not cleansed ones. version Prints the version of Lamson, the reporitory revision, and the file it came from. help [-for CMD] Prints out help for the commands. lamson help You can get help for one command with: lamson help -for STR SEE ALSO
Full documentation for lamson can be found at http://lamsonproject.org BUGS
Please report bugs at https://bugs.launchpad.net/lamson AUTHOR
This manual page was written by David Watson <david@kutoken.com> 25 August 2009 LAMSON(1)
All times are GMT -4. The time now is 02:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy