Slackware :: Instruct Mailx To Use Postfix Instead Of Sendmail?
Jun 22, 2011
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
View 7 Replies
ADVERTISEMENT
Sep 5, 2010
I have installed postfix and dovecot on my server and thought postfix will not only take SMTP connection from my e-mail client like Outlook, but also handles "mailx" commands from the server. However, it looks like sendmail is still responsible for sending mails from "mailx". I tested this by turning it on/off using "service sendmail stop" and "service sendmail start". Mails sent using "mailx" will only be sent when sendmail is up. When I did "yum info sendmail", it lists sendmail as an installed package. Is is safe to remove sendmail by running "yum erase sendmail", and let postfix handles "mailx" also?
View 3 Replies
View Related
Oct 28, 2010
In my network I only have one machine that is configured to send email outside the network. How do I instruct my local copy of sendmail to use that server as a relay?
View 3 Replies
View Related
Feb 19, 2009
Im unable to send mail using mailx or sendmail. The sendmail daemon is running.
View 1 Replies
View Related
Oct 14, 2010
I need to control sendmail or mailx from a file. The file will have the receprent as the first line, Subject: has the second line, etc. From what I can find with Google the only why to define the target and subject is on the command line? Does any one know of a way to make a mailer use the data in a file? The file would look like this:
Code:
[code].....
View 2 Replies
View Related
Dec 12, 2008
I have isntalled a server with Centos 5.2 OS, now I would like to switch from the default sendmail to postfix doing a yum install postfix I've noticed there is already available an rpm version for the OS but I would like to compile my own 2.5 version, I've noticed compiling from source does not allow me to use the mail switcher to tell to the system I'm gonna use Postfix instead of Sendmail as the default MTA while this is possible when I use the "official" rpm version of the package. Now my question is this, would this be a problem? There is some specific procedure/best practice I should follow? Or once compiled and configured Postfix I can safely disable/uninstall sendmail?
View 6 Replies
View Related
May 18, 2010
I was wondering how to setup slackware such that I can send and receive local mail using the commandline "mail" command.
I tried sending a sample mail this way:
And it looks like the message was sent, but when I then go check:
it says there is no mail.
Do I need to have sendmail running for just local mail calls?
View 5 Replies
View Related
Aug 6, 2009
browser just crashed trying to upload the config file at the end, so I fi miss something, sorry.I have been trying over the past few days to get either postfix or sendmail to properly forward my emails. I have made an entry in virtusers (for both postfix and sendmail) as:[URL]..I know that they these files are mapped correctly because I did an entry of:[URL].. that worked, it sent it to root's mailbox. I got this to work in both sendmail of postfix. What the problem is that when I point it to an external domain (ex. name@gmail.com), it fails, and the email gets lost somewhere on my server (I have yet to fine where they are going). The other thing I noticed is when I send an email from my server (via php) and send it to test (or whatever)@example.com the catchall works, and sends the email to my gmail address. Is this virtuser only applicable for outgoing email? Or is something else wrong?
View 1 Replies
View Related
Nov 28, 2010
How will I configure sendmail or postfix ,so that I can send mail to external mailclient like to gmail,hotmail etc.
View 1 Replies
View Related
Oct 14, 2010
I am on Scientific Linux. While trying to remove sendmail, YUM asked to remove depended packages:
alpine
fetchmail
mdadm
mutt
redhat-lsb
sendmail-cf
Should I really remove them and sendmail? If trying to install potfix, YUM does not say that sendmail is incompatible and does not ask to remove it.
View 3 Replies
View Related
Oct 25, 2010
I have a lightweight admin background, but good enough to set up most servers. I have switched from sendmail to postfix for the first time, but I keep going around in circles on the following. In sendmail, I used to maintain a table (mailertable) where I would redirect email like this
[Code]....
I happily mapped any incoming email address of any valid hosted domain either to go out to it's final destination via smtp, or if the person has a local mailbox, it delivered locally. Any errors could be forced, and a catch-all for the domain could be directed also.
I've struggled with virtual hosts and transport and a combination of the two to come up with the same result for postfix. I have this feeling I'm missing something really simple, or I am not 'getting it' when I'm doing something postfixy and I still have sendmaily expectations. right path so I will at least know I'm pointing in the right direction and working with the right files to achieve my aims? Postfix is so amazingly powerful and flexible, I'm having trouble figuring this bit out.
I have this feeling I just need a calm hand on my shoulder, a friendly smile and a hand pointing me the right way..
View 6 Replies
View Related
Sep 22, 2011
todo: I have now running sendmail with milters and auth, dovecot as lda configured with virtual domains / Local User, srs. on centos 5.x
I want to migrate to Postfix with:
at first step the same Local User now with Mbox and there Mails
same milter with macros for auth....
dovecot as lda
[Code]...
View 1 Replies
View Related
Apr 6, 2010
I'm running Postfix in slackware 12.1. The mails are stored in /var/spool/mail/username. When a user's mailbox size got more than 200MB, the user can't check their mail. when it happend the log shows:
Apr 4 10:04:11 ns1 popa3d[2391]: Authentication passed for userX
Apr 4 10:04:11 ns1 popa3d[2391]: Failed or refused to load /var/spool/mail/userX
View 1 Replies
View Related
Jul 3, 2011
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
[Code]...
View 1 Replies
View Related
Dec 2, 2010
I'm hoping someone here can help, as I've been beating my head on the wall for a week now with little advancement. I've found a number of tutorials on setting this up, however none of them have gotten me 100% of the way there. Here's my situation: home-based Fedora server (Core 8), running sendmail 8.14.2-1. Connecting to hosting company's smtp server over port 587, to bypass Verizon's blocking of port 25.
My /etc/mail/sendmail.mc file looks like this (comment lines removed):Quote:
divert(-1)dnl
define(`SMART_HOST', `smtp2.datarealm.com')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 PLAIN')dnl
FEATURE(`authinfo',`hash -o /etc/mail/auth/client-info.db')dnl
define(`RELAY_MAILER', `esmtp')dnl
[Code]....
View 14 Replies
View Related
Jul 31, 2009
i currently installed centos 5.3 with postfix. My old server is centos 4.5 final / new 5.3 final. Old server has sendmail / new has postfix. how can i transfer all the mail and settings from the old to the new? also, the old mail server is mail.xxx.xxx and for testing purposes i named the new mail server mail2.xxx.xxx.
when i an ready to put it into production, the new server will need to be mail.xxx.xxx and the old removed from the system. How do i go about changing the name and making sure everything comes out correct?
View 1 Replies
View Related
Oct 25, 2010
I have a lightweight admin background, but good enough to set up most servers. I have switched from sendmail to postfix for the first time, but I keep going around in circles on the following...
In sendmail, I used to maintain a table (mailertable) where I would redirect email like this
Quote:
View 1 Replies
View Related
Aug 11, 2009
I cannot get either sendmail or postfix to send a 220 response, nor respond with details. See below for sample telnet output. Details: I have a server that requires email, but only for light use. I'm definitely not an expert, but I have set up a sendmail configuration on a previous server. I tried to configure sendmail first and then postfix later, when I couldn't get sendmail working. I'm not sure exactly what the problem is, but I have a feeling the following might yield some important information. Note: this is the result for Postfix, but virtually the same thing happened with sendmail, too. That is, initially the telnet connection would close immediately. Afterwords, I could connect a second time but then it never responded with a 220 banner nor any 250's.
[Code]...
View 4 Replies
View Related
Jul 27, 2011
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>,
[code]....
View 1 Replies
View Related
Jul 8, 2010
I'm guessing the answer to my question is in manipulating the kernel command line. But with what arguments? (and does the kernel have it's own fonts to be used on a FB device?)
The host is a ARM9 based embedded system with a 1-bit LCD screen.
This is a prelude question to: Naming a Frame buffer Device
View 1 Replies
View Related
Mar 11, 2010
Here is what i do: make clean make makefiles CCARGS='-DEF_CONFIG_DIR="/opt/product/postfix-2.6.5/etc"
-DEF_COMMAND_DIR="/opt/product/postfix-2.6.5"
-DEF_DAEMON_DIR="/opt/product/postfix-2.6.5/libexec"
-DEF_MAILQ_PATH="/opt/product/postfix-2.6.5/bin/mailq"
-DEF_DATA_DIR="/opt/product/postfix-2.6.5/lib"
-DEF_NEWALIAS_DIR="/opt/product/postfix-2.6.5/bin/newaliases"
[Code]...
make install then i got this error: postfix: fatal: chdir(/usr/libexec/postfix): No such file or directory make: *** [install] Error 1 I don't understand why it's checking the usr/libexec folder for the daemons although I've set the folder to /opt/product/postfix-2.6.5/libexec in the makefile. Here is also the cat of my makedefs.out:
[Code]....
View 1 Replies
View Related
Sep 8, 2010
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.
View 1 Replies
View Related
Apr 25, 2011
I recently tried to upgrade my Slackware server's sendmail software from 8.14.3 to 8.14.4 and ran into a problem. In a nutshell all outbound non local mail is routed through a smart host requiring authentication. As a result I use a modified version of the "sendmail-slackware-tls-sasl-clamav.mc" to build the sendmail.cf. However, when I tried to run sendmail 8.14.4 with my newly created sendmail.cf I was greeted with the following.
Warning: Option: AuthMechanisms requires SASL support (-DSASL)
Warning: Option: AuthOptions requires SASL support (-DSASL)
Warning: Option: CACertPath requires TLS support
Warning: Option: CACertFile requires TLS support
[Code]....
Apparently SSLv2 is now considered weak and the directive is a good idea, but at present this directive is not supported by the sendmail in this package.
View 4 Replies
View Related
Apr 5, 2011
How to send mail using sendmail on slackware? Can you show me a simple bash program that sends a message to an email? I am new to slackware and I can't send my email using sendmail command. I checked my mail queue on my Webmin and i see this status "access map: lookup [URL]..
View 9 Replies
View Related
Feb 18, 2010
So I'm having troubles setting up a mail server. First of all, anyone want to try to telnet into <snip> on port 25 and see if it's blocked? I don't think it is, but you never know. How long does it usually take for MX records to get around? I've had this set up for about a day now and still don't see any MX records on any lookup site I go to. I'm currently using slackware 12.2's default sendmail configuration. Should I change anything? I started sendmail on my laptop and got emails going within the LAN but I cannot send emails over WAN (i.e. to/from yahoo or google accounts).e?
View 14 Replies
View Related
Jun 23, 2011
I should say that I'm not an expert of linux or sendmail. On my way to learning I'm trying to setup my sendmail server at home using free dydns account(server1.dyndns.org). I can send and receive emails to/from @hotmail, @yahoo, @gmail (the ones I've checked).
Code:
Following is access file (access.db created using makemap hash)
Code:
Now I'm trying to forward emails coming to my local inbox(tux@server1.dyndns.org) to my hotmail account. For this to work, server1 should be able to RELAY messages originated from hotmail.com, so I added hotmail.com entry to access file. Also I've made ~/.forward file:
But the problem is I receive an error message in /var/log/maillog & also a message is sent to root@server1:
Code:
Part of message sent to root@server1 is:
Code:
View 2 Replies
View Related
Apr 19, 2010
I'm configuring sendmail that runs on Linux Slackware but find some difficulties to do some quick startup due to its complexity and massive documentation. Suppose I want to configure a sendmail that can serve 2 domains:
ethereal1m.no-ip.com
ethereal2m.no-ip.com
I use noip2 client software to connect with noip server that translates the dynamic IP addressed domains, setups POP, and does forwarding. By having 2 domains, I want to able to send email between admin@ethereal1m.no-ip.com and admin@ethereal2m.no.ip.com;therefore, my machine acts as both a server and a client. How can I setup sendmail so that it acts as both server and client? How to register email address and its domain on sendmail?
View 2 Replies
View Related
Apr 19, 2010
It seems my sendmail (running in slackware 13.0) cannot send out emails correctly. I guess I need to tell it what is the smtp server to use. And, I heard, gmail's smtp server is available to use for this purpose. How to configure my sendmail this way?
View 14 Replies
View Related
Jan 3, 2011
Built an MTA/LDA Slackware Server and seperate MDA (Dovecot 2.2) Slackware Server. Used the slackwiki Sendmail TLS SMTP-AUTH guide for the MTA/LDA Server.
http://www.slackwiki.org/index.php?t...TH&redirect=no
The ../cf/cf/sendmail-slackware-tls-sasl.mc config file has Procmail sorting as:
FEATURE(`local_procmail',`',`procmail -t -Y -a $h -d $u')dnl
I don't understand the arguments ($), but know the -Y forces mbox. The /var/mail directory is hardlinked to where ever the spool directory is. I want the Dovecot MDA server to use NFS or UNFS to grab user's mail from the MTA/LDA Server. Problem is the hardlink. Can't nfs share a hardlinked directory.
Is there a way to change the MTA sendmail mc config file above to have LDA promail send to /home/mail, so I can nfs that directory? And preferably in MAILDIR format? BTW: I can't find any procmailrc config file on this Slackware Server. I should have all the settings in my /etc/mail/sendmail.cf config.
View 6 Replies
View Related
Aug 19, 2010
i try installing postfix with mysql support but i've got errorr :
[code]...
how to fix it
View 3 Replies
View Related