Sponsored Content
Operating Systems Solaris Sendmail delaying mails for 45 mins Post 302879903 by badoshi on Monday 16th of December 2013 12:16:07 PM
Old 12-16-2013
Sendmail delaying mails for 45 mins

Hi,

I'm trying to send out mails from my server using mailx, however everytime I send one, it appears to be held in the /var/spool/mqueue for 44 mins before being sent.

I'm quite new to sendmail, so don't really know where to start with this /var/log/syslog displays the following:

Code:
Dec 16 17:00:59 client01 sendmail[24805]: [ID 702911 mail.info] STARTTLS=client, relay=mailhost, version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Dec 16 17:00:59 client01 sendmail[24805]: [ID 801593 mail.info] rBGGG2MP024799: to=<xplus@mycompany.com>, delay=00:44:57, xdelay=00:44:57, mailer=esmtp, pri=124456, relay=mailhost [10.58.1.56], dsn=2.0.0, stat=Sent (Ok: queued as C47E042434F)
Dec 16 17:01:00 client01 sendmail[24898]: [ID 702911 mail.info] STARTTLS=client, relay=mailhost, version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Dec 16 17:01:00 client01 sendmail[24898]: [ID 801593 mail.info] rBGGG2H7024896: to=<xplus@mycompany.com>, delay=00:44:58, xdelay=00:44:57, mailer=esmtp, pri=123116, relay=mailhost [10.58.1.56], dsn=2.0.0, stat=Sent (Ok: queued as 4D6E542434F)
Dec 16 17:01:00 client01 sendmail[24900]: [ID 702911 mail.info] STARTTLS=client, relay=mailhost, version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Dec 16 17:01:00 client01 sendmail[24900]: [ID 801593 mail.info] rBGGG2H9024896: to=<xplus@mycompany.com>, delay=00:44:57, xdelay=00:44:57, mailer=esmtp, pri=124457, relay=mailhost [10.58.1.56], dsn=2.0.0, stat=Sent (Ok: queued as 67EE8424351)

Any ideas on where to start? I've tried looking at sendmail.cf for any default queue options, but it might as well be written in klingon, I can't make head nor tail of the output!
 

10 More Discussions You Might Find Interesting

1. Solaris

how to send mails to users on exchange server from sendmail/solaris(mailx)

Hi, Can anyone pls. tell me how to access Active directory from solaris. I am looking at solution by which I can send mail notification from the logs generated by scripts, to the users on Exchange server. I am trying for a Perl-LDAP module , but don't realy know how to go for it (5 Replies)
Discussion started by: ganeshh
5 Replies

2. UNIX for Dummies Questions & Answers

Steps to configure sendmail to receive e-mails

Hi Unix Gurus, Please help me out here. Please tell me the steps to conigure sendmail to receive emails (same way we configure outlook client in windows)? Thanks in advance. -Dejavu (1 Reply)
Discussion started by: DejaVu
1 Replies

3. Solaris

Sendmail error delaying relay

When I try to send mail, sendmail delays a lot. After monitoring syslog, I noticed that sendmail starts with this first message... waits a minute and gives the second message... waits another minute and then sends off the email. How do I correct this in sendmail or completly disable it. I'm sending... (0 Replies)
Discussion started by: adelsin
0 Replies

4. UNIX for Dummies Questions & Answers

Can't configure sendmail to send mails to external SMTP Server

Hi all,I know, that this is very common issue, but I can't find where is the problem... I have Solaris 10 installed.I want to send mail to external SMTP server, like:echo "letter body"| mailx -s "subject" test@test.comBut I donno what kind of changes I have to do in /etc/hosts and sendmail.cf or... (5 Replies)
Discussion started by: nypreH
5 Replies

5. UNIX for Advanced & Expert Users

Sendmail Script don't deliver mails

Hi, i've got a problem with a sendmail script, which sends HTML mails. Some mail will rejected by the mail server, because the fqdn doesn't exist. Where can i set the sender-domainname by sendmail? My mail server say: "Sender address rejected: Domain not found;", which is correct... (3 Replies)
Discussion started by: rainbowwarrior
3 Replies

6. Shell Programming and Scripting

tail for 15 mins

Hi, I want to write a script which will tail a particular file for 15 mins and then sleep for 10 mins and again tail for 15 mins. This cycle will go on for a limited period of time. How can i ensure that tail command will run for 15 mins before calling sleep command Thanks (6 Replies)
Discussion started by: @bhi
6 Replies

7. UNIX for Advanced & Expert Users

Some mails not scanned by SpamAssassin 3.4.1 w sendmail/procmail on Fedora 21

We have a user who has about a 50% missed rate on spam detection. I'm wondering if his user prefs or something is preventing scanning of all messages? SpamAssassin version 3.4.1, running on Perl version 5.20.3, sendmail Version 8.15.2 The contents of the user_prefs file: # How many points... (2 Replies)
Discussion started by: RobbieTheK
2 Replies

8. Shell Programming and Scripting

Help with delaying script and implementing checks before completion

Hello everyone, I was wondering if any of you could help me with this. I am an absolute beginner and don't know how to program, but I can follow a tutorial and tweak code sometimes. My understanding of programing is limitted to what for and while loops do, and how if then else logic works. That... (2 Replies)
Discussion started by: tomeurp
2 Replies

9. Solaris

Solaris - Sendmail - Adding .com.gr in external senders e-mails

Hello Everybody ! I'm Harry from Athens Greece and i have a problem with my Sendmail 8.13.3 installed on Solaris SunOS ultra 5.10. The problem is that when someone sends to us an e-mail and his e-mail address is like : xxxx@xxxx.com, our e-mail server adds up in the senders address a .com.gr... (2 Replies)
Discussion started by: Mcasim
2 Replies

10. UNIX and Linux Applications

Sendmail delay: 3 mins 11 secs... Every time.

Hi all, I would like some help with a sendmail problem: We have a new system comprising of 4 T7-1 servers, each hosting 5 LDOMs, all domains running Solaris 11.3 All emails sent from every one of these domains (including the control domains) sit in the queue for 3 mins 11 secs (sometime 3m 12s,... (11 Replies)
Discussion started by: Mysturji
11 Replies
logrotate_mail_selinux(8)				   SELinux Policy logrotate_mail				 logrotate_mail_selinux(8)

NAME
logrotate_mail_selinux - Security Enhanced Linux Policy for the logrotate_mail processes DESCRIPTION
Security-Enhanced Linux secures the logrotate_mail processes via flexible mandatory access control. The logrotate_mail processes execute with the logrotate_mail_t SELinux type. You can check if you have these processes running by executing the ps command with the -Z qualifier. For example: ps -eZ | grep logrotate_mail_t ENTRYPOINTS
The logrotate_mail_t SELinux type can be entered via the mta_exec_type, mta_exec_type, sendmail_exec_t file types. The default entrypoint paths for the logrotate_mail_t domain are the following: /bin/mail(x)?, /usr/bin/mail(x)?, /usr/sbin/sendmail(.sendmail)?, /usr/bin/esmtp, /usr/sbin/rmail, /usr/sbin/ssmtp, /usr/lib/sendmail, /var/qmail/bin/sendmail, /usr/sbin/sendmail.postfix, /usr/lib/courier/bin/sendmail PROCESS TYPES
SELinux defines process types (domains) for each process running on the system You can see the context of a process using the -Z option to ps Policy governs the access confined processes have to files. SELinux logrotate_mail policy is very flexible allowing users to setup their logrotate_mail processes in as secure a method as possible. The following process types are defined for logrotate_mail: logrotate_mail_t Note: semanage permissive -a logrotate_mail_t can be used to make the process type logrotate_mail_t permissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. BOOLEANS
SELinux policy is customizable based on least access required. logrotate_mail policy is extremely flexible and has several booleans that allow you to manipulate the policy and run logrotate_mail with the tightest access possible. If you want to allow users to resolve user passwd entries directly from ldap rather then using a sssd server, you must turn on the authlo- gin_nsswitch_use_ldap boolean. Disabled by default. setsebool -P authlogin_nsswitch_use_ldap 1 If you want to deny any process from ptracing or debugging any other processes, you must turn on the deny_ptrace boolean. Enabled by default. setsebool -P deny_ptrace 1 If you want to allow all domains to use other domains file descriptors, you must turn on the domain_fd_use boolean. Enabled by default. setsebool -P domain_fd_use 1 If you want to allow all domains to have the kernel load modules, you must turn on the domain_kernel_load_modules boolean. Disabled by default. setsebool -P domain_kernel_load_modules 1 If you want to allow all domains to execute in fips_mode, you must turn on the fips_mode boolean. Enabled by default. setsebool -P fips_mode 1 If you want to enable reading of urandom for all domains, you must turn on the global_ssp boolean. Disabled by default. setsebool -P global_ssp 1 If you want to allow confined applications to run with kerberos, you must turn on the kerberos_enabled boolean. Enabled by default. setsebool -P kerberos_enabled 1 If you want to allow system to run with NIS, you must turn on the nis_enabled boolean. Disabled by default. setsebool -P nis_enabled 1 If you want to allow confined applications to use nscd shared memory, you must turn on the nscd_use_shm boolean. Enabled by default. setsebool -P nscd_use_shm 1 NSSWITCH DOMAIN
If you want to allow users to resolve user passwd entries directly from ldap rather then using a sssd server for the logrotate_mail_t, you must turn on the authlogin_nsswitch_use_ldap boolean. setsebool -P authlogin_nsswitch_use_ldap 1 If you want to allow confined applications to run with kerberos for the logrotate_mail_t, you must turn on the kerberos_enabled boolean. setsebool -P kerberos_enabled 1 MANAGED FILES
The SELinux process type logrotate_mail_t can manage files labeled with the following file types. The paths listed are the default paths for these file types. Note the processes UID still need to have DAC permissions. courier_spool_t /var/spool/courier(/.*)? /var/spool/authdaemon(/.*)? exim_log_t /var/log/exim[0-9]?(/.*)? exim_spool_t /var/spool/exim[0-9]?(/.*)? logrotate_mail_tmp_t logrotate_tmp_t mail_home_rw_t /root/Maildir(/.*)? /home/[^/]*/.maildir(/.*)? /home/[^/]*/Maildir(/.*)? mail_spool_t /var/mail(/.*)? /var/spool/imap(/.*)? /var/spool/mail(/.*)? mqueue_spool_t /var/spool/(client)?mqueue(/.*)? /var/spool/mqueue.in(/.*)? sendmail_log_t /var/log/mail(/.*)? /var/log/sendmail.st.* uucpd_spool_t /var/spool/uucp(/.*)? /var/spool/uucppublic(/.*)? COMMANDS
semanage fcontext can also be used to manipulate default file context mappings. semanage permissive can also be used to manipulate whether or not a process type is permissive. semanage module can also be used to enable/disable/install/remove policy modules. semanage boolean can also be used to manipulate the booleans system-config-selinux is a GUI tool available to customize SELinux policy settings. AUTHOR
This manual page was auto-generated using sepolicy manpage . SEE ALSO
selinux(8), logrotate_mail(8), semanage(8), restorecon(8), chcon(1), sepolicy(8) , setsebool(8) logrotate_mail 14-06-10 logrotate_mail_selinux(8)
All times are GMT -4. The time now is 04:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy