🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
43 messages
43 total messages Started by John F. Morse Tue, 18 Oct 2005 08:37
Daily Usenet report
#72462
Author: John F. Morse
Date: Tue, 18 Oct 2005 08:37
14 lines
1282 bytes
The INN Daily Report e-mail is going to:

To: usenet@innpc.my.net

I must read it on this host, either from the console, or SSH from remotely.

How can I change the addressee to an e-mail address on a remote MTA, like:

To: me@mail.remote.net?

TIA

-- 
John
Re: Daily Usenet report
#72464
Author: Christian Kratzer
Date: Tue, 18 Oct 2005 10:22
23 lines
1712 bytes
Hi,

John F. Morse <xanadu.bbs@invalid.net> wrote:
> The INN Daily Report e-mail is going to:
> 
> To: usenet@innpc.my.net
> 
> I must read it on this host, either from the console, or SSH from remotely.
> 
> How can I change the addressee to an e-mail address on a remote MTA, like:
> 
> To: me@mail.remote.net?

edit the aliases file of the mailer on your newserver and change the
usenet and news aliases to point whereever you want the mails to go to.

Greetings
Christian

-- 
Christian Kratzer                       ck+usenet@cksoft.de
CK Software GmbH                        http://www.cksoft.de/
Phone: +49 7452 889 135                 Fax: +49 7452 889 136
Re: Daily Usenet report
#72465
Author: John F. Morse
Date: Tue, 18 Oct 2005 13:12
48 lines
2060 bytes
Christian Kratzer wrote:
> Hi,
> 
> John F. Morse <xanadu.bbs@invalid.net> wrote:
> 
>>The INN Daily Report e-mail is going to:
>>
>>To: usenet@innpc.my.net
>>
>>I must read it on this host, either from the console, or SSH from remotely.
>>
>>How can I change the addressee to an e-mail address on a remote MTA, like:
>>
>>To: me@mail.remote.net?
> 
> 
> edit the aliases file of the mailer on your newserver and change the
> usenet and news aliases to point whereever you want the mails to go to.
> 
> Greetings
> Christian
> 

I have /etc/aliases which has:

# /etc/aliases
mailer-daemon: postmaster
postmaster: root
nobody: root
hostmaster: root
usenet: root
news: root
webmaster: root
www: root
ftp: root
abuse: root
noc: root
security: root
root: john

Can I simply change the last entry to:

root: me@my.net

to get all of the aliases shipped to my MTA?

-- 
John
Re: Daily Usenet report
#72466
Author: Christian Kratzer
Date: Tue, 18 Oct 2005 14:26
44 lines
2113 bytes
Hi,

John F. Morse <xanadu.bbs@invalid.net> wrote:
[snipp]
>> edit the aliases file of the mailer on your newserver and change the
>> usenet and news aliases to point whereever you want the mails to go to.
>> 
>> Greetings
>> Christian
>> 
> 
> I have /etc/aliases which has:
> 
> # /etc/aliases
> mailer-daemon: postmaster
> postmaster: root
> nobody: root
> hostmaster: root
> usenet: root
> news: root
> webmaster: root
> www: root
> ftp: root
> abuse: root
> noc: root
> security: root
> root: john
> 
> Can I simply change the last entry to:
> 
> root: me@my.net
> 
> to get all of the aliases shipped to my MTA?

yes.   Remember to run newaliases or similar depending 
on what MTA you have an the server after editing the file.

Greetings
Christian

-- 
Christian Kratzer                       ck+usenet@cksoft.de
CK Software GmbH                        http://www.cksoft.de/
Phone: +49 7452 889 135                 Fax: +49 7452 889 136
Re: Daily Usenet report
#72467
Author: Eric Edwards
Date: Tue, 18 Oct 2005 17:45
20 lines
1491 bytes
On Tue, 18 Oct 2005 03:37:56 -0500, John F. Morse <xanadu.bbs@invalid.net> wrote:
>The INN Daily Report e-mail is going to:
>
>To: usenet@innpc.my.net
>
>I must read it on this host, either from the console, or SSH from remotely.
>
>How can I change the addressee to an e-mail address on a remote MTA, like:
>
>To: me@mail.remote.net?

Look in /usr/local/news/bin/innshellvars

Change
NEWSMASTER=usenet
to
NEWSMASTER=me@mail.remote.net 

-- 
Photos and travelogues from Africa and Southeast Asia: http://www.exile.org
Re: Daily Usenet report
#72468
Author: Eric Edwards
Date: Tue, 18 Oct 2005 21:47
25 lines
1688 bytes
On Tue, 18 Oct 2005 17:45:14 +0000 (UTC), Eric Edwards <ese002@news9.exile.org> wrote:
>On Tue, 18 Oct 2005 03:37:56 -0500, John F. Morse <xanadu.bbs@invalid.net> wrote:
>>The INN Daily Report e-mail is going to:
>>
>>To: usenet@innpc.my.net
>>
>>I must read it on this host, either from the console, or SSH from remotely.
>>
>>How can I change the addressee to an e-mail address on a remote MTA, like:
>>
>>To: me@mail.remote.net?
>
>Look in /usr/local/news/bin/innshellvars

Oops.  I meant /usr/local/news/lib/innshellvars

>Change
>NEWSMASTER=usenet
>to
>NEWSMASTER=me@mail.remote.net 
>


-- 
Photos and travelogues from Africa and Southeast Asia: http://www.exile.org
Re: Daily Usenet report
#72471
Author: John F. Morse
Date: Wed, 19 Oct 2005 13:53
57 lines
2408 bytes
Christian Kratzer wrote:
> Hi,
> 
> John F. Morse <xanadu.bbs@invalid.net> wrote:
> [snipp]
> 
>>>edit the aliases file of the mailer on your newserver and change the
>>>usenet and news aliases to point whereever you want the mails to go to.
>>>
>>>Greetings
>>>Christian
>>>
>>
>>I have /etc/aliases which has:
>>
>># /etc/aliases
>>mailer-daemon: postmaster
>>postmaster: root
>>nobody: root
>>hostmaster: root
>>usenet: root
>>news: root
>>webmaster: root
>>www: root
>>ftp: root
>>abuse: root
>>noc: root
>>security: root
>>root: john
>>
>>Can I simply change the last entry to:
>>
>>root: me@my.net
>>
>>to get all of the aliases shipped to my MTA?
> 
> 
> yes.   Remember to run newaliases or similar depending 
> on what MTA you have an the server after editing the file.
> 
> Greetings
> Christian
> 


This didn't work, Christian.

Last night's INN report is frozen in Exim4.

If possible, I'd prefer to change something in INN, instead of the MTA on the INN box.

Eric has another idea that I'll try tomorrow.

I wonder if INN's inn.conf "mta" parameter couldn't be changed to point to another MTA on the LAN?

-- 
John
Re: Daily Usenet report
#72470
Author: Jeffrey M. Vinocur
Date: Wed, 19 Oct 2005 14:51
27 lines
2099 bytes
In article <546aa$43564fef$4097152a$18721@EVERESTKC.NET>,
John F. Morse <xanadu.bbs@invalid.net> wrote:
>
>If possible, I'd prefer to change something in INN, instead of the MTA
>on the INN box.

The parameter you're looking for is newsmaster, which is set at
compiletime by running ./configure with --with-news-master=...
The default value is "usenet".

You can't change it by modifying innshellvars; if you'd compiled
INN yourself it would be easy to fix, but since you're using a
package by far the easiest thing to do is modify your alias
config to adjust where "usenet" points.  If your attempt to do
this didn't work, then you should debug that!


>I wonder if INN's inn.conf "mta" parameter couldn't be changed to point
>to another MTA on the LAN?

This is not the purpose of that parameter.  You could probably
make it work in some ugly fashion, but I wouldn't advise it.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Daily Usenet report
#72472
Author: Christian Kratzer
Date: Wed, 19 Oct 2005 16:26
27 lines
2181 bytes
John F. Morse <xanadu.bbs@invalid.net> wrote:
[snipp]
> This didn't work, Christian.
> 
> Last night's INN report is frozen in Exim4.
> 
> If possible, I'd prefer to change something in INN, instead of the 
> MTA on the INN box.

editing aliases should be no problem. If the mail is "frozen" in exim
as you say, you have some other kind of problem unrelated to inn.

You will have to check the exim logs or perhaps even configure exim
appropriately.  Might even be you are having some kind of dns problems.
No way to tell.  Try using the mail command to send yourself mail from
the inn box to see if that works.  

If the above doesn't work there is no point in making inn use another
address as it will also end up going through your mta.

Greetings
Christian

