Portál AbcLinuxu, 14. srpna 2025 09:55


Dotaz: sendmai -smtp server s autentifikaciou

27.4.2005 12:14 dolko | skóre: 7
sendmai -smtp server s autentifikaciou
Přečteno: 156×
Odpovědět | Admin
Zdravim, mam mail server a posielam postu cez sendmail pomocou vyhladania prijemcu v DNS. Potreboval by som poradit ako poslat postu cez smtp server providera, ktory ale vyzaduje autentifikaciu. Ako to nastavit v sendmail? Dakujem.
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

27.4.2005 14:21 Michal Čihař | skóre: 61 | blog: Bláboly | Praha
Rozbalit Rozbalit vše Re: sendmai -smtp server s autentifikaciou
Odpovědět | | Sbalit | Link | Blokovat | Admin
Google dnes nefunguje?
Weblate - překládání přes web | Gammu SMSD - posílání SMS | Blog
27.4.2005 14:53 dolko | skóre: 7
Rozbalit Rozbalit vše Re: sendmai -smtp server s autentifikaciou
Odpovede tohto typu vzdy potesia. Ak to neviete tak nemusite reagovat. A samozrejme ze Google funguje a fuguje aj abclinuxu. Ak to najdete skor ako ja dajte mi vediet.
27.4.2005 14:55 Michal Čihař | skóre: 61 | blog: Bláboly | Praha
Rozbalit Rozbalit vše Re: sendmai -smtp server s autentifikaciou
Samozřejmě, že jsem to našel, zkusil bych kliknout na ten otazník :-) ... Ve výsledcích bych si vybral třeba první dotaz (pravděpodobně můžeš přeskočit kompilaci)
27.4.2005 14:59 Michal Čihař | skóre: 61 | blog: Bláboly | Praha
Rozbalit Rozbalit vše Re: sendmai -smtp server s autentifikaciou
s/dotaz/odkaz/
27.4.2005 15:13 dolko | skóre: 7
Rozbalit Rozbalit vše Re: sendmai -smtp server s autentifikaciou
Ospravedlňujem sa ale uz som asi trochu alergicky na Google dnes nefunguje? Takze dik za snahu idem skusať.
27.4.2005 20:06 dolko | skóre: 7
Rozbalit Rozbalit vše Re: sendmai -smtp server s autentifikaciou
Tak uz mi to chodi. Keby niekto potreboval tak pomohlo mi toto.

Using sendmail as a client with AUTH (This section has been written by Benji Fisher. Thanks!)

If you are using sendmail only to transfer e-mail from your local computer to a mail server that requires SMTP AUTH, follow these instructions. They assume that sendmail 8.12 or later, and other software, is already installed on your computer. You should probably be logged in as root to perform these steps.

1. Change directory to where your sendmail configuration files (sendmail.mc and sendmail.cf) are located, usually /etc/mail/. 2. Create a safe subdirectory (suggested name auth/):

# mkdir auth # chmod 600 auth

3. Create a file with your authentication information (suggested name auth/client-info):

AuthInfo:your.isp.net "U:root" "I:user" "P:password"

filling in your ISP's mail server, your user name, and your password. (Note: Earthlink, and perhaps other ISP's, requires your full e-mail address as a user name.) 4. Generate the authentication database and make both files readable only by root:

# cd auth # makemap hash client-info < client-info # chmod 600 client-info* # cd ..

5. Add the following lines to your sendmail.mc file, filling in your ISP's mail server:

define(`SMART_HOST',`your.isp.net')dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl

6. Generate sendmail.cf:

# m4 sendmail.mc > sendmail.cf

7. Restart the sendmail daemon, e.g., (this depends on your OS):

# kill -HUP `cat /var/run/sendmail.pid`

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.