Re: send e-mail without use sendmail



Dario Lesca wrote:
Il giorno mer, 31/10/2007 alle 10.14 -0600, Frank Cox ha scritto:
On Wed, 31 Oct 2007 11:03:02 -0500
Les Mikesell <lesmikesell@xxxxxxxxx> wrote:

dnl # Uncomment and edit the following line if your outgoing mail needs to
dnl # be sent out through an external mail server:
dnl #
dnl define(`SMART_HOST', `smtp.your.provider')dnl
I never figured out how to make that work when the ISP's mailserver requires SMTP AUTH. Not that I tried very hard, I suppose.

The SMTP server not use SMTP AUTH, is my email server, I have check this
option, I have set on internal server the smarthost option, the message
is send to smarthost (my email server) but the message, send from my
email server to destination mailserver, have the header not correctly
set (Return-Path: <root@xxxxxxxxxxxxxxxxxxxxx>), then my message is
reject from many mailserver.

Now I still check "email" http://www.cleancode.org/projects/email ....

You must have a real domain name to send email. That won't change even if you use a different tool to send, and most destinations will reject on that basis. If your hostname isn't set to a fully qualified internet domain, tell sendmail to rewrite the outgoing messages with your isp email address.
dnl # The following example makes mail from this host and any additional
dnl # specified domains appear to be sent from mydomain.com
dnl #
dnl MASQUERADE_AS(`mydomain.com')dnl

And if this mail is generated as root, you'll want to comment this line with a leading dnl:
EXPOSED_USER(`root')dnl

--
Les Mikesell
lesmikesell@xxxxxxxxx

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: [SLE] Seeking help with mail-server setup
    ... if you want to use the suse default mail server, ... Webmin won't configure you server options for you, ... # After the `divert' all lines starting with `dnl' are ... is the actual maintence of the mail server is so ...
    (SuSE)
  • Re: logwatch failing on mail to user
    ... If it worked through an external system (i.e. your ISP's mail server), ... dnl # Uncomment and edit the following line if your outgoing mail needs to ... Other configuration parameters of sendmail determine that. ...
    (Fedora)
  • sendmail , STARTTLS, on sympatico
    ... I have been trying to get sendmail to send mails throug smtphm.sympatico.ca mail server, ... Joined below are the relevant files (log sample of failed connection, ..mc file, access, generictable and auth-info ... dnl Uncomment to allow relaying based on your MX records. ... dnl DNS based black hole lists come and go on a regular basis ...
    (comp.mail.sendmail)
  • Cant get any mail out with sendmail
    ... I'm using sendmail as part of my A@H 2.8 setup. ... I want to configure sendmail to use that server as smart-host for all ... dnl FEATUREdnl ... host name lookup failure ...
    (comp.mail.sendmail)
  • Re: Do I have an open relay?
    ... networks or IP addresses you wish to be able to use your server to relay ... > dnl Uncomment to allow relaying based on your MX records. ... > dnl DNS based black hole lists come and go on a regular basis ...
    (freebsd-questions)