im just wondering is it possible to instruct mailx to use postfix instead of sendmail while have sendmail and postfix installed? like system-switch-mail way in other distros. basically i would like to be able to use mailx when i uninstall sendmail and keep postfix only installed, so i dont get msg after i press . to send email from mailx
Code: /usr/sbin/sendmail: No such file or directory
I have a CentOS server, and am using Sendmail to relay for various domains. However, I also need to have users send their outgoing mail via this server. I want to have them enter a username and password in Outlook, Thunderbird, etc in their smtp server settings. I currently have this set up via an Exchange server, but I cannot get it to work with Sendmail. I know little about Sendmail, and have done all the config via Webmin, which has worked fine as far as relaying domains. But even though I have added the CentOS user account for the smtp relaying, the clients mail apps give an error saying relaying denied.
I'm trying to build a sendmail relay server.I am in an enclave off a large domain with a FW between us and the main domain.The FW will only allow mail communication between 1 server in our enclave and the mail server of the domain.I can send mail from our 1 server to the domain mail server, but I can't get our 1 server to accept mail from our other servers.
I've got a server set up with Debian. The problem is that my ISP doesn't allow usage of port 25 (as I understand a lot of ISP's don't).I have PHP scripts hat use the mail() function to send e-mails through the Sendmail application.So, my question is: How can I relay messages sent to sendmail to an external SMTP server (like Google Mail, for example)? Would this be easier to do in the PHP configuration, or on the Sendmail side of things?I've used PEAR extensions in PHP to achieve this before, but scripts downloaded from the Internet generally just use the basic mail() function, and it would be a real pain to modify them all.
Have read a whole bunch of threads from how and troubleshooting but still having problems.Was thrown a box configured by someone who resigned today. Need to get mail from the box outbound via SMTP relay off our exchange server.
Some mail coming to my postfix server will need to be delivered local and the rest to an internal mail server. The internal mail server is mail.example.com where there is no email@example.com but there is a firstname.lastname@example.org. Is it possible to configure postfix to do this?
I am in verse to try out setting up Sendmail Relay Box.I have 3 Machines:sender.sap.com,relay.sap.com and receiver.sap.com.All I need a user fred in sender.sap.com able to send mail to a user tom in receiver.sap.com through relay.sap.com machine.I guess that is all about relaying Correct?How can I achieve that?
i have fedora5 installed on my machine MACH1, which acts as a linux server for few machines. Its over network and we have a dedicated mail server too which is globally accessible. I wanted to set up a local mail server on MACH1, so that i shall be able to send/receive mails from all the users as well as to our other global mail server(on internet).
I want to setup sendmail using my username and password on my ISP to be able to send out messages.This is actually true as the mylocaldomain is not a public Internet domain. Just a localdomain for our local network. However, I was expecting that to change to the username in my authinfo "myusername@myispdomain" since this account is authorized to send out email with my ISP.
We have a sendmail server located in a DMZ that has normally been able to send SMTP traffic to whatever destination is listed in the address of any given e-mail message. A recent change in network configuration has introduced an e-mail gateway that all servers need to send smtp traffic to in order for the messages to go out to the Internet.
On my system, I have built my own tunneling protocol, where I relay packets over a non-standardized but verified medium. What I do is capture the packets using iptables and NFQUEUE, relay them over my medium, and at the other end I reinject them using raw sockets. The packet going into the tunnel is exactly the same as the one coming out, verified. The problem is that this doesn't work for ICMP Ping (Echo Request) if the destination of the ping is the same as the tunnel endpoint. If the destination is not the same as the tunnel endpoint, the ping packet is rerouted and arrives as it should at the receiver, and the ping reply comes back to the sender. Does anyone know whats going on? Isn't it possible to send raw icmp to yourself? If not, anyone have an idea what I should do instead?
my mail server [URL] is hosted abc@[URL] is a pop id below are alias:
user1@[URL] user2@[URL] user3@[URL]
fetchmail is configured to download all mail for alias email id on local linux server and distribute to local users.
fetchmailrc config: [Code]....
everything works fine except bcc copy is not getting delivered to email alias (at local linux server). It is delivered to local postmaster account :abc@[URL] (in Linux server) I have tried all envelope option in fetchmailrc file, but it did not work.
I have a mail server running Postfix and the problem I'm running into is that when trying to send mail, I get a "relay access denied" error.Inside my main.cf, I did not specify 'smtpd_recipient_restrictions' so by default, the variable is:
Code: smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination The 'mynetworks' variable looks like this:
I'm running ASSP on Ubuntu 10.04.1 it's mostly working fine. I have one problem which has been bugging me for some time. I don't want to filter outbound mail, but if I can relay (proxy) my outbound mail through ASSP, then it can automatically add to the whitelist.
As ASSP is a proxy, I need a server to send it to once ASSP receives it. I've tried my ISP, but this failed and they weren't willing to confirm if a connection attempt was received at their end.
Can anyone help me with troubleshooting steps or a better suggestion for how I can set this up. I'd love to know why my ISP setup didn't work, but I don't know a tool for monitoring IP traffic in Ubuntu SE, in windows I use Wireshark is there any equivalent I can setup for Ubuntu or a tool I can use in windows which will show all traffic, Ubuntu and windows server are on the same netgear switch, not sure it's smart enough to copy all traffic to another port for monitoring.
I am trying to setup sendmail on a fc10 box with dovecot running imap. I have everything configured and running on the server. For example, when I run "echo 'test' | mail -s test email@example.com" or even to firstname.lastname@example.org, the mail goes through just fine. I can then reply from both of those accounts back to the server, no problem.
Relaying denied Cannot send mail. The SMTP server does not recognize any of the authentication methods supported by Entourage. Try changing the SMTP authentication options in Account settings or contact your network administrator.
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
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
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 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 fedora running as our email server at work using sendmail. It used to have spamassassin and MailScanner installed, but one of those died over the weekend and killed the mail server. We do not need either of these as we are using a web based spam filter now (postini), so I tried removing these. I have discovered that the mail is in the mqueue waiting for delivery to the users mailboxes. I have tried using "sendmail -q -v":
Code: Running /var/spool/mqueue/n51Jx6Gg023820 (sequence 1 of 1174) <email@example.com>... Connecting to local... <firstname.lastname@example.org>... Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL
Running /var/spool/mqueue/n51JsuRe023619 (sequence 2 of 1174) <email@example.com>... Connecting to local... <firstname.lastname@example.org>... Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL .....
I do not have a procmail config file: /etc/procmailrc. I am not sure why, or what it should be, perhaps that is the problem. I guess I don't exactly know how this server runs all that well. I was able to get it up and running but never understood it enough to now find what is not working correctly.
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 email@example.com to firstname.lastname@example.org. 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 email@example.comA.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've tried to configure the mail service in RHEL6 but seems both sendmail and postfix can't use local user located in /etc/passwd.
Like, user Tommy and Jake they got User Unknow from maillog Tommy:x:506:507::/home/Tommy:/bin/bash Jake:x:507:508::/home/Jake:/bin/bash But IF I use users' home folder not located in /home then it can go throught.mailuser2:x:513:514::/rhome/mailuser/mailuser2:/bin/bash mailuser3:x:514:515::/rhome/mailuser/mailuser3:/bin/bash
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?
dammit... all that typing and I hit the wrong "submit" button. *sigh*
Ok, I have a couple of SMTP servers for our infrastructure. They are running Postfix. I have them configured so that specific email addresses such as firstname.lastname@example.org and email@example.com all go to a new support server that I am building with osTicket. Lets call that server SUPP1.
SUPP1 runs sendmail from the default install of CentOS 5 i386. At this point everything runs great. New emails get added into the osTicket system via a pipe in sendmail. Here's where the problem comes in. In order to accept mail, sendmail has to have the domain listed in local-host-names and the addresses in virtusertable. That works just dandy. But in doing so, sendmail believes it is the destination SMTP server for "mydomain.com". That means that I can't send mail from that server back into my normal SMTP servers. So things like the LogWatch, cron jobs, etc can't send notifications. Is there a way to work around that? For sendmail to ignore local-host-names for outbound email or something?