Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 2003 20:47:03 +0200
From:      Toni Schmidbauer <toni@stderror.at>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to send a PR without send-pr?
Message-ID:  <20030812184703.GC14078@devil.stderror.at>
In-Reply-To: <5.2.0.9.1.20030812180445.0196f180@postamt1.charite.de>
References:  <5.2.0.9.1.20030812180445.0196f180@postamt1.charite.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--NKoe5XOeduwbEQHU
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 12, 2003 at 06:23:21PM +0200, Alexander Haderer wrote:
> hello,
>=20
> I have just made a new port which I want to make available for the ports=
=20
> collection. The problem I have:
>=20
> - The web based PR submit form is down.
> - send-pr does not work for me because I am sitting behind a firewall
>=20
> We have a global mail server for our company that handles all mail traffi=
c.=20
> Users contact this mail server with their favourite mail clients (Netscap=
e,=20
> Kmail, Eudora, ...) via SMTP with auth or SMTP after POP. My FreeBSD=20
> workstation from which I want to send the PR via send-pr has its default=
=20
> sendmail config and can not send mail to anywhere outside the world. This=
=20
> is no problem so far as I just use a Win-mail client for my mail=20
> communication.
>=20
> When I run send-pr I get an email to my campus email account:
>    ....
>    The original message was received at Tue, 12 Aug 2003 17:59:29 +0200=
=20
>    (CEST)
>    from localhost.str.charite.de [127.0.0.1]
>=20
>       ----- The following addresses had permanent fatal errors -----
>    <FreeBSD-gnats-submit@freebsd.org>
>        (reason: 554 <FreeBSD-gnats-submit@freebsd.org>: Relay access deni=
ed)
>    ...
>=20
> I asked the network admins how to configure my FreeBSD box and they told =
me=20
> to set a relay host in my config. I looked into /etc/mail and=20
> /usr/share/sendmail/cf/README and saw a lot of things I really don't want=
=20
> to know about.
>=20
> Q1: How can I submit the PR without send-pr and without the web-interface?
>=20
> (or, if this to complicated:)
>=20
> Q2: Is there a chance to setup my local sendmail that it can send mail=20
> worldwide?

trying to answer q2 because q1 was too complicated :-)

edit /etc/mail/submit.cf and change

D{MTAHost}[localhost]=20

to

D{MTAHost}[<global mail server>]

restart sendmail. this is untested, so let me know if it works
for you.

because relaying over <global mail server> is only permitted
after a successfull pop login, use fetchmail just before sending
the mail:

fetchmail -c -p pop3 -u <your username> <global mail server>

hth,
toni
--=20
Behandle die Menschen, als w=E4ren sie, was sie sein | toni at stderror dot=
 at
sollten, und du wirst ihnen helfen, zu werden, was | Toni Schmidbauer
sie sein k=F6nnen.  - Johann Wolfgang von Goethe     |

--NKoe5XOeduwbEQHU
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE/OTYnu/mjSj7RMocRAnYSAJ9hq9/3Gbk4+HCKUpnORDM+qNDFzgCfcMZe
Tsid+djZC1IHshHNEi+NvkU=
=EJqO
-----END PGP SIGNATURE-----

--NKoe5XOeduwbEQHU--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030812184703.GC14078>