Debian Configuration :: Postfix Bad IP Syntax Support
Apr 23, 2016
I have currently configured Postfix as an SMTP server. I would preferably not use a domain name in my email address, like so: myname@[1.2.3.4]
I'm currently testing to see how other mail servers handle this kind of address. When I sent a mail with one one of my gmail accounts, I see that the mail gets rejected due to bad syntax.
It seems as though Google is giving me a RCPT TO address like so: myname@1.2.3.4 However, the postfix server rejects this address with the following error:
501 5.1.3 Bad recipient address syntax
To my best knowledge the only way to have an IP address inside an email address with to write it as a domain literal [1.2.3.4].
My question: how to configure postfix to accept myname@1.2.3.4 as well?
I have put both [1.2.3.4] and 1.2.3.4 in "mydestination" and 1.2.3.4 in "virtual_alias_domains".
It doesn't seem to work so far though.
View 1 Replies
ADVERTISEMENT
Sep 15, 2010
So I was reading this thread on internet privacy and decided to 'upgrade' my system. I installed privoxy and tor and chained them from squid so it looks like this: iceweasel >> squid >> privoxy >> tor. All is working well except when I go to edit my privoxy default.action file I get a fatal error. I've got version 3.0.9-1 The original line in the newly installed default.action file. #+hide-referer{forge}
I edited it by simply removing the #. +hide-referer{forge} Then:su -c '/etc/init.d/privoxy force-reload'And I get this in the logfile.Sep 14 16:41:36.260 Privoxy(7f4fa64756e0) Fatal error: can't load actions file '/etc/privoxy/default.action': first needed line (361) is invalid: +hide-referer{forge} I've even copy/pasted from the manual and to no avail.Have I been looking at to much text for the last two days?What am I missing?
View 1 Replies
View Related
May 13, 2010
I have a web server running and wish to get a mail server running on the same machine. I have a registered domain name. I have postfix and dovecot installed. I can send emails from the server to my normal address on a different domain but cannot receive mail. I can send and receive mail locally with no problems. I just don't know where to look for the problems. If you need any more info ( config files/doamin names etc let me know)
View 5 Replies
View Related
Jun 20, 2011
My Postfix cannot currently create any folders other than inbox. Even when I send an e-mail I receive an error along the lines of, "Could not create sendmail folder." Also, my Postfix isn't receiving e-mails, and can only send e-mails to other accounts on the server. I called my ISP and they told me my port 25 isn't blocked, and it is forwarded on my router so I am not sure what could be wrong. I am using zoneedit as my name server and I am pretty sure my MX record is good.
View 14 Replies
View Related
Jun 21, 2015
i created a second instance of postfix.It isn' t the first time that i made this procedure but with debian i had a lot of problem.I think that the problem is chroot configuration of postfix .In the first i had two problem smtp “fatal: unknown service: smtp/tcp” and the second instance was enable to make nslookup of domain.I copied the necessary file in /var/spool/postfix-second-instace and i solved the errors.Now the problem is that there aren't error in log file but connect to xxx.xxx.net[yyy.nn.yyy.yyy]:25: Connection timed out for all connection. and the email are all in defer directory and the second instance doesn' t send emails.
View 4 Replies
View Related
Mar 22, 2016
The problem I have is so simple yet difficult for me to resolve. My Postfix MTA allow fake mails from me@example.com to me@example.com. How can I block them?
For example, if I do "telnet smtp.mail.yahoo.it 25", as I write the MAIL FROM command I get the alert "Authentication required". How can I achieve that?
View 13 Replies
View Related
Mar 24, 2011
I did search the forum but didn't find an answer.
I have setup Postfix + Dovecot on my basic debian 5 server. If I send a message to a localuser@mydomain.com from mutt, it delivers just fine and is visible when viewed through squirrelmail, I can also send just fine.
My issue is that irrespective of what options I set in main.cf, I cannot for the life of me get Postfix to stop erroring with "Recipient address rejected: User unknown in virtual alias table". I'm stumped.
My main.cf is as follows code...
I do not want to setup virtual hosting with MySQL or similar, I literally want to receive mail in local users mailboxes for a single domain. Any ideas on what's missing?
View 1 Replies
View Related
Feb 15, 2011
I'm doing some tests and playing around with postfix in a test squeeze server. What I want to achieve is a postfix mail server using ports 465 and 587 with smtp authentication to send mails. I followed this howto: [URL].. and I'm using a php script with pear functions to test sending emails to a gmail test account of mine. This is the script:
<?php
require_once "Mail.php";
$from = "Webmaster <webmaster@server>";
$to = "My Name <myaccount@gmail.com>";
$subject = "This is sent with pear as a test";
$body = "This is the body of the message";
[Code]...
View 2 Replies
View Related
Feb 4, 2011
I've created Live Debian USB image and it works well, but if I put an additional USB stick, then it's just read only. Howto configure Live Debian before rebuild an image to get fully USB support, i mean to write into other USB drives?
View 4 Replies
View Related
Feb 14, 2011
I have just upgraded from Lenny to Squeeze, and followed the D-I recommendation to upgrade to Grub2. However, the server will no longer boot - giving a 'missing operating system' error, so it's not getting very far in the boot loader process. I have read, in various location that Grub2 supports GPT, but my efforts to fix the situation have met with little success.
I have managed to boot the system using SuperGrub2 (recovery live cd) and can start up successfully from there. However, when I try to fix the grub installation using the Debian wiki recommendation, I'm met with:
<host>:/# grub-install /dev/sda
/usr/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!.
[code]....
The attached disk is 4.5TB of RAID 5 disk behind an Adaptec 5405 if that's useful.
View 9 Replies
View Related
Aug 29, 2015
I'm done following this guide about Kernel Building. [URL] .... and I got done successfully, the .config file was the very default obtained from "make menuconfig" the only extra thing added was:
Code: Select allCONFIG_USB_EHCI_HCD_ORION=y
All dependencies had to be installed about 2GBs for kernel building to function properly, mainly due to the needing of kernel headers. It loads successfully on my desktop whether or not it needs that module (if it was added correctly) but my goal was to add xhci support so it will load from my laptop, still won't load from the laptop giving me a initramfs prompt. Adding that code line to the .config file didn't seem to do what I wanted.
Although since I did a "make-kpkg clean" command as requested by the manual I dont know if it used that line or not to be honest. since I think it deleted the .config file in its efforts to clean old configs so I don't know I'm new to kernel building.
View 6 Replies
View Related
Feb 12, 2016
I'm restoring an old TI Silent 700 terminal [URL] ... and have connected it to an RPi running the debian based Jessie release using a serial converter. After learning more than I wanted to about serial settings and support I now have it interfaced and communicating bidirectionally but have one last hurdle - proper support for a single case (uppercase only) terminal in agetty.
With the -U flag on it seems like the the login name is detected as needing conversion because lowercase login names work - but lower case passwords do not and once I get a bash prompt all input comes in as upper case. So the -U agetty flag only seems to apply to login name and is then forgotten (not passed on to login process or bash?) and various settings in stty like iuclc, xcase, iexten don't seem to work.
I'd really like to get this terminal working with native support but I'll also take a kludge of some kind (I've tried a tr pipe for example).
Here is what I think is the relevant portion of my systemd generator:
Code: Select all[Service]
ExecStart=-/sbin/agetty -U 300 %I $TERM
Type=idle
Restart=always
UtmpIdentifier=%I
TTYPath=/dev/%I
[Code] .....
View 1 Replies
View Related
Jun 26, 2010
Is there a way to programmatically determine whether a particular driver support is built-in rather than a loadable module? I'd be grateful if somebody would share how. I have written a shell script using the RTC (real time clock). I can check whether the rtc-cmos kernel module exists and load the module accordingly as needed, but I don't know how to determine when the driver is built-in. Of course, if the driver is built-in then the module does not exist.
I seem to recall there is a method to query the kernel config file (/proc/config.gz), through which I probably could grep for the CONFIG_RTC_DRV_CMOS parameter. I also can check whether /proc/driver/rtc exists. If that file exists then either the driver is built-in or the module was loaded.I realize the rtc-cmos driver is built-in with the standard Debian kernel build, but I still would like a way to query where the driver is supported.Is there a straightforward or direct method to query the kernel whether a particular driver is built-in?
View 3 Replies
View Related
Aug 22, 2010
I got a brandnew Acer Travelmate Timeline X (13"). I do not really know if this is the right topic for my problem. But here it comes: The Acer uses a special smart battery with special chips in it controling the powermanagement of the battery and the system. In general there is a kernel module to handle this (sbs). But for me this does not work.I am using Squeeze and it does not recognize the battery. It always acts like being on AC power. If I unplugg the AC it runs with the battery till it is empty. But the ACPI can not recognize the battery and can not read how much lifetime it has. I tried the reassambling method. But this method does not work for me. Nevertheless I think the reassambling method does not run because there is no more developing on it because of the kernel modul.
What can I do? Will I have to wait till a new workaround of sbs comes out, which can handle my battery? I read about a BIOS hack that disables the smart battery functions. Should I try this? But I am not really firm in that kind of stuff and I will loose the guarantee. Has anyone got an idea?
View 5 Replies
View Related
Jun 3, 2011
I am running Debian 6.0.1, GNOME version 2.30.2. For some reason the "language support" option is missing. What do I need to do in order to recover it?
View 3 Replies
View Related
Mar 1, 2011
I need to have a syntax highlighter for a language of mine.
View 1 Replies
View Related
Apr 14, 2010
I installed apache2 and mysql database on a Debian system. It is using reverse proxy on apache to redirect requests to apache2 running on any machine which is on Xen server as a Virtual host. I tried to install Drupal on it. Every thing went fine till I pointed my browser to:
http://IP[/url] of LAN where Drupal was installed/drupal
then I see an installation page of Drupal which welcomes me. I click install in English then it can not proceed to connect with database. Database configuration: Your web server does not appear to support any common database types. Check with your hosting provider to see if they offer any databases that Drupal supports.
I have created a database and username for Drupal separately. What should I check to. There is one more error
http://Public IP/some location/
Is showing me contents of Document Root but there is a folder named drupal on it. When I click on it I get error. Not Found. The requested URL /drupal/ was not found on this server. Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch proxy_html/3.0.0 Server at
What things should I check in for? I am also getting errors like:
- Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName on individual DomU's what should I check in. and on Dom0 when restarting apache2 I get following error.
- Reloading web server config: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Wed Apr 14 15:23:05 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
View 1 Replies
View Related
Jun 17, 2010
I've been looking though different editors for one that has good printing support. Ideally it should be able to print C++ code with line numbers, syntax highlighting, multiple columns per page, customizable fonts and sizes and a print preview feature so that I can make sure it looks right before sending it to the printer. It appears that notepad++ had at least some of these features, but it is not available on linux. The best I could do so far is to copy/paste the output of 'cat -n foo.cpp' into oowriter and format it into two colums. I don't get synax highlighting though and I have to manually replace tabs with a few spaces as well as some excessive leading spaces before the line numbering.
View 1 Replies
View Related
Aug 17, 2010
i used yum install postfix, but i don't know it's support sasl? how to check it?
View 3 Replies
View Related
Jun 15, 2011
I'm trying tom compile and install postfix with SASL support, but i have a error messeage when install:
#make makefiles CCARGS="-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/local/sasl2/include/sasl" AUXLIBS="-L/usr/local/sasl2/lib -lsasl2"
...
#make install
[code]....
View 1 Replies
View Related
Sep 20, 2010
I have searched through piles of postfix and sendmail documentation but I'm not sure of the terminology to describe what I want to do so I'm never sure what solutions are workable. Null client, relay hosts. What I have already is a RHEL postfix server which sends and receives email. What I want to do is add a second postfix server to the network. The second server should accept only ssl smtp mail and forward it on to the main postfix server. Users shouldn't use it for normal internal sending/receiving. It's only to allow me to support ssl smtp from people working out of the office without messing about with the main postfix server. I thought a Null Client sounded likely but I don't think it will accept mail. Is it a relay host I'm trying to configure? Any pointers on configuring something to just accept secure smtp and forward?
View 1 Replies
View Related
Sep 10, 2010
On this Red Hat Box that I am using there is no .vimrc file for the user root. So, I created one and entered only one line to highlight syntax with colors when I am writing scripts in PHP and Bash. But it is not working.
Code:
[root@localhost ~]# cat ~/.vimrc
syntax on
[code]....
View 6 Replies
View Related
Aug 17, 2010
error found with your "Postfix virtual maps": No "map sources" were found in the Postfix configuration. your system is not ready for use by Virtualmin. how do I set this?
View 2 Replies
View Related
Jan 29, 2011
I'm trying to use emacs in the auctex mode. But Flymake complains about something I could not understand. This is the error it shows whenever I open a tex file.
Code:
Flymake:Configuration error has occured while running (texify --pdf --tex-option=-c-style-errors PATH_TO_FILE_DIRECTORY/FILE_flymake.tex).
Flymake will be switched OFF.
I have texify installed on my system. I also tried suggestions in the emacs wiki on FlymakeTex, added the following lines in my .emacs file:
Code:
(defun flymake-get-tex-args (file-name)
(list "pdflatex" (list "-file-line-error" "-draftmode"
"-interaction=nonstopmode" file-name)))
How do I stop this msg and use flymake.
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
Mar 7, 2011
When ever i open vim, i get the error that the following error: E484: Can't open file/abcd/configFiles/vim/syntax/syntax.vim There was a .vimrc file in my home folder that i have removed.
Still i keep getting the same error. Presently in my home folder there is no .gvimrc or .vimrc file.
But still i keep getting the same error. I am not too sure where this file is mentioned.
Background info: The SHELL has been changed from tcsh to bash Earlier i had created a .vimrc file in tcsh, i have removed the .vimrc in bash SHELL.
View 1 Replies
View Related
Dec 13, 2010
Postfix Configuration needed and its use
View 1 Replies
View Related
Aug 25, 2010
I'm looking to dual-boot Windows 7 and Debian 6 upon its release on my sister's laptop. I want to share a partition between the two of them so that /home points to this directory and the Windows equivalent also points to it (C:Users).
Anyway, I've heard good and bad things about the NTFSMount driver (I think it's NTFS-3G now) and the NTFSprogs project and so I am not so certain what I should believe. I do know that NTFS has relatively high overhead, though I do not recall the source of this assertion, so I am considering the use of EXFAT. An open source EXFAT project is hosted on Google Code at [url] and it utilizes the kernel module FUSE.
I'm quite certain that I've got everything covered on the Windows side -- that is, I know that both NTFS and EXFAT will be suitable filesystems for my required usage.
My issue is that I'm curious which will have superior performance and stability in Debian. I planned on building the package from source and mounting the device in my FSTAB but I have also found a PPA for Ubuntu on Launchpad at [url] that I could borrow the debian/rules from and make a .deb package from.
What do you guys think? Should I go at it with the EXFAT or NTFS partitioning? Is NTFS-3G actually fairly supported at this point? Or perhaps should I consider some alternate method?
I have also considered that the only files she will be sharing are those of music, videos, and pictures so it could be better to just link /home/xxxx/Pictures (Music and Videos, too) to the new partition instead of all of /home.
View 7 Replies
View Related
Jan 3, 2010
I have a postfix server running on a virtual machine hosted by vpslink.com. I have followed the following configuration guide to install the system with dovecot, sasl smtpd authentication, and postfix as an mta: [URL](I know it says it's a debian configuration, but it seemed legitimate that I could follow it). Anyway, in sending email from my primary email account, I have found that roughly 1/2 of the messages are delivered, and 1/2 of them are rejected with a message similar to the following:
Quote:
[code].....
View 5 Replies
View Related
May 13, 2010
I'm running Postfix primarily as a local email server. There is no email coming in from other machines, and there are no other machines using it to send mail. But I'd like it to be able to send mail. I use Evolution for my normal email stuff, and it's configured to send mail to my ISP's smtp server, and that's working fine. But I occasionally send mail from the command line, using the "mail" or "mutt" utilities. (Mutt because the standard mail doesn't support attachments.) These don't use Evolution's configuration, they depend upon whatever is listening to port 25 - and that's Postfix. So all I should need to do is to give Postfix the smtp server, user name, and password. My problem is that Postfix has voluminous documentation online, and I haven't been able to find this simple configuration in it.
View 3 Replies
View Related