-- 
Christian Kratzer                       ck+usenet@cksoft.de
CK Software GmbH                        http://www.cksoft.de/
Phone: +49 7452 889 135                 Fax: +49 7452 889 136
Re: Daily Usenet report
#72473
Author: Bill Davidsen
Date: Wed, 19 Oct 2005 16:31
68 lines
3280 bytes
John F. Morse wrote:
> Christian Kratzer wrote:
> 
>> Hi,
>>
>> John F. Morse <xanadu.bbs@invalid.net> wrote:
>> [snipp]
>>
>>>> edit the aliases file of the mailer on your newserver and change the
>>>> usenet and news aliases to point whereever you want the mails to go to.
>>>>
>>>> Greetings
>>>> Christian
>>>>
>>>
>>> I have /etc/aliases which has:
>>>
>>> # /etc/aliases
>>> mailer-daemon: postmaster
>>> postmaster: root
>>> nobody: root
>>> hostmaster: root
>>> usenet: root
>>> news: root
>>> webmaster: root
>>> www: root
>>> ftp: root
>>> abuse: root
>>> noc: root
>>> security: root
>>> root: john
>>>
>>> Can I simply change the last entry to:
>>>
>>> root: me@my.net
>>>
>>> to get all of the aliases shipped to my MTA?
>>
>>
>>
>> yes.   Remember to run newaliases or similar depending on what MTA you 
>> have an the server after editing the file.
>>
>> Greetings
>> Christian
>>
> 
> 
> This didn't work, Christian.
> 
> Last night's INN report is frozen in Exim4.
> 
> If possible, I'd prefer to change something in INN, instead of the MTA 
> on the INN box.

Unfortunately if it can't deliver to that address you aren't going to be 
better off sending it another way. Did you test by sending mail right 
after you change the aliases and rebuilt the alias database?

This is where you want the change, not as something compiled in the 
application. Doing a workaround instead of fixing mail will eventually 
come back to bite you.

-- 
bill davidsen
   SBC/Prodigy Yorktown Heights NY data center
   http://newsgroups.news.prodigy.com
Re: Daily Usenet report
#72474
Author: John F. Morse
Date: Wed, 19 Oct 2005 17:16
31 lines
2380 bytes

Bill Davidsen wrote:

>> If possible, I'd prefer to change something in INN, instead of the 
>> MTA on the INN box.
>
>
> Unfortunately if it can't deliver to that address you aren't going to 
> be better off sending it another way. Did you test by sending mail 
> right after you change the aliases and rebuilt the alias database?
>
> This is where you want the change, not as something compiled in the 
> application. Doing a workaround instead of fixing mail will eventually 
> come back to bite you. 



I don't care to recompile INN.

I just thought it is more reasonable to fix a problem within INN, than 
modify another application to take care of INN's deficiencies.

I can easily add the INN PC to my Fetchmail configuration and grab the 
mail that way, letting it send it on to the main MTA.

That method is simple, but again it is using something external to INN, 
which should have an easy configuration available.

-- 
John
Re: Daily Usenet report
#72475
Author: John F. Morse
Date: Wed, 19 Oct 2005 17:37
102 lines
4766 bytes

Christian Kratzer wrote:

>John F. Morse <xanadu.bbs@invalid.net> wrote:
>[snipp]
>  
>
>>This didn't work, Christian.
>>
>>Last night's INN report is frozen in Exim4.
>>
>>If possible, I'd prefer to change something in INN, instead of the 
>>MTA on the INN box.
>>    
>>
>
>editing aliases should be no problem. If the mail is "frozen" in exim
>as you say, you have some other kind of problem unrelated to inn.
>
>You will have to check the exim logs or perhaps even configure exim
>appropriately.  Might even be you are having some kind of dns problems.
>No way to tell.  Try using the mail command to send yourself mail from
>the inn box to see if that works.  
>
>If the above doesn't work there is no point in making inn use another
>address as it will also end up going through your mta.
>
>Greetings
>Christian
>


Exim4 froze the daily INN report. It is not a problem with INN, if you 
don't consider INN not having some option to allow a different MTA a 
"problem." Perhaps this can be added in a future INN?

I really didn't want to bury myself with yet one more application to 
learn, but I read, and was able to get Exim4 to thaw and deliver the 
message (exim4 -M).

Exim4 is not my main MTA. It is a part of Debian. I've been using SIMS 
on a PowerMac for years, but want to switch it to Sendmail.

I'd like INN to send its reports to the SIMS box, but it appears this is 
impossible without recompiling INN. Even if this was done, I suspect INN 
has no SMTP engine and still needs a local MTA for reports and news-to-mail.

Perhaps your reminder to run "newaliases" is inappropriate with Exim4? I 
ran it and received no error message; just a new BASH prompt. I found a 
Sendmail -bi command to do this. Maybe "exim_dbmbuild" in Exim4 will 
suffice? (See info at the bottom of this message.)

Maybe I should have just changed the one "usenet" alias instead of the 
"root: john" entry?

I have /etc/aliases which has:
> 
> # /etc/aliases
> mailer-daemon: postmaster
> postmaster: root
> nobody: root
> hostmaster: root
> usenet: root
> news: root
> webmaster: root
> www: root
> ftp: root
> abuse: root
> noc: root
> security: root
> root: john
> 
> Can I simply change the last entry to:
> 
> root: me@my.net
> 
> to get all of the aliases shipped to my MTA?


yes.   Remember to run newaliases or similar depending 
on what MTA you have an the server after editing the file.


------------------------------------------------------------------------


      -bi

Sendmail interprets the /-bi/ option as a request to rebuild its alias 
file. Exim does not have the concept of a single alias file, and so it 
cannot mimic this behaviour. However, calls to //usr/lib/sendmail/ with 
the /-bi/ option tend to appear in various scripts such as NIS make 
files, so the option must be recognized.

If /-bi/ is encountered, the command specified by the bi_command 
configuration option is run, under the uid and gid of the caller of 
Exim. If the /-oA/ option is used, its value is passed to the command as 
an argument. The command set by bi_command may not contain arguments. 
The command can use the /exim_dbmbuild/ utility, or some other means, to 
rebuild alias files if this is required. If the bi_command option is not 
set, calling Exim with /-bi/ is a no-op
Re: Daily Usenet report
#72476
Author: John F. Morse
Date: Wed, 19 Oct 2005 17:51
16 lines
1649 bytes
Jeffrey M. Vinocur wrote:> 
> 
>>I wonder if INN's inn.conf "mta" parameter couldn't be changed to point
>>to another MTA on the LAN?
> 
> 
> This is not the purpose of that parameter.  You could probably
> make it work in some ugly fashion, but I wouldn't advise it.


What do you mean by "ugly fashion"?

If there is a way to make it do what I want, .... ;-)

-- 
John
Re: Daily Usenet report
#72478
Author: Jeffrey M. Vinocur
Date: Wed, 19 Oct 2005 21:18
23 lines
1854 bytes
In article <82604$4356879e$4097152a$7748@EVERESTKC.NET>,
John F. Morse <xanadu.bbs@invalid.net> wrote:
>Jeffrey M. Vinocur wrote:> 
>> 
>>>I wonder if INN's inn.conf "mta" parameter couldn't be changed to point
>>>to another MTA on the LAN?
>> 
>> This is not the purpose of that parameter.  You could probably
>> make it work in some ugly fashion, but I wouldn't advise it.
>
>What do you mean by "ugly fashion"?
>
>If there is a way to make it do what I want, .... ;-)

That parameter has to point to a unix command that will function
to send mail.  In theory you could set it to point to a script
that would do anything you wanted.  But you'd have to write that
script yourself.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Daily Usenet report
#72477
Author: Jeffrey M. Vinocur
Date: Wed, 19 Oct 2005 21:31
43 lines
2771 bytes
In article <Cvv5f.462161$5N3.278787@bgtnsc05-news.ops.worldnet.att.net>,
John F. Morse <xanadu.bbs@invalid.net> wrote:
>
>
>Exim4 froze the daily INN report. It is not a problem with INN, if you 
>don't consider INN not having some option to allow a different MTA a 
>"problem." Perhaps this can be added in a future INN?

It won't be.  A functional MTA is a prerequisite for installing
INN.  The INN maintainers have no interest in reimplementing all
the complexities of SMTP when there are many freely available.

You'll notice that INN also does not include a text editor, a
scheduled task runner, a scripting language, an implementation of
PGP, or any of a number of other programs that are routinely
available on your system.


>I'd like INN to send its reports to the SIMS box, but it appears this is 
>impossible without recompiling INN. 

The entire purpose of role addresses and the alias file is to
make this sort of change.  I probably shouldn't have even
mentioned the fact that there's a configure option for it.


>Even if this was done, I suspect INN 
>has no SMTP engine and still needs a local MTA for reports and news-to-mail.

I don't understand why you think this is a problem.


>Perhaps your reminder to run "newaliases" is inappropriate with Exim4? [...]

I think Exim doesn't require newaliases at all, but that it won't
do any harm.  But I really can't say for sure.  I think if you're
having continued trouble with your MTA, you'd do much better to
ask in a forum where people familiar with it hang out.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Daily Usenet report
#72479
Author: Christian Kratzer
Date: Wed, 19 Oct 2005 22:12
18 lines
1938 bytes
Hi,

John F. Morse <xanadu.bbs@invalid.net> wrote:
> I don't care to recompile INN.
> 
> I just thought it is more reasonable to fix a problem within INN, than 
> modify another application to take care of INN's deficiencies.

just to put it perfectly clear as somebody else already mentioned.
Your mta setup is broken. It is not inns fault. Inn is not an mta.

Greetings
Christian

-- 
Christian Kratzer                       ck+usenet@cksoft.de
CK Software GmbH                        http://www.cksoft.de/
Phone: +49 7452 889 135                 Fax: +49 7452 889 136
Re: Daily Usenet report
#72480
Author: John F. Morse
Date: Thu, 20 Oct 2005 08:01
37 lines
2581 bytes

Christian Kratzer wrote:

>Hi,
>
>John F. Morse <xanadu.bbs@invalid.net> wrote:
>  
>
>>I don't care to recompile INN.
>>
>>I just thought it is more reasonable to fix a problem within INN, than 
>>modify another application to take care of INN's deficiencies.
>>    
>>
>
>just to put it perfectly clear as somebody else already mentioned.
>Your mta setup is broken. It is not inns fault. Inn is not an mta.
>


Neither is RumorMill, my present mail server, running on a Mac.

It does mail reports, and news-to-mail, without any additional software. 
It also does mail-to-news without any other software.

Whether or not you consider this a "problem" in your situation is your 
opinion. In my situation, I do, and I think INN should have the ability 
to communicate without the necessity of installing and maintaining 
another application on a news server computer.

Exim4 is working -- it isn't broken. The configuration you mentioned, 
and what I suggested to do with it -- which you agreed to -- is what is 
broken.

-- 
John
Re: Daily Usenet report
#72481
Author: Matija Nalis
Date: Thu, 20 Oct 2005 08:19
41 lines
3384 bytes
On 2005-10-20, John F. Morse <xanadu.bbs@invalid.net> wrote:
> It does mail reports, and news-to-mail, without any additional software. 
> It also does mail-to-news without any other software.

UN*X philosophy, on the other hand is, "make one software do one thing, 
and do it well". Do not reimplement the wheel in every program. 

> Whether or not you consider this a "problem" in your situation is your 
> opinion. In my situation, I do, and I think INN should have the ability 
> to communicate 

INN ("InterNetNews") is intended to handle news. If you want e-mail reports,
you need software for sending e-mail (MTA). If you want web-based graphical
reports, you need web server and graphical tools (like apache and libpng).
If you want expiry to run automatically on some timed basis (instead of
manually running it on as-needed basis), you need a scheduler (like cron).
If you want to receive an SMS on critical notifications (such as disk space
low, or CPU overload), you need to configure you MTA to use some script for
sending SMS.

The advantage of this system is that you have to do e-mail setup (configure
your MTA) just once, even if you have hundreds of applications which use
e-mail. And that one MTA might be configured to do some extremely
complicated things by using other programs (like rewriting messages,
scanning for viruses, redirecting to SMS, turning on an emergency siren 
and rotating red ligts, etc.) which your MTA-bundled-with-some-random-software
certainly won't have (as it would usually have just the basic SMTP features).

> without the necessity of installing and maintaining 
> another application on a news server computer.
>
> Exim4 is working -- it isn't broken. The configuration you mentioned, 

It is broken. Maybe it is working only for local deliveries ?
You mention you use debian; dpkg-reconfigure exim4 should enable you to 
set it up for networked delivery also (as you want it to send mail to 
another machine)


-- 
Opinions above are GNU-copylefted.
Re: Daily Usenet report
#72483
Author: John F. Morse
Date: Thu, 20 Oct 2005 08:27
89 lines
3970 bytes

Jeffrey M. Vinocur wrote:

>In article <Cvv5f.462161$5N3.278787@bgtnsc05-news.ops.worldnet.att.net>,
>John F. Morse <xanadu.bbs@invalid.net> wrote:
>  
>
>>Exim4 froze the daily INN report. It is not a problem with INN, if you 
>>don't consider INN not having some option to allow a different MTA a 
>>"problem." Perhaps this can be added in a future INN?
>>    
>>
>
>It won't be.  A functional MTA is a prerequisite for installing
>INN.  The INN maintainers have no interest in reimplementing all
>the complexities of SMTP when there are many freely available.
>  
>


Never say, "never." ;-)

A functional MTA may be a requisite to get a daily report sent, but what 
other use would it have? Certainly not in "installing" INN.


>You'll notice that INN also does not include a text editor, a
>scheduled task runner, a scripting language, an implementation of
>PGP, or any of a number of other programs that are routinely
>available on your system.
>  
>


INN does not require any of these for day-to-day operation. INN does 
generate a daily e-mail report that needs to be mailed. INN should 
provide the means to do this and not rely upon some unknown outside 
application.


>>I'd like INN to send its reports to the SIMS box, but it appears this is 
>>impossible without recompiling INN. 
>>    
>>
>
>The entire purpose of role addresses and the alias file is to
>make this sort of change.  I probably shouldn't have even
>mentioned the fact that there's a configure option for it.
>  
>


Why not? I appreciate the information and thank you for mentioning it.


>>Even if this was done, I suspect INN 
>>has no SMTP engine and still needs a local MTA for reports and news-to-mail.
>>    
>>
>
>I don't understand why you think this is a problem.
>  
>


As I stated above, INN should do its own work, not rely on another 
unknown application, which may or may not even be installed.


>>Perhaps your reminder to run "newaliases" is inappropriate with Exim4? [...]
>>    
>>
>
>I think Exim doesn't require newaliases at all, but that it won't
>do any harm.  But I really can't say for sure.  I think if you're
>having continued trouble with your MTA, you'd do much better to
>ask in a forum where people familiar with it hang out.
>


I agree about the newaliases. The trouble is most likely in the Exim4 
configuration. Since Exim4 is very well documented, I can probably find 
the solution, but there is a lot to read. ;-)

Thanks for the suggestions; they are appreciated.

-- 
John
Re: Daily Usenet report
#72482
Author: Jeffrey M. Vinocur
Date: Thu, 20 Oct 2005 10:20
42 lines
2691 bytes
In article <LxI5f.159814$qY1.130714@bgtnsc04-news.ops.worldnet.att.net>,
John F. Morse <xanadu.bbs@invalid.net> wrote:
>
>
>Jeffrey M. Vinocur wrote:
>
>>It won't be.  A functional MTA is a prerequisite for installing
>>INN.  The INN maintainers have no interest in reimplementing all
>>the complexities of SMTP when there are many freely available.
>
>A functional MTA may be a requisite to get a daily report sent, but what 
>other use would it have? Certainly not in "installing" INN.

Well, in addition to the daily report and alerts of errors
requiring your attention, the ability to send email is
fundamental to the way moderated newsgroups work.  You don't need
it for the install process per se, but you absolutely cannot have
a functional INN without something that provides the interface
classically available with the unix `sendmail` command.


>>You'll notice that INN also does not include a text editor, a
>>scheduled task runner, a scripting language, an implementation of
>>PGP, or any of a number of other programs that are routinely
>>available on your system.
>
>INN does not require any of these for day-to-day operation.

Well, it certainly uses cron on a daily basis, practically by
definition.


>INN does generate a daily e-mail report that needs to be mailed.
>INN should provide the means to do this and not rely upon some
>unknown outside application.

This is not the unix way.  We'll just have to disagree about it.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Daily Usenet report
#72484
Author: John F. Morse
Date: Thu, 20 Oct 2005 11:02
103 lines
5111 bytes
Jeffrey M. Vinocur wrote:

>In article <LxI5f.159814$qY1.130714@bgtnsc04-news.ops.worldnet.att.net>,
>John F. Morse <xanadu.bbs@invalid.net> wrote:
>  
>
>>Jeffrey M. Vinocur wrote:
>>
>>    
>>
>>>It won't be.  A functional MTA is a prerequisite for installing
>>>INN.  The INN maintainers have no interest in reimplementing all
>>>the complexities of SMTP when there are many freely available.
>>>      
>>>
>>A functional MTA may be a requisite to get a daily report sent, but what 
>>other use would it have? Certainly not in "installing" INN.
>>    
>>
>
>Well, in addition to the daily report and alerts of errors
>requiring your attention, the ability to send email is
>fundamental to the way moderated newsgroups work.  You don't need
>it for the install process per se, but you absolutely cannot have
>a functional INN without something that provides the interface
>classically available with the unix `sendmail` command.
>  
>


Agreed. The NNTP server needs a way to send e-mail, even though I don't 
use moderated newsgroups.

However, it could be designed with a small SMTP engine, maybe "lifted" 
from Exim or Sendmail. I doubt that this would be a major hurdle from a 
savvy Unix programmer, who thought this addition would be an added 
"value" to the INN application, possibly making it more popular because 
it would be easier to configure.

You must always remember that not everybody who uses Unix/Linux has been 
doing so for years, and can read confusing manpages upside down in a mirror.

You and others "get by" because you've already been through the mill of 
learning, and have years of experience. My questions and whining must 
appear immature, but the questions are based upon valid "why is it this 
way? thinking. I see, what I believe are obvious shortcomings, and 
suggest ideas -- usually in the form of a question, to perhaps make the 
reader think about what I said or am seeing.

Just please never forget those newbies, who want to use Unix/Linux 
because it is fundamentally superior to the alternatives.


>>>You'll notice that INN also does not include a text editor, a
>>>scheduled task runner, a scripting language, an implementation of
>>>PGP, or any of a number of other programs that are routinely
>>>available on your system.
>>>      
>>>
>>INN does not require any of these for day-to-day operation.
>>    
>>
>
>Well, it certainly uses cron on a daily basis, practically by
>definition.
>  
>


Very true. It cannot run too long without housekeeping. The cron jobs 
are started by cron though, while outgoing e-mail is initiated by INN. 
So, INN also relies on cron to do what it might be able to do by looking 
directly at the system clock. This would be ridiculous because cron is 
available on any system do do this type of job scheduling.


