f



using sendmail to send outoign mail only

Hi guys.

I've set up a linux server (only running squid).

I want mail from the root account on that machine to be sent to my
email address.

like RAID error notifications and stuff like that.

I'v elooked everywhere, and everything seems to be working OK, but I
can't send outgoing mail to external email accounts i have.

the mail always appears to come from root@host.mydomain.com and not
from root@mydomain.com

if i use a smarthost that i allow relaying through, the return address
appears ok, but in the message headers i still see
root@host.mydomain.com.

when using FEATURE(`relay_based_on_MX') the mail is sent to the
appropriate mx, but isn't relayed from there.

some relays say "DSN: Data format error"
some say "DSN: User unknown"
and some say it's ok, but the mail never gets to me.

I looked at the logs, and i think it's related to the from: header.

the mx for the external domains i'm sending mail to don't accept mail
from the non-existant domain host.mydomain.com, and rightfully so, as
there's no such domain.

any ideas?
what am i doing wrong?

I don't need to recieve incoming mail at all, only to allow mail sent
using "mail someone@somedomain.com" to go to the right direction.

I can't use my ISP, cause it requires me to log into my pop account
before sending outgoing mail.

thanks.

0
shoval (4)
1/12/2005 10:49:32 PM
comp.mail.sendmail 13518 articles. 1 followers. jfretby (35) is leader. Post Follow

2 Replies
862 Views

Similar Articles

[PageSpeed] 16

"shoval" <shoval@softov.co.il> wrote in message
news:1105570172.317669.271740@z14g2000cwz.googlegroups.com...
> Hi guys.
>
> I've set up a linux server (only running squid).
>
> I want mail from the root account on that machine to be sent to my
> email address.
>
> like RAID error notifications and stuff like that.
>
> I'v elooked everywhere, and everything seems to be working OK, but I
> can't send outgoing mail to external email accounts i have.
>
> the mail always appears to come from root@host.mydomain.com and not
> from root@mydomain.com
>
> if i use a smarthost that i allow relaying through, the return address
> appears ok, but in the message headers i still see
> root@host.mydomain.com.
>
> when using FEATURE(`relay_based_on_MX') the mail is sent to the
> appropriate mx, but isn't relayed from there.
>
What you want is:

MASQUERADE_AS(`mydomain.com)dnl
FEATURE(masquerade_envelope)dnl
MASQUERADE_DOMAIN(localhost)dnl
MASQUERADE_DOMAIN(localhost.localdomain)dnl

in your sendmail.mc

> some relays say "DSN: Data format error"
> some say "DSN: User unknown"
> and some say it's ok, but the mail never gets to me.
>
> I looked at the logs, and i think it's related to the from: header.
>
> the mx for the external domains i'm sending mail to don't accept mail
> from the non-existant domain host.mydomain.com, and rightfully so, as
> there's no such domain.
>
> any ideas?
> what am i doing wrong?
>
> I don't need to recieve incoming mail at all, only to allow mail sent
> using "mail someone@somedomain.com" to go to the right direction.
>
> I can't use my ISP, cause it requires me to log into my pop account
> before sending outgoing mail.
>
> thanks.
>


0
1/13/2005 5:20:31 PM
shoval wrote:

> I want mail from the root account on that machine to be sent to my
> email address.

> the mail always appears to come from root@host.mydomain.com and not
> from root@mydomain.com

Make sure you use masquerading and you don't use

DOMAIN(`generic')

because that uses

EXPOSED_USER(`root')


See cf/README for details.
-- 
A: Maybe because some people are too annoyed by top-posting.
Q: Why do I not get an answer to my question(s)?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
0
Claus
1/13/2005 5:39:11 PM
Reply:

Similar Artilces:

Sending mail without sendmail or highly secure sendmail
Hello all, I am setting up a very secure Red Hat Enterprise Linux Advanced Server version 4 update 6 server. My sendmail version is 8.13.1. My mail server is a Windows 2003 Server with Exchange 2003 with its patches. They are both on the same subnet. DNS is on and it will resolve the mail server's name and IP. SSH, SCP, SFTP, and such tools are the only networkable protocols on. NFS if off, MOUNTD is off, PORTMAP is off, and such. Until just recently sendmail was off on the RHEL server as part of the hardening procedure. However part of the auditing requirements is for a mail message to go out to some admin if certain events occur such as "disk is full," "a panic occurred," "the system rebooted" etc. So I will perhaps cut sendmail on and mitigate the risk as best as possible. So, this sounds dumb, but can you send mail without sendmail. I think perhaps no, but I thought I'd ask anyway. Secondly does anyone have a harden .mc file from which they could share what they did? Of course you can fudge in phoney IP and names to protect your secured environment. Advice or insight do any of you have on securing sendmail is appreciated? I want to avoid such things as promiscuous relays, unqualified senders, etc etc. But if it must be ... it must be. :) Thanks George <george.e.sullivan@saic.com> wrote: > I am setting up a very secure Red Hat Enterprise Linux Advanced Server > version 4 update 6 server. My sendmai...

problem with sendmail, not sending mails to some mail servers like yahoo except gmail
hi this is sasidhar, we have CentOS5 with default sendmail configuration. Initially it is sending mails to gmail, yahoo etc. last few days it is not sending mails to yahoo. In maillog I observed that for yahoo mails the stat value is deferred. I tried everything by browsing google but I didn't find any solution to this problem. Finally I came here with lots of hope. In mail queue there are more than 1 lack, most of them yahoo, rediff etc. For gmail it is not giving any problem every mail is going. please give any suggestions to solve this problem. Thanks, sasidhar. On 11/5/2009 11:36 PM, sasidhar prabhakar wrote: > hi this is sasidhar, > > we have CentOS5 with default sendmail configuration. > Initially it is sending mails to gmail, yahoo etc. last few days it is > not sending mails to yahoo. > In maillog I observed that for yahoo mails the stat value is deferred. > I tried everything by browsing google but I didn't find any solution > to this problem. > Finally I came here with lots of hope. > > In mail queue there are more than 1 lack, most of them yahoo, rediff > etc. For gmail it is not giving any problem every mail is going. > > please give any suggestions to solve this problem. > > Thanks, > sasidhar. > > > Deferred is generally not a problem. As your queue runs (usually, once an hour), it will try again (and again, as necessary). You can force sendmail to run the queue by running it wi...

newbie question: sendmail doesn't send mail to external mail account.
Hi there, It seems send mail doesn't send mail to external mail account in my FreeBSD 4.8 BOX. However, I'm able to receive mail from external mail, such as yahoo, hotmail account. My config is: FreeBSD 4.8 ISP: bell Sympatico high speed with dynamic IP address. SMTP port is enabled on the router/firewall. Can anyone help? bluesnow#mail -v calvin2k_cn@yahoo.com Subject: This is a test. Do you hear me? EOT calvin2k_cn@yahoo.com... Connecting to [127.0.0.1] via relay... 220 bluesnow.gotdns.com ESMTP Sendmail 8.12.8p1/8.12.8; Thu, 26 Jun 2003 17:14:51 -0400 (EDT) >>> EHLO bluesnow.gotdns.com 250-bluesnow.gotdns.com Hello localhost [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-DELIVERBY 250 HELP >>> MAIL From:<cguan@bluesnow.gotdns.com> SIZE=68 250 2.1.0 <cguan@bluesnow.gotdns.com>... Sender ok >>> RCPT To:<calvin2k_cn@yahoo.com> >>> DATA 250 2.1.5 <calvin2k_cn@yahoo.com>... Recipient ok 354 Enter mail, end with "." on a line by itself >>> . 250 2.0.0 h5QLEpDJ006984 Message accepted for delivery calvin2k_cn@yahoo.com... Sent (h5QLEpDJ006984 Message accepted for delivery) Closing connection to [127.0.0.1] >>> QUIT 221 2.0.0 bluesnow.gotdns.com closing connection bluesnow# sendmail -bp /var/spool/mqueue (2 requests) -----Q-ID----- --Size-- -----Q-Time----...

What protocol does sendmail use when sending outbound mail to port 25?
It seems to me that _sendmail_ would use TCP/IP, but it is remotely possible that it uses UDP/IP in addition. For firewall and routing purposes, should I provide for both, or only just one? -- .~. Jean-David Beyer Registered Linux User 85642. /V\ PGP-Key: 9A2FC99A Registered Machine 241939. /( )\ Shrewsbury, New Jersey http://counter.li.org ^^-^^ 16:55:00 up 14 days, 3:25, 5 users, load average: 4.11, 4.07, 4.08 Jean-David Beyer wrote: > It seems to me that _sendmail_ would use TCP/IP, but it is remotely > possible that it uses UDP/IP in addition. It doesn't. For outbound mail, Sendmail makes a TCP connection to port 25 on the remote host. (It is possible to change the port, but that's only used internally for various reasons, and not on the public Internet.) Sendmail does require DNS lookups to operate successfully, so you'll need to ensure your firewall doesn't block those. -- David. David F. Skoll wrote: > Jean-David Beyer wrote: > >> It seems to me that _sendmail_ would use TCP/IP, but it is remotely >> possible that it uses UDP/IP in addition. > > It doesn't. For outbound mail, Sendmail makes a TCP connection to port > 25 on the remote host. (It is possible to change the port, but that's > only used internally for various reasons, and not on the public > Internet.) > > Sendmail does require DNS lookups to operate successfully, so you'll need > to...

Sendmail authentificates, client cann still send mails with fake "Mail From:" tag
hello, i've just finished my first AUTH sendmail configuration, client cann authentificate himself via LOGIN/PLAIN with TLS. I've noticed though that sendmail doesn't pose any restraints regarding the mail from: tag. lets say my domain is test.de, my loginname ist alex now i cand send mails from arbitrary name@ test.de...actually from arbitrary name @ arbitrary domain :) Am i missing something here ? what i would like is: user authentificates -> he is allowed to send mail only with the prior stipulated address (his address) Thanks! Regards, Alex alexThor wrote: > hello, > > i've just finished my first AUTH sendmail configuration, client cann > authentificate himself via LOGIN/PLAIN with TLS. I've noticed though > that sendmail doesn't pose any restraints regarding the mail from: tag. > lets say my domain is test.de, my loginname ist alex > now i cand send mails from arbitrary name@ test.de...actually from > arbitrary name @ arbitrary domain :) > > Am i missing something here ? > > what i would like is: user authentificates -> he is allowed to send > mail only with the prior stipulated address (his address) > Thanks! > > Regards, > Alex http://www.jmaimon.com/sendmail http://www.jmaimon.com/sendmail/#rewritesender http://www.jmaimon.com/sendmail/patches/rewrite_sender.tar.gz This should do exactly what you want. jmaimon@ttec.com wrote: > > http://www.jmaimon.com/sendmail > ht...

Sendmail cannot send my mail
I am on a typical home user setup (dialup connection, SMTP server listens on exotic port 25000 and I need to enter a password to connect to the server). The various mailers I have used - outlook, outlook express, mozilla mail - have no problems sending my mail successfully. But when I try to use sendmail all I get is something like: Nov 22 18:56:51 turki sendmail[28724]: iAL4OmF22670: to=cga2001@eml.cc, ctladdr=gavron (500/500), delay=1+19:32:03, xdelay=00:00:10, mailer=relay, pri=815114, relay=b.mx.mailbarn.net. [66.54.152.36], dsn=4.0.0, stat=Defer red: Connection refused by b.mx.mailbarn.net. sendmail proceeds to recycle the mail for the following five days without success. I have read the FAQs, made countless changes to the sendmail.mc file, cycled sendmail at least a hundred times over the last couple of months to no avail. Since on average successfully setting up a mail account in one of the above mailers takes under two minutes, I am beginning to suspect that there is a bug in the version of sendmail I am running - sendmail version 8.11.4 release 3 as generated by Redhat 7.2 from an rpm. Is there a short howto describing what the average home user on a dialup connection should do to make sendmail connect to the outside world? I was thinking of using this as a checklist to make sure I am not leaving out anything. If no such document exists could anyone direct me to sample configuration files that are known to work in this type of setup with this particular versi...

sendmail for only sending mail
hello, i want to be able to use sendmail to just send mail from a pipe... nothing more than that (meaning, no need for handling queue, etc.) so far, any linux i logged in to could do this by doing: # /usr/sbin/sendmail address@domain.com .... Type in message using headers etc .. and that's it, the message would be sent. however, in my fresh fedora installation, i cannot make sendmail terminate... it accepts input from std input, but "." does not send the message nor does ^D, nothing. i can't find in sendmail.cf a mention of "termination symbol". any ideas? (i thought it might be related to some terminate symbol, so i tried: /usr/sbin/sendmail -t -messagefile=msg.txt which should send message from a file, but still, i get std input waiting for input, and unable to terminate except for ^C.) i am using the fedora distribution by the way. thanks. In article <4100396a-486b-4d25-b2e7-8fcb753a8c63@r15g2000prh.googlegroups.com> jack.monflower@gmail.com writes: >hello, >i want to be able to use sendmail to just send mail from a pipe... >nothing more than that (meaning, no need for handling queue, etc.) >so far, any linux i logged in to could do this by doing: > ># /usr/sbin/sendmail address@domain.com >... Type in message using headers etc >. > >and that's it, the message would be sent. >however, in my fresh fedora installation, i cannot make sendmail >terminate... it accepts input from std input, but "...

pls help me when i sent mail, it vil sending twice instead of once ,am using java.mail,am sending my code....
Every thing is working fine but it sending message twice instead of once. in the Forget.jsp page am accepting username or email <struts-config.xml> <form-beans> <form-bean name="forgotUname" type="org.apache.struts.validator.DynaValidatorForm"> <form-property name="userName" type="java.lang.String" /> <form-property name="email" type="java.lang.String" /> </form-bean> </form-beans> <action-mappings> <action path="/Forgot" name="forgotUname" type=&q...

send mail without.. sendmail ?
It seems, in order to send mail off my ftp server, that I must run sendmail as a daemon process even if I dont want a mailer daemon running? Is there a way to tell sendmail: "Hey, I dont want you sitting on port 25. Just grab the stuff that has accumulated in /var/spool/*que, find the MX record for the recipient, and send it." ? I dont know anything about configuring sendmail, other than it's more than I can handle as a part time admin. Thanks, bl8n8r bad_knee <bl8n8r@yahoo.com> wrote: > It seems, in order to send mail off my ftp server, that I must run > sen...

Sendmail not sending mails immediately
Hello, We've got a Solaris 9 x86 box which sends notification mails and we would like those mails to be sent immediately. Currently there are sitting in the queue a few minutes and then they get sent. I didn't configure anything differently no that box. And sendmail is running as the following: root 282 1 0 Dec 21 ? 0:01 /usr/lib/sendmail -bd -q15m smmsp 283 1 0 Dec 21 ? 0:00 /usr/lib/sendmail -Ac -q15m My question now is: how do I configure sendmail to send immediately mails ? Regards > root 282 1 0 Dec 21 ? 0:01 /usr/lib/sendmail -bd -q15m > smmsp 283 1 0 Dec 21 ? 0:00 /usr/lib/sendmail -Ac -q15m Replace -q15m with -q1s Sincerely, Francesco -- To contact me remove the "NOSPAM" part from my e-mail address. I should add that -q1s implies that sendmail will process the mail queue every single second... so it's unnecessary overhead. I suggest you try with -q1m so it's once every minute... it's not too bad, but it could still be too much overhead for your system. Try to find a compromise between response times and overhead. I suggest you read the sendmail manual page for further information about the command line options... Sincerely, Francesco -- To contact me remove the "NOSPAM" part from my e-mail address. Syn <syn_NOSPAM_uw@hotmail.com> writes: >We've got a Solaris 9 x86 box which sends notification mails an...

HTML mail using sendmail
I am trying to use sendmail to send an HTML email. Is there something special in the header to let the email client know that it is an html file? I am creating a flat file with all the required information but when I put in the body of the email (Html) it just sends the html commands and that is what is displayed in the email. Not the pictures etc. I want displayed. Here is a copy of what I am sending to send mail: From: sales@my-domain.com To: rthomas@my-domain.com Cc: Bcc: Subject: New User Registration <html> <head> <title>New User Registration</title> <link rel=stylesheet href="" type="text/css"> </head> <body bgcolor="#ffffff" text="#000000" link="#000080" alink="#000080" vlink="#000080"> <img src ="http://my-domain.com/images/PMR_RB_LogoB.jpg"> </head> </html> John Smith 16 whatever street nowhere, NY 1111 845-999-9999 test@no-co.com Business Windows More than 5 As an MTA, Sendmail is agnostic about the content of your message. You are in the wrong newsgroup. You should learn about generating MIME compliant e-mail messages. Many languages like Perl or PHP have libraries that can do just that. It is also considered bad behaviour to send HTML only e-mails. Not all e-mail clients can read them. Always provide an alternative plain text message. Hope this helps, Patrick Vande Walle rkthomas65@gmail.com said the follow...

Sendmail refuses to send mail
Hi, only recently have I started using sendmail (8.11) on a RedHat 7.1 linux machine. Up till now I've only been able to receive e-mail (both local and remote). Sending e-mail to a valid e-mail address stops with a dsn 4.0.0 and "no route to host", even though I can ping the domain in the e-mail address. Traceroute however is unable to come up with an answer. What do I do wrong? Any place I can find a clear description of what is happening? Thanks in advance! --------------= Posted using GrabIt =---------------- ------= Binary Usenet downloading made easy =--------- -= Get GrabIt for free from http://www.shemes.com/ =- newbie_at_sendmail wrote: > only recently have I started using sendmail (8.11) on a RedHat 7.1 linux machine. > Up till now I've only been able to receive e-mail (both local and remote). > Sending e-mail to a valid e-mail address stops with a dsn 4.0.0 and "no route to host", even though I can ping the domain in the e-mail address. Traceroute however is unable to come up with an answer. > > What do I do wrong? Any place I can find a clear description of what is happening? Start by posting some log entries from an email that is bouncing. I would also be tempted to think about sniffing the SMTP traffic. However seeing as how the message is being rejected with a 4xx series code, it should still be in a mail queue on your system (presuming that it is the system your server is passing the message off to th...

How to configure sendmail to send mails
FUP from comp.lang.python Am Donnerstag, 5. September 2013 15:38:25 UTC+2 schrieb Ferrous Cranus: > =CE=A3=CF=84=CE=B9=CF=82 5/9/2013 4:29 =CE=BC=CE=BC, =CE=BF/=CE=B7 feedth= etroll =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: >>> uses DoveCot as enaled mail server but i have no idea how to >>> setip up to work. >>> i cannot connect to it via my python script. >> OK, I should have been more exact: >> To send mails you need a "smtp-server" (MTA - Mail Transfer Agent, >> Message Transport Agent) like postfix, exim, sendmail, ... >> >> DoveCot is good for "reading" mail (=3D"mailbox management", "pop3(s)", >> "imap(s)"). You cannot send mails using DoveCot. (You can use a >> WebMailService to access DoveCot for reading and a MTA for sending mails= ..) >> >> So you have to find out, which MTA you installed (you have root access, >> don't you) and configure it. >> >> But this is (like so often) becoming extremely offtopic. >=20 > i as root just inatslled >=20 > sendmail and mailx. i have edited the ~/.mailrc to use: > > nikos@superhost.gr [~/www/cgi-bin]# cat ~/.mailrc > account gmail { > set smtp-use-starttls > set smtp=3Dsmtp://smtp.gmail.com:587 > set smtp-auth=3Dlogin > set smtp-auth-user=3Dmay)gmail > set smtp-auth-password=3Dmy_gmail_pass_not_stupid_enough_to_w...

how to force sendmail to forward mails to another mail server?
Hi all, Currently we have 2 machines for mail (a smtp server and a pop server) Currently, sendmail accepts and sends out mail for our domain. We'd like sendmail to just send out mails but when it receives mails, it should forward it to our pop server. should we use mailertable for this or some other method? thanks for any info ike lozada schrieb: > Hi all, > > Currently we have 2 machines for mail (a smtp server and a pop server) > Currently, sendmail accepts and sends out mail for our domain. We'd > like sendmail to just send out mails but when it receives mails, ...

can't send mail using mail()
hello, i am new to sending mail with php. the first function i tried is the mail(). when i passed the required parameters (to, message,subject), the apache error log said that the parameters are uninitialised. but the parameters already had value. do you know what is wrong? thank you fasisi wrote: > hello, > > i am new to sending mail with php. the first function i tried is the > mail(). when i passed the required parameters (to, message,subject), > the apache error log said that the parameters are uninitialised. but > the parameters already had value. > > do you know what is wrong? > > thank you Sorry, my crystal ball is broken. I can't see your code. Try posting your code so we can see what might be wrong. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ================== On Mar 16, 8:14=A0pm, Jerry Stuckle <jstuck...@attglobal.net> wrote: > fasisi wrote: > > hello, > > > i am new to sending mail with php. the first function i tried is the > > mail(). when i passed the required parameters (to, message,subject), > > the apache error log said that the parameters are uninitialised. but > > the parameters already had value. > > > do you know what is wrong? > > > thank you > > Sorry, my crystal ball is broken. =A0I can't see your code. > > Try posting your code so we can s...

Mail will not send mail but will receive mail
At work I have a Wallstreet with Jaguar connected to a DSL line. Up until a couple days ago I have been able to use my personal ISP smtp address to send and receive mail. This is not the same company as the DSL provider. A couple days ago I was able to receive posts but not send them. I tried repairing permissions, and trashing the Mail prefs. Finally I emailed my ISP and the response was that I have to use the DSL carrier's smtp address. Yet, I've been using my personal ISP's smtp address for about a year. At home I use a dialup with the ISP and everything works fi...

i am getting error while sending mail using mail() function
i am getting following error. Warning: mail() [function.mail]: Failed to connect to mailserver at "smtp.gmail.com" port 465, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in D:\LUGUBA\root\site\temp5.php on line 8 i have done the following (1) in php.ini file SMTP = smtp.gmail.com smtp_port = 465 sendmail_from = kathlal.panjabi@gmail.com (2) i am sendig mail using mail() function and i am passing only defaulst arguments to,subject,body is it enough to send a mail or something is missing?? and do not i need to give password of my above email address kathlal.panjabi@gmail.com thxs for help in advance....... vishal wrote: > i am getting following error. > > Warning: mail() [function.mail]: Failed to connect to mailserver at > "smtp.gmail.com" port 465, verify your "SMTP" and "smtp_port" setting > in php.ini or use ini_set() in D:\LUGUBA\root\site\temp5.php on line 8 > I think it's very nlikely that Gmail will allow relaying, although you should be able to send to your own account. Port 465 is for SMPTS (i.e. SSL wrapped SMTP) C. *** vishal wrote/escribi� (6 Apr 2005 02:35:56 -0700): > SMTP = smtp.gmail.com > smtp_port = 465 > sendmail_from = kathlal.panjabi@gmail.com Gmail's SMTP server only allows encrypted connections; it also requires a username and password. I don't think that mail() function can do such a job. You should find a diffe...

Sendmail does not send mail (inexperienced user)
Hi everyone, I am new to using Sendmail. I am trying to figure out why my system no longer sends emails. It was originally configured to work with Bugzilla and emails were sent without a problem through sendmail. The server's static IP address on the network was changed, and now messages are not sent (or at least not being received by anything). I tried to manually send through the command line and it looks like there aren't any problems according to status messages in verbose mode: [root@venice bin]# mail someone@company.com -v Subject: testing456 asdf jkl; this is the homerow! Cc: anotherone@company.com someone@company.com,anotherone@company.com... Connecting to [127.0.0.1] via relay... 220 venice.company.lab ESMTP Sendmail 8.13.6/8.13.6; Wed, 7 Jun 2006 14:08:58 -0700 >>> EHLO venice.company.lab 250-venice.company.lab Hello venice.company.lab [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-AUTH DIGEST-MD5 CRAM-MD5 250-DELIVERBY 250 HELP >>> MAIL From:<root@venice.company.lab> SIZE=88 AUTH=root@venice.company.lab 250 2.1.0 <root@venice.company.lab>... Sender ok >>> RCPT To:<someone@company.com> >>> RCPT To:<anotherone@company.com> >>> DATA 250 2.1.5 <someone@company.com>... Recipient ok 250 2.1.5 <anotherone@company.com>... Recipient ok 354 Enter mail, end with "." on a line by itself >>> . 250 2.0....

How to send mail without sendmail running?
I'm positive that I've sent email from a Linux system before, WITHOUT sendmail running. When I tried to do this on a Fedora Core 1 box running sendmail 8.12, I could not send email to anyone on the localhost, or to an outside domain. Is there a way to configure sendmail so that it's not running, but will still allow sending email to external domains, other users on that host, mail from cron jobs, etc.? -Thanks Fred <itfred@cdw.com> writes: >I'm positive that I've sent email from a Linux system >before, WITHOUT sendmail running. When I tried to do >this on a Fedora Core 1 box running sendmail 8.12, I >could not send email to anyone on the localhost, or >to an outside domain. Is there a way to configure >sendmail so that it's not running, but will still >allow sending email to external domains, other users >on that host, mail from cron jobs, etc.? The best solution is to run a sendmail daemon listening *only* on 127.0.0.1 . That is probably the fedora default configuration. If you want it to run the old way, then chmod 4555 sendmail rm /etc/mail/submit.cf ### or rename to submit.cf.dist On Sat, 26 Jun 2004 15:29:27 +0000, Neil W Rickert wrote: > The best solution is to run a sendmail daemon listening > *only* on 127.0.0.1 . That is probably the fedora default > configuration. > > If you want it to run the old way, then > > chmod 4555 sendmail > rm /etc/mail/submit.cf ### or ...

Can not send mail to my Sendmail Server ?
Hi, I set up a sendmail server ( The IP I use is for dummy ): 1. I can email outside from the local host ( by using sendmail -v -t ), up to this moment, I just use IP for the Email Server, the DNS Record is not set yet; e.g. bensonlei@203.194.23.33 2. But I can not reply to the above email address 3. I can not telnet 203.194.23.33 port 110 , nor telnet 203.194.23.33 port 143 from outside, but I can telnet localhost 110, and telnet localhost 143. I installed the service imapd and ipop3d.. What is the problem and how to solve them ? The error messages: Message from ...

Problem sending mail via sendmail
Hello all, First off, please forgive me as I am not very familiar with sendmail, so my question may be worded poorly or the answer may be very obvious. I am setting up a new mail server running sendmail as the MTA. I am attempting to configure it so that anyone on our IP block can access it and send mail via SMTP without a username or password, and to reject mail from outside sources. Well, I can get it to reject mail, all right: everything comes back with this error: An error occurred while sending mail. The mail server responded: 5.7.1 <matt.singerman@gmail.com>... Relaying denied. IP name lookup failed [141.161.111.116]. Please verify that your email address is correct in your Mail preferences and try again. (This is the error that Thunderbird gave me when trying to send a message.) Where can I configure sendmail to allow messages coming from a specific ip range, in this case 141.161.x.x? Or is this something I would have to configure in a system file (I am running FreeBSD)? Any and all help will be greatly appreciated. Thanks, Matt Aha. Okay, so I found that using /etc/mail/relay-domains and putting in just 141.161. works. However, is this really the best way to do this? I'm not really all that familiar with sednmail and whatnot, but should I be "relaying" mail coming from addresses on my own network? I mean, hey, it works, but it just doesn't seem like the way things are supposed to work. "Matt Singerman" <matt.s...

sending mail using Unix mail program from Sicstus Prolog
Forgive me if this is a newbie question. I am looking for a simple way to send email using sicstus prolog. The closest thing that i have found to a solution is using system() to access the Unix mail command. The problem that i am having is coming up with a way to specify the command in a dynamic way. I need to pass system() an atom, if i am not mistaken, but i don't know how to do it. I am looking for something like: mail(Subject, Recipient, Body) :- system('mail -s Subject Recipient <Body'),!. So, my question is, how do i generate the command to pass to system? Sincerely, ...

Send mail without running sendmail
I would like to know how I can send mails out from my Linux machine (RedHat 9) without running sendmail services. In specific, when I execute "mail abc@yahoo.com < /tmp/logfile", I get an error stating "Connection refused by [127.0.0.1]" in maillog file. Can somebody advise how I can point to external SMTP server for mail sending? Thanks. Karan wrote: > I would like to know how I can send mails out from my Linux machine > (RedHat 9) without running sendmail services. > > In specific, when I execute "mail abc@yahoo.com < /tmp/logfile", I get > an error stating "Connection refused by [127.0.0.1]" in maillog file. > > Can somebody advise how I can point to external SMTP server for mail > sending? Thanks. You shall run sendmail services with the default configuration values, i.e., listening on address 127.0.0.1. Your sendmail.mc shall have : DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl Karan wrote: > I would like to know how I can send mails out from my Linux machine > (RedHat 9) without running sendmail services. > > In specific, when I execute "mail abc@yahoo.com < /tmp/logfile", I get > an error stating "Connection refused by [127.0.0.1]" in maillog file. > > Can somebody advise how I can point to external SMTP server for mail > sending? Thanks. IF you use sendmail-8.12+ THEN you can make submit.cf (second *.cf file added in sendmail...

Probs in sending mail with sendmail service
Hi I am trying to setup sendmail service for my bugzilla server... installed and configured sendmail service. Here I am able to send mails with telnet <mysite> 25 successfully... But When I try to send mails with sendmail -v <mymailid> the mails are not getting delivered to the destination id... Following is the transcript: ---------------------------- [root@bug mail]# sendmail -v srinivas_matta@yahoo.com test test est .. srinivas_matta@yahoo.com... Connecting to [127.0.0.1] via relay... 220 localhost.localdomain ESMTP Sendmail 8.13.1/8.13.1; Mon, 16 Apr 2007 18:29:29 +0530 >>> EHLO localhost.localdomain 250-localhost.localdomain Hello bug [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-AUTH DIGEST-MD5 CRAM-MD5 250-DELIVERBY 250 HELP >>> MAIL From:<root@localhost.localdomain> SIZE=14 AUTH=root@localhost.localdomain 250 2.1.0 <root@localhost.localdomain>... Sender ok >>> RCPT To:<srinivas_matta@yahoo.com> >>> DATA 250 2.1.5 <srinivas_matta@yahoo.com>... Recipient ok 354 Enter mail, end with "." on a line by itself >>> . 250 2.0.0 l3GCxT6F002212 Message accepted for delivery srinivas_matta@yahoo.com... Sent (l3GCxT6F002212 Message accepted for delivery) Closing connection to [127.0.0.1] >>> QUIT 221 2.0.0 localhost.localdomain closing connection Tail of /var/log/maillog: ------------------------- Apr 16 18:29:...

Web resources about - using sendmail to send outoign mail only - comp.mail.sendmail

Open Source - Sendmail.com
Sendmail partners include a host of leading companies who share a proven track record of developing and delivering complimentary email products ...

Sendmail - Wikipedia, the free encyclopedia
This article is about the mail transfer agent. For the company, see Sendmail, Inc. . Sendmail is a general purpose internetwork email routing ...

Companies mobilize to patch Sendmail
... has security experts and software companies moving quickly to convince customers to apply a patch. A critical vulnerability in Sendmail, the ...

Sendmail hit by data interception flaw
Internet security researchers have discovered a serious flaw in versions of the widely-used Sendmail open-source e-mail software. The flaw could ...

Sendmail Adds Calendaring, Scheduling
E-mail server software developer Sendmail Inc. is branching out into groupware with the addition of its Calendar Server.


Sendmail Launches 'Rogue Email Application Control' Appliance
Sendmail this week announced the release of the Sentrion Rogue Email Application Control (REAC) appliance, a new offering designed to address ...

Another vulnerability found in Sendmail
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners . You can withdraw ...

Sendmail Hit by Data Interception Flaw - Slashdot
FreeBSD also has details in their security notification. Those guys are fast - if you want to have up to date info on security vulns., FreeBSD ...

Email Offline At the Home of Sendmail 179
... "The UC Berkeley email system has been either offline, or only providing limited access, for more than a week. How can the place where sendmail ...

Resources last updated: 3/25/2016 7:11:47 AM