f



Help with confMAX_DAEMON_CHILDREN, need to reserve a few daemons for outgoing mail

I have set confMAX_DAEMON_CHILDREN to 50 on our sendmail server.  But do to
this Virus going arround, it has caused a denial of service since it has
take up all 50 slots.  I need an option to reserve a percentage of these
slots, so that we can send out mail, and to also receive mail.

My ideal is to add an option to sendmail (confRESERVE_DAEMON_CHILDREN, ?)
that would allow me to reserve a portion of the confMAX_DAEMON_CHILDREN, and
then use a file (or the access file) to specify which mail servers or IP
addresses are allowed to use the reserved daemons.

Is there a patch that implements this?

Where should I look in the sendmail sources to implement this option?

Scot


0
Zxycba
8/20/2003 11:29:48 PM
comp.mail.sendmail 13509 articles. 1 followers. jfretby (35) is leader. Post Follow

5 Replies
347 Views

Similar Articles

[PageSpeed] 55

<Zxycba> wrote in message news:1061422312.670804@WBIw009.westbend.net...
> I have set confMAX_DAEMON_CHILDREN to 50 on our sendmail server.  But do
to
> this Virus going arround, it has caused a denial of service since it has
> take up all 50 slots.  I need an option to reserve a percentage of these
> slots, so that we can send out mail, and to also receive mail.
>
> My ideal is to add an option to sendmail (confRESERVE_DAEMON_CHILDREN, ?)
> that would allow me to reserve a portion of the confMAX_DAEMON_CHILDREN,
and
> then use a file (or the access file) to specify which mail servers or IP
> addresses are allowed to use the reserved daemons.
>
> Is there a patch that implements this?
>
> Where should I look in the sendmail sources to implement this option?
>
> Scot
>
>

My solution, although not for everyone, is to run an MX server that is not
the primary server for the ISP. The incoming MX is the filter server with
the dnsbls and HSubject: $>Check_Subject checks, so outside servers may only
experiance a delay in having their mail delivered, and local (dialup and
DSL) users always have smtp service since the filter box is the one taking
the beating. A quick dns change if the filter has a config problem while
you're doing maintenance is all that is needed.

Tim
Glinx Internet / Tallships Online


0
timj1 (4)
8/21/2003 12:38:17 AM
 wrote:
> I have set confMAX_DAEMON_CHILDREN to 50 on our sendmail server.  But do to
> this Virus going arround, it has caused a denial of service since it has
> take up all 50 slots.  I need an option to reserve a percentage of these
> slots, so that we can send out mail, and to also receive mail.

Something like that will be available in 8.13.

Take a look at http://j-chkmail.ensmp.fr/sm/
for the basic work.

-- 
A: Maybe because some people are too annoyed by top-posting.
Q: Why do I not get an answer to my question(s)?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
0
Claus
8/21/2003 1:48:25 AM
"Claus A�mann" <ca+sendmail(-no-copies-please)@mine.informatik.uni-kiel.de>
wrote in message news:bi18d9$dkt$1@zardoc.esmtp.org...
> wrote:
> > I have set confMAX_DAEMON_CHILDREN to 50 on our sendmail server.  But do
to
> > this Virus going arround, it has caused a denial of service since it has
> > take up all 50 slots.  I need an option to reserve a percentage of these
> > slots, so that we can send out mail, and to also receive mail.
>
> Something like that will be available in 8.13.
>
> Take a look at http://j-chkmail.ensmp.fr/sm/
> for the basic work.
>
I haven't looked in depth in to the rate control source, but from what I
have read, it will only throttle the number of connections received from the
same IP address.  My problem is that I am being bombarded by requests many
different networks.

So I need a solution that will allow me to white list trusted networks, so
that they can connect to the reserved sendmail daemons.

So far I have most of it designed, but I don't know how to check for the
connecting mail servers IP address.

Attached is a patch that starts to implement this:

    TODO:
        - create reserved_children function to determine if the address is
allowed to connect to the reserved sendmail daemons.
            - determine the IP address of the connecting mail server
            - check IP address against {reserve_children} (i.e.
/etc/mail/reserve-children) list to see if it's allowed to connect.

NOTE: the following patch is against FreeBSD 4-STABLE source tree, which
contains sendmail 8.12.9.  If you want to use it on the sendmail 8.12.9
distribution, then replace src/ with sendmail/.

If anyone can give me some help on this, I would appreciate it.

Scot

