Re: send e-mail without use sendmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John Summerfield wrote:

I'm looking for a line command utility (MTA) which send an email direct
to a SMTP external server.

if I use: "echo bye|mutt -s bye user@xxxxxx"

the message is send to local sendmail, then sendmail send it to mx
record dom.it, but dom.it refuse me for security and anti-spam reason.

I'm looking for a command which send my message direct to my provider,
like evolution or Thunderbird do.

You don't need to stop using sendmail for that, just configure it to do what you want. Edit /etc/mail/sendmail.mc where it says:

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

This is the "correct" way to do it.



In a later email, Les, you recommend masquerading. This will probably work for Dario, but it has the disadvantage that it only works if there's a one-one mapping: if debian@here is the same as debian@xxxxxxxxxxxxxx, my Internat Access Provider.

In my case that's not so, and if debian@xxxxxxxxxxxxxx does exist, then it's certainly not me.

Masquarading is mostly to give a legal qualified host name for machines that don't have one. If you need some other From: address, put it on the message yourself or configure your mail client to do it instead of taking the default.

--
  Les Mikesell
    lesmikesell@xxxxxxxxx

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux