Hi,
On 12/20/14 21:48, Vijay Sankar wrote:
I would like to try to help -- but not sure that I have understood
your problem correctly, so here is a guess.
To clarify: Out of the box OpenBSD5.6 uses
/usr/share/sendmail/cf/openbsd-localhost.mc as the config source for its
mail system. This file defines LOCALHOST_ONLY and includes
openbsd-proto.mc. So i am advised to compile a modified version of
openbsd-proto.mc, right?
There, i can define SMART_HOST which relays all outgoing mail to a
certain server. But is sendmail.cf not used for all local users? So
what, if different users need different relays?
Do you have a DNS entry that shows your OpenBSD IP as the valid MX
record for your domain? If not, probably the remote mail server is
rejecting email from your server. Or may be of the remote email server
is authoritative for your domain then it is not set up to accept email
relayed through your server.
I am thinking that if there are no DNS issues, then you can use the
default sendmail.cf, edit mailertable to send everything for your
domain.com to the remote mail server and it should work.
I do not have a static IP but am dialing up. My mother and i each have
an account at a certain mail server, one for me and a different one for
my mother -- servers which store mail meant for and send it to us, when
connect via IMAP or POP3. We also want to relay outgoing mail thru those
mail servers.
My problem is, that I am trying to archieve that using $mail, not
Thunderbird. But wait: I used to have four instances of smtpd running on
the computer, but after i installed Thunderbird i now have seven. When i
now try $mail -s test grasso...@versanet.de, i can send a message. But
delivery fails because the sender is 1000@localhost, while it should be
grasso...@versanet.de
Cut short, my problem: Noone of OpenBSD helped the possibility, that
someone on dial-up uses $mail.
Uli