RE : sendmail config

2002-10-23 Thread Stéphane Poibeau
Vu que tu n'as pas eu de réponse à tes trois posts, je me permet de
répondre, peut-être un peu à côté : ne peux-tu pas te passer de Sendmail
et installer Postfix ? Postfix est a-priori totalement compatible avec
Sendmail (au point de créer lors de l'installation des liens symboliques
simulant l'existence de fichiers Sendmail. Par ailleurs, son gros
avantage est sa simplicité de configuration au regard de Sendmail.


-Message d'origine-
De : mess-mate [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 22 octobre 2002 20:02
À : debian-french
Objet : sendmail config

Bonjour,
étant donné que j'utilise Sylpheed comme mailer, je peux pas envoyer 
un mail à travers un autre ISP (avec mon adresse chez cet ISP) sans 
faire appel à sendmail :-(
faut dire que normalement il ne faudrait pas utiliser sendmail avec 
sylpheed, mais apparemment cela ne marche pas autrement.
Maintenant mon problème :
mes mails me reviennent disant que le domain n'existe pas.
ceci est évident puisque c'est mon IP local.

Sender address rejected: Domain not found
 503 Error: need RCPT command

Comment faut-il configurer sendmail pour que cela marche ??

Merçi pour votre aide.
mess-mate



Re: RE : sendmail config

2002-10-23 Thread Thomas Clavier

Stéphane Poibeau wrote:

et installer Postfix ? Postfix est a-priori totalement compatible avec
l'avantage est sa simplicité de configuration au regard de Sendmail.


en plus simple encore et par défaut sous debian: Exim !


--
Thomas Clavier   http://www.tcweb.dyndns.org  .  .''`.
Centre d'expertise RGO. : :' :
Adventec Lille. `. `
+33 3 20 18 53 02 - +33 6 09 25 59 67 .   `- Debian



Re: Sendmail Config (SOLVED)

2002-01-17 Thread Sven Gaerner

Hi Jeremy,

sorry for sending the last mail twice but the GMX webinterface is
very terrible to use with Mozilla.

I get sendmail working with address rewriting and without using a
smart host.

The problem was that /etc/mail/genericsdomain just stored my domain
name but not my local host name. After adding that everything works
as expected.

Thanks.

Bye,

Sven

On Tue, Jan 15, 2002 at 02:07:14PM -0500, Jeremy L. Gaddis wrote:
 I use sendmail's genericstable feature without any
 problems.  It rewrites the addresses for all my (home
 network) users as their email heads out the mail gateway.
 If you can tell us what problems you were having, perhaps
 we can help you.
 
 genericstable was really easy to get going.  Simply put
 a list of all domains you want addresses rewritten for
 in /etc/mail/genericsdomain.  For example, on the internal
 side of my network, I use @home.lan addresses.  These get
 rewritten when mail passes through the outgoing mail gateway.
 
 [EMAIL PROTECTED]:pts/0:~]$ cat /etc/mail/genericsdomain
 home.lan
 
 [EMAIL PROTECTED]:pts/0:~]$ grep ^jeremy /etc/mail/genericstable
 jeremy  [EMAIL PROTECTED]
 
 This shows that for any email that comes in with a From address
 of [EMAIL PROTECTED], it should be rewritten as [EMAIL PROTECTED].
 
 sendmail doesn't use the plain-text genericstable file, however.  You
 need to generate a hashed db file using:
 
 `makemap -r hash genericstable.db  genericstable`.
 
 HTH.
 
 j.
 
 --
 Jeremy L. Gaddis [EMAIL PROTECTED]
 
 -Original Message-
 From: Sven Gaerner [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, January 15, 2002 6:58 AM
 To: debian-user@lists.debian.org
 Subject: Sendmail Config
 
 
 Hi,
 
 I got a problem with sendmail's config.
 
 I'm using the cyrus imapd and sendmail as MTA on one machine.
 This machine is MXed as internal mail server. Internal email is sent
 as expected but sendmail tries to send external mails with my internal
 email address. Therefore freemailer like GMX are rejecting this mails
 because my sender domain is not resolvable.
 
 I tried using genericstable feature to rewrite my internal address. I
 also tried to send my email to my gateway machine that should masquerade
 emails to come from gmx.net.
 Both didn't work.
 
 If you have any information that may help to solve this please CC
 it to me because I'm not subcribed yet.
 
 Thanks in advance.
 
 Bye
 
 Sven
 
 --
 ++
 | Please reply only to [EMAIL PROTECTED]  |
 ||
 | Do not send HTML mails, they may not be read...|
 ++
 
 GMX - Die Kommunikationsplattform im Internet.
 http://www.gmx.net
 
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
 

-- 
+-+
| Please reply only to [EMAIL PROTECTED], web.de} |
| |
| Do not send HTML mails, they will be erased...  |
+-+



RE: Sendmail Config

2002-01-15 Thread Jeremy L. Gaddis
I use sendmail's genericstable feature without any
problems.  It rewrites the addresses for all my (home
network) users as their email heads out the mail gateway.
If you can tell us what problems you were having, perhaps
we can help you.

genericstable was really easy to get going.  Simply put
a list of all domains you want addresses rewritten for
in /etc/mail/genericsdomain.  For example, on the internal
side of my network, I use @home.lan addresses.  These get
rewritten when mail passes through the outgoing mail gateway.

[EMAIL PROTECTED]:pts/0:~]$ cat /etc/mail/genericsdomain
home.lan

[EMAIL PROTECTED]:pts/0:~]$ grep ^jeremy /etc/mail/genericstable
jeremy  [EMAIL PROTECTED]

This shows that for any email that comes in with a From address
of [EMAIL PROTECTED], it should be rewritten as [EMAIL PROTECTED].

sendmail doesn't use the plain-text genericstable file, however.  You
need to generate a hashed db file using:

`makemap -r hash genericstable.db  genericstable`.

HTH.

j.

--
Jeremy L. Gaddis [EMAIL PROTECTED]

-Original Message-
From: Sven Gaerner [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 15, 2002 6:58 AM
To: debian-user@lists.debian.org
Subject: Sendmail Config


Hi,

I got a problem with sendmail's config.

I'm using the cyrus imapd and sendmail as MTA on one machine.
This machine is MXed as internal mail server. Internal email is sent
as expected but sendmail tries to send external mails with my internal
email address. Therefore freemailer like GMX are rejecting this mails
because my sender domain is not resolvable.

I tried using genericstable feature to rewrite my internal address. I
also tried to send my email to my gateway machine that should masquerade
emails to come from gmx.net.
Both didn't work.

If you have any information that may help to solve this please CC
it to me because I'm not subcribed yet.

Thanks in advance.

Bye

Sven

--
++
| Please reply only to [EMAIL PROTECTED]  |
||
| Do not send HTML mails, they may not be read...|
++

GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]



RE: Sendmail Config

2002-01-15 Thread Sven Gaerner
Hi Jeremy,

my main problem is that sendmail doesn't change my 'From:' line. I don't
want to use a smart host
for mail delivery so the domain from my 'From:' line must be resolvable.

These are the -I think- important lines from my /etc/mail/sendmail.mc.

LOCAL_CONFIG
Cwmail.shadow.local
FEATURE(`use_cw_file')dnl
FEATURE(`use_ct_file')dnl
FEATURE(`nouucp', `reject')dnl
FEATURE(`smrsh')dnl
FEATURE(`allmasquerade')dnl
FEATURE(`always_add_domain')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(`genericstable', `hash -o /etc/mail/genericstable.db')dnl
GENERICS_DOMAIN_FILE(`/etc/mail/genericdomain')dnl
LOCAL_DOMAIN(`shadow.local')dnl
MASQUERADE_AS(`shadow.local')dnl
EXPOSED_USER(root uucp)dnl
MAILER_DEFINITIONS
MAILER(local)dnl
MAILER(smtp)dnl

The last lines are only for the cyrus mailer.

This configuration should run on my server. My client -also sendmail- is
configured to forward
all mails to this machine (FEATURE(`nullclient', `mail.shadow.local')).

I hope these are enough information for helping me. ;-)

Thanks in advance.

Bye

Sven


-- 
++
| Please reply only to [EMAIL PROTECTED]  |
| Other email addresses may no longer be valid...|
||
| Do not send HTML mails, they may not be read...|
++

GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net



RE: Sendmail Config

2002-01-15 Thread Sven Gaerner
Hi Jeremy,

my main problem is that sendmail doesn't change my 'From:' line. I don't
want to use a smart host
for mail delivery so the domain from my 'From:' line must be resolvable.

These are the -I think- important lines from my /etc/mail/sendmail.mc.

LOCAL_CONFIG
Cwmail.shadow.local
FEATURE(`use_cw_file')dnl
FEATURE(`use_ct_file')dnl
FEATURE(`nouucp', `reject')dnl
FEATURE(`smrsh')dnl
FEATURE(`allmasquerade')dnl
FEATURE(`always_add_domain')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(`genericstable', `hash -o /etc/mail/genericstable.db')dnl
GENERICS_DOMAIN_FILE(`/etc/mail/genericdomain')dnl
LOCAL_DOMAIN(`shadow.local')dnl
MASQUERADE_AS(`shadow.local')dnl
EXPOSED_USER(root uucp)dnl
MAILER_DEFINITIONS
MAILER(local)dnl
MAILER(smtp)dnl

The last lines are only for the cyrus mailer.

This configuration should run on my server. My client -also sendmail- is
configured to forward
all mails to this machine (FEATURE(`nullclient', `mail.shadow.local')).

I hope these are enough information for helping me. ;-)

Thanks in advance.

Bye

Sven

-- 
++
| Please reply only to [EMAIL PROTECTED]  |
| Other email addresses may no longer be valid...|
||
| Do not send HTML mails, they may not be read...|
++

GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net



Re: Sendmail Config

2000-06-03 Thread Dan Brosemer
Try using a simpler mail transfer agent such as exim.  Sendmail is really
for big sites that need a lot of configurability.  You really don't need all
that configurability or complexity.

Other users will tell you to use qmail, postfix, or smail, I'm sure.  These
are all equally viable solutions.  Exim is just my preference for simple
sites.

as root type:
#apt-get --purge remove sendmail exim+

The exim configuration script will ask you questions, answer:
1
(accept the default)
localhost
none
none
n
(your username)
y

Now to configure where mail appears to be coming from is a job for your mail
user agent.  Unfortunately, I'm only familiar with how to do this in mutt.
Another user will, I'm sure be able to tell you how to do it in whatever
program you're using if you tell us what that is.

In mutt (in case that's what you're using):
add to your ~/.muttrc file:
set realname=Your Name
my_hdr From: \$realname\ \[EMAIL PROTECTED]

HTH
-Dan

On Fri, Jun 02, 2000 at 10:04:18PM -0700, Jay Kelly wrote:
 Ok Guy's,
 I need some help with sendmail. I use sendmailconfig and for the first
 question mail Name I choose Pacbell.net. That's what I think I need to
 use? my email is [EMAIL PROTECTED] Then I come to start host. I want my
 linux box to download mail from my ISP and store it until I log on. When I
 use a program such as Outlook I use mail.pacbell.net for incoming mail and
 postoffice.pacbell.net for outgoing mail. When I send a email I would like
 it to say [EMAIL PROTECTED] Where will I put this information? Also where
 do I setup my login and pass for my ISP so I can download mail. I have been
 trying everything with no luck. I would really really appreciate if someone
 would help me on this.

-- 
... the most serious problems in the Internet have been caused by 
unenvisaged mechanisms triggered by low-probability events; mere human 
malice would never have taken so devious a course! - RFC 1122 section 1.2.2



pgpRwXF8vSHHv.pgp
Description: PGP signature


Re: Sendmail Config

2000-06-03 Thread Joseph de los Santos
But if you still want to install sendmail download a perl script from
freshmeat.net called install-sendmail.Install-Sendmail will configure
Sendmail and Fetchmail on your machine. That Perl script can be used to
setup a mail server for a simple network or it can configure email on a dial
up machine. All you need to know is your email address, login name and
password and optionally, the IP addresses of your network.

Good luck.







- Original Message -
From: Dan Brosemer [EMAIL PROTECTED]
To: Jay Kelly [EMAIL PROTECTED]
Cc: debian-user@lists.debian.org
Sent: Friday, June 02, 2000 10:18 PM
Subject: Re: Sendmail Config

Try using a simpler mail transfer agent such as exim.  Sendmail is really
for big sites that need a lot of configurability.  You really don't need all
that configurability or complexity.

Other users will tell you to use qmail, postfix, or smail, I'm sure.  These
are all equally viable solutions.  Exim is just my preference for simple
sites.

as root type:
#apt-get --purge remove sendmail exim+

The exim configuration script will ask you questions, answer:
1
(accept the default)
localhost
none
.



Re: Sendmail Config

2000-06-03 Thread Eric 'Alibut
On Fri, Jun 02, 2000 at 10:04:18PM -0700, Jay Kelly wrote:

 I need some help with sendmail. I use sendmailconfig and for the first
 question mail Name I choose Pacbell.net. That's what I think I need to
 use? my email is [EMAIL PROTECTED] Then I come to start host.

Smart host? For most dialups it's handy to set this; in your case, make it
'postoffice.pacbell.net' and also use 'masquerade_envelope', which iirc is
an option in sendmailconfig. 

Use fetchmail to get your mail from your isp. Set it to poll
'mail.pacbell.net'. It's clear in the fetchmail config file where your login
and password should be placed. (Try perhaps fetchmailconfig, if that's what
it's called...I forget.)

Sendmail is fine for you. Ignore the religious war some would start rather
than answering your questions.


-- 
Bob Bernstein
at  http://www.ruptured-duck.com
Esmond, R.I., USA



Re: Sendmail config problem

1999-01-29 Thread Richard A Nelson

Let sendmail's local delivery work as before, and add this line to
your sendmail.mc:
  define(`SMART_HOST', `mailhub')

where mailhub is the name of your firewall machine.  sendmail will
then forward any non-local mail to mailhub
-- 
Rick Nelson
C:\WINDOWS C:\WINDOWS\GO C:\PC\CRAWL


Re: Sendmail config problem

1999-01-29 Thread Jaldhar H. Vyas
Thanks, that worked!

-- 
Jaldhar H. Vyas [EMAIL PROTECTED]

On Fri, 29 Jan 1999, Richard A Nelson wrote:

 
 Let sendmail's local delivery work as before, and add this line to
 your sendmail.mc:
   define(`SMART_HOST', `mailhub')
 
 where mailhub is the name of your firewall machine.  sendmail will
 then forward any non-local mail to mailhub
 -- 
 Rick Nelson
 C:\WINDOWS C:\WINDOWS\GO C:\PC\CRAWL
 


Re: sendmail config Q.

1999-01-13 Thread Rob S. Wolfram
On Sat, Aug 02, 1997 at 12:57:34PM +0800, zhaoway wrote:

Methinks the date of your system needs checking...

 i want to rewrite the reply-to addr. according to the receipent's email
 addr.
 i don't know howto. anyone can help me? i use sendmail.
 
 why i want this, if you have interests to read on:-)
 my boss do not want to manage multiple email accounts.
 he setup his reply-to addr. to be [EMAIL PROTECTED], and want to
 deliever local mail locally, but you see, when manager got the boss's
 local email, and do a reply, it's forward to [EMAIL PROTECTED] which is 
 through the isdn to our isp, but the boss want it be delievered locally,
 directlly, to [EMAIL PROTECTED] which is in our local LAN. i hope you
 got it.

Maybe you should take a look at
http://www.harker.com/sendmail/sendmail-ref.html . There is a
sendmail.cf generator which includes a ruleset hack to deliver
mail to local machines directly, even if you specified a smarthost.
You should, however, have a local DNS to specify the MX record for
smallco.com.

HTH,
Rob
-- 
Rob S. Wolfram [EMAIL PROTECTED]   PGP 0x07606049
   I think there is a world market for maybe five computers. 
-- Thomas Watson, Chairman of IBM, 1943


Re: sendmail config Q.

1998-12-27 Thread jpjevans
Hi, folks

I have a similar question:

Almost every client that uses sendmail to post mail to my ISP uses my 
login_name.machine_name for the return address. I get my mail from a POP
account using fetchmail, so my actual mail address is my [EMAIL PROTECTED]
I don't have the problem with TkMail or mutt because those clients have an 
option to
insert the correct info. How can I get sendmail to do this? 

TIA for any help.


zhaoway wrote:
 From debian-user@lists.debian.org Sun Dec 27 09:10:22 1998
 Date: Sat, 02 Aug 1997 12:57:34 +0800
 From: zhaoway [EMAIL PROTECTED]
 To: debian-user@lists.debian.org
 Subject: sendmail config Q. 
 
 i want to rewrite the reply-to addr. according to the receipent's email
 addr.
 i don't know howto. anyone can help me? i use sendmail.
 
 why i want this, if you have interests to read on:-)
 my boss do not want to manage multiple email accounts.
 he setup his reply-to addr. to be [EMAIL PROTECTED], and want to
 deliever local mail locally, but you see, when manager got the boss's
 local email, and do a reply, it's forward to [EMAIL PROTECTED] which is 
 through the isdn to our isp, but the boss want it be delievered locally,
 directlly, to [EMAIL PROTECTED] which is in our local LAN. i hope you
 got it.
 
 thank you for your patience on my englidh :-)
 
 TIA
 zhaoway
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
 
 

--
'til next we type...
HAVE FUN!! -- Jesse