Re: Sendmail nullclient

2005-09-07 Thread Antoine Jacoutot
Stephan A. Rickauer wrote: I tried putting a line into 'genericstable' but that wouldn't work. 'MASQUERADE_AS...' does not help either. MASQUERADE_AS should work if you put it in submit.mc Or, what you could do is to tell your mail server to accept mail to *.yourdomain.com If your server is s

Re: Sendmail nullclient [SOLVED]

2005-09-07 Thread Stephan A. Rickauer
Antoine Jacoutot wrote: Even if it is obvious, I forgot to say you'll have to regenerate your submit.cf file and move it over /etc/mail. Er ... ja, did that ;) Finally I was also able to fix my last problem by using "FEATURE(masquerade_envelope)dnl", otherwise my postfix server would refuse

Re: Sendmail nullclient

2005-09-07 Thread Antoine Jacoutot
Antoine Jacoutot wrote: This way, every messages will be sent to your.mailserver.com and the sendmail daemon will not need to be started. Even if it is obvious, I forgot to say you'll have to regenerate your submit.cf file and move it over /etc/mail. Regards, Antoine

Re: Sendmail nullclient

2005-09-07 Thread L. V. Lammert
At 06:03 PM 9/7/2005 +0200, Stephan A. Rickauer wrote: Great, that's a big step. The remaining problem is I don't know how to configure it in a way the hostname of my BSD box does not show up in the from address. Right now, mail is send from "[EMAIL PROTECTED]". /etc/myname Lee

Re: Sendmail nullclient

2005-09-07 Thread Stephan A. Rickauer
Antoine Jacoutot wrote: Stephan A. Rickauer wrote: Seems to be so easy ... any ideas? Sure, edit the following file (or copy it under a new name) : /usr/share/sendmail/cf/submit.mc Great, that's a big step. The remaining problem is I don't know how to configure it in a way the hostname of

Re: Sendmail nullclient

2005-09-07 Thread L. V. Lammert
At 05:13 PM 9/7/2005 +0200, Stephan A. Rickauer wrote: C. Bensend wrote: > Perhaps I'm just smoking crack here, but your machine was pretty much "send-only" before you started playing with it. What's the difference between your "send-only" thing and Sendmail listening only to localhost (which

Re: Sendmail nullclient

2005-09-07 Thread Claus Assmann
On Wed, Sep 07, 2005, Stephan A. Rickauer wrote: > Sep 7 15:57:57 gimli.lan.ini.unizh.ch sm-mta[22088]: j87DvvaL000188: > to=<[EMAIL PROTECTED]>, delay=00:00:00, xdelay=00:00:00, > mailer=relay, pri=30344, relay=130.60.230.185 [130.60.230.185], > dsn=5.6.0, stat=Data format error Most likely

Re: Sendmail nullclient

2005-09-07 Thread Antoine Jacoutot
Stephan A. Rickauer wrote: Joel Dinel wrote: But yeah, the default sendmail with a simple smarthost setting (DSmachine.whatever.com in sendmail.cf) would have also done the trick. It would keep on delivering local mail, which is nice (think all of the weekly/daily reports). I'd like to have

Re: Sendmail nullclient

2005-09-07 Thread Stephan A. Rickauer
Joel Dinel wrote: But yeah, the default sendmail with a simple smarthost setting (DSmachine.whatever.com in sendmail.cf) would have also done the trick. It would keep on delivering local mail, which is nice (think all of the weekly/daily reports). I'd like to have it the other way around: Mail

Re: Sendmail nullclient

2005-09-07 Thread Stephan A. Rickauer
C. Bensend wrote: > Perhaps I'm just smoking crack here, but your machine was pretty much "send-only" before you started playing with it. What's the difference between your "send-only" thing and Sendmail listening only to localhost (which it does on OpenBSD by default)? I'd like to have mail

Re: Sendmail nullclient

2005-09-07 Thread C. Bensend
> Don't know what the OpenBSD philosophy is here, but without learning > sendmail I am/was not able to simply configure my system as 'send-only' > machine... Perhaps I'm just smoking crack here, but your machine was pretty much "send-only" before you started playing with it. What's the difference

Re: Sendmail nullclient

2005-09-07 Thread Stephan A. Rickauer
Joel Dinel wrote: Ever had a look at http://untroubled.org/nullmailer/ ? Nope - thanks. Only knew 'ssmtp' of which the FreeBSD guys have a wonderful documentation for: http://www.freebsd.org/doc/en/books/handbook/outgoing-only.html Don't know what the OpenBSD philosophy is here, but witho

Re: Sendmail nullclient

2005-09-07 Thread Stephan A. Rickauer
Stuart Henderson wrote: /usr/share/sendmail/cf/clientproto.mc edited appropriately works when I try it - if it doesn't work for you, post a description and relevant lines from the system log. Thanks, I modified a copy of that file according to my needs and did the following: m4 ../m4/cf.m

Re: Sendmail nullclient

2005-09-07 Thread Joel Dinel
Ever had a look at http://untroubled.org/nullmailer/ ? -- Technology doesn't secure systems, people do - and they use their minds. -- Richard Forno

Re: Sendmail nullclient

2005-09-07 Thread Stuart Henderson
--On 07 September 2005 15:28 +0200, Stephan A. Rickauer wrote: According to various documentations, this should be enough. Unfortunately, it isn't and I am not a sendmail specialist: include(`../m4/cf.m4') define(`__OSTYPE__',`') FEATURE(`nullclient', `myiphere') /usr/share/sendmail/cf/

Re: Sendmail nullclient

2005-09-07 Thread Stephan A. Rickauer
Will H. Backman wrote: Here is what I use in Linux (sendmail 8.12.10): Thanks. But this is not a real nullclient configuration - or at least not what I was expecting. According to various documentations, this should be enough. Unfortunately, it isn't and I am not a sendmail specialist: i

Re: Sendmail nullclient

2005-09-07 Thread Will H. Backman
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of > Stephan A. Rickauer > Sent: Wednesday, September 07, 2005 8:51 AM > To: misc@openbsd.org > Subject: Sendmail nullclient > > Currently, I am struggling with sendmail. I&#

Sendmail nullclient

2005-09-07 Thread Stephan A. Rickauer
Currently, I am struggling with sendmail. I'd like to configure it as nullclient but all m4 files I found online wouldn't work on OpenBSD 3.7. Playing with the one's in /usr/share/sendmail/cf/ didn't succeed. Could someone post me his nullclient m4 file, please? Thanks! -- Stephan A. Ricka