Index: cf/m4/proto.m4
===================================================================
RCS file: /home/ncvs/src/contrib/sendmail/cf/m4/proto.m4,v
retrieving revision 1.1.1.4.2.13
diff -u -r1.1.1.4.2.13 proto.m4
--- cf/m4/proto.m4 29 Mar 2003 19:33:14 -0000 1.1.1.4.2.13
+++ cf/m4/proto.m4 21 Aug 2003 02:43:39 -0000
@@ -487,6 +487,13 @@
 # maximum number of children we allow at one time
 _OPTION(MaxDaemonChildren, `confMAX_DAEMON_CHILDREN', `0')

+ifdef(`_FFR_RESERVE_DAEMON_CHILDREN', `dnl
+# number of daemon children to reserve from MaxDaemonChildren
+_OPTION(ReserveDaemonChildren, `confRESERVE_DAEMON_CHILDREN', `0')
+
+# list of ip addresses or networks allowed to use the reserved daemon
children
+F{reserve_children} -o `'ifdef(`confRESERVE_EXCLUDE_FILE',
confRESERVE_EXCLUDE_FILE, `MAIL_SETTINGS_DIR`'reserve-children')')
+
 # maximum number of new connections per second
 _OPTION(ConnectionRateThrottle, `confCONNECTION_RATE_THROTTLE', `0')

Index: src/conf.c
===================================================================
RCS file: /home/ncvs/src/contrib/sendmail/src/conf.c,v
retrieving revision 1.5.2.14
diff -u -r1.5.2.14 conf.c
--- src/conf.c 29 Mar 2003 19:33:16 -0000 1.5.2.14
+++ src/conf.c 21 Aug 2003 01:43:11 -0000
@@ -2268,6 +2268,43 @@
   (void) sleep(1);
  }

+#if _FFR_RESERVE_DAEMON_CHILDREN
+ if (MaxChildren > 0)
+ {
+  if (CurChildren >= MaxChildren)
+  {
+   proc_list_probe();
+   if (CurChildren >= MaxChildren)
+   {
+#define R_MSG_CHILD "rejecting connections on daemon %s: %d children, max
%d"
+    sm_setproctitle(true, e, R_MSG_CHILD,
+     name, CurChildren, MaxChildren);
+    if (LogLevel > 8)
+     sm_syslog(LOG_INFO, NOQID, R_MSG_CHILD,
+      name, CurChildren, MaxChildren);
+    return true;
+   }
+  }
+  else if (ReserveChildren > 0 && ReserveChildren < MaxChildren &&
CurChildren >= MaxChildren - ReserveChildren)
+  {
+   proc_list_probe();
+   if (CurChildren >= MaxChildren - ReserveChildren)
+   {
+#define R_MSG_RESERVED "rejecting non-reserved connections on daemon %s: %d
children, max %d"
+    /* check if this host is allowed to use the reserved children */
+    if (reserved_children(e))
+    {
+     sm_setproctitle(true, e, R_MSG_RESERVED,
+      name, CurChildren, MaxChildren - ReserveChildren);
+     if (LogLevel > 8)
+      sm_syslog(LOG_INFO, NOQID, R_MSG_RESERVED,
+       name, CurChildren, MaxChildren - ReserveChildren);
+     return true;
+    }
+   }
+  }
+ }
+#else /* _FFR_RESERVE_DAEMON_CHILDREN */
  if (MaxChildren > 0 && CurChildren >= MaxChildren)
  {
   proc_list_probe();
@@ -2282,6 +2319,7 @@
    return true;
   }
  }
+#endif /* !_FFR_RESERVE_DAEMON_CHILDREN */
  return false;
 }
 /*
Index: src/readcf.c
===================================================================
RCS file: /home/ncvs/src/contrib/sendmail/src/readcf.c,v
retrieving revision 1.1.1.4.2.14
diff -u -r1.1.1.4.2.14 readcf.c
--- src/readcf.c 29 Mar 2003 19:33:17 -0000 1.1.1.4.2.14
+++ src/readcf.c 21 Aug 2003 00:26:25 -0000
@@ -2108,6 +2108,10 @@
 # define O_REQUIRES_DIR_FSYNC 0xd2
  { "RequiresDirfsync", O_REQUIRES_DIR_FSYNC, OI_NONE },
 #endif /* _FFR_REQ_DIR_FSYNC_OPT */
+#if _FFR_RESERVE_DAEMON_CHILDREN
+# define O_RESERVE_DAEMON_CHILDREN 0xe0
+ { "ReserveDaemonChildren", O_RESERVE_DAEMON_CHILDREN, OI_NONE },
+#endif /* _FFR_RESERVE_DAEMON_CHILDREN */
  { NULL,    '\0',  OI_NONE }
 };

@@ -2925,6 +2929,12 @@
    case O_MAXCHILDREN: /* max # of children of daemon */
   MaxChildren = atoi(val);
   break;
+
+#if _FFR_RESERVE_DAEMON_CHILDREN
+   case O_RESERVE_DAEMON_CHILDREN: /* # of children of daemon to reserve
for private use */
+  ReserveChildren = atoi(val);
+  break;
+#endif /* _FFR_RESERVE_DAEMON_CHILDREN */

    case O_MAXQUEUECHILDREN: /* max # of children of daemon */
   MaxQueueChildren = atoi(val);