>>INN does generate a daily e-mail report that needs to be mailed.
>>INN should provide the means to do this and not rely upon some
>>unknown outside application.
>>    
>>
>
>This is not the unix way.  We'll just have to disagree about it.
>


I think it is more an INN way than a Unix/Linux way.

People release new Unix/Linux software daily because they believe some 
changes and additions are necessary. They don't abandon a great OS and 
port their ideas to Windoze.

INN has gone through many updates, as has Unix/Linux.

It just makes sense to me to have one MTA at an installation, instead of 
a separate one running on each and every Unix/Linux box in the building.

What would Bill Gate$ say in one of his ad lies, about a Unix/Linux cost 
disadvantage in maintaining so many computers, when only one handles the 
news?

-- 
John
Re: Daily Usenet report
#72486
Author: Szymon Sokół
Date: Thu, 20 Oct 2005 11:08
15 lines
2209 bytes
John F. Morse <xanadu.bbs@invalid.net> wrote:

> You must always remember that not everybody who uses Unix/Linux has been 
> doing so for years, and can read confusing manpages upside down in a mirror.

At the risk of sounding arrogant, I must say: people who have not been using
Unix for years should not attempt to install and run INN. It is complicated
enough to be a PITA sometimes for experienced admins. A newbie admin + INN =
a disaster.

-- 
Szymon Sokół (SS316-RIPE) -- Network Manager                                B
Computer Center, AGH - University of Science and Technology, Cracow, Poland O
http://home.agh.edu.pl/szymon/ PGP key id: RSA: 0x2ABE016B, DSS: 0xF9289982 F 
Free speech includes the right not to listen, if not interested -- Heinlein H
Re: Daily Usenet report
#72487
Author: John F. Morse
Date: Thu, 20 Oct 2005 11:29
46 lines
3090 bytes

Szymon Sokół wrote:

>John F. Morse <xanadu.bbs@invalid.net> wrote:
>
>  
>
>>You must always remember that not everybody who uses Unix/Linux has been 
>>doing so for years, and can read confusing manpages upside down in a mirror.
>>    
>>
>
>At the risk of sounding arrogant, I must say: people who have not been using
>Unix for years should not attempt to install and run INN. It is complicated
>enough to be a PITA sometimes for experienced admins. A newbie admin + INN =
>a disaster.
>


I don't think that is arrogant at all, and have read that warning 
several times. Thanks for your observation.

However, I've used RumorMill on four hosts for nearly six years, so I'm 
not a newbie to NNTP.

I've also used Linux, actually even longer, but INN, like you say, is a 
learning experience of the highest caliber. Other services that I've 
installed (Apache, Fetchmail, ntpd, stunnel, etc.) are nowhere near as 
difficult -- nor as complicated. It just takes time and determination.

I don't mind learning. In fact, that is about all I live for. I'm 
getting old, nearly 61, therefore also getting impatient to do 
"everything" before I croak. I try to streamline everything so I can be 
more efficient.

I'll stick with INN until I master it, just like I did with RumorMill. 
I'm switching because of old Mac hardware, and because I found a 
"better" NNTP server application. If another NNTP server should be 
developed that is better than INN, I'll most likely move on to it. After 
all, the biggest and best always gets the most support, etc.

Again, thanks.

-- 
John
Re: Daily Usenet report
#72488
Author: John F. Morse
Date: Thu, 20 Oct 2005 12:11
79 lines
4465 bytes
Matija Nalis wrote:

>On 2005-10-20, John F. Morse <xanadu.bbs@invalid.net> wrote:
>  
>
>
>UN*X philosophy, on the other hand is, "make one software do one thing, 
>and do it well". Do not reimplement the wheel in every program.
>  
>


Makes sense, even though vehicles have multiple wheels.


>INN ("InterNetNews") is intended to handle news. If you want e-mail reports,
>you need software for sending e-mail (MTA). If you want web-based graphical
>reports, you need web server and graphical tools (like apache and libpng).
>If you want expiry to run automatically on some timed basis (instead of
>manually running it on as-needed basis), you need a scheduler (like cron).
>If you want to receive an SMS on critical notifications (such as disk space
>low, or CPU overload), you need to configure you MTA to use some script for
>sending SMS.
>
>The advantage of this system is that you have to do e-mail setup (configure
>your MTA) just once, even if you have hundreds of applications which use
>e-mail. And that one MTA might be configured to do some extremely
>complicated things by using other programs (like rewriting messages,
>scanning for viruses, redirecting to SMS, turning on an emergency siren 
>and rotating red ligts, etc.) which your MTA-bundled-with-some-random-software
>certainly won't have (as it would usually have just the basic SMTP features).
>  
>

Understood.


>>Exim4 is working -- it isn't broken. The configuration you mentioned, 
>>    
>>
>
>It is broken. Maybe it is working only for local deliveries ?
>You mention you use debian; dpkg-reconfigure exim4 should enable you to 
>set it up for networked delivery also (as you want it to send mail to 
>another machine)
>


Local deliveries might be the reason. I don't know. The Debian install 
is rather cryptic when it gives four choices for the MTA configuration. 
I've never seen this before in Mandrake, Fedora Core, Slackware, 
FreeBSD, etc.

Thanks for the "dpkg-reconfigure exim4" hint. I remember the Debian 
install mentioning something like this, and I even wrote it down 
somewhere. I searched back through all my notes yesterday, but that 
particular note eludes me.

I did try this, with several different methods:

dpkg-reconfigure exim4
dpkg-reconfigure Exim4
dpkg-reconfigure --force exim4
dpkg-reconfigure --force Exim4

All I could get was about a five-second pause in BASH while something 
was happening. The BASH prompt returned without anything else though.

I tried it on a faster Debian box and got the same results -- faster 
nothing. ;-)

I thought about removing the Exim4 package and reinstalling it. However 
synaptec informs me that it will also remove INN, mutt, .... 
Evidentially, everything that depends on Exim4.

Any other ideas?

-- 
John
Re: Daily Usenet report
#72490
Author: Szymon Sokół
Date: Thu, 20 Oct 2005 15:27
20 lines
2950 bytes
On Thu, 20 Oct 2005 12:11:27 GMT, John F. Morse wrote:

> I thought about removing the Exim4 package and reinstalling it. However 
> synaptec informs me that it will also remove INN, mutt, .... 
> Evidentially, everything that depends on Exim4.
> 
> Any other ideas?

My idea would be to drop Exim and move to Postfix, which is simpler and
easier to configure (at least IMHO). BTW, inn, mutt and other packages do
not actually depend on exim4 - they depend on a MTA package; whether the MTA
is exim, sendmail, postfix or something else that provides the same basic
functionality, they do not care. So, if you try to install postfix, it will
say that exim4 will be removed, but no other packages (inn, mutt...) should
be selected for removal.
-- 
Szymon Sokół (SS316-RIPE) -- Network Manager                                 B
Computer Center, AGH - University of Science and Technology, Cracow, Poland  O
http://home.agh.edu.pl/szymon/ PGP key id: RSA: 0x2ABE016B, DSS: 0xF9289982  F
Free speech includes the right not to listen, if not interested -- Heinlein  H
Re: Daily Usenet report
#72489
Author: John F. Morse
Date: Thu, 20 Oct 2005 15:41
30 lines
2834 bytes
Szymon Sokół wrote:
> On Thu, 20 Oct 2005 12:11:27 GMT, John F. Morse wrote:
> 
> 
>>I thought about removing the Exim4 package and reinstalling it. However 
>>synaptec informs me that it will also remove INN, mutt, .... 
>>Evidentially, everything that depends on Exim4.
>>
>>Any other ideas?
> 
> 
> My idea would be to drop Exim and move to Postfix, which is simpler and
> easier to configure (at least IMHO). BTW, inn, mutt and other packages do
> not actually depend on exim4 - they depend on a MTA package; whether the MTA
> is exim, sendmail, postfix or something else that provides the same basic
> functionality, they do not care. So, if you try to install postfix, it will
> say that exim4 will be removed, but no other packages (inn, mutt...) should
> be selected for removal.


Great info, Szymon. I will keep this message on file in my archive.

I've already started installing Debian on another computer, just to see what it asks about choosing the MTA configuration.

Since I am running a live NNTP server on the one Debian box, I'm not too comfortable about messing with it. I have 12 identical PCs on which to experiment.

Thanks for your help.

-- 
John
Re: Daily Usenet report
#72491
Author: Miquel van Smoorenburg
Date: Thu, 20 Oct 2005 19:34
33 lines
2797 bytes
In article <1ft6h6m5hgh9r.dlg@falcon.sloth.hell.pl>,
Szymon Sokó³  <szymon@bastard.operator.from.hell.pl> wrote:
>On Thu, 20 Oct 2005 12:11:27 GMT, John F. Morse wrote:
>
>> I thought about removing the Exim4 package and reinstalling it. However 
>> synaptec informs me that it will also remove INN, mutt, .... 
>> Evidentially, everything that depends on Exim4.
>> 
>> Any other ideas?

Yes. Run "dpkg --reconfigure exim-config", which will do what you want.

>My idea would be to drop Exim and move to Postfix, which is simpler and
>easier to configure (at least IMHO).

