Server :: Sendmail - Pipe All Existing Users Incoming Emails To /dev/null?
Oct 24, 2009
Well I want my sendmail to pipe all users' incoming emails to /dev/null ... I just don't want to accept emails. Every user that exist on the system currently or will be made in future, I want their incoming emails to them to be piped to /dev/null .... I just want those users to be able to send emails.
I use php to send newsletter via sendmail.outgoing emails work as needed.I defined a .forward file to get responses in my regular email account.If I use mailx to send emails from root account to my own account, it gets forwarded as needed.If I try to send from outside the box to news@domain.com the email is not received in the box and the sender does not receive an error message.
I am sure I missed something.How do I enable incoming emails?
I'm running Sendmail with SASL Authentication and STARTTLS and this error always turns up in my log, even though the server works as a charm apart from that.
I have a server on CentOS 5.And I would like to set up an automatic forward so that every incoming message of a specified user gets forwarded to a specified email (my gmail account).In your opinion, what is the simplest solution ?
How could we bcc all outgoing / incoming email through my Sendmail (8.14) Server? I tried this /etc/procmailrc :0c ! backupmail@domain.com But this get looped and backupmail received multiple emails of each for domain.com while sending locally from one user to another user.
I have a server with a domain running and im trying to resolve the mail server but i can't see where to start. I use OpenSuse 11.2. Basically, for starting, i want postfix to send incoming emails to a php script or perl. for outgoing emails i guess that i could use php mail function and i will see what else to have. I configured the dns. I do a dig.mydomain.tld MX and i get the following:
I configured dk-milter on a server and created dns records for that, But I'm not getting sendmail to sign emails. dk-milter configuration is correct but the problem with sendmail.
I have a 64bit linux server with 5 virtual hosts on it. When someone fills out a contact form on one of the sites...I get 15-20 copies of the same email. At first I thought it was the kids clicking send multiple times because the first emails were coming from the children's ministry "Email The Cast" section. But then I started getting multiples from the adult sites too. All contact forms are set to come to me.
What's stranger is that my registration section for one of the sites uses the SAME php script (different file) to email me a notification that someone has registered but I only get 1 copy of that.
I have a server running Red Hat Enterprise Linux ES (2.6.9.55.ELsmp). When it starts up I get the following error: Uncompressing Linux... Ok, booting the kernel. Red Hat nash version 4.2.1.10 starting WARNING: can't access (null) exec of init ((null)) failed!!!: 14 unmount /initrd/dev failed: 2 Kernel panic - not syncing: Attempted to kill init!
After that I got no response from the OS. I have the installation CD, so I tried to start the rescue mode, while going through the steps I received an error stating that mounting to /mnt/sysimage failed and that if I want to I can access a shell. I really don't know what to do from here
I've got a request from one of my company's subsidiaries to block all incoming and outgoing mail for a group of users. I've read up some guides on access.db and I know how to do that, but now they want to allow these users to receive emails from a few select domains, and block the rest. To summarize:
1) Block all incoming and outgoing email to users in team A, except mail from [URL] 2) All other users can receive and send mail from/to any domain.
I want to read my emails locally using Evolution & Thunderbird or some other mail client. I have bought a new domain and would want incoming emails sent to this domain ids to be scanned by a virus scanner & spam filter.I have read that MailScanner + SpamAssasin is a good combination/option. Are there any others for my requirement.I am not a Linux/Ubuntu expert - so a detailed step by step tutorial to set this up is what i am looking for.I am using Ubuntu 10.04 home user.
I am having Sendmail ver 8.13.1 installed on CentOS 4.5. Recently we have noticed that some emails are not getting delivered to user. Mailserver is receiving emails and they are getting processed but not getting delivered to user.
I have checked mail log and in the log it shows that email has been delivered to user below is log for reference
I don't know what happened but sendmail suddenly stopped authenticate my users who tries to send mail. I use slackware 13.0 and sendmail for SMTP with ssl and plain authentication. Imapd works fine. There is nothing in logs just that the client did not issue MAIL/EXPN/VRFY/ETRN during connection.
For a project that I have been assigned to, I need to send emails to a business partner(business_partner.com) from one production server. However, my emails neither reach their destination nor bounce back to me.
Working with our business partner's IT support, the following error was discovered in their maillogs:
Quote:
Further analysis by my IT support shows that emails are successfully sent out ("Message accepted for delivery"):
Quote:
The app I coded is not using a public internet email address (e.g. me@hidden_domain_name.com) to send these notifications.
Instead, it uses an intranet email address (the server's where my code resides: user_name@servername.hidden_domain_name.com).
We created an alias but it made no change. Would adding my public internet email address to "trusted-users" file (we use sendmail)
I have a problem with sendmail. I am using the zen.spamhaus.org dnsbl, and it is doing a wonderful job of blocking incoming spam from open relays. But it is blocking my users who are on a dynamic ip range from any isp remotely. They should be able to authenticate and send messages no matter where they are as long as they authenticate right? I just want to use the blacklist to block incoming mail to my server that is being distributed to our email addresses.
I want to block people that are hosting mail servers and sending mail to my domain from isp sub-nets. But I don't want to block my users that are sitting on isp subnets using their mail client to authenticate over smtp and send an email from my mail servers.
I'm looking for a smtp solution that will split all incoming emails and send them to two different servers.
On mail server 1 I have test@example.com Om mail server 2 (different location than mail server 1) I also have test@example.com
MX-record for example.com should point to mail server 3. Of course there will be a mail server 4 that will do the same as mail server 3. Mail server 3 will receive all incoming mails and forward them to both mail server 1 and 2. This will be a simple and cheap but bullet proof redundancy solution. I'm interested in this solution, have already looked into clusters, backup mx, imap-sync and a ton more of solutions but this is the solution we want. ny one who can point me in the right direction? I've been searching for weeks, the solution exist but I can't find out how to set it up. Not all mail should be forwarded this way, only one example.com, not example2.com or example3.com.
The problem is to make sendmail use different LDA for diferent users in the same domain. For example, deliver bob@some.domain with procmail and genry@some.domain with mail.local.
We have users that send files to our server via sftp... We normallyhave umask set to 022 but for these files we would like to force a umask of 002... I've tried to change in the .bash_profile but does not seem to make any difference...
Im not getting able to neither add new users using command useradd nor delete existing users using command userdel. And even Im not getting able to login into any existing users except root. It was ok before. Im having this problem very recently on my linux server. Im using RHEL5.
I have recently started working on our server. My knowledge about *nix systems is very limited, so I turn to the oh-so-friendly internet community for help.The server is running Debian Etch, postfix, courier and some other stuff. And suddenly out of the blue the emails from the internet are not being received. Emails being sent internally are being received and everyone can browse the internet.Host or domain name not found. Name service error for na$for name=xxx.xxx.xx.xx.list.dsbl.org type=A: Host not found, try again.Does anyone have any experience with something like this? I would love to get this thing fixed.
I am using webmin for my daily tasks. I have fedora 13, whenever I click on ''Sendmail M4 Configuration'' or Outgoing Addresses (generics)'' I get the following error message
Quote:
The Sendmail M4 configuration base directory /usr/share/sendmail-cf was not found on your system, or is not the correct directory. Maybe it has not been installed (common for packaged installs of Sendmail), or the module config is incorrect. I read documentation at sendmail.org, it seems that structure of directories for send mail has been changed in version sendmail-8.1.4 shipped with FC13. In webmin config module we have
Quote:
Sendmail M4 base directory = /usr/share/sendmail-cf
which is not there. I did a locate / sendmail-cf on the command line, it finds nothing
I have an existing unix user that some how didnt make it into the copy over to our LDAP server. How do I add an existing unix user to an existing LDAP directory? Will ldapadd work? I was under the impression ldapadd required an ldif file to work properly.
I've been banging my head against the screen on this strange problem. Somehow my server sends out spam mails to a lot of aol mail addressess. The mail.log file looks like:
I created a new user "www". I can login with this user. I can send emails (using sendmail) from this user to other users. But this user cannot receive any email. All emails sent to "www" will go to "root" mailbox. Is "www" a special account under sendmail that all emails will be re-directed to "root"?
Can connect to our mail server using telnet onto port 25 and this works correctly, 'ehlo whatever' shows output as expected.
However using a mail client to connect it gives an authentication error and the following appears in the maillog file;
did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
what to look for in the config, this works correctly on our development box but not on our production server. Could it be another program is interfering with the connection?
Sendmail is running in standalone mode not through the xinetd daemon.
I am using the PLAIN AUTH method as to try and avoid getting more errors.