Index: src/sendmail.h
===================================================================
RCS file: /home/ncvs/src/contrib/sendmail/src/sendmail.h,v
retrieving revision 1.1.1.4.2.15
diff -u -r1.1.1.4.2.15 sendmail.h
--- src/sendmail.h 29 Mar 2003 19:33:18 -0000 1.1.1.4.2.15
+++ src/sendmail.h 21 Aug 2003 00:44:07 -0000
@@ -2191,6 +2191,9 @@
 EXTERN int LogLevel; /* level of logging to perform */
 EXTERN int MaxAliasRecursion; /* maximum depth of alias recursion */
 EXTERN int MaxChildren; /* maximum number of daemonic children */
+#if _FFR_RESERVE_DAEMON_CHILDREN
+EXTERN int ReserveChildren; /* number of daemonic children to reserve for
private use */
+#endif
 EXTERN int MaxForwardEntries; /* maximum number of forward entries */
 EXTERN int MaxHeadersLength; /* max length of headers */
 EXTERN int MaxHopCount; /* max # of hops until bounce */


0
Zxycba
8/21/2003 3:04:31 AM
 wrote:
> "Claus A�mann" 

> > wrote:
> > > I have set confMAX_DAEMON_CHILDREN to 50 on our sendmail server.  But do
> to
> > > this Virus going arround, it has caused a denial of service since it has
> > > take up all 50 slots.  I need an option to reserve a percentage of these
> > > slots, so that we can send out mail, and to also receive mail.

> > Something like that will be available in 8.13.

> > Take a look at http://j-chkmail.ensmp.fr/sm/
> > for the basic work.

> I haven't looked in depth in to the rate control source, but from what I
> have read, it will only throttle the number of connections received from the
> same IP address.  My problem is that I am being bombarded by requests many
> different networks.

> So I need a solution that will allow me to white list trusted networks, so
> that they can connect to the reserved sendmail daemons.

> So far I have most of it designed, but I don't know how to check for the
> connecting mail servers IP address.

RELEASE_NOTES:

