|
|
|
|
||||||
| comp.mail.sendmail Configuring and using the BSD sendmail agent. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I have a custom program listening on port 25, but I still need to use
sendmail to actually send email from localhost to internet. I don't know how to configure the sendmail.cf (Solaris 10 x86) to either disable the listener or move it to a new port. You can see below that when I fire-up sendmail, it takesover port 25... sendmail.cf: # SMTP daemon options #O DaemonPortOptions=Name=MTA-v4, Family=inet #O DaemonPortOptions=Name=MTA-v6, Family=inet6 #O DaemonPortOptions=Port=587, Name=MSA, M=E OO Port=2525 # telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 localhost SMTP Server (JAMES SMTP Server 2.2.0) ready Mon, 30 Apr 2007 14:36:01 -0700 (MST) quit 221 localhost Service closing transmission channel Connection to localhost closed by foreign host. # svcadm enable smtp # telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 dss1.datafusion-ct.com ESMTP Sendmail 8.13.7+Sun/8.13.7; Mon, 30 Apr 2007 14:36:20 -0700 (MST) quit 221 2.0.0 dss1.datafusion-ct.com closing connection Connection to localhost closed by foreign host. # |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
rwatkins@dssolutions.com writes:
> I have a custom program listening on port 25, but I still need to use > sendmail to actually send email from localhost to internet. I don't > know how to configure the sendmail.cf (Solaris 10 x86) to either > disable the listener or move it to a new port. You can see below that > when I fire-up sendmail, it takesover port 25... > > sendmail.cf: > # SMTP daemon options > #O DaemonPortOptions=Name=MTA-v4, Family=inet > #O DaemonPortOptions=Name=MTA-v6, Family=inet6 > #O DaemonPortOptions=Port=587, Name=MSA, M=E > OO Port=2525 > [...] In sendmail.mc you use to generate sendmail.cf insert the following lines: FEATURE(`no_default_msa')dnl DAEMON_OPTIONS(`Family=inet, Name=MSP-v4, Port=587, Addr=127.0.0.1')dnl -- [pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl Before You Ask: http://anfi.homeunix.net/sendmail/B4UAsk-Sendmail.html |
|
![]() |
| Outils de la discussion | |
|
|