configuration send-mail + fetch-mail

configuration send-mail + fetch-mail

Post by Alex Fitterli » Sun, 31 Dec 1899 09:00:00



Hi everybody out there...

having problems using send-mail... how do I need to setup my sendmail.ct
(or even create one via m4) to have send-mail masquerading the whole user-
email-address.... masquerading the domain.. is working.. but not the user..
so, e.g.: username at the provider is 'usrprov' and 'local' it is 'alex'
          send-mail now does send and masquerades it as


Another problem is that using fetch-mail in spite of it's functional in that
way that it just fetches (..finally I got this working), at every
time I fetch, the send-mail queue is getting bigger and bigger due to probably
problems to transport all incoming mail to local users... My fetchmailrc
is o.k... but something might wrong with my sendmail.ct... I did use a script
to create sendmail.ct....

I should say, that there's another thread in this group... I thought it might
be interesting.. especially I know lot of demands about configuring send-mail,
fetch-mail and so on.... (SO, don't look any further guys.. here is the fitting
on! ;) )

Right because of this fact... I do now embed my fetchmailrc and sendmail.ct
 again..... forgive me! but it's necessary... and also I think it's for a
good purpose, don't you all agree with me ?! :))

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

send-mail mc-script following........

-------------------CUT--------------------------------

divert(-1)

include(`/usr/share/sendmail/m4/cf.m4')
divert(0)dnl

OSTYPE(`linux')dnl

undefine('UUCP_RELAY')
undefine('BITNET_RELAY')
FEATURE(redirect)
FEATURE(always_add_domain)
FEATURE(local_procmail)

define(`LUSER_RELAY', `local:postmaster')dnl

FEATURE(`always_add_domain')dnl

define('confUSERDB_SPEC','/etc/userdb.db')
MASQUERADE_AS(`public.uni-hamburg.de')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(`allmasquerade')dnl

dnl
dnl  These mailers are available. per default only smtp is used. You have
dnl  to add entries to /etc/mail/mailertable to enable one of the other
dnl  mailers.
dnl
MAILER(`local')dnl
MAILER(`procmail')dnl
MAILER(`smtp')dnl
MAILER(`uucp')dnl
MAILER(`bsmtp')dnl
MAILER(`fido')dnl
LOCAL_CONFIG
Cw localhost sokrates.hagenbeck.uni-hamburg.de

--------------------END--------------------------------

-------------------CUT--------------------------------

# Configuration created Thu Jul  6 23:55:12 2000 by fetchmailconf
set postmaster "alex"
set bouncemail
set properties ""
poll public.uni-hamburg.de with proto POP3
       user "fe8x025" there with password "fit5032" is

    antispam 571 550 501 554

and.. at the last... my userdb (nontranslated)
-------------------CUT--------------------------------

root:mailname 'providerlogin'
alex:mailname 'providerlogin'
khayam:mailname 'providerlogin'

--------------------END--------------------------------

Is there anything wrong.... ... where's the mistake ?

I'm so glad to ask you guys for advice (and its also a great honoe for me)
..... ;)

TIA a lot ! :)

--

        Alex Fitterling

--

 
 
 

configuration send-mail + fetch-mail

Post by Alex Fitterli » Sun, 31 Dec 1899 09:00:00


It's me again... ..who else could it be ?! ;))

changing the expression of OSTYPE in contents of the line below to
suse-linux instead of linux it worked !

Quote:>OSTYPE(`linux')dnl

Finally I helped my self.... but why ? Didn't sendmail just work only
because of this stupid mistake ??

Further all I did not mention that sendmail -q gave out a message saying that
OSTYPE is wrong .. hmm ?!? I got no glue... where else is OSTYPE set ?
Is there a need to be ?

Alex

P.S: Working opossite rule by discussing my own problems with myself...
(I tell you - it's fun...) hehe... but if everyone did the communication
 level at all would be get rather poor in this group.... in addition pooring
its own reputation -
        so my advice to you.. don't do it the same ! :))

- Thx

 
 
 

configuration send-mail + fetch-mail

Post by blowfis » Sun, 31 Dec 1899 09:00:00



> It's me again... ..who else could it be ?! ;))

> changing the expression of OSTYPE in contents of the line below to
> suse-linux instead of linux it worked !

> >OSTYPE(`linux')dnl

> Finally I helped my self.... but why ? Didn't sendmail just work only
> because of this stupid mistake ??

> Further all I did not mention that sendmail -q gave out a message saying that
> OSTYPE is wrong .. hmm ?!? I got no glue... where else is OSTYPE set ?
> Is there a need to be ?

> Alex

> P.S: Working opossite rule by discussing my own problems with myself...
> (I tell you - it's fun...) hehe... but if everyone did the communication
>  level at all would be get rather poor in this group.... in addition pooring
> its own reputation -
>         so my advice to you.. don't do it the same ! :))

> - Thx

Use Postfix instead of Sendmail. It's a hell lot easierbto set
up.

Alex Lam.
--
  "Think for yourself. Question authory." saids Timothy Leary.
  "Think for yourself. Question everybody." -Alex Lam. 2000.
  "Government is not the solution to our problem; government
is the problem" - Ronald Regan.

 
 
 

1. Using mail/Mail to send HTML mail via SMTP

Hi,

I'm extremely rusty on UNIX, and am looking for help on sending HTML mail
via SMTP, using mail or Mail.  Could somebody send me a commandline, please?
Specifically:

--how to specify recipient
--how to specify subject
--how to set content-type to HTML
--how to 'attach a file' a la most Windows mail programs

I'm on System V, Release 4

Thanx

--A

2. Using different network profiles

3. Can send mail out but can't send mail in?

4. Usage of SIOCADDMULTI ?

5. Send / Fetch Mail

6. configuration of X

7. Send/Fetch Mail?

8. 2.5.50-current-bk v4l2: too few spaces in struct definition

9. How do I delete mail from mail file /var/mail/su after reading mails

10. Sending mails through remote mail server

11. Help! Sending mail But not Receiving mail!

12. Help -- Linux box can send mail out, but cannot receive mail

13. Help with sending mail from AIX to PC mail server