8.13.0/8.13.0   ????/??/??

        New macro {client_connections} which contains the number of open
                connections in the SMTP server for the client IP address.
                Based on patch from Jose Marcio Martins da Cruz, Ecole des
                Mines de Paris.

        CONFIG: New FEATURE(`conncontrol.m4') to set the limits for the
                number of open SMTP connections for individual hosts or nets.


cf/README:

conncontrol	Enable a simple check of the number of incoming SMTP
		connections.  This requires entries in access_db of the
		form

			ClientConn:IP.ADD.RE.SS		LIMIT

		The RHS specifies the maximum number of open connections
		(an integer number).

		Take the following example:

			ClientConn:10.1.2.3		4
			ClientConn:127.0.0.1		0
			ClientConn:			10

		10.1.2.3 can only have up to 4 open connections, the
		general limit it 10, and 127.0.0.1 does not have any
		explicit limit.

-- 
A: Maybe because some people are too annoyed by top-posting.
Q: Why do I not get an answer to my question(s)?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
0
Claus
8/21/2003 5:17:16 AM
Claus A�mann wrote:
>  wrote:
> 
>>I have set confMAX_DAEMON_CHILDREN to 50 on our sendmail server.  But do to
>>this Virus going arround, it has caused a denial of service since it has
>>take up all 50 slots.  I need an option to reserve a percentage of these
>>slots, so that we can send out mail, and to also receive mail.
> 
> 
> Something like that will be available in 8.13.
> 
> Take a look at http://j-chkmail.ensmp.fr/sm/
> for the basic work.
> 

THANK YOU!!

dp

0
dennispe (388)
8/24/2003 9:43:09 PM
Reply:

Similar Artilces:

Need help in using sendmail for outgoing mail
How do I configure sendmail to be able to send outgoing mail to addresses outside my LAN? Can I even do that in sendmail when I use DHCP to connect to the outside world. I don't care about incoming mail right now. I wouldn't expect to get that to work since I cannot easily link a domain name to dynamic IP. My systems (Solaris8 and Linux) are both connected to a router, which is then connected to a cable modem. They receive local IP's from the router: 192.168.1.100 and 192.168.1.101. When I tried sending from Linux the mail bounced with an error message: mail -s TEST test_xxadr9@yahoo.com < test1.txt ----- The following addresses had permanent fatal errors ----- <test_xxadr9@yahoo.com> (reason: 501 Syntax error in parameters or arguments) ----- Transcript of session follows ----- .... while talking to mx2.mail.yahoo.com.: >>> MAIL From:<pdl@localhost> SIZE=316 <<< 501 Syntax error in parameters or arguments 501 5.6.0 Data format error Obviously, I can not use localhost as sender host name. The question is what fake host/domain names should I use and how do I configure this for sendmail? nslookup -q=mx yahoo.com works so I don't think I have any problems in connecting to DNS. Trying from Solaris gave me another error: ----- The following addresses had permanent fatal errors ----- test_xxadr9@yahoo.com (reason: 550 Host unknown) ----- Transcript of session follows ----- 550 5.1.2 test_xxadr9@yahoo.co...

Need Milter+capturing Outgoing mail in SENDMAIL. HELP~
Dear all, any one out there have done the milter+sendmail for monitoring outgoing mail? please advice, THANKS! lim wrote: > Dear all, > any one out there have done the milter+sendmail for monitoring outgoing mail? > please advice, > > THANKS! milter-spamc can do this. See the -a option. -- Anthony C Howe +33 6 11 89 73 78 http://www.snert.com/ ICQ: 7116561 AIM: Sir Wumpus "...simplicity is a goal of good design, it is never the starting point." - Dan Geer ...

Please help on reject incoming mails but allowing outgoing mail.
Hi there, I am trying to configure sendmail under Solaris 8 to reject inbound mail for company1.com but allowing outbound mails from company1.com until the merge of company1 is over. I did the reject inbound mail in /etc/mail/access company1.com REJECT warning message. I don't know how to configure sendmail to allow outbound messages from company1.com. Please help. Perry. pw wrote: > Hi there, > > I am trying to configure sendmail under Solaris 8 to reject inbound mail for > company1.com but allowing outbound mails from company1.com until the merge > of company1 is over. I did the reject inbound mail in /etc/mail/access > company1.com REJECT warning message. > > I don't know how to configure sendmail to allow outbound messages from > company1.com. > > Please help. > > Perry. > > The 'access' file controls *from* whom you accept mail. So, if you want mail originating from company1.com to be sent via that server, to both local and remote (relayed) destinations, you might put this in 'access': company1.com RELAY If you just want sendmail to accept mail from company1 for local recipients: company1.com OK This accepts the mail if the recipient is local, but will not allow relaying. Don't forget to do a make in your mail directory to generate the updated access map. Off the top of my head, I don't recall the tweak to prevent mail *inbound* for company1.com to be rejecte...

Help needed with fetchmail/sendmail, some mail is delivered to postmaster
Some incoming mail is misdirected to postmaster. It appears that this happens only with some mails (not all) originating from some mailing lists (not all). Of interest is the last line in the headers, X-Fetchmail-Warning: recipient address members@beverley-soaring.org.au didn't match any local name. This is certaily true, as it is the name of the list. The question is however, where did fetchmail get this from, as the for header within the message already states postmaster@localhost (as retrieved by fetchmail from the ISP, or with telnet to port 110). Was that X-Fetchmail-Warning really added by my fetchmail or did that happen somewhere in-between? So what is needed in fetchmailrc to rectify this? I spoke to the ISP and was told that either my fetchmail configuration file is wrong or that the fetchmail version I am using (6.2.1-25) is too old. I greatly appreciate your help with this. I attach my .fetchmailrc file, a fetchmail log extract of the incoming mail and the headers of the email below. Thanks in advance for any ideas and suggestions. Peter 1. .fetchmailrc --------------- set postmaster "postmaster" set nobouncemail set properties "" poll mail.highway1.com.au with proto pop3 envelope mydomain.com.au aka mydomain.com.au localdomains mydomain.com.au user "username" there with password "password" to * here warnings 3600 2. fetchmail log ---------------- fetchmail: SMTP< 250-tux.mydomain.com.au Hello localhost...

How do I delete mail from mail file /var/mail/su after reading mails
I used to receive data in mail from users. I used to read those data and load that into a ORACLE table. However I am not able to delete those mails after reading and loading it. Currently I delete them manually when the mail file grow very big Is there a way we can delete these mails after we read it using shell script ? ...

[Eudora and Mail] Importing e-mail into Mail ?
Hi, After many years using Eudora, I think it is time to switch. Eudora is corrupting its mailboxes, old messages tend to mix up and become unreadable. This is unfortunate as otherwise Eudora does the right things for me. So the questions are : - which e-mail app do you recommend (on a PowerBook G4/667, 10.4.10) ? - I am currently trying Mail; succeeded in importing the Eudora mailboxes except the Inbox (1GB) -> how do I import it ??? CAB Try Eudora Mailbox Cleaner. Worked perfectly for me. Jenny On Oct 16, 11:40 pm, cab <v...@nospam.com> wrote: > Hi, > After many years us...

mails sent by sendmail were treated as junk mail
Hi there, I am a newbie of sendmail and trying to configure it to work as my main mailserver which allow POP3 and SMTP connection from outside. My problem is that I cannot send out any mails which appears like sender: xxx@mydomain.com. If I send mail through terminal, my sent-out mail would looks like aaa@hostname.mydomain.com instead of aaa@mydomain.com. hostnam.mydomain.com is a qualified name of my linux box runing sendmail. Second, I configured a openwebmail on this linux box to allow users login from anywhere to manager their mails, and it works fine. However, all the out-going mails sent throug openwebmail are treated as junk mail by most mail server like hotmail and yahoo. It was complained as unknown sender(at this case, sender appears aaa@mydomain.com) Does anyone have any experience in such situation or have any ideas how to configure sendmail to solve my problems? My network setting is simply as router -> DMZ zone -> linux box which is runing sendmail. I have a domain, mydomain.com, which is parking at a domain hosting company where my zone file is actually located. I changed the MX record in the zone file so that it points to my static ip address(eg. 10.11.12.113). After some simple changes were done, I can receive any emails sent to my domain, like xxx@mydomain.com. Thanks for any ideas! In article <d57b272d.0405151235.19d0384b@posting.google.com> vbcache@hotmail.com (cerberus) writes: > >I am a newbie of sendmail and trying to configure ...

help: how do I delete a specific mail from the mail queue?
I'm using sendmail 8 on RH9. I want to delete a specific mail from the mail queue. Is there not a simple way to do this? I can't seem to find the info anywhere. I am not using Postfix btw, and I only seem to be able to find a postfix command to do this but that doesn't work. Thanks in advance. Regards, Tobias Skytte Tobias Skytte wrote: > I'm using sendmail 8 on RH9. I want to delete a specific mail from the > mail queue. Is there not a simple way to do this? I can't seem to find There is no simple way because mail is not supposed to be deleted while in transit. It should either get delivered or the sender should be informed about non-delivery. To do that, use sendmail -qIqueueid -O Timeout.queuereturn=now See man sendmail If you really want to delete the mail, take a look at contrib/qtool.pl PS: If the item isn't locked, you could simply remove its queue files (qf and df, check the output of mailq). -- A: Maybe because some people are too annoyed by top-posting. Q: Why do I not get an answer to my question(s)? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? Claus A�mann <ca+sendmail(-no-copies-please)@mine.informatik.uni-kiel.de> wrote in message news:<ch9up5$i6t$1@zardoc.esmtp.org>... > sendmail -qIqueueid -O Timeout.queuereturn=now > Thanks alot, that works great. There is one 'legitimate' reason for deleting mails in transit IMHO, in our LAN ...

Need help with mail routing
Hi I'm running sendmail-8.11.6-15 on a redhat 7.3 server I have 2 "internet registered" domains one in SouthAfrica and one in Australia I want to configure my mail server in SouthAfrica to send my Australia mail via a internal ip and not the internet registered ip My sendmail is configured with an isp as the "smart relay host" I tried using webmin-1.140-1 to configure a mailertable but still can't get the mail to not go to internet ip Need help ASAP Thanks Alex Jordaan How does your mailertable look like? I would suggest also to include in your hosts file the IPs of your AU mail server. Alex Jordaan wrote: > Hi > > I'm running sendmail-8.11.6-15 on a redhat 7.3 server > > I have 2 "internet registered" domains one in SouthAfrica and one in > Australia > > I want to configure my mail server in SouthAfrica to send my Australia mail > via a internal ip and not the internet registered ip > > My sendmail is configured with an isp as the "smart relay host" > > I tried using webmin-1.140-1 to configure a mailertable but still can't get > the mail to not go to internet ip > > Need help ASAP > > Thanks > Alex Jordaan > > -- William Alcantara Network & Development Talaya Internet Services http://www.ite.net 1.671.646.8886 My mailertable file looks like ------------ SNIP ------------ cat /etc/mail/mailertable ..franklins.com.au smtp:f...

Mail will not send mail but will receive mail
At work I have a Wallstreet with Jaguar connected to a DSL line. Up until a couple days ago I have been able to use my personal ISP smtp address to send and receive mail. This is not the same company as the DSL provider. A couple days ago I was able to receive posts but not send them. I tried repairing permissions, and trashing the Mail prefs. Finally I emailed my ISP and the response was that I have to use the DSL carrier's smtp address. Yet, I've been using my personal ISP's smtp address for about a year. At home I use a dialup with the ISP and everything works fi...

help needed for incoming mail
hi friends, I am hardik,i am doing a project which is subject for us in our last sem. my project is about web hosting. now i need your help in mail section.can anyone tell me how i can retrieve mails?i am successfull in sending mail functions but i was unable to retrieve mails.i have try to use various servers for that i am using windows as operating system,i think imap functions can be used but i was unable to setup imap server for windows.so if u guys can help me out i will be vary thankful to all of you. Bye & Best Of Luck hardik wrote: > hi friends, > > I am hardik,i am doing a project which is subject for us > in our last sem. > my project is about web hosting. > > now i need your help in mail section.can anyone tell me > how i can retrieve > mails?i am successfull in sending mail functions but i was > unable to retrieve > mails.i have try to use various servers for that i am > using windows as operating > system,i think imap functions can be used but i was unable > to setup imap server > for windows.so if u guys can help me out i will be vary > thankful to all of you. > > Bye & Best Of Luck > You could set up either an imap or a pop3 server. Which you use depends on the MTA you're using...

all the outgoing mails should go to one e-mail id
Hi, I want all the outgoing mails should go to one e-mail id. I have sendmail 8.13.6 on Solaris 9 My server is - default sendmail installation/configuration for 127.0.0.1 with relay server entry configured and hence I am able to send mails to outside world. Any sloution? BD ...

Filtering Outgoing Mail With Sendmail
I need to filter mail traveling through a sendmail gateway based on the user who sent the email. Basically, I want to archive all mail being sent/forwarded from results@mydomain.com by sending a copy of the email to another address like outgoing-mail@mydomain.com. I would rather not rely on the end-user simply bcc'ing the piece of mail to outgoing-mail@mydomain.com as they are not responsible enough to remember such a thing. Any help you have to offer will be greatly appreciated... spacebass5000@hotmail.com (Wendell Smith) writes: > I need to filter mail traveling through a sendmail gateway based on > the user who sent the email. > > Basically, I want to archive all mail being sent/forwarded from > results@mydomain.com by sending a copy of the email to another address > like outgoing-mail@mydomain.com. http://www.modulo.ro/synonym/ That milter can send a copy whereever you like. ...

All the outgoing mails should go to one e-mail id
Hi, I have sendmail 8.13.6 on Solaris 9 My server is - default sendmail installation/configuration for 127.0.0.1 with relay server entry configured and hence I am able to send mails to outside world. The Question is: If I am sending an e-mail from any of the user's id on my system to name@xyz.com(or any user on any mail server in the world) it (the mail) should go to user@test.com Any sloution? BD "bd" <bd_0101@yahoo.co.in> writes: > Hi, > I have sendmail 8.13.6 on Solaris 9 > > My server is - default sendmail installation/configuration for > 127.0.0.1 with relay server entry configured and hence I am able to > send mails to outside world. > > The Question is: If I am sending an e-mail from any of the user's id on > my system to name@xyz.com(or any user on any mail server in the world) > it (the mail) should go to user@test.com > > > Any sloution? IF user-x@test.com is a local user/mailbox user THEN use mailertable (or define SMART_HOST). mailertable entry: # "." entry describes "default" routing of outgoing email .. local:user-x URL(s): http://www.sendmail.org/m4/mailertables.html -- [pl2en Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl http://www.sendmail.org/faq/ http://anfi.homeunix.net/sendmail/ Before You Ask: http://anfi.homeunix.net/sendmail/B4UAsk-Sendmail.html ...

need help with queued mail
I am using the win32 4.31 Pegasus Mail client with a POP3 account. Yesterday, I amanaged to somehow queue an email that cannot be sent or deleted. I am in online mode, I see that I have 1 queued mail, and clicking on any of the normal choices to send it does not work (e.g., send all queued mail, reviewed queued mail then send it, etc.). Similarly, if I review the queued mail (Queue Manager), the message has no details. Under Type, it says "Ready to send". Details is blank,and the date shows "7 Feb 06 9:59". If I click Send Now, nothing happens. If I click Delete,...

i need help with my mail script
dear all, i have started learning php 2 weeks ago and i have wrote my first script for mail sender and the script takes all my data and move to the thanks page but the problem is that the mails never comes, so i need your help with me, and here is my script: mail.htm code: <form method="POST" action="mail.php" onSubmit=""> <p>email <input type="text" name="email" size="20"></p> <p>subject <input type="text" name="subject"></p> <p>message<textarea rows="2" name="message" cols="20"></textarea></ p> <p><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p> </form> mail.php code: <?php $email = $HTTP_POST_VARS['email']; $subject = $HTTP_POST_VARS['subject']; $msg = $HTTP_POST_VARS['message']; $from = "s7els7.com"; if (mail($email,$subject,$message,$from)) { echo "<h4>Thank you for sending email</h4>"; } else { echo "<h4>Can't send email to $mail</h4>"; } ?> now please tell me whats wrong with this scripts as i am still trying to learn the php and i need an expert help. you can check my script working at www.s7els7.com/mail.htm thanks shror "shror" <shahir...

need e-mail help
Hi, I have recently dropped aol and have gone to outlook express. I am finding it to be very hard to use. I do not want to go back to AOL because it seems to take over everything but it sure was easy to use. Is Eudora a program that will make e-mail and newsgroups eaasy to use? Please advise. Tim fm CT Tim Dolan wrote: > > I have recently dropped aol and have gone to outlook express. I am > finding it to be very hard to use. > I do not want to go back to AOL because it seems to take over everything > but it sure was easy to use. > Is Eudora a program that will make e-mail and newsgroups eaasy to use? Eudora doesn't do news groups, but it makes email very easy. John Tim Dolan <r.dolan@snet.net> wrote: > Is Eudora a program that will make e-mail and newsgroups eaasy to use? Eudora is an email client, not a newsreader. If you take the time to learn how to use it, it is easy to use. If you expect to just use it without reading the help file or any other instructions, you may not find it so easy to use. You have to set it up to use whatever settings are appropriate for your service provider and you have to make choices about how to do things. AOL doesn't give you much in the way of choices, and it comes set up to use, since it is proprietary software for a specific service provider. As long as you get the necessa...

how to force sendmail to forward mails to another mail server?
Hi all, Currently we have 2 machines for mail (a smtp server and a pop server) Currently, sendmail accepts and sends out mail for our domain. We'd like sendmail to just send out mails but when it receives mails, it should forward it to our pop server. should we use mailertable for this or some other method? thanks for any info ike lozada schrieb: > Hi all, > > Currently we have 2 machines for mail (a smtp server and a pop server) > Currently, sendmail accepts and sends out mail for our domain. We'd > like sendmail to just send out mails but when it receives mails, it > should forward it to our pop server. should we use mailertable for > this or some other method? yes, we do that too. Just enter your domain in the mailertable, but on the receiving side there must be a mta, too, of course. So both servers should be running, e.g. sendmail. the pop server has to allow relaying of the smtp server, too. Keep your receiving server in brackets in the mailertable entry to prevent dns lookups, like so yourdomain.com smtp:[internalserver.internaldomain.com] Tim Tim Aden <corrodan@netcologne.de> wrote in message news:<c08rl4$3ft$1@newsreader2.netcologne.de>... > ike lozada schrieb: > > > Hi all, > > > > Currently we have 2 machines for mail (a smtp server and a pop server) > > Currently, sendmail accepts and sends out mail for our domain. We'd > > like sendmail to just send out mails but when...

spooling outgoing mail with sendmail
Hello Everyone, Using one of my old laptops I am building a FreeBSD 5.4 based system for my girl. Most of the time all she needs is some word-processing (OOO) and e-mailing. At home, where she will want to check her mails, they only have a 36k dial-up connection. Getting her mails from her 2 accounts shouldn't be a problem, I already figured that out more or less (fetchmail). However, I have some foggy parts related to the sending bit. I know that using the dial-up provider's SMTP server it is easy to send the outgoing messages once its set in the mail application, but for certain reasons I'd rather use the local sendmail for that purpose. The idea is to have a local sendmail sort-of COLLECT or SPOOL all kinds of outgoing e-mails while her laptop is off-line, and then when she goes on-line have sendmail to send out all the queued mails. I believe that this might be one of the very basic and default behaviour of sendmail, but what I want to make sure is that while she is off-line and sending out mails she doesn't get error messages or failure notices which will obviously scare her. Also, using such features it can be easy to forget about actually going on-line and sending out those queued mails, so it'd be nice to have a way of checking how many outgoing e-mails are waiting to be sent out. (I can use this to display this number to her, as a reminder to go on-line). If you have experience with such solution, have advi...

Mail and mail directories
I use pine to access my mail (via login to an IMAP server). Pine seems to create two directories <home>/Mail and <home>/mail, and both directories seem to contain identical copies of all my folders. Is there a configuration option that will ensure that pine maintains only one such directory? Thanks Jay *** Jay Gopalakrishnan (nspmjayg@math.ufl.edu.nsp) wrote in comp.mail.pine...: :) I use pine to access my mail (via login to an IMAP server). Pine seems :) to create two directories <home>/Mail and <home>/mail, and both :) directories seem to contain identical copies of all my folders. Is :) there a configuration option that will ensure that pine maintains only :) one such directory? Do you have a simbolic link between Mail and mail?, if so remove it. It is possible that this may break other applications (e.g. Mutt). Hopefully it won't. Eduardo http://www.math.washington.edu/~chappa/pine/ > *** Jay Gopalakrishnan (nspmjayg@math.ufl.edu.nsp) wrote in comp.mail.pine...: > > :) I use pine to access my mail (via login to an IMAP server). Pine seems > :) to create two directories <home>/Mail and <home>/mail, and both > :) directories seem to contain identical copies of all my folders. Is > :) there a configuration option that will ensure that pine maintains only > :) one such directory? Eduardo Chappa wrote: > Do you have a simbolic link between Mail and mail?, No. The directories are not...

mails in the mail queue
Is there a way to generate some mails in the mail queue(without delivering them)? I want to see when starting sendmail daemon, the queued mails will be delivered. Thanks for advices! Bridge wrote: > Is there a way to generate some mails in the mail queue(without > delivering them)? I want to see when starting sendmail daemon, the > queued mails will be delivered. sendmail -odq your@address < some.mail See man sendmail and doc/op/op.* about DeliveryMode. -- A: Maybe because some people are too annoyed by top-posting. Q: Why do I not get an answer to my question(s)? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? Bridge wrote: > Is there a way to generate some mails in the mail queue(without > delivering them)? I want to see when starting sendmail daemon, the > queued mails will be delivered. DeliveryMode=deferred -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ ...

Change ~/mail to ~/.mail ?
Dear readers, I have searched Google and read the FAQ at http://www.washington.edu/pine/faq/ but I can't figure out if it is possible to change ~/mail to ~/.mail Can anyone tell me, if that's possible? Lots of love, Janni *** Janni Jensen (d_e_l_e_t_e_janni@t_h_i_s_elvis.com.nspm) wrote in...: :) I have searched Google and read the FAQ at :) http://www.washington.edu/pine/faq/ but I can't figure out if it is :) possible to change ~/mail to ~/.mail Dear Janni, Yes, try pressing M S L and edit the contents of the "mail collection". Change "mail/" to ".mail/". Eduardo http://www.math.washington.edu/~chappa/pine/ > Yes, try pressing M S L and edit the contents of the "mail collection". > Change "mail/" to ".mail/". This is great! Thanks Eduardo!! I'll never change from Pine. That's for sure. > http://www.math.washington.edu/~chappa/pine/ Excellent! I found this patch "Change your From Header without any effort!". This is jst what I have been wanted for a long time, as I would like to change my email when using mailinglists. The only thing Pine now needs is a way to use PGP/GPG as attachments...=) Hugs, Janni *** Janni Jensen (d_e_l_e_t_e_janni@t_h_i_s_elvis.com.nspm) wrote in...: :) Excellent! I found this patch "Change your From Header without any :) effort!". This is jst what I have been wanted for a long time, as I :) would like to change my email w...

Need help with mail addressing
Hi all, I am new to sendmail and have a mailserver using sendmail 8.14.2 with cyrus 2.3. Due to the number of valid mail messages that are received mis-addressed, I would like to receive all mail for bad addresses to a catchall mailbox for review rather than bounce them. The documentation and postings specify the use of: define(`LUSER_RELAY',`local:someuser@your.domain') for this purpose. I added define(`LUSER_RELAY',`local:catchall@mail.domain.int') but I have not been able to get it to work. (I also remade the cf file and restarted sendmail of course.) I don't know if any of features implemented have any effect on the LUSER_RELAY behaviour, but the following may be relavent: - All accounts are in cyrus SASL - No mail users have logon accounts on the server. - The catchall user and mailbox have been created with cyrus and can receive mail when addressed to it - The mail server is in an internal domain behind a firewall - masquerade_as is specified as the public domain with allmasquerade and masquerade_envelope features specified - relay_domain clauses are specified for both the internal and public domains - local-host-names lists the internal and public domain names with and without the hosts specified This will obviously let a lot of trash into the system. So, as part of the project, I would also like to redirect all messages marked as spam by SpamAssassin to a separate mailbox and anything identified by MIMEDefang as containi...

replacing mail/ by .mail/ : how to do that ?
Hi, I only want to edit the config so that I can use .mail/ instead of mail/ How to do that? Aldo. -- ==Osvaldo La Rosa==-==http://www.brlspeak.net/==-==GNU/Linux? 2B FREE== No individual should be discriminated against on the basis of disability in the full and equal enjoyment of the goods, services, facilities, privileges, advantages, or accommodations of any place of public accommodation (American Disability Act - 42. U.S.C. 12182[a]) * On Wed, 17 Aug 2005 23:06:14 +0200, Aldo wrote: > Hi, > I only want to edit the config so that I can use .mail/ instead of mail/ > How to do that? If everything else fails: - delete mail - create a symlink: ln -s .mail mail On 18 Aug 2005, Holger Marzen wrote: > * On Wed, 17 Aug 2005 23:06:14 +0200, Aldo wrote: > >> I only want to edit the config so that I can use .mail/ instead of mail/ >> How to do that? > > If everything else fails: > > - delete mail > - create a symlink: ln -s .mail mail What Holger wrote should work, but it's cleaner to change where Pine looks for mailboxes. I discuss this on my Power Pine page in this section: Setting Up IMAP, NNTP, and Local Collections <http://www.ii.com/internet/messaging/pine/pc/#setCollections> Let us know if you have any questions. Hope this helps, Nancy -- Nancy McGough ~ <http://www.ii.com> ~ <http://deflexion.com> IMAP, pine, procmail, data deflexion, infinity, and more >...

Web resources about - Help with confMAX_DAEMON_CHILDREN, need to reserve a few daemons for outgoing mail - comp.mail.sendmail

Resources last updated: 3/25/2016 9:52:53 AM