Under Debian that doesn't really matter; the package installation
asks you a few questions and does the config for you. If you're
not experienced with MTAs exim and postfix are both hard to configure
(and if you are experienced you'll preper exim4 :) :) )

You just have to know how that the package to reconfigure is
exim-config, not exim.

>not actually depend on exim4 - they depend on a MTA package; whether the MTA
>is exim, sendmail, postfix or something else that provides the same basic
>functionality, they do not care. So, if you try to install postfix, it will
>say that exim4 will be removed, but no other packages (inn, mutt...) should
>be selected for removal.

True. Enough people do "apt-get install postfix" or "apt-get install
sendmail" and use that instead of exim. Use what you know.

Mike.
Re: Daily Usenet report
#72493
Author: John F. Morse
Date: Fri, 21 Oct 2005 10:56
109 lines
4867 bytes
Miquel van Smoorenburg wrote:

>In article <1ft6h6m5hgh9r.dlg@falcon.sloth.hell.pl>,
>Szymon Sokó³  <szymon@bastard.operator.from.hell.pl> wrote:
>  
>
>>On Thu, 20 Oct 2005 12:11:27 GMT, John F. Morse wrote:
>>
>>    
>>
>>>I thought about removing the Exim4 package and reinstalling it. However 
>>>synaptec informs me that it will also remove INN, mutt, .... 
>>>Evidentially, everything that depends on Exim4.
>>>
>>>Any other ideas?
>>>      
>>>
>
>Yes. Run "dpkg --reconfigure exim-config", which will do what you want.
>
>  
>
>>My idea would be to drop Exim and move to Postfix, which is simpler and
>>easier to configure (at least IMHO).
>>    
>>
>
>Under Debian that doesn't really matter; the package installation
>asks you a few questions and does the config for you. If you're
>not experienced with MTAs exim and postfix are both hard to configure
>(and if you are experienced you'll preper exim4 :) :) )
>
>You just have to know how that the package to reconfigure is
>exim-config, not exim.
>
>  
>
>>not actually depend on exim4 - they depend on a MTA package; whether the MTA
>>is exim, sendmail, postfix or something else that provides the same basic
>>functionality, they do not care. So, if you try to install postfix, it will
>>say that exim4 will be removed, but no other packages (inn, mutt...) should
>>be selected for removal.
>>    
>>
>
>True. Enough people do "apt-get install postfix" or "apt-get install
>sendmail" and use that instead of exim. Use what you know.
>
>Mike.
>  
>


Mike,

Thanks a bunch for that hint. It was a jog to my memory.

As I mentioned before, I remember the command was written down 
somewhere, but the paper probably got filed in a folder for another 
computer.

I tried several different methods, then found the actual command which 
worked is:

# /usr/sbin/dpkg-reconfigure exim4-config

It brings up an ANSI screen with the different mail configurations listed.

I can easily rule out the last three, but I'm not sure which one of the 
first three would be the correct one which I want to use. (I may have #4 
now!)

I have a Mac SMTP/POP3 mail server on my LAN, running SIMS. I would like 
for the Debian clients, including the INN server box, to send their mail 
to the SIMS server.

I have static IP assignments on the LAN.

I would guess that in my case, the first type of configuration would be 
the one I need.

Would you agree?

Here is the text from that exim4-config ANSI screen:

------------------------------------------------------------------------
Configuring Exim v4 (exim4-config)
  Select the configuration type that best meets your needs.

  Systems with dynamic IP addresses, including dialup systems, should
  generally be configured to send outgoing mail to another machine, called
  a "smart host" for delivery. You can choose to receive mail on such a
  system; or to have no local mail delivery, except mail for root and
  postmaster.

  General type of mail configuration:

        internet site; mail is sent and received directly using SMTP
        mail sent by smarthost; received via SMTP or fetchmail
        mail sent by smarthost; no local mail
        local delivery only; not on a network
        manually convert from handcrafted Exim v3 configuration
        no configuration at this time
------------------------------------------------------------------------

TIA,

-- 
John
Re: Daily Usenet report
#72492
Author: Szymon Sokół
Date: Fri, 21 Oct 2005 11:09
22 lines
2470 bytes
John F. Morse <xanadu.bbs@invalid.net> wrote:
[----]
> I have a Mac SMTP/POP3 mail server on my LAN, running SIMS. I would like 
> for the Debian clients, including the INN server box, to send their mail 
                                                        ^^^^^^^^^^^^^^^^^^  
> to the SIMS server.
  ^^^^^^^^^^^^^^^^^^
[----]
> I would guess that in my case, the first type of configuration would be 
> the one I need.

Judging by the underlined fragment, you want #2:

>         internet site; mail is sent and received directly using SMTP
>         mail sent by smarthost; received via SMTP or fetchmail
          ^^^^^^^^^^^^^^^^^^^^^^
unless I misunderstood the part about SIMS server.
-- 
Szymon Sokół (SS316-RIPE) -- Network Manager                                B
Computer Center, AGH - University of Science and Technology, Cracow, Poland O
http://home.agh.edu.pl/szymon/ PGP key id: RSA: 0x2ABE016B, DSS: 0xF9289982 F 
Free speech includes the right not to listen, if not interested -- Heinlein H
Re: Daily Usenet report
#72494
Author: John F. Morse
Date: Fri, 21 Oct 2005 11:53
76 lines
3919 bytes

Szymon Sokół wrote:

>John F. Morse <xanadu.bbs@invalid.net> wrote:
>[----]
>  
>
>>I have a Mac SMTP/POP3 mail server on my LAN, running SIMS. I would like 
>>for the Debian clients, including the INN server box, to send their mail 
>>    
>>
>                                                        ^^^^^^^^^^^^^^^^^^  
>  
>
>>to the SIMS server.
>>    
>>
>  ^^^^^^^^^^^^^^^^^^
>[----]
>  
>
>>I would guess that in my case, the first type of configuration would be 
>>the one I need.
>>    
>>
>
>Judging by the underlined fragment, you want #2:
>
>  
>
>>        internet site; mail is sent and received directly using SMTP
>>        mail sent by smarthost; received via SMTP or fetchmail
>>    
>>
>          ^^^^^^^^^^^^^^^^^^^^^^
>unless I misunderstood the part about SIMS server.
>


The SIMS server is a standard SMTP/POP3 MTA. Its big brother, for a big 
price, is Communigate Pro.

I get mail sent directly into it from anywhere on the Internet via SMTP 
to the standard port 25. I also get mail sent to it over the LAN from a 
Fetchmail daemon running on a Fedora Core box, which acts like a POP3 
client to fetch the mail from domains that do not have SMTP forwarding. 
Think of Fetchmail like Suck for INN. The other side of SIMS is a POP3 
mailbox on port 110. I have many accounts on the SIMS box, and many 
entries in its router as well. Plus blacklisted domains, and links to 
RBL services to control spam.

I would think the first configuration would be the best, because a SIMS 
server (like any SMTP/POP3 server) could be physically located anywhere 
on the Internet. It doesn't have to be on the same LAN as the INN 
server, and it won't be when I finally, if ever, get INN running the way 
I want it to run.

Exim4 's references to "smarthost" is what I don't understand. Maybe it 
means an SMTP server on the same box. Maybe it uses a different message 
transfer protocol than SMTP to move the messages, like dropping them 
directly into a mailbox, or across a LAN.

I would think a "smarthost" would be any host that is smart enough to 
receive and forward SMTP messages.

The term is mentioned here:

http://www.christopherlewis.com/ATT_SMTP_Config.htm

Again, I suspect the first configuration is the correct one for me. I'll 
try it today (and over the weekend) and see how it runs on a slave INN 
running on another Debian box.

-- 
John
Re: Daily Usenet report
#72495
Author: Marc Haber
Date: Mon, 24 Oct 2005 13:43
52 lines
3153 bytes
"John F. Morse" <xanadu.bbs@invalid.net> wrote:
>Exim4 froze the daily INN report. It is not a problem with INN, if you 
>don't consider INN not having some option to allow a different MTA a 
>"problem." Perhaps this can be added in a future INN?

exim only freezes messages that it cannot possibly do anything about
it - for example, double bounces are frozen by exim.

It is a quite exceptional situation that "normal" messages are frozen.

If you see the message in an exim -bp output, please grep for the
message ID (something like 1CnhiL-00026O-W8) in /var/log/exim/mainlog
to see the reason for the message to be frozen.

>Exim4 is not my main MTA. It is a part of Debian. I've been using SIMS 
>on a PowerMac for years, but want to switch it to Sendmail.
>
>I'd like INN to send its reports to the SIMS box, but it appears this is 
>impossible without recompiling INN. Even if this was done, I suspect INN 
>has no SMTP engine and still needs a local MTA for reports and news-to-mail.

Yes, right.

>Perhaps your reminder to run "newaliases" is inappropriate with Exim4?

newaliases is a no-op in the default configuration of exim 4 in
Debian.

>Maybe "exim_dbmbuild" in Exim4 will 
>suffice?

That is not necessary, exim4's default configuration in Debian reads
/etc/aliases directly. Use /usr/sbin/exim4 -bt
some.address@domain.example to learn what exim is doing to route mail
messages to that target address.

Hope this helps

Greetings
Marc, member of Debian's exim4 maintainer team

-- 
"Ich kenne einen, der hat 1/2 Jahr seine News mit cd,  | Marc Haber
 ls und more direkt im Spool gelesen, bevor ihm einer  | Mannheim, Germany
 nn gezeigt hat." - Ulli 'Framstag' Horlacher          | Mailadresse im Header
 in de.alt.folklore.computer, 11.02.1999               | Nordisch by Nature
Re: Daily Usenet report
#72497
Author: Marc Haber
Date: Mon, 24 Oct 2005 13:45
32 lines
2581 bytes
"John F. Morse" <xanadu.bbs@invalid.net> wrote:
>Local deliveries might be the reason. I don't know. The Debian install 
>is rather cryptic when it gives four choices for the MTA configuration. 

It has, however, extensive documentation.

>Thanks for the "dpkg-reconfigure exim4" hint. I remember the Debian 
>install mentioning something like this, and I even wrote it down 
>somewhere. I searched back through all my notes yesterday, but that 
>particular note eludes me.

It is dpkg-reconfigure exim4-config. There is no need to write that
doen, as it is mentioned in the documentation
(/usr/share/doc/exim4-base/README.Debian.gz, references to that file
are all over the place, including all package descriptions and web
pages).

>Any other ideas?

rtfm.

Greetings
Marc

-- 
"Ich kenne einen, der hat 1/2 Jahr seine News mit cd,  | Marc Haber
 ls und more direkt im Spool gelesen, bevor ihm einer  | Mannheim, Germany
 nn gezeigt hat." - Ulli 'Framstag' Horlacher          | Mailadresse im Header
 in de.alt.folklore.computer, 11.02.1999               | Nordisch by Nature
Re: Daily Usenet report
#72499
Author: Marc Haber
Date: Mon, 24 Oct 2005 13:51
28 lines
2460 bytes
"John F. Morse" <xanadu.bbs@invalid.net> wrote:
>Exim4 's references to "smarthost" is what I don't understand. Maybe it 
>means an SMTP server on the same box. Maybe it uses a different message 
>transfer protocol than SMTP to move the messages, like dropping them 
>directly into a mailbox, or across a LAN.

A Smarthost is a mailserver which accepts all mail from a client
computer and forwards it to the respective recipients. It is typically
used if the machine originating the mail is either dumb,
intermittently connected or firewalled off, so that it cannot send
messages itself to their final destination.

>I would think a "smarthost" would be any host that is smart enough to 
>receive and forward SMTP messages.

Right.

Greetings
Marc

-- 
"Ich kenne einen, der hat 1/2 Jahr seine News mit cd,  | Marc Haber
 ls und more direkt im Spool gelesen, bevor ihm einer  | Mannheim, Germany
 nn gezeigt hat." - Ulli 'Framstag' Horlacher          | Mailadresse im Header
 in de.alt.folklore.computer, 11.02.1999               | Nordisch by Nature
Re: Daily Usenet report
#72498
Author: John F. Morse
Date: Mon, 24 Oct 2005 16:13
89 lines
4575 bytes
Marc Haber wrote:

>That is not necessary, exim4's default configuration in Debian reads
>/etc/aliases directly. Use /usr/sbin/exim4 -bt
>some.address@domain.example to learn what exim is doing to route mail
>messages to that target address.
>
>Hope this helps
>
>Greetings
>Marc, member of Debian's exim4 maintainer team
>

Marc,

Thanks for this tip. It is a good tool. I tried it, but I get results I 
do not understand.

First, let me say I couldn't get Exim4 to e-mail me at an address on my 
SIMS SMTP server on my main LAN. I've used this SIMS box for years and 
have had no trouble with it.

I did discover that Exim4 would e-mail me at an address at one of my 
ISPs. I could then have the ISP forward the messages from their mailbox, 
or use Fetchmail to grab the mail and stick them in the SIMS box.

This is a usable workaround which I've used all weekend.

Now, using your "/usr/sbin/exim4 -bt me@my.net," I get different results 
depending on where I send the mail.

Please let me explain, and maybe you will have a clue. (I'll munge the 
real names and address due to spam.)

I have three domains, all homing in on the same WAN IP. I run QuickDNS 
on this main LAN, and it only has records for "domain1" in it. The other 
two domains are not known by the DNS server.

Here is what I get when I test three different e-mail addresses from 
Exim on any Debian box on the main LAN :

john@thishost:~$ /usr/sbin/exim4 -bt john@domain1.net
R: dnslookup for john@domain1.net
john@domain1.net is undeliverable
john@thishost:~$ /usr/sbin/exim4 -bt john@domain2.us
R: dnslookup for john@domain2.us
john@domain2.us
  router = dnslookup, transport = remote_smtp
  host mail.domain2.us [123.45.67.89] MX=10
john@thishost:~$ /usr/sbin/exim4 -bt john@domain3.us
R: dnslookup for john@domain3.us
john@domain3.us is undeliverable
john@thishost:~$

As you can see, the known domain doesn't work, but one of the other two do.

Now, moving over to another Debian box, which is on a different WAN IP, 
I get the following:

john@thathost:~$ /usr/sbin/exim4 -bt john@domain1.net
R: dnslookup for john@domain1.net
john@domain1.net
 router = dnslookup, transport = remote_smtp
 host mail.domain1.net [123.45.67.89] MX=0
john@thathost:~$ /usr/sbin/exim4 -bt john@domain2.us
R: dnslookup for john@domain2.us
john@domain2.us
 router = dnslookup, transport = remote_smtp
 host mail.domain2.us [123.45.67.89] MX=10
john@thathost:~$ /usr/sbin/exim4 -bt john@domain3.us
R: dnslookup for john@domain3.us
john@domain3.us
 router = dnslookup, transport = remote_smtp
 host mail.domain1.net [123.45.67.89] MX=0
john@thathost:~$

All three of these appear to be able to be delivered, however the third 
one, for "domain3" shows the "domain1" as the host.

In the QuickDNS server, I have only "domain1" listed, and the MX is 10.

Obviously Exim4 appears to be free from any problem, but the DNS 
differences seem to indicate something Exim4 cannot understand. I have 
no problems with DNS when using SSH, SMB, VNC, etc.

Ideas?

-- 
John
Re: Daily Usenet report
#72500
Author: Marc Haber
Date: Tue, 25 Oct 2005 13:49
107 lines
5064 bytes
"John F. Morse" <xanadu.bbs@invalid.net> wrote:
>Please let me explain, and maybe you will have a clue. (I'll munge the 
>real names and address due to spam.)

This keeps people from helping you since they cannot query DNS for the
data configured and cannot see whether the MX for the domains is
really up, running, and accepting messages.

>I have three domains, all homing in on the same WAN IP.

Please be more technical. Which DNS resource records are in the zone
files?

>I run QuickDNS 
>on this main LAN, and it only has records for "domain1" in it.

Which records?

> The other 
>two domains are not known by the DNS server.

So you cannot deliver any mail for it.

>Here is what I get when I test three different e-mail addresses from 
>Exim on any Debian box on the main LAN :
>
>john@thishost:~$ /usr/sbin/exim4 -bt john@domain1.net
>R: dnslookup for john@domain1.net
>john@domain1.net is undeliverable

So your exim doesn't consider domain1.net a local domain, and it
cannot find any A or MX records for domain1.net in the DNS. Thus, the
mail is undeliverable.

>john@thishost:~$ /usr/sbin/exim4 -bt john@domain2.us
>R: dnslookup for john@domain2.us
>john@domain2.us
>  router = dnslookup, transport = remote_smtp
>  host mail.domain2.us [123.45.67.89] MX=10

There seems to be an "domain2.us MX 10 mail.domain2.us" and a
"mail.domain2.us A 123.45.67.89" record in the DNS. What happens to an
actual mail being sent to john@domain2.us?

>john@thishost:~$ /usr/sbin/exim4 -bt john@domain3.us
>R: dnslookup for john@domain3.us
>john@domain3.us is undeliverable
>john@thishost:~$

Same as with domain1.us

>Now, moving over to another Debian box, which is on a different WAN IP, 
>I get the following:
>
>john@thathost:~$ /usr/sbin/exim4 -bt john@domain1.net
>R: dnslookup for john@domain1.net
>john@domain1.net
> router = dnslookup, transport = remote_smtp
> host mail.domain1.net [123.45.67.89] MX=0
>john@thathost:~$ /usr/sbin/exim4 -bt john@domain2.us
>R: dnslookup for john@domain2.us
>john@domain2.us
> router = dnslookup, transport = remote_smtp
> host mail.domain2.us [123.45.67.89] MX=10
>john@thathost:~$ /usr/sbin/exim4 -bt john@domain3.us
>R: dnslookup for john@domain3.us

Looks like you have youd DNS serverely misconfigured.

>john@domain3.us
> router = dnslookup, transport = remote_smtp
> host mail.domain1.net [123.45.67.89] MX=0
>john@thathost:~$
>
>All three of these appear to be able to be delivered, however the third 
>one, for "domain3" shows the "domain1" as the host.

normal behavior for domain3.us having an MX record pointing to
mail.domain1.net.

>Obviously Exim4 appears to be free from any problem, but the DNS 
>differences seem to indicate something Exim4 cannot understand. I have 
>no problems with DNS when using SSH, SMB, VNC, etc.
>
>Ideas?

No offense intended, but this is severely offtopic for
news.software.nntp. Additionally, I _must_ recommend getting a basic
clue about DNS before trying to run a MTA. There are severe
misconfigurations present in your DNS setup (otherwise the -bt output
would be the same across boxes), and you are not helping by
obfuscating vital information.

If you only want to deliver to that SIMS box, configure it as
smarthost in your exim setup.

Greetings
Marc

-- 
"Ich kenne einen, der hat 1/2 Jahr seine News mit cd,  | Marc Haber
 ls und more direkt im Spool gelesen, bevor ihm einer  | Mannheim, Germany
 nn gezeigt hat." - Ulli 'Framstag' Horlacher          | Mailadresse im Header
 in de.alt.folklore.computer, 11.02.1999               | Nordisch by Nature
Re: Daily Usenet report
#72502
Author: John F. Morse
Date: Tue, 25 Oct 2005 15:47
316 lines
11900 bytes

Marc Haber wrote:

>"John F. Morse" <xanadu.bbs@invalid.net> wrote:
>  
>
>>Please let me explain, and maybe you will have a clue. (I'll munge the 
>>real names and address due to spam.)
>>    
>>
>
>This keeps people from helping you since they cannot query DNS for the
>data configured and cannot see whether the MX for the domains is
>really up, running, and accepting messages.
>  
>


It also keeps the spam bots (or curious lurkers) from attacking me. This 
did happen just a couple of weeks ago when I posted some of my real FQDN 
info.

I did the querying for you, and posted the results into the message.

If you want the real output for study, then provide me your e-mail 
address and I'll gladly send it to you, but you won't see anything 
additional in the real FQDNs and IPs.


>>I have three domains, all homing in on the same WAN IP.
>>    
>>
>
>Please be more technical. Which DNS resource records are in the zone
>files?
>  
>


OK, I have three domain names, domain1, domain2 and domain3. All three 
of them are registered and maintained by three different registrars, 
tzo.com, registrar.com and godaddy.com. The tzo.com domain was 
registered several years ago, and the other two in the past two or three 
years.

Tzo.com is a DDNS provider. They track my real IP and make changes 
should it ever change. It hasn't changed in nearly three years. I used 
to use a tzo daemon on a Mac to watch my IP and report any change, but 
this is now built into the Linksys BEFSR41 v3 router, so it does the job.

The other two domains are not automatic. I would manually edit the IP on 
these registrar's sites should their be an IP change.

All three of the above domains point to one WAN IP, which is my main 
LAN. My DNS server is on this LAN, but does nothing to incoming traffic 
from the WAN. It is a local LAN DNS server only.

I have a fourth domain, from yet another registrar, that also has an 
automatic DDNS updating daemon. However it is entirely separate from the 
other three domains, and does not point to the same WAN IP. So let's 
forget it even exists.

Traffic enters this building on one IP, whether is is for domain1, 
domain2 or domain3. The only possible method for routing to a particular 
client is by using port assignments.

Therefore, if an e-mail message comes in for joe_blow@domain1, or 
joe_blow@domain2 or joe_blow@domain3, it is treated exactly the same, 
and I can mail myself using any of the domain names. It's all routed to 
the SIMS mail server on port 25, and the "sub"domain (client or host 
name) doesn't matter. A message to john@haber.domain1.us will arrive 
just fine.


>>I run QuickDNS 
>>on this main LAN, and it only has records for "domain1" in it.
>>    
>>
>
>Which records?
>  
>


Every client has an "A" record, as well as one or more CNAME (alias) 
records, and one HINFO record.

There is one NS record for the QuickDNS Pro Mac host, and one MX record, 
pointing to the SIMS MTA host.

There is one reverse record for each of the 45 clients.

There is only one domain name.


>>The other 
>>two domains are not known by the DNS server.
>>    
>>
>
>So you cannot deliver any mail for it.
>  
>


Mail is delivered fine, except from the Exim4 MTA, running on the main 
LAN. As I demonstrated by the two separate tests, to all three domains, 
mail coming in from the WAN is delivered fine. The DNS server doesn't 
even see it. All that is needed is for the SIMS mail server to be 
listening to port 25.


>>Here is what I get when I test three different e-mail addresses from 
>>Exim on any Debian box on the main LAN :
>>
>>john@thishost:~$ /usr/sbin/exim4 -bt john@domain1.net
>>R: dnslookup for john@domain1.net
>>john@domain1.net is undeliverable
>>    
>>
>
>So your exim doesn't consider domain1.net a local domain, and it
>cannot find any A or MX records for domain1.net in the DNS. Thus, the
>mail is undeliverable.
>  
>

Is that your diagnosis or a question? If it is a question, I don't have 
the experience with Exim to be able to provide an answer. If you believe 
this is the problem, then maybe I should ask you why domain1.net is the 
only domain that is listed in the DNS records -- and it fails. The 
domain2.us is nowhere in the DNS records -- but it goes through.

I wonder, just what could Exim4 be remembering?


>>john@thishost:~$ /usr/sbin/exim4 -bt john@domain2.us
>>R: dnslookup for john@domain2.us
>>john@domain2.us
>> router = dnslookup, transport = remote_smtp
>> host mail.domain2.us [123.45.67.89] MX=10
>>    
>>
>
>There seems to be an "domain2.us MX 10 mail.domain2.us" and a
>"mail.domain2.us A 123.45.67.89" record in the DNS. What happens to an
>actual mail being sent to john@domain2.us?
>  
>


It arrives at the SIMS mail server, whether from the main LAN or the WAN.


>>john@thishost:~$ /usr/sbin/exim4 -bt john@domain3.us
>>R: dnslookup for john@domain3.us
>>john@domain3.us is undeliverable
>>john@thishost:~$
>>    
>>
>
>Same as with domain1.us
>  
>


It fails from the LAN, but arrives fine from the WAN. This is the domain 
that has both the NS and MX records.


>>Now, moving over to another Debian box, which is on a different WAN IP, 
>>I get the following:
>>
>>john@thathost:~$ /usr/sbin/exim4 -bt john@domain1.net
>>R: dnslookup for john@domain1.net
>>john@domain1.net
>>router = dnslookup, transport = remote_smtp
>>host mail.domain1.net [123.45.67.89] MX=0
>>john@thathost:~$ /usr/sbin/exim4 -bt john@domain2.us
>>R: dnslookup for john@domain2.us
>>john@domain2.us
>>router = dnslookup, transport = remote_smtp
>>host mail.domain2.us [123.45.67.89] MX=10
>>john@thathost:~$ /usr/sbin/exim4 -bt john@domain3.us
>>R: dnslookup for john@domain3.us
>>    
>>
>
>Looks like you have youd DNS serverely misconfigured.
>  
>


As I stated, traffic from outside the LAN work fine. I don't know how 
you deduce this idea. I can kill the DNS server and the above three 
tests will have identical results.


>>john@domain3.us
>>router = dnslookup, transport = remote_smtp
>>host mail.domain1.net [123.45.67.89] MX=0
>>john@thathost:~$
>>
>>All three of these appear to be able to be delivered, however the third 
>>one, for "domain3" shows the "domain1" as the host.
>>    
>>
>
>normal behavior for domain3.us having an MX record pointing to
>  
>


Domain3 has no record of anything in this DNS server.


>mail.domain1.net.
>
>  
>
>>Obviously Exim4 appears to be free from any problem, but the DNS 
>>differences seem to indicate something Exim4 cannot understand. I have 
>>no problems with DNS when using SSH, SMB, VNC, etc.
>>
>>Ideas?
>>    
>>
>
>No offense intended, but this is severely offtopic for
>news.software.nntp. Additionally, I _must_ recommend getting a basic
>clue about DNS before trying to run a MTA. There are severe
>misconfigurations present in your DNS setup (otherwise the -bt output
>would be the same across boxes), and you are not helping by
>obfuscating vital information.
>  
>


Well, offense is something I try to overlook, but lately I sense it more 
and more frequently in this group. Maybe it is because my level of 
frustration is growing, and maybe yours? Maybe it is because readers 
believe I'm a stupid newbie who has never read a manpage.

I'm more interested in fixing the problem than discussing who's the 
smartest, or who is a Linux master and who might be a newbie. I come 
here when I've read the manpages and Googled the problem to death, and 
still have a question. That is the purpose of these newsgroups -- not to 
diagnose someone's abilities or disabilities.

Let me just say that I have installed, configured and ran Mac DNS for 
several years. Then I installed, configured and switched over to 
QuickDNS Pro, over five years ago. Everything has ran fine here until 
INN was installed.

I ran another NNTP server for nearly six years (four are still going), 
so NNTP is not something I just dove into either. INN seems fairly 
simple, but the documentation needs considerable work. Driving a strange 
vehicle is not too difficult, but if you have no road map, you can spend 
an immense amount of time taking pot shots and guessing what will work, 
then trail and error.

I have installed, configured and ran the SIMS mail server for some eight 
years, and have absolutely no trouble with it, including a lot of spam 
filtering and RBL configuration.

My plans were to move the RumorMill NNTP totally to INN, and the 
QuickDNS Pro to BIND. But I see the ISC is the source of both, and am 
now rethinking my plans.

I was also planning to move the SIMS mail to Sendmail, not Postfix, and 
had not even heard of Exim.

So, after a painful learning curve for INN, then more fighting Exim, and 
now it is a DNS problem? Personally I feel INN is fine, just a big, 
under-documented suite of related applications, but Exim is not ready 
for prime time.

I wonder, since I've spent nearly a month of labor on all of this, if I 
probably would have been much farther out front financially if I would 
have just purchased a couple of new Mac G5s, and continued with what has 
work for me for over six years?


>If you only want to deliver to that SIMS box, configure it as
>smarthost in your exim setup.
>  
>


As I pointed out in an earlier message, there are several choices, with 
"smarthost" appearing in two:

internet site; mail is sent and received directly using SMTP
mail sent by smarthost; received via SMTP or fetchmail
mail sent by smarthost; no local mail

Which one would you suggest?

To make it perfectly clear, I don't want this INN box receiving any 
mail. I only want it to send mail out to my SIMS box, or later, a 
Sendmail box. Why would my SIMS box be considered a "smarthost" and not 
an Internet site?

The INN box will eventually wind up on a WAN different that the WAN my 
LAN is on, so the SIMS box would, IMHO, be an "Internet site."

As far as that goes, according to the second set of three tests I made, 
moving the INN box to another WAN (or LAN) will clear up any Exim4 troubles.

Agreed?

So, it's still on topic. ;-)

-- 
John
Re: Daily Usenet report
#72503
Author: Ben Shimmin
Date: Tue, 25 Oct 2005 16:18
22 lines
2193 bytes
John F. Morse <xanadu.bbs@invalid.net>:

[...]

> I was also planning to move the SIMS mail to Sendmail, not Postfix, and 
> had not even heard of Exim.

It's been around for over eight years.  There's masses of documentation
available in the form of books, mailing lists, FAQs, installation guides,
etc.

> So, after a painful learning curve for INN, then more fighting Exim, and 
> now it is a DNS problem? Personally I feel INN is fine, just a big, 
> under-documented suite of related applications, but Exim is not ready 
> for prime time.

I don't think you're really qualified to make that kind of assertion.

b.

-- 
Enjoy responsibly.                                    <URL:http://bas.me.uk/>
Re: Daily Usenet report
#72504
Author: John F. Morse
Date: Tue, 25 Oct 2005 17:24
77 lines
3814 bytes

Ben Shimmin wrote:

>John F. Morse <xanadu.bbs@invalid.net>:
>
>[...]
>
>  
>
>>I was also planning to move the SIMS mail to Sendmail, not Postfix, and 
>>had not even heard of Exim.
>>    
>>
>
>It's been around for over eight years.  There's masses of documentation
>available in the form of books, mailing lists, FAQs, installation guides,
>etc.
>  
>


So what? I've been around 61 years, have worked with computers since the 
1970s, but you'd not believe it by how others see me posting here, would 
you?

Time means nothing without experience.

Was Exim as widely "available" outside of your home Kingdom? Is it as 
well known HERE?

Don't take this as any pride that I live here or you live there, or that 
the USA is any better or worse than the UK. I could care less about this 
or that political state, but Exim is a UK product, and probably better 
known to you bloody Brits than us Yankees, huh?

There may be reams and reams of Exim books at my local computer store, 
but I have not seen them, or do not remember seeing them. I wasn't 
looking for them.

I do know there are a lot of references available for Sendmail, and have 
heard it is "THE" MTA. Some Postfixers will disagree, saying Sendmail is 
too difficult.

I had never, ever heard of anyone speak of Exim, until I brought it up 
because it is the default Debian MTA. That doesn't necessarily make it 
good or bad, or me a bad person for never hearing of it.

I took the advice of others when I read that INN was "THE" NNTP server 
application.

Different strokes for different folks.


Hey! If it works for you, use it.


>>So, after a painful learning curve for INN, then more fighting Exim, and 
>>now it is a DNS problem? Personally I feel INN is fine, just a big, 
>>under-documented suite of related applications, but Exim is not ready 
>>for prime time.
>>    
>>
>
>I don't think you're really qualified to make that kind of assertion.
>  
>


You think about how I feel?

Who qualifies you to make such an assertion?

Have a great day. It's entirely up to you.

-- 
John
Re: Daily Usenet report
#72507
Author: Ben Shimmin
Date: Tue, 25 Oct 2005 20:45
29 lines
2744 bytes
John F. Morse <xanadu.bbs@invalid.net>:
>Ben Shimmin wrote:
>>John F. Morse <xanadu.bbs@invalid.net>:
>>>So, after a painful learning curve for INN, then more fighting Exim, and 
>>>now it is a DNS problem? Personally I feel INN is fine, just a big, 
>>>under-documented suite of related applications, but Exim is not ready 
>>>for prime time.
>>
>>I don't think you're really qualified to make that kind of assertion.
>
> You think about how I feel?
>
> Who qualifies you to make such an assertion?

My basic reading comprehension skills.  First you say, `I had not even heard
of Exim.'  Then you say, `I feel [...] Exim is not ready for prime time.'
You may feel that, but I somehow doubt you really know enough about it for
your comment to have any real value.

Once again: there's a huge amount of documentation about Exim available,
if you wish to learn about it.  It's one of the four most popular MTAs
(alongside Sendmail, qmail, and Postfix), and is the Debian default.

Good luck with your INN problems, anyway.

b. --Brit=bloody

-- 
Enjoy responsibly.                                    <URL:http://bas.me.uk/>
Re: Daily Usenet report
#72506
Author: Marc Haber
Date: Wed, 26 Oct 2005 06:53
42 lines
2989 bytes
"John F. Morse" <xanadu.bbs@invalid.net> wrote:
>but Exim is not ready 
>for prime time.

Considering that exim is the default MTA fo Debian since 1999, a
considerable part of UK universities and numerous _big_ ISPs are using
exim for their global mail services, I'll happily disagree here.

>internet site; mail is sent and received directly using SMTP
>mail sent by smarthost; received via SMTP or fetchmail
>mail sent by smarthost; no local mail
>
>Which one would you suggest?
>
>To make it perfectly clear, I don't want this INN box receiving any 
>mail.

So, the choice including the string "no local mail" doesn't seem
_that_ wrong, right?

>I only want it to send mail out to my SIMS box, or later, a 
>Sendmail box. Why would my SIMS box be considered a "smarthost" and not 
>an Internet site?

Because your Debian box is so severly misconfigured that it cannot
obtain the information where to deliver outgoing mail from the
obviously broken DNS. Hence, I would like to consider it "dumb",
offloading the burden of mail routing to a "smarter" system, like a
smarthost. Since your SIMS box does obviously work, it is a natural
candidate to be a smarthost.

Greetings
Marc

-- 
"Ich kenne einen, der hat 1/2 Jahr seine News mit cd,  | Marc Haber
 ls und more direkt im Spool gelesen, bevor ihm einer  | Mannheim, Germany
 nn gezeigt hat." - Ulli 'Framstag' Horlacher          | Mailadresse im Header
 in de.alt.folklore.computer, 11.02.1999               | Nordisch by Nature
Re: Daily Usenet report
#72554
Author: Russ Allbery
Date: Wed, 02 Nov 2005 04:28
21 lines
2214 bytes
John F Morse <xanadu.bbs@invalid.net> writes:

> It just makes sense to me to have one MTA at an installation, instead of
> a separate one running on each and every Unix/Linux box in the building.

Every Unix system should have a way of sending mail via a
/usr/sbin/sendmail (or /usr/lib/sendmail) command.  I have no plans to
modify INN to remove that requirement.  That has been standard
functionality on Unix systems for nearly as long as there has been
Internet e-mail.

If you want a minimal sendmail implementation that doesn't listen to the
network, sends mail through a smarthost, and requires very little
configuration, many such packages exist.  Take a look at, for example,
nullmailer.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Daily Usenet report
#72562
Author: Wolfgang.Schelongowski
Date: Wed, 02 Nov 2005 16:01
18 lines
1988 bytes
Russ Allbery <rra@stanford.edu> writes:

>Every Unix system should have a way of sending mail via a
>/usr/sbin/sendmail (or /usr/lib/sendmail) command.  I have no plans to
>modify INN to remove that requirement.  That has been standard
>functionality on Unix systems for nearly as long as there has been
>Internet e-mail.
>
>If you want a minimal sendmail implementation that doesn't listen to the
>network, sends mail through a smarthost, and requires very little
>configuration, many such packages exist.  Take a look at, for example,
>nullmailer.

Maybe something like this should be in the INN FAQ.
-- 
The first entry of Sin into the mind occurs when, out of cowardice or
conformity or vanity, the Real is replaced by a comforting lie.
  -- Integritas, Consonantia, Claritas
Re: Daily Usenet report
#72816
Author: Russ Allbery
Date: Mon, 12 Dec 2005 01:33
23 lines
2296 bytes
Wolfgang Schelongowski <Wolfgang.Schelongowski@gmx.de> writes:
> Russ Allbery <rra@stanford.edu> writes:

>> Every Unix system should have a way of sending mail via a
>> /usr/sbin/sendmail (or /usr/lib/sendmail) command.  I have no plans to
>> modify INN to remove that requirement.  That has been standard
>> functionality on Unix systems for nearly as long as there has been
>> Internet e-mail.

>> If you want a minimal sendmail implementation that doesn't listen to
>> the network, sends mail through a smarthost, and requires very little
>> configuration, many such packages exist.  Take a look at, for example,
>> nullmailer.

> Maybe something like this should be in the INN FAQ.

Done.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads