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'm setting up a full server configuration on Fedora, moving it from Mandriva which sadly faces a rather uncertain future. Things are going well and I will be ready (and more familiar with Fedora) in time to upgrade to Fedora 15.
What I have done so far in regard to networking setup:
I first removed Network Manager and replaced it with the network service (chkconfig --level 25 network on). That put an end to the overwriting of /etc/hosts, which now reads simply:
I have a mail script that has been running on my website for several years. One problem I had with the script was when a bad address was put in, the mail was rejected to the server rather than to the sender. I have now recently added a fifth parameter to the mail script using the -f sendmail option to set the return path.
The user that the webserver runs as should be added as a trusted user to the sendmail configuration to prevent a 'X-Warning' header from being added to the message when the envelope sender (-f) is set using this method. For sendmail users, this file is /etc/mail/trusted-users. I do have the 'X-Warning' header on e-mails sent with this script and have asked my server administrator for some help in adding "the user that the Web server runs as" as a trusted user.
Fetchmail +sendmail played nice together, until I installed hylafax, and added an alias it requires. I just ran the usual makemap command on aliases to make aliases.db, and that's there the trouble began. Fetchmail appeared to hang, at any email account that had email in it, at the RCPT stage. I finally read the warning at the top of /etc/mail/aliases that says to run newaliases.
I'm using sendmail on a small server and in addition to several users I have a few small email lists implemented in the aliases file. Is there any way to secure these aliases so that they can only be used by users with accounts on the machine already?
I'm getting a lot of external spam sent to the lists and I figure this is the easiest way to deal with it. 100% security isn't even necessary if I can stop most of the spam (i.e. causing sendmail to discard any mail sent to the lists that don't originate with the same domain name as the server would kill 99% of the spam since most of it doesn't have a spoofed email matching our server's domain name). I'm using Debian Lenny.
Have tried to setup email aliases in sendmail so I can have multiple address pointing to one linux login. However none of the aliases seem to be accepting mail.
I get the following error message when trying to send to them.
I have tried restarting sendmail, have mapped the /etc/mail/virtusertable across to virtusertable.db with the following command.
Code:
Output of sendmail -bv is as follows and looks correct.
Code:
Have also added new domain into local-host-names file. I am stuck on what is left to check and why the messages are getting bounced back.
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.
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.
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.
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 am trying to implement a payment gateway, I have got a crt files from them, i have to add them into our trusted list so that we can establish a SSL handshake.i.e "Importing an SSL certificate into keystore" I dont have any idea on this one, can any one help me on this, my server is a ubuntu and runs apache as webserver.I am trying to use this in a soap request..An error occurred during a connection to ws.payconnexion.com:1401.
SoapFault exception: [HTTP] Could not connect to host in /var/domains/mywebroot/file/testpaymentmine.php:71 Stack trace:
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 a domain address and I keep my website in the server at my home. I use bind for DNS. I opened an email address for myself, but when I send an email to for example hotmail, gmail, it signs that as junk or spam. How can I make this address as trusted?
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.
I recently modified sendmail.cf to use a third party SMTP server to send emails. It works great. But when I run sendmail from the command line, I have to specify the -C flag and force feed it the location of my sendmail.cf, or else it doesn't work.
So in other words, the following works great:
However, if I don't specify the -C flag, sendmail doesn't consider what's in the sendmail.cf and barfs:
I don't run sendmail as a daemon. I'm only using it to send emails. I know my modifications of sendmail.cf are correct because it works perfectly when I use the -C flag. I searched my disk to see if I could find another sendmail.cf on the machine and only the one in /etc/mail came up.
Why sendmail is not reading my sendmail.cf?
I'm running Sendmail version 8.14.2 on Fedora Core 8.
I have the following problem and tried (almost) anything to fix it but without a full success.
We're running a server with CentOS 5.4. Every night a logwatch report is send. These mails are rejected by our mailserver because some invalid details. These mails are send to local user root which is redirected to another external mail address with /etc/aliases.
At first the mail was send from root@localhost.localdomain to root@localhost.localdomain. As you can imagine, our mailserver rejected this because the localhost.localdomain parts. So I changed the sendmail config with these options:
This solved my problem partially: Mail is now coming from root@domainA.com (which is OK), but is send to root@slave02.domainA.com (slave02 is the local hostname), which is not OK. I tried everything I could find to change that last part to, but nothing seems to work.
I want to know is it possible in Sendmail to restrict some users from sending / receiving mail to / from outside world i.e. they should be able to send and receive mails only from local domain.
I'm going crazy with this one. For whatever reason, sendmail will not authorize any users. I've tried multiple logins (all with good credentials) but still get login fail, ie (FYI this is a sendmail/MailScanner setup if it makes any difference):
220 hostname.net ESMTP Sendmail 8.13.8/8.13.8; Fri, 19 Nov 2010 12:07:08 -0600 ehlo hostname.net 250-hostname.net Hello testdomain.com [123.123.123.123], pleased to meet you
I found 2 previous posts, one from 2005 and one from 2006. The 2005 post was not very helpful and the 2006 threads are not exactly what I was expecting. So I wanted to ask the question to be sure. I have already stood up the new fedora 12 server. The old server is also fedora 12. I need to migrate local users and sendmail mailboxes. In the past couple of years the environment was small enough to create a copy of the users and then have the users mail themselves, but I want to start migrating users/mailboxes properly.
On a unix level I am a jr admin, but I have extensive senior level experience as a windows engineer and network engineer. I do feel comfortable with using the unix command line, but usually operate the unix systems thru webmin because I am not familular with more complex commands. Ideally a software solution to migrate users and/or mailboxes from one server to another is what I am looking for, but in leiu of a software solution I still need to migrate user accounts and their mailboxes. LDAP is not in place, but if the process becomes easier with LDAP I am willing to do what is needed to set up LDAP. (I have no previous experience setting up LDAP)
I do not want to change my mail server from sendmail to different software. At least right now. Both systems are up and running. They can connect to each other via public ipv4 address' only. The new server has already been installed and configured with all the software to match the old server. How do I migrate users and sendmail mailboxes from one fedora 12 server to another fedora 12 server?
in that script I create some alias commands an pipe them to a new shell script (called dojas.sh) however after execution of that script , I do not see the aliases jan1 and jan2 in my terminal. Even if I execute the dojas.sh srcipt manually , I do not see the aliases in the alias output of my terminal. The only way I can make the aliases active is do the following : cat dojas.sh copy and paste the alias rules, and they are active in my session. How can I make sure that I can activate aliases and they are active in my terminal from a script ?
Note : I am not interested in .bashrc file, I want them to be active in my current session.
I have /var on it's own partition. Should i direct mail, in /etc/alises, sent to root to my normal local user or will /var end up getting filled up with mail, if i do that?Also:I went on the forums for dynDNS.com, explaining that i was setting up a network that includes a web server and a mail server. They rightly pointed out that i only needed to set up a DNS A record for webserver.dyndns.org. The mail server would be located by this DNS A record, as both machines share the same external I.P address(the external I.P of my ADSL router). So my mail addresses could be me@webserver.dyndns.org. So both machines would be reachable with the same DNS A record, and port-forwarding on my ADSL router would determine which host got which requests. That's what they said i should do for my scenario. Bearing this in mind what should the values of $myhostname, $mydomain, $mydestination and $myorigin be?
My current thoughts, on the simplest way to do this, are:If $myhostname is mailserver.webserver.dyndns.org, then $myorigin can be webserver.dyndns.org, then $mydomain is webserver.dyndns.org and $mydestination has it's DEFAULT setting(mydestination = $myhostname localhost.$mydomain localhost).This the simplest workable approach right?, if not what are the best values for these parameters?.Also I have /var on it's own partition. Should i direct mail, in /etc/alises, sent to root to my normal local user or will /var end up getting filled up with mail, if i do that?
I have a sendmail server in my compani and I have a aliase that send one email for every employee but there are people that is not employee sending mail for this aliase and I need to avoid it some one have to do that.
I am using postfix as spam Mailscanner to protect my mail server running sendmail. The problem is that when I forward an email from MailScanner mail me back with the following error:
<postmaster@localhost.@mydomain.com.>... Real domain name required for sender address (in reply to MAIL FROM command)) Jul 27 13:15:59 smtp postfix/local[28465]: C68AC1000001: to=<root@smtp.mydomain.com>,
I recently setup an email server on Fedora Core (14). Sendmail is running and I am trying to authenticate from a client pc using imaps. I installed Cyrus-imap and it is running and listening on 993. When I try to login, it doesn't accept authentication even though I verified the user's password is correct. (tested with ssh)Is there something I have to do with Cyrus or on the server to allow connections to email? I have not used Cyrus before. I am attempting to access my mail folders via Sendmail and did not make mailboxes in Cyrus. I did allow imaps through